/* ============================================================
   Dom System - style.css (v3 - sans-serif corporate)
   Paleta: #FCFBF9 (cream) / #0E0F11 (ink) / #B08038 (gold from logo)
   Font: Inter (display + body)
============================================================ */

:root {
    --bg: #FFFFFF;
    --bg-alt: #F6F4F0;
    --bg-soft: #FCFBF9;
    --ink: #0E0F11;
    --ink-soft: #1F1F22;
    --muted: #5E5E62;
    --muted-light: #8A8A8E;
    --border: #E8E4DC;
    --border-dark: #2A2A2D;
    --gold: #B08038;
    --gold-bright: #C99554;
    --gold-deep: #8E6628;
    --gold-soft: rgba(176, 128, 56, 0.10);
    --dark: #0E0F11;
    --dark-soft: #18181B;

    --ff: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1280px;
    --container-wide: 1440px;
    --gutter: 24px;
    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 8px;

    --shadow-sm: 0 1px 3px rgba(14, 15, 17, 0.06);
    --shadow-md: 0 6px 20px rgba(14, 15, 17, 0.08);
    --shadow-lg: 0 20px 50px rgba(14, 15, 17, 0.12);

    --t-fast: 180ms cubic-bezier(.4,.0,.2,1);
    --t-base: 280ms cubic-bezier(.4,.0,.2,1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
blockquote { margin: 0; }
::selection { background: var(--gold); color: #fff; }

/* ============ LAYOUT ============ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-wide { max-width: var(--container-wide); }
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #EFEAE0; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.tag::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--gold);
}
.section-dark .tag { color: var(--gold-bright); }
.section-dark .tag::before { background: var(--gold-bright); }

.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 20px 0 32px;
    max-width: 560px;
}
.section-dark .lead { color: #B5B0A4; }

.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all var(--t-base);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}
.btn-sm { padding: 12px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(176, 128, 56, 0.35);
}

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: gap var(--t-fast), color var(--t-fast);
}
.link-gold::after { content: "→"; transition: transform var(--t-fast); }
.link-gold:hover { color: var(--gold-bright); gap: 12px; }
.section-dark .link-gold { color: var(--gold-bright); }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.brand-svg {
    height: 58px;
    width: auto;
    display: block;
}
.brand-svg .ds-stroke {
    stroke: var(--gold);
    fill: none;
    stroke-width: 18;
    stroke-linejoin: miter;
    stroke-miterlimit: 4;
    stroke-linecap: butt;
}
.brand-svg .ds-gold { fill: var(--gold); }
.brand-svg .ds-wordmark-gold {
    fill: var(--gold);
    font-family: var(--ff);
    font-size: 85px;
    font-weight: 500;
    letter-spacing: 16px;
}
.brand-svg .ds-wordmark-grey {
    fill: #5E5E62;
    font-family: var(--ff);
    font-size: 85px;
    font-weight: 500;
    letter-spacing: 16px;
}
.brand-svg .ds-subline {
    fill: var(--gold);
    font-family: var(--ff);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 7px;
}

/* Footer brand variant - light SYSTEM text on dark bg */
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand .brand-svg { height: 72px; }
.footer-brand .brand-svg .ds-wordmark-grey { fill: #EFEAE0; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav > ul > li { position: relative; }
.site-nav a:not(.btn) {
    display: block;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: color var(--t-fast);
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).is-active { color: var(--gold); }
.site-nav .btn { color: #fff; }
.site-nav .caret { font-size: 0.65rem; margin-left: 4px; opacity: 0.5; }

.submenu {
    position: absolute;
    top: calc(100% + 4px);
    left: -8px;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--t-fast);
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a { padding: 10px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.submenu a:hover { background: var(--gold-soft); color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); transition: all var(--t-base);
    margin: 0 auto;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 86vh;
    max-height: 820px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--dark);
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.65);
}
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,15,17,0.6) 0%, rgba(14,15,17,0.4) 40%, rgba(14,15,17,0.92) 100%);
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 820px;
    padding: 80px 0;
}
.hero .tag { color: var(--gold-bright); }
.hero .tag::before { background: var(--gold-bright); }
.hero h1 {
    margin: 0 0 24px;
    line-height: 1.05;
    color: #fff;
}
.hero h1 .accent { color: var(--gold-bright); display: block; }
.hero-sub {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #D8D2C4;
    max-width: 600px;
    margin: 0 0 40px;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-scroll::after {
    content: "";
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--dark);
    color: #fff;
    border-top: 1px solid var(--border-dark);
    padding: 48px 0;
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}
.stat-num {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}
.stat-label {
    font-size: 0.82rem;
    color: #B5B0A4;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ============ PILLARS ============ */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink);
}
.pillar-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}
.pillar-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms ease;
}
.pillar-card:hover .pillar-img img { transform: scale(1.06); }
.pillar-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.pillar-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 12px;
}
.pillar-card h3 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: var(--ink);
}
.pillar-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.pillar-keystone {
    margin-top: 32px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.pillar-keystone .tag { color: var(--gold-bright); margin-bottom: 12px; }
.pillar-keystone .tag::before { background: var(--gold-bright); }
.pillar-keystone h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    margin: 0 0 8px;
    max-width: 540px;
}
.pillar-keystone p { color: #B5B0A4; max-width: 540px; }

/* ============ ABOUT TEASER ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 24px; }
.about-text p {
    color: var(--muted);
    margin: 0 0 16px;
    max-width: 520px;
    font-size: 1rem;
}
.about-text p:last-of-type { margin-bottom: 32px; }
.about-marks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-mark strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}
.about-mark span {
    font-size: 0.88rem;
    color: var(--muted);
}

/* ============ INCLUDES (CO ZAPEWNIAMY) ============ */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.include-item {
    padding: 36px 32px;
    background: #fff;
    transition: background var(--t-base);
}
.include-item:hover { background: var(--bg-soft); }
.include-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.include-icon svg { width: 100%; height: 100%; fill: currentColor; }
.include-item h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
    color: var(--ink);
}
.include-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ============ REALIZACJE ============ */
.realizacje-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.realizacja-card {
    display: block;
    color: inherit;
}
.realizacja-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 16px;
    background: var(--bg-alt);
}
.realizacja-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms ease;
}
.realizacja-card:hover .realizacja-img img { transform: scale(1.05); }
.realizacja-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.realizacja-meta .rok {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold-bright);
    text-transform: uppercase;
}
.realizacja-meta strong {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
}
.realizacja-meta em {
    font-style: normal;
    font-size: 0.88rem;
    color: #9B9588;
}

