/*
 * Sekcje poradnikowe strony głównej: hero, ścieżki wyboru, karty informacji i
 * wyróżnione treści. Zmiany nie powinny wpływać na zwykłe strony artykułów.
 */
.home-guide .hero{padding-bottom:28px}
.home-guide .hero-copy{min-width:0}
.home-guide .hero h1{font-size:clamp(2.6rem,5.4vw,5rem);max-width:15ch;line-height:1.06}
.home-guide .hero-photo img{height:clamp(240px,34vw,440px);object-fit:cover;border-radius:3px}
.home-audience{margin-top:28px;max-width:48ch;padding-left:16px;border-left:2px solid #9ca68d;font-size:.9rem;color:#59634f;line-height:1.7}
.home-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-info-card{padding:clamp(22px,3vw,36px);background:#fff;border:1px solid #deded2;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.home-info-card h3{font-family:var(--serif);font-size:1.65rem;line-height:1.2;margin:4px 0 16px}
.home-info-card p{line-height:1.8}
.home-info-card .text-link{margin-top:auto;padding-top:12px}
.home-checks{background:#eeeee4;scroll-margin-top:24px}
.home-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:32px}
.home-check-grid article{border-top:2px solid #a3ad96;padding-top:22px}
.home-check-grid h3{font-size:1.1rem;line-height:1.4;margin-bottom:14px}
.home-check-grid p{line-height:1.8}
.home-brief{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.home-brief-list{margin:0;padding:0;list-style:none;counter-reset:brief}
.home-brief-list li{counter-increment:brief;display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--line);line-height:1.6}
.home-brief-list li::before{content:'0' counter(brief);color:#68735b;font-size:.8rem;padding-top:3px}
.home-contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.home-contact-links>a{overflow-wrap:anywhere;max-width:100%}
.home-guide .contact-strip .home-contact-links>a:not(.button){color:inherit}
@media(max-width:759px){.home-info-grid,.home-check-grid,.home-brief{grid-template-columns:1fr}.home-check-grid{gap:18px}.home-brief{gap:20px}.home-guide .hero h1{font-size:2.8rem}.home-guide .contact-strip .container{gap:24px}}

/* Home page cards follow the shared editorial system. */
.home-info-grid{gap:22px}
.home-info-card{border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.home-info-card:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:var(--shadow-md)}
.home-checks{background:linear-gradient(145deg,#e9e7dd,#f1efe7)}
.home-check-grid article{padding:24px;border:1px solid var(--line);border-top:4px solid var(--accent-deep);border-radius:var(--radius-md);background:rgba(255,254,250,.72)}
.home-brief-list{padding:4px 22px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}
.home-brief-list li::before{color:var(--accent-deep);font-weight:700}
@media(max-width:759px){.home-check-grid article{padding:22px}.home-brief-list{padding-inline:18px}}

/* Decision-led routes into the knowledge base. */
.home-knowledge-paths{background:#17382c;color:#e9eee7}
.home-knowledge-paths .section-heading h2{max-width:12ch;color:#fff}
.home-knowledge-paths .section-heading>p{max-width:500px;color:#c9d4cb;line-height:1.75}
.home-knowledge-paths .eyebrow{color:#c8b57e}
.home-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-path-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px 16px;align-content:start;min-height:220px;padding:clamp(22px,3vw,32px);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-md);background:rgba(255,255,255,.045);color:inherit;text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.home-path-card:hover{transform:translateY(-3px);border-color:rgba(216,194,138,.7);background:rgba(255,255,255,.08)}
.home-path-card>span{grid-row:1/4;color:#d8c28a;font-size:.75rem;font-weight:800;letter-spacing:.12em;padding-top:6px}
.home-path-card h3{color:#fff;font-family:var(--serif);font-size:clamp(1.35rem,2.3vw,1.8rem);font-weight:500;line-height:1.2}
.home-path-card p{max-width:44ch;color:#c9d4cb;font-size:.9rem;line-height:1.7}
.home-path-card strong{align-self:end;color:#f1e6c7;font-size:.8rem;letter-spacing:.02em}.home-path-card strong span{display:inline-block;margin-left:7px;transition:transform .18s ease}.home-path-card:hover strong span{transform:translateX(4px)}
.home-path-all{margin:28px 0 0}.home-path-all .text-link{border-color:#81988a;color:#fff}
@media(max-width:759px){.home-path-grid{grid-template-columns:1fr}.home-path-card{min-height:0}.home-knowledge-paths .section-heading h2{max-width:none}}

/* Real material photography on the home page. */
.home-materials{background:#f4f2eb}
.home-materials .section-heading h2{max-width:13ch}
.home-materials .section-heading>p{max-width:520px;line-height:1.75}
.home-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-material-grid>a{position:relative;min-height:310px;overflow:hidden;border-radius:var(--radius-md);background:#17382c;color:#fff;text-decoration:none;box-shadow:var(--shadow-sm)}
.home-material-grid img{display:block;width:100%;height:100%;min-height:310px;aspect-ratio:16/9;object-fit:cover;transition:transform .35s ease,filter .35s ease}
.home-material-grid>a::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(8,28,20,.88));pointer-events:none}
.home-material-grid>a:hover img{transform:scale(1.025);filter:saturate(1.04)}
.home-material-grid span{position:absolute;z-index:1;right:24px;bottom:22px;left:24px;display:grid;gap:5px}
.home-material-grid strong{font-family:var(--serif);font-size:clamp(1.25rem,2.2vw,1.65rem);font-weight:500}.home-material-grid small{color:#d9e1da;font-size:.78rem}
.home-material-note{max-width:74ch;margin:24px 0 0;color:var(--muted);font-size:.82rem;line-height:1.65}
@media(max-width:759px){.home-material-grid{grid-template-columns:1fr}.home-material-grid>a,.home-material-grid img{min-height:250px}.home-materials .section-heading h2{max-width:none}}

/* Clear commercial journey from project brief to confirmed delivery. */
.home-order-process{background:var(--surface)}
.home-offer-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:clamp(42px,6vw,70px);overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:linear-gradient(145deg,#edf0e7,#f8f7f2);box-shadow:var(--shadow-sm)}
.home-offer-facts>div{display:grid;align-content:center;min-height:118px;padding:22px;border-left:1px solid var(--line)}.home-offer-facts>div:first-child{border-left:0}
.home-offer-facts strong{color:var(--ink);font-family:var(--serif);font-size:clamp(1.45rem,2.5vw,2rem);font-weight:500;line-height:1.05}.home-offer-facts span{margin-top:8px;color:var(--muted);font-size:.76rem;line-height:1.45}
.home-order-process .section-heading h2{max-width:12ch}
.home-order-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:var(--radius-md);background:#f8f7f2;box-shadow:var(--shadow-sm)}
.home-order-steps li{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;min-width:0;padding:clamp(22px,3vw,30px);border-left:1px solid var(--line)}.home-order-steps li:first-child{border-left:0}
.home-order-steps li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dfe7d9;color:var(--accent-deep);font-size:.68rem;font-weight:800;letter-spacing:.05em}
.home-order-steps h3{margin:4px 0 10px;font-family:var(--serif);font-size:1.25rem;line-height:1.2}.home-order-steps p{color:#566159;font-size:.84rem;line-height:1.65}
.home-order-step-linked h3 a{color:inherit;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:4px;transition:color .18s ease,text-decoration-color .18s ease}.home-order-step-linked h3 a:hover,.home-order-step-linked h3 a:focus-visible{color:var(--accent-deep);text-decoration-color:currentColor}.home-order-step-guide{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--accent-deep);font-size:.75rem;font-weight:800;text-decoration:none}.home-order-step-guide span{transition:transform .18s ease}.home-order-step-guide:hover span{transform:translateX(3px)}
.home-order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:26px}
.home-batch-check{background:linear-gradient(145deg,#e9e7dd,#f4f2eb)}
.home-batch-check .section-heading h2{max-width:12ch}
.home-batch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-batch-grid article{min-width:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius-md);background:rgba(255,254,250,.82);box-shadow:var(--shadow-sm)}
.home-batch-grid article>span{display:block;margin-bottom:24px;color:var(--accent-deep);font-size:.68rem;font-weight:800;letter-spacing:.12em}.home-batch-grid h3{margin-bottom:12px;font-family:var(--serif);font-size:1.3rem}.home-batch-grid p{color:#566159;font-size:.86rem;line-height:1.7}
.home-batch-links{margin:26px 0 0}
@media(max-width:979px){.home-order-steps,.home-batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-order-steps li:nth-child(3){border-left:0;border-top:1px solid var(--line)}.home-order-steps li:nth-child(4){border-top:1px solid var(--line)}}
@media(max-width:699px){.home-offer-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-offer-facts>div{min-height:100px}.home-offer-facts>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.home-offer-facts>div:nth-child(4){border-top:1px solid var(--line)}.home-order-steps,.home-batch-grid{grid-template-columns:1fr}.home-order-steps li{border-left:0;border-top:1px solid var(--line)}.home-order-steps li:first-child{border-top:0}.home-order-actions .button{width:100%}.home-batch-check .section-heading h2,.home-order-process .section-heading h2{max-width:none}}
