/* Układ głównej i wspólne komponenty oferty. */
.home-section { padding: 4.5rem 0; }
.home-surface { background: var(--bg-secondary); }
#hero.home-hero { min-height: 0; padding: 9rem 0 2rem; }
.hero-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.hero-copy { min-width: 0; }
.home-hero .hero-title { font-size: clamp(2.3rem, 4.1vw, 3.8rem); line-height: 1.17; letter-spacing: -.045em; margin-bottom: 1.7rem; text-wrap: balance; }
.home-hero .hero-lead { max-width: 650px; font-size: 1.05rem; line-height: 1.85; margin-bottom: 2rem; }
.home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.home-actions .btn-ghost { justify-content: space-between; line-height: 1.6; padding: 1rem; height: 100%; }
.portrait-panel { margin: 0; text-align: center; }
.portrait-panel img { display: block; width: min(100%, 340px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; margin: 0 auto 1.5rem; border-radius: 50%; border: 2px solid var(--accent-glow); }
.portrait-panel strong { display: block; font-size: 1.1rem; margin-bottom: .5rem; }
.portrait-panel figcaption span { display: block; color: var(--text-muted); font-size: .85rem; line-height: 1.7; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.home-section-heading .section-title { margin-bottom: 0; max-width: 800px; }
.home-text-link { color: var(--text-primary); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .8rem; line-height: 1.7; }
.home-text-link:hover { color: var(--accent); }
.home-process-link { margin: 1.8rem 0 0; }
.project-feature { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.project-feature + .project-feature { margin-top: 2rem; }
.project-feature--text { grid-template-columns: 1fr; }
.project-preview { display: flex; align-items: center; padding: 1.5rem; background: var(--accent-glow); min-width: 0; }
.project-preview img { width: 100%; height: auto; display: block; border-radius: 5px; }
.project-copy { padding: 2rem; align-self: center; }
.project-copy h3 { font-size: 2rem; font-weight: 700; letter-spacing: -.04em; }
.project-copy p:not(.section-label) { color: var(--text-muted); font-size: 1rem; line-height: 1.85; margin: 1.2rem 0 1.8rem; }
.process-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.process-list li { border-top: 1px solid var(--border-color); padding-top: 1.3rem; }
.process-number { display: block; font: .8rem var(--font-mono); color: var(--accent); margin-bottom: 1.3rem; }
.process-list h3 { font-size: 1.15rem; line-height: 1.5; font-weight: 600; }
.process-list p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.about-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
.about-layout .section-paragraph { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.5rem; }
.home-socials { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2rem; }
.home-socials a { color: var(--text-primary); font-size: .9rem; text-underline-offset: 4px; }
.about-specialties { display: flex; flex-wrap: wrap; gap: .5rem; }
.editorial-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 3rem; }
.editorial-post { padding: 1.6rem 0; border-top: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: start; }
.editorial-featured { grid-row: span 2; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; }
.editorial-meta { display: flex; gap: 1rem; justify-content: space-between; width: 100%; color: var(--text-muted); font: .75rem var(--font-mono); margin-bottom: 1.3rem; }
.editorial-meta span:first-child { color: var(--accent); }
.editorial-post h3 { font-size: 1.15rem; line-height: 1.6; font-weight: 600; }
.editorial-featured h3 { font-size: 1.7rem; letter-spacing: -.035em; }
.editorial-post h3 a { color: var(--text-primary); text-decoration: none; }
.editorial-post h3 a:hover { color: var(--accent); }
.editorial-post p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.editorial-post .home-text-link { margin-top: auto; padding-top: 1rem; }
.community-block { margin-top: 3rem; padding: 2.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--border-color); }
.community-block h2 { font-size: 1.6rem; line-height: 1.4; font-weight: 650; letter-spacing: -.03em; }
.community-block p:not(.section-label) { font-size: 1rem; line-height: 1.85; color: var(--text-muted); }
.community-block .home-text-link { margin-top: 1rem; }
.home-contact { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.home-contact > div { max-width: 760px; }
.home-contact .btn-accent { flex-shrink: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contact-email { font-size: 1.1rem; color: var(--text-primary); text-decoration: none; display: inline-flex; gap: 1rem; align-items: center; margin: 1rem 0; overflow-wrap: anywhere; }
.faq-list details { border-top: 1px solid var(--border-color); padding: 1.1rem 0; font-size: 1rem; }
.faq-list summary { line-height: 1.7; font-weight: 500; }
.faq-list p { color: var(--text-muted); line-height: 1.85; margin: .8rem 0 0; }
@media (max-width: 991px) { .hero-layout { gap: 2rem; grid-template-columns: 1.5fr 1fr; } .home-actions { grid-template-columns: 1fr; } .portrait-panel img { max-width: 290px; } .home-section-heading { align-items: start; } .project-copy { padding: 1.5rem; } .home-contact { align-items: start; flex-direction: column; gap: 1.5rem; } }
@media (max-width: 767px) {
    .home-section { padding: 3rem 0; }
    #hero.home-hero { padding: 7rem 0 1rem; }
    .hero-layout, .project-feature, .about-layout, .contact-layout, .editorial-grid, .community-block { grid-template-columns: 1fr; }
    .home-hero .hero-title { font-size: clamp(2.15rem, 8.5vw, 3.5rem); }
    .hero-layout { gap: 2.5rem; }
    .portrait-panel { max-width: 430px; width: 100%; margin: 0 auto; }
    .portrait-panel img { max-width: 280px; }
    .home-section-heading { flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
    .process-list { grid-template-columns: 1fr; gap: 1rem; }
    .process-number { margin-bottom: .75rem; }
    .editorial-grid { gap: 1.5rem; }
    .editorial-featured { grid-row: auto; padding: 1.5rem; }
    .community-block { gap: 1rem; }
    .about-layout { gap: 1rem; }
}