.realizacje-foot {
    display: flex;
    justify-content: center;
}

/* ============ OPINIE ============ */
.opinie-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.opinie-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.opinie-rating .num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}
.opinie-rating .meta { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.opinie-rating .stars { color: var(--gold); letter-spacing: 1px; }

.opinie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.opinia-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}
.opinia-card .stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.opinia-card blockquote {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 24px;
}
.opinia-card footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.opinia-card footer strong { display: block; font-weight: 600; }
.opinia-card footer em { font-style: normal; font-size: 0.85rem; color: var(--muted); }

/* ============ CTA FORM ============ */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
}
.cta-text h2 {
    color: #fff;
    margin-bottom: 24px;
}
.cta-text p {
    color: #B5B0A4;
    margin: 0 0 32px;
    max-width: 440px;
    font-size: 1rem;
}
.cta-contacts {
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
}
.cta-contacts li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-dark);
}
.cta-contacts li:last-child { border-bottom: 0; }
.cta-contacts span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    width: 88px;
    flex-shrink: 0;
}
.cta-contacts a, .cta-contacts li { font-size: 0.98rem; color: #EFEAE0; }
.cta-contacts a:hover { color: var(--gold-bright); }

.cta-form {
    background: #fff;
    color: var(--ink);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.cta-form h3 {
    margin: 0 0 20px;
    font-size: 1.3rem;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.field .opt {
    color: var(--muted-light);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.74rem;
}
.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--ink);
    transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--gold);
    background: #fff;
}
.field textarea { resize: vertical; min-height: 80px; }
.checkbox {
    display: flex;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 22px;
}
.checkbox input { margin-top: 4px; accent-color: var(--gold); }
.checkbox a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.form-note {
    margin: 14px 0 0;
    font-size: 0.88rem;
    text-align: center;
    min-height: 1.3em;
}
.form-note.is-ok { color: #2C7A4B; }
.form-note.is-err { color: #B43A3A; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark);
    color: #B5B0A4;
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-brand p {
    margin: 0;
    max-width: 320px;
    font-size: 0.92rem;
    line-height: 1.65;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.footer-col ul li {
    padding: 6px 0;
    font-size: 0.92rem;
}
.footer-col a { color: #B5B0A4; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    font-size: 0.85rem;
    color: #8C8579;
}
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-bottom .dot { margin: 0 8px; opacity: 0.5; }

/* ============================================================
   PODSTRONY - SUBHERO, BREADCRUMB
============================================================ */
.subhero {
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 120px 0 80px;
    overflow: hidden;
}
.subhero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.subhero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.4);
}
.subhero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,15,17,0.5) 0%, rgba(14,15,17,0.85) 100%);
}
.subhero-inner { position: relative; z-index: 1; max-width: 820px; }
.subhero .tag { color: var(--gold-bright); }
.subhero .tag::before { background: var(--gold-bright); }
.subhero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 20px;
    color: #fff;
}
.subhero p {
    color: #D8D2C4;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 640px;
}

