/* Content layouts for case details, articles, audit and budget calculator.
   Foundations, navigation and footer are provided by the shared site styles. */
.pv-content-page { background: #080808; color: #f6f5f0; }
.pv-container { position: relative; z-index: 1; width: 100%; max-width: 1500px; margin-inline: auto; }
.pv-section,.pv-page-hero,.pv-cta-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px,7vw,112px) 4.8%; background: #080808; scroll-margin-top: 100px; }
:is(.pv-section,.pv-page-hero,.pv-cta-section)::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url('../фон під букви.png') center/900px repeat; filter: grayscale(1) invert(1) brightness(.75); opacity: .42; mask-image: linear-gradient(transparent,#000 100px,#000 80%,transparent); -webkit-mask-image: linear-gradient(transparent,#000 100px,#000 80%,transparent); }
.pv-section--alt::after,.pv-page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 85% 45%,#ff00d410,transparent 65%); }
.pv-page-hero { padding-top: clamp(140px,12vw,180px); padding-bottom: 56px; }
.pv-page-hero-label,.pv-sec-label { display: block; margin-bottom: 24px; color: #bfc3bd; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pv-content-page .pv-page-hero h1 { max-width: 1100px; font: 900 clamp(2.8rem,6.1vw,6.5rem)/1.02 'PV Condensed',Impact,sans-serif; letter-spacing: -.025em; margin: 0 0 28px; text-wrap: balance; color: #f6f5f0; }
.pv-page-hero p { max-width: 55ch; color: #bfc3bd; margin: 0 0 28px; }
.pv-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #bfc3bd; margin-bottom: 28px; font-size: .75rem; }
.pv-breadcrumb a { color: #bfc3bd; text-decoration: none; }
.pv-breadcrumb a:hover { color: #00ec43; }
.pv-breadcrumb strong { font-weight: 400; color: #bfc3bd; }
.pv-content-page .pv-sec-title,.pv-content-page .pv-cta-section h2 { margin: 0 0 28px; font: 900 clamp(2.4rem,4.6vw,5rem)/1.02 'PV Condensed',Impact,sans-serif; letter-spacing: -.025em; color: #f6f5f0; }
.pv-sec-sub { color: #bfc3bd; max-width: 60ch; margin: 0 0 36px; }
.pv-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.pv-glass-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 24px; border: 1.5px solid #00ec43; border-radius: 99px; background: transparent; color: #f6f5f0; font: 600 1rem/1.4 'Exo 2',sans-serif; text-decoration: none; cursor: pointer; transition: background .2s,color .2s; }
.pv-glass-btn--primary { color: #080808; background: #00ec43; }
.pv-glass-btn:hover { background: #38ff70; color: #080808; }
.pv-glass-btn:disabled { cursor: default; opacity: .45; }
.pv-cta-section p { color: #bfc3bd; max-width: 58ch; margin: 0; }
.pv-content-page h3 { color: #f6f5f0; line-height: 1.3; }
.pv-divider { height: 1px; background: #ffffff26; margin: 48px 0; }
/* Case details and related projects. */
.pv-case-header-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.pv-case-header-item { padding-top: 20px; border-top: 1px solid #ffffff30; }
.pv-case-header-item-label { color: #bfc3bd; font-size: .75rem; margin-bottom: 10px; }
.pv-case-header-item-value { color: #f6f5f0; font-size: 1rem; font-weight: 600; }
.pv-case-section { max-width: 950px; margin-bottom: 60px; }
.pv-case-section:last-child { margin-bottom: 0; }
.pv-case-section-label { color: #00ec43; font-size: .8125rem; letter-spacing: .14em; margin-bottom: 18px; }
.pv-content-page .pv-case-section h2 { font: 900 clamp(2rem,3.5vw,3.5rem)/1.08 'PV Condensed',Impact,sans-serif; margin: 0 0 24px; color: #f6f5f0; }
.pv-case-section p { color: #bfc3bd; max-width: 65ch; margin: 0 0 20px; }
.pv-results-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 18px; margin: 32px 0; }
.pv-result-item { padding: 28px; border: 1px solid #ffffff29; border-radius: 8px; background: #10121099; }
.pv-result-before { color: #bfc3bd; font-size: 1rem; }
.pv-result-value { color: #00ec43; font: 900 clamp(2.5rem,4vw,4rem)/1 'PV Condensed',sans-serif; margin: 12px 0; }
.pv-result-value--pink { color: #ff58df; }
.pv-result-arrow { color: #00ec43; margin: 10px 0; }
.pv-result-label { color: #bfc3bd; font-size: .875rem; }
.pv-quote-block { border-left: 3px solid #ff00d4; padding: 12px 0 12px 28px; margin: 36px 0; }
.pv-quote-text { color: #f6f5f0; line-height: 1.65; margin-bottom: 20px; }
.pv-quote-author { color: #bfc3bd; font-size: .875rem; }
.pv-steps-list { list-style: none; margin: 28px 0; padding: 0; }
.pv-steps-list li { display: flex; align-items: start; gap: 24px; border-top: 1px solid #ffffff26; padding: 24px 0; }
.pv-step-num { flex-shrink: 0; color: #00ec43; font: 900 1.75rem/1.2 'PV Condensed',sans-serif; }
.pv-steps-list li p { margin: 8px 0 0; color: #bfc3bd; }
.pv-steps-list li strong { color: #f6f5f0; }
.pv-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.pv-case-card { display: flex; padding: 28px; border: 1px solid #ffffff29; border-radius: 8px; background: #10121099; color: #f6f5f0; text-decoration: none; }
.pv-case-card:hover { border-color: #00ec43; }
.pv-case-card-body { width: 100%; display: flex; flex-direction: column; }
.pv-case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.pv-tag { display: inline-block; padding: 6px 10px; border: 1px solid #ffffff29; border-radius: 99px; color: #bfc3bd; font-size: .75rem; }
.pv-tag--green { color: #00ec43; border-color: #00ec4340; }
.pv-tag--pink { color: #ff58df; border-color: #ff00d440; }
.pv-case-card h3 { font-size: clamp(1.25rem,2vw,1.75rem); margin: 0 0 20px; }
.pv-case-card p { color: #bfc3bd; }
.pv-case-metric { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-top: auto; padding-top: 24px; }
.pv-case-metric-value { color: #00ec43; font: 900 2.5rem/1 'PV Condensed',sans-serif; }
.pv-case-metric-label { color: #bfc3bd; font-size: .8125rem; margin-top: 8px; }
.pv-case-cta { color: #00ec43; font-size: .9375rem; }
/* Reading layouts. */
.pv-article-body { max-width: 65ch; color: #bfc3bd; }
.pv-content-page .pv-article-body h2 { font: 900 clamp(1.8rem,3.3vw,3rem)/1.15 'PV Condensed',sans-serif; color: #f6f5f0; }
.pv-content-page .pv-article-body h3 { font-size: 1.3rem; color: #f6f5f0; }
.pv-article-body a { color: #00ec43; }
.pv-article-body strong { color: #f6f5f0; }
.pv-article-callout { margin: 28px 0; padding: 24px 28px; border-left: 3px solid #00ec43; border-radius: 0 8px 8px 0; background: #00ec430a; color: #f6f5f0; line-height: 1.65; }
/* Audit: existing content and field names are preserved. */
.pv-audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pv-audit-checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.pv-audit-checks li { display: flex; gap: 14px; color: #bfc3bd; line-height: 1.65; }
.pv-audit-checks li::before { content: '↗'; color: #00ec43; }
.pv-audit-trust { display: grid; gap: 12px; margin-top: 28px; }
.pv-audit-trust-item { color: #bfc3bd; }
.pv-form { padding: clamp(24px,3vw,44px); border: 1px solid #ffffff26; border-radius: 16px; background: #ffffff06; backdrop-filter: blur(16px); }
.pv-form h3 { margin: 0 0 28px; font-size: 1.5rem; }
.pv-form-group { margin-bottom: 20px; }
.pv-form-group label { display: block; color: #f6f5f0; margin-bottom: 10px; font-size: .875rem; }
.pv-form-group :is(input,select,textarea) { display: block; width: 100%; min-width: 0; border: 1px solid #ffffff2e; border-radius: 6px; background: #080808b3; padding: 14px; color: #f6f5f0; font: 400 1rem/1.5 'Exo 2',sans-serif; }
.pv-form-group select option { background: #080808; }
.pv-form-group textarea { min-height: 100px; resize: vertical; }
.pv-form-submit { display: block; width: 100%; border: 0; border-radius: 99px; padding: 18px 26px; background: #00ec43; color: #080808; font-size: 1rem; font-weight: 700; cursor: pointer; }
.pv-form-submit:hover { background: #38ff70; }
.pv-audit-status { margin: 20px 0 0; color: #bfc3bd; }
.pv-audit-status:empty { display: none; }
.pv-process-steps { display: grid; gap: 28px; }
.pv-process-step { display: grid; grid-template-columns: 40px 1fr; gap: 24px; }
.pv-process-step-num { color: #00ec43; font: 900 2rem/1 'PV Condensed',sans-serif; }
.pv-process-step-content h3 { font-size: 1.25rem; margin: 0 0 12px; }
.pv-process-step-content p { color: #bfc3bd; margin: 0; }
/* Calculator states remain controlled by the existing calculation script. */
.pv-calc-wrap { max-width: 800px; margin: auto; }
.pv-calc-step { display: none; }
.pv-calc-step.active { display: block; }
.pv-calc-question { font-size: clamp(1.2rem,2.5vw,1.5rem); font-weight: 800; margin: 0 0 24px; }
.pv-calc-options { display: grid; gap: 12px; }
.pv-calc-option { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: #10121099; border: 1px solid #ffffff29; border-radius: 8px; cursor: pointer; font: 600 1rem 'Exo 2',sans-serif; color: #f6f5f0; text-align: left; }
.pv-calc-option:hover,.pv-calc-option.selected { background: #00ec4314; border-color: #00ec43; color: #00ec43; }
.pv-calc-option-icon { font-size: 1.5rem; flex-shrink: 0; }
.pv-calc-slider-wrap { margin: 16px 0 8px; }
.pv-calc-slider { width: 100%; accent-color: #00ec43; cursor: pointer; }
.pv-calc-slider-value { font-size: 2rem; font-weight: 900; color: #00ec43; text-align: center; margin: 12px 0; }
.pv-calc-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.pv-calc-progress-dot { height: 4px; flex: 1; border-radius: 99px; background: #ffffff1f; }
.pv-calc-progress-dot.done { background: #00ec43; }
.pv-calc-progress-dot.active { background: #00ec4380; }
.pv-calc-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.pv-calc-result { display: none; }
.pv-calc-result.active { display: block; }
.pv-calc-chart { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,160px),1fr)); gap: 16px; margin: 24px 0; }
.pv-calc-chart-item { padding: 20px; border: 1px solid #ffffff29; border-radius: 8px; background: #10121099; text-align: center; }
.pv-calc-chart-bar { height: 8px; border-radius: 99px; background: #00ec43; margin-bottom: 12px; }
.pv-calc-chart-label { font-size: .875rem; color: #bfc3bd; margin-bottom: 4px; }
.pv-calc-chart-value { font-size: 1.4rem; font-weight: 900; color: #00ec43; }
@media(max-width:1000px) { .pv-audit-grid { grid-template-columns: 1fr; gap: 40px; } }
@media(max-width:820px) { .pv-page-hero { padding-top: 120px; } .pv-case-header-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .pv-section,.pv-page-hero,.pv-cta-section { padding-left: 22px; padding-right: 22px; } .pv-related-grid { grid-template-columns: 1fr; } .pv-case-header-grid { gap: 20px; } .pv-result-item,.pv-case-card { padding: 24px; } .pv-steps-list li { gap: 16px; } .pv-article-callout { padding: 20px; } }
/* Related articles reuse the site's existing hand-drawn service illustrations. */
.pv-related-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.pv-related-article { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffff29; border-radius: 8px; background: #10121099; color: #f6f5f0; text-decoration: none; }
.pv-related-article:hover { border-color: #00ec43; }
.pv-related-article-art { height: 180px; padding: 20px; border-bottom: 1px solid #ffffff26; }
.pv-related-article-art img { width: 100%; height: 100%; object-fit: contain; }
.pv-related-article-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.pv-related-article-meta { color: #ff58df; font-size: .8125rem; margin-bottom: 20px; }
.pv-related-article h3 { margin: 0 0 24px; font-size: 1.3rem; }
.pv-related-article-link { color: #00ec43; margin-top: auto; }
@media(max-width:600px) { .pv-related-articles { grid-template-columns: 1fr; } }