.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9B9588;
}
.breadcrumb a { color: #9B9588; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.5; }
.breadcrumb .here { color: #fff; }

/* ============================================================
   PROCESS LIST (numerowane kroki)
============================================================ */
.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: step;
}
.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    counter-increment: step;
    align-items: start;
}
.process-step:last-child { border-bottom: 0; }
.process-step::before {
    content: counter(step, decimal-leading-zero);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1;
    grid-column: 1;
}
.process-step .step-body { grid-column: 2; }
.process-step h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}
.process-step p {
    color: var(--muted);
    margin: 0;
    font-size: 0.98rem;
}

/* ============================================================
   SCOPE GRID (lista usług w pakiecie)
============================================================ */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}
.scope-item {
    display: flex;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.scope-item .check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 2px;
}
.scope-item .check::before { content: "✓"; }
.scope-item strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}
.scope-item span { font-size: 0.92rem; color: var(--muted); }

/* ============================================================
   SCOPE CARDS (3-4 karty z ikoną - "Co zapewniamy" expanded)
============================================================ */
.scope-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.scope-card {
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.scope-card-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}
.scope-card-icon svg { width: 100%; height: 100%; fill: currentColor; }
.scope-card h3 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}
.scope-card p {
    color: var(--muted);
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.scope-card ul { margin: 12px 0 0; }
.scope-card li {
    padding-left: 20px;
    position: relative;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 6px;
}
.scope-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ============================================================
   USLUGI HUB GRID (4 karty: fundament/mury/dach/pod klucz)
============================================================ */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.hub-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    display: block;
    color: #fff;
}
.hub-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms ease;
}
.hub-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,15,17,0.2) 30%, rgba(14,15,17,0.92) 100%);
}
.hub-card:hover img { transform: scale(1.05); }
.hub-card-body {
    position: absolute;
    inset: auto 32px 32px;
    z-index: 2;
}
.hub-card-num {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold-bright);
    margin-bottom: 8px;
}
.hub-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 8px;
}
.hub-card p {
    color: #D8D2C4;
    font-size: 0.95rem;
    margin: 0 0 16px;
    max-width: 420px;
}
.hub-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gold-bright);
}

/* ============================================================
   TEAM / VALUES (kart pionowych z ikon-cyfrą)
============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.value-item {
    padding: 32px 0;
    border-top: 2px solid var(--ink);
}
.value-num {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 12px;
}
.value-item h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}
.value-item p { color: var(--muted); margin: 0; }

/* ============================================================
   BLOG CARDS
============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    display: block;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--t-base), transform var(--t-base);
}
.blog-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.blog-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-alt);
}
.blog-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px 24px 28px; }
.blog-card-meta {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.blog-card h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
    line-height: 1.3;
}
.blog-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.55;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
}
.blog-featured .blog-card-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
}
.blog-featured h2 {
    margin: 12px 0 16px;
}
.blog-featured .lead { margin: 0 0 24px; }

/* ============================================================
   ARTICLE BODY (blog post)
============================================================ */
.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-soft);
}
.article-body h2 {
    margin: 56px 0 16px;
    font-size: 1.6rem;
}
.article-body h3 {
    margin: 36px 0 12px;
    font-size: 1.3rem;
}
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; padding-left: 4px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; padding-left: 4px; }
.article-body blockquote {
    border-left: 3px solid var(--gold);
    padding: 8px 0 8px 24px;
    margin: 28px 0;
    font-style: italic;
    color: var(--ink);
}
.article-body strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   CONTACT PAGE - INFO BLOCKS + MAP
============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-block {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.contact-block h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
}
.contact-block a, .contact-block p {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0;
}
.contact-block a:hover { color: var(--gold); }
.contact-block span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 4px;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 11;
    background: var(--bg-alt);
}
.map-embed iframe {
    width: 100%; height: 100%;
    border: 0;
}

/* ============================================================
   REALIZACJE PAGE - FULL GALLERY
============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-grid .realizacja-card { background: var(--bg); }
.gallery-grid .realizacja-meta strong,
.gallery-grid .realizacja-meta em { color: var(--ink); }
.gallery-grid .realizacja-meta strong { color: var(--ink); }
.gallery-grid .realizacja-meta em { color: var(--muted); }
.gallery-grid .realizacja-meta .rok { color: var(--gold); }

.gallery-note {
    background: var(--bg-alt);
    border-left: 3px solid var(--gold);
    padding: 24px 32px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 56px;
}
.gallery-note strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}
.gallery-note p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================================
   LEGAL PAGES (polityka prywatności, cookies)
============================================================ */
.legal-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.legal-body h2 {
    margin: 48px 0 16px;
    font-size: 1.4rem;
}
.legal-body h3 {
    margin: 32px 0 12px;
    font-size: 1.15rem;
}
.legal-body p, .legal-body li { margin-bottom: 12px; }
.legal-body ul, .legal-body ol { padding-left: 24px; margin-bottom: 20px; }
.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }
.legal-body strong { font-weight: 700; color: var(--ink); }

/* ============ RESPONSIVE ADJUSTMENTS FOR PODSTRONY ============ */
@media (max-width: 1080px) {
    .blog-featured { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    .subhero { padding: 80px 0 56px; }

    .process-step { grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; }
    .process-step::before { font-size: 1.6rem; }

    .scope-grid, .scope-cards, .hub-grid, .values-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    .hub-card { aspect-ratio: 16 / 10; }
    .hub-card h3 { font-size: 1.4rem; }
}
@media (max-width: 540px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BUILD-STAGE - animowany SVG schemat budowy domu
============================================================ */
.build-stage-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    padding: 96px 0;
    overflow: hidden;
}
.build-stage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.build-stage-text h2 { margin-bottom: 20px; }
.build-stage-text p { color: var(--muted); margin-bottom: 20px; max-width: 480px; font-size: 1rem; }
.build-stage-phases {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.build-stage-phase {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.build-stage-phase:last-child { border-bottom: 0; }
.build-stage-phase .phase-num {
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    color: var(--muted);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 400ms ease;
}
.build-stage-phase.is-current .phase-num { background: var(--gold); color: #fff; transform: scale(1.1); box-shadow: 0 4px 14px rgba(176, 128, 56, 0.4); }
.build-stage-phase.is-done .phase-num { background: var(--ink); color: #fff; }
.build-stage-phase.is-done .phase-num::before { content: "✓"; }
.build-stage-phase.is-done .phase-num span { display: none; }
.build-stage-phase strong { display: block; font-size: 1rem; color: var(--ink); }
.build-stage-phase.is-current strong { color: var(--gold); }
.build-stage-phase span.phase-desc { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.build-stage-svg {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(14, 15, 17, 0.12));
}

/* === Scene base === */
.build-stage-svg .sky { fill: url(#bs-sky); }
.build-stage-svg .ground-rect { fill: #E5E1D8; }
.build-stage-svg .ground { stroke: var(--ink); stroke-width: 2; }
.build-stage-svg .sun {
    fill: var(--gold-bright);
    opacity: 0.5;
    animation: bsSunPulse 5s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes bsSunPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}
.build-stage-svg .cloud {
    fill: #FCFBF9;
    opacity: 0.85;
    animation: bsCloudDrift 24s linear infinite;
}
.build-stage-svg .cloud-2 { animation-duration: 32s; animation-direction: reverse; }
@keyframes bsCloudDrift {
    0% { transform: translateX(-30px); }
    50% { transform: translateX(30px); }
    100% { transform: translateX(-30px); }
}

/* === Colors === */
.build-stage-svg .foundation { fill: var(--gold); }
.build-stage-svg .foundation-shadow { fill: var(--gold-deep); }
.build-stage-svg .rebar { stroke: var(--ink); stroke-width: 1; opacity: 0.35; }
.build-stage-svg .wall { fill: #FCFBF9; stroke: var(--ink); stroke-width: 2.5; }
.build-stage-svg .brick { stroke: var(--ink); stroke-width: 0.6; opacity: 0.18; fill: none; }
.build-stage-svg .window-frame { fill: var(--ink); }
.build-stage-svg .window-glass { fill: #1F1F22; }
.build-stage-svg .window-mullion { stroke: #6B6B6E; stroke-width: 2; }
.build-stage-svg .phase-4 .window-mullion { stroke: rgba(14, 15, 17, 0.7); }
.build-stage-svg .window-lit { fill: var(--gold-bright); }
.build-stage-svg .roof { fill: var(--ink); }
.build-stage-svg .roof-shadow { fill: var(--ink); opacity: 0.25; }
.build-stage-svg .roof-tile { display: none; }
.build-stage-svg .chimney { fill: var(--ink); }
.build-stage-svg .chimney-cap { fill: var(--ink-soft); }
.build-stage-svg .door-frame { fill: var(--ink); }
.build-stage-svg .door { fill: var(--gold); }
.build-stage-svg .door-knob { fill: var(--ink); }
.build-stage-svg .smoke-puff { fill: #9B9588; }

/* === PHASE GROUPS === */
.build-stage-svg .phase { opacity: 0; }

/* Phase 1: Foundation rises from bottom */
.build-stage-svg .phase-1 .foundation,
.build-stage-svg .phase-1 .foundation-shadow {
    transform-origin: center bottom;
    transform-box: fill-box;
    transform: scaleY(0);
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}
.build-stage-svg .phase-1 .rebar {
    opacity: 0;
    transition: opacity 400ms 500ms;
}
.build-stage-svg.show-1 .phase-1,
.build-stage-svg.show-2 .phase-1,
.build-stage-svg.show-3 .phase-1,
.build-stage-svg.show-4 .phase-1 { opacity: 1; }
.build-stage-svg.show-1 .phase-1 .foundation,
.build-stage-svg.show-2 .phase-1 .foundation,
.build-stage-svg.show-3 .phase-1 .foundation,
.build-stage-svg.show-4 .phase-1 .foundation,
.build-stage-svg.show-1 .phase-1 .foundation-shadow,
.build-stage-svg.show-2 .phase-1 .foundation-shadow,
.build-stage-svg.show-3 .phase-1 .foundation-shadow,
.build-stage-svg.show-4 .phase-1 .foundation-shadow { transform: scaleY(1); }
.build-stage-svg.show-1 .phase-1 .rebar,
.build-stage-svg.show-2 .phase-1 .rebar,
.build-stage-svg.show-3 .phase-1 .rebar,
.build-stage-svg.show-4 .phase-1 .rebar { opacity: 0.35; }

/* Phase 2: Wall rises + windows pop with spring */
.build-stage-svg .phase-2 .wall {
    transform-origin: center bottom;
    transform-box: fill-box;
    transform: scaleY(0);
    transition: transform 850ms cubic-bezier(.22, 1, .36, 1) 250ms;
}
.build-stage-svg .phase-2 .brick {
    opacity: 0;
    transition: opacity 400ms 950ms;
}
.build-stage-svg .phase-2 .window {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transform-box: fill-box;
    transition: opacity 400ms cubic-bezier(.34, 1.56, .64, 1) 1100ms,
                transform 500ms cubic-bezier(.34, 1.56, .64, 1) 1100ms;
}
.build-stage-svg .phase-2 .window:nth-of-type(2) { transition-delay: 1200ms; }
.build-stage-svg.show-2 .phase-2,
.build-stage-svg.show-3 .phase-2,
.build-stage-svg.show-4 .phase-2 { opacity: 1; }
.build-stage-svg.show-2 .phase-2 .wall,
.build-stage-svg.show-3 .phase-2 .wall,
.build-stage-svg.show-4 .phase-2 .wall { transform: scaleY(1); }
.build-stage-svg.show-2 .phase-2 .brick,
.build-stage-svg.show-3 .phase-2 .brick,
.build-stage-svg.show-4 .phase-2 .brick { opacity: 0.18; }
.build-stage-svg.show-2 .phase-2 .window,
.build-stage-svg.show-3 .phase-2 .window,
.build-stage-svg.show-4 .phase-2 .window { opacity: 1; transform: scale(1); }

/* Phase 3: Roof slides from top + chimney rises */
.build-stage-svg .phase-3 .roof,
.build-stage-svg .phase-3 .roof-shadow {
    transform: translateY(-100px) scaleY(0.4);
    transform-origin: center bottom;
    transform-box: fill-box;
    transition: transform 750ms cubic-bezier(.22, 1, .36, 1) 400ms;
}
.build-stage-svg .phase-3 .roof-tile {
    opacity: 0;
    transition: opacity 400ms 1100ms;
}
.build-stage-svg .phase-3 .chimney,
.build-stage-svg .phase-3 .chimney-cap {
    transform: scaleY(0);
    transform-origin: center bottom;
    transform-box: fill-box;
    transition: transform 500ms cubic-bezier(.22, 1, .36, 1) 1000ms;
}
.build-stage-svg.show-3 .phase-3,
.build-stage-svg.show-4 .phase-3 { opacity: 1; }
.build-stage-svg.show-3 .phase-3 .roof,
.build-stage-svg.show-3 .phase-3 .roof-shadow,
.build-stage-svg.show-4 .phase-3 .roof,
.build-stage-svg.show-4 .phase-3 .roof-shadow { transform: translateY(0) scaleY(1); }
.build-stage-svg.show-3 .phase-3 .roof-tile,
.build-stage-svg.show-4 .phase-3 .roof-tile { opacity: 0.35; }
.build-stage-svg.show-3 .phase-3 .chimney,
.build-stage-svg.show-3 .phase-3 .chimney-cap,
.build-stage-svg.show-4 .phase-3 .chimney,
.build-stage-svg.show-4 .phase-3 .chimney-cap { transform: scaleY(1); }

/* Phase 4: Door appears + windows glow + smoke floats */
.build-stage-svg .phase-4 .door-frame,
.build-stage-svg .phase-4 .door {
    transform-origin: center bottom;
    transform-box: fill-box;
    transform: scaleY(0);
    transition: transform 600ms cubic-bezier(.22, 1, .36, 1) 200ms;
}
.build-stage-svg .phase-4 .door-knob {
    opacity: 0;
    transition: opacity 300ms 900ms;
}
.build-stage-svg .phase-4 .window-lit {
    opacity: 0;
    transition: opacity 500ms cubic-bezier(.4, 0, .2, 1) 600ms;
}
.build-stage-svg .phase-4 .smoke-puff {
    opacity: 0;
    transition: opacity 400ms 1200ms;
}
.build-stage-svg.show-4 .phase-4 { opacity: 1; }
.build-stage-svg.show-4 .phase-4 .door-frame,
.build-stage-svg.show-4 .phase-4 .door { transform: scaleY(1); }
.build-stage-svg.show-4 .phase-4 .door-knob { opacity: 1; }
.build-stage-svg.show-4 .phase-4 .window-lit {
    opacity: 0.92;
    animation: bsWindowGlow 3s ease-in-out infinite 1.4s;
}
@keyframes bsWindowGlow {
    0%, 100% { opacity: 0.92; }
    50% { opacity: 0.7; }
}
.build-stage-svg.show-4 .phase-4 .smoke-puff {
    opacity: 0.5;
    animation: bsSmokeFloat 4s ease-in-out infinite 1.5s;
}
.build-stage-svg.show-4 .phase-4 .smoke-puff:nth-child(2) { animation-delay: 2s; }
.build-stage-svg.show-4 .phase-4 .smoke-puff:nth-child(3) { animation-delay: 3s; }
@keyframes bsSmokeFloat {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.5; }
    100% { transform: translateY(-30px) scale(1.4); opacity: 0; }
}

.build-stage-replay {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: none;
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: all var(--t-fast);
    cursor: pointer;
}
.build-stage-replay:hover { border-color: var(--gold); color: var(--gold); }
.build-stage-replay::before { content: "↻"; font-size: 1.1rem; }

@media (max-width: 860px) {
    .build-stage-section { padding: 64px 0; }
    .build-stage-grid { grid-template-columns: 1fr; gap: 40px; }
    .build-stage-svg { max-width: 380px; }
}

/* ============================================================
   FAQ - premium accordion
============================================================ */
.faq-section { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 350ms cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 2px 6px rgba(14, 15, 17, 0.03);
}
.faq-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 400ms cubic-bezier(.22, 1, .36, 1);
}
.faq-item:hover {
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 15, 17, 0.08);
}
.faq-item[open] {
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(14, 15, 17, 0.10);
}
.faq-item[open]::before { transform: scaleY(1); }

.faq-item summary {
    cursor: pointer;
    padding: 26px 32px 26px 36px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--ink);
    transition: color 250ms ease;
    letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 350ms cubic-bezier(.22, 1, .36, 1);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23B08038' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,5 7,9 11,5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.faq-item[open] summary { color: var(--gold); }
.faq-item[open] summary::after {
    background-color: var(--gold);
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,5 7,9 11,5'/></svg>");
}
.faq-item summary:hover { color: var(--gold); }
.faq-item summary:hover::after { background-color: var(--gold-soft); }

.faq-answer {
    padding: 0 32px 28px 36px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    margin-top: -4px;
    padding-top: 20px;
    animation: faqFadeIn 400ms cubic-bezier(.22, 1, .36, 1);
}
.faq-answer p { margin: 0 0 14px; }
.faq-answer p:last-child { margin: 0; }
.faq-answer a {
    color: var(--gold);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: color var(--t-fast);
}
.faq-answer a:hover { color: var(--gold-bright); }
.faq-answer strong { color: var(--ink); font-weight: 700; }

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-footer {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.faq-footer-text { flex: 1; min-width: 280px; }
.faq-footer strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.faq-footer span { color: #B5B0A4; font-size: 0.9rem; }

@media (max-width: 740px) {
    .faq-list { gap: 12px; }
    .faq-item summary { padding: 20px 22px 20px 26px; font-size: 0.98rem; gap: 14px; }
    .faq-item summary::after { width: 32px; height: 32px; }
    .faq-answer { padding: 16px 22px 22px 26px; }
    .faq-footer { flex-direction: column; text-align: center; padding: 24px; }
}

/* ============================================================
   COOKIE CONSENT - banner + modal (RODO)
============================================================ */
.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark);
    color: #EFEAE0;
    padding: 24px 0;
    transform: translateY(110%);
    transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
    border-top: 2px solid var(--gold);
}
.cc-banner.is-visible { transform: translateY(0); }
.cc-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.cc-banner-text strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.cc-banner-text p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #B5B0A4;
    max-width: 700px;
}
.cc-banner-text a {
    color: var(--gold-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cc-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(14, 15, 17, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cc-overlay.is-visible { opacity: 1; visibility: visible; }

.cc-modal {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    transform: scale(0.95);
    opacity: 0;
    transition: all 300ms cubic-bezier(.22, 1, .36, 1);
}
.cc-overlay.is-visible .cc-modal { transform: scale(1); opacity: 1; }

.cc-modal-head {
    padding: 28px 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.cc-modal-head h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}
.cc-close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--bg-alt);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cc-close:hover { background: var(--ink); color: #fff; }

.cc-modal-body { padding: 16px 32px 8px; }
.cc-modal-body > p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.cc-cat {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}
.cc-cat:first-of-type { border-top: 0; padding-top: 8px; }
.cc-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
}
.cc-cat-required {
    background: var(--gold);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}
.cc-cat-desc {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Toggle switch */
.cc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.cc-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cc-toggle .cc-slider {
    position: absolute;
    inset: 0;
    background: #D4D0C8;
    border-radius: 24px;
    transition: background 200ms ease;
}
.cc-toggle .cc-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 200ms cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cc-toggle input:checked + .cc-slider { background: var(--gold); }
.cc-toggle input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-toggle input:disabled + .cc-slider { background: var(--gold-deep); opacity: 0.5; cursor: not-allowed; }

.cc-modal-foot {
    padding: 20px 32px 28px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

@media (max-width: 740px) {
    .cc-banner-inner { grid-template-columns: 1fr; gap: 16px; }
    .cc-banner-actions { width: 100%; }
    .cc-banner-actions .btn { flex: 1 1 auto; }
    .cc-modal-head { padding: 20px 20px 0; }
    .cc-modal-body { padding: 12px 20px 8px; }
    .cc-modal-foot { padding: 16px 20px 20px; flex-direction: column-reverse; }
    .cc-modal-foot .btn { width: 100%; }
}

/* ============ FADE-IN (progressive enhancement) ============ */
.ds-js .ds-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(.4,.0,.2,1), transform 700ms cubic-bezier(.4,.0,.2,1);
}
.ds-js .ds-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
    .about-grid { gap: 48px; }
    .cta-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .pillar-keystone { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
}

@media (max-width: 860px) {
    .section { padding: 72px 0; }
    .section-tight { padding: 56px 0; }
    .section-head { margin-bottom: 40px; }

    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed;
        inset: 84px 0 auto;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 32px;
        gap: 0;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--t-base);
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav > ul > li { border-bottom: 1px solid var(--border); }
    .site-nav a { padding: 16px 4px; }
    .submenu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0;
        background: var(--bg-alt);
        padding: 4px 12px;
        margin: 0 0 8px;
    }

    .hero { min-height: 72vh; }
    .hero-inner { padding: 56px 0; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    .pillar-grid { grid-template-columns: 1fr; gap: 16px; }

    .about-grid { grid-template-columns: 1fr; }
    .about-media { aspect-ratio: 4 / 3; max-width: 100%; }

    .includes-grid { grid-template-columns: 1fr 1fr; }

    .realizacje-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    .opinie-grid { grid-template-columns: 1fr; gap: 16px; }

    .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-form { padding: 28px 24px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
}

@media (max-width: 540px) {
    .hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .includes-grid { grid-template-columns: 1fr; }
    .realizacje-grid { grid-template-columns: 1fr; }
    .brand img { height: 40px; }
}
