/* montaz-kuchni.pl — public frontend */
:root {
    --color-dark: #222222;
    --color-gold: #C79A54;
    --color-gold-dark: #a67d3f;
    --color-light: #FAFAF8;
    --color-white: #ffffff;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --container: 1200px;
    --header-h: 72px;
    --logo-scale: 0.875;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(34, 34, 34, 0.08);
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .875rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
    border: 2px solid transparent; cursor: pointer; transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--color-gold); color: var(--color-white); border-color: var(--color-gold); }
.btn-primary:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); }
.btn-outline { background: transparent; color: var(--color-gold); border-color: var(--color-gold); }
.btn-outline:hover { background: var(--color-gold); color: var(--color-white); }
.btn-outline-light { color: var(--color-white); border-color: rgba(255,255,255,.6); background: transparent; }
.btn-outline-light:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-white); }
.btn-white { background: var(--color-white); color: var(--color-dark); border-color: var(--color-border); }
.btn-white:hover { background: var(--color-light); }
.btn-arrow::after { content: '→'; margin-left: .4rem; }
.btn-dark { background: var(--color-dark); color: var(--color-white); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.section-actions { text-align: center; margin-top: 2.5rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h); gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.logo img {
    height: calc(var(--header-h) * var(--logo-scale));
    width: auto;
    max-width: none;
}
@media (max-width: 991px) {
    .logo img { max-width: calc(100vw - 6.5rem); }
}
@media (min-width: 768px) {
    :root { --header-h: 90px; }
}
@media (min-width: 992px) {
    :root { --header-h: 98px; }
}
.nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: none; background: none; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 22px; height: 2px; background: var(--color-dark);
    transition: var(--transition);
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ''; position: absolute; left: 0;
}
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.site-nav { display: none; }
.site-nav.is-open { display: block; }
.menu { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 0; }
.menu a {
    display: block; padding: .6rem 0; font-weight: 500; color: var(--color-dark);
    border-bottom: 2px solid transparent;
}
.menu a.is-active, .menu a:hover { color: var(--color-gold); }
.menu a.is-active { border-bottom-color: var(--color-gold); }
.menu-item--dropdown { position: relative; }
.menu-dropdown-wrap {
    display: none;
}
@media (min-width: 768px) {
    .menu-dropdown-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        transform: none;
        padding-top: 10px;
        z-index: 200;
    }
    .menu-item--dropdown.is-dropdown-open > .menu-dropdown-wrap {
        display: block;
    }
}
.menu-item__trigger {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.menu-item__caret {
    opacity: .55;
    transition: transform var(--transition);
}
.menu-item--dropdown:hover .menu-item__caret,
.menu-item--dropdown.is-open .menu-item__caret {
    transform: rotate(180deg);
}
.menu-dropdown {
    list-style: none;
    margin: 0;
    padding: .85rem;
    background: var(--color-white);
    border: 1px solid rgba(34, 34, 34, .08);
    border-radius: 16px;
    box-shadow: 0 22px 52px rgba(34, 34, 34, .15), 0 8px 18px rgba(34, 34, 34, .08);
    min-width: 320px;
    max-width: 420px;
}
.menu-dropdown li { margin: 0; }
.menu-dropdown li + li { margin-top: .55rem; }
.menu-dropdown a {
    display: block;
    padding: 1.15rem 1.5rem;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.55;
    border-bottom: none;
    border-radius: 12px;
    border-left: 3px solid transparent;
    white-space: normal;
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: break-word;
    color: var(--color-dark);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-dropdown a:hover,
.menu-dropdown a:focus-visible {
    background: linear-gradient(90deg, rgba(199, 154, 84, .16), rgba(199, 154, 84, .08));
    color: var(--color-gold);
    border-left-color: var(--color-gold);
}
@media (max-width: 767px) {
    .menu-dropdown-wrap { display: none; }
    .menu-item--dropdown.is-open > .menu-dropdown-wrap { display: block; }
    .menu-dropdown {
        margin: .35rem 0 .5rem;
        padding: .35rem 0 .35rem .5rem;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    .menu-dropdown a {
        padding: 1rem 1.5rem;
        border-radius: 10px;
    }
}
.header-contact { display: none; }
.header-phone {
    display: flex; align-items: center; gap: .75rem; color: var(--color-dark);
}
.header-phone__icon {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--color-gold); color: var(--color-white); flex-shrink: 0;
}
.header-phone strong { display: block; font-size: .95rem; line-height: 1.2; }
.header-phone small { color: var(--color-muted); font-size: .75rem; }

@media (min-width: 992px) {
    .nav-toggle { display: none; }
    .site-nav { display: block !important; flex: 1; }
    .header-inner { display: grid; grid-template-columns: auto 1fr auto; }
    .menu { flex-direction: row; justify-content: center; gap: 1.5rem; padding: 0; }
    .menu a { padding: .5rem 0; }
    .header-contact { display: flex; align-items: center; gap: 1rem; }
}

@media (max-width: 991px) {
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--color-white); border-bottom: 1px solid var(--color-border);
        padding: 0 1rem 1rem; box-shadow: var(--shadow);
    }
}

/* Section common */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-light { background: var(--color-light); }
.section-dark { background: var(--color-dark); color: var(--color-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header--left { text-align: left; max-width: none; margin-bottom: 2rem; }
.section-line {
    display: block; width: 48px; height: 3px; background: var(--color-gold);
    margin-bottom: 1rem; border-radius: 2px;
}
.section-line--below { margin-top: 1rem; margin-bottom: 0; }
.section-header--left .section-title { margin-bottom: 0; }
.section-label {
    display: block; font-size: .75rem; font-weight: 600; letter-spacing: .15em;
    text-transform: uppercase; color: var(--color-gold); margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin: 0 0 .75rem; line-height: 1.2; }
.section-desc { color: var(--color-muted); margin: 0; }
.section-dark .section-desc { color: rgba(255,255,255,.7); }
.text-gold { color: var(--color-gold); }

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: stretch;
    color: var(--color-white);
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(34,34,34,.82) 0%, rgba(34,34,34,.55) 42%, rgba(34,34,34,.15) 70%, transparent 100%);
}
.hero__inner {
    position: relative; z-index: 1;
    display: flex; align-items: center;
    min-height: inherit;
    padding: calc(var(--header-h) + 2rem) 0 3.5rem;
}
.hero__panel { max-width: 560px; }
.hero__panel h1 {
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 700; line-height: 1.12;
    margin: 0 0 1rem; color: var(--color-white);
}
.hero__panel p {
    font-size: 1.05rem; line-height: 1.65;
    color: rgba(255,255,255,.88);
    margin: 0 0 1.75rem; max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-trust {
    display: grid; gap: .85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.15);
}
.hero-trust-item {
    display: flex; align-items: center; gap: .65rem;
    font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.92);
}
.hero-trust-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid var(--color-gold); color: var(--color-gold); flex-shrink: 0;
}
.hero-trust-icon svg {
    width: 22px;
    height: 22px;
}
@media (min-width: 768px) {
    .hero-trust { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* Services row — 5 cards desktop */
.section-services {
    background: var(--color-white);
    padding-top: clamp(3.5rem, 7vw, 5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.services-row {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-row { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; } }
@media (min-width: 992px) { .services-row { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; } }
.service-card-home {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #F0EBE0;
    border-radius: calc(var(--radius) + 20px);
    box-shadow: 0 10px 36px rgba(34, 34, 34, 0.07);
    overflow: visible;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(34, 34, 34, 0.12);
}
.service-card-home__top {
    position: relative;
}
.service-card-home__media {
    border-radius: calc(var(--radius) + 20px) calc(var(--radius) + 20px) 0 0;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.service-card-home__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card-home__icon {
    position: absolute;
    left: 1.15rem;
    bottom: 0;
    transform: translateY(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(199,154,84,.45);
    border: 3px solid #F0EBE0;
    z-index: 3;
}
.service-card-home__icon svg {
    display: block;
}
.service-card-home__body {
    padding: 2.65rem 1.35rem 2rem 1.35rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 168px;
}
.service-card-home__body h3 {
    margin: 0 0 .65rem;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.35;
    font-weight: 700;
}
.service-card-home__body p {
    margin: 0;
    font-size: clamp(.88rem, 1.4vw, .95rem);
    color: var(--color-muted);
    line-height: 1.6;
}

/* Trust banner — dark panel, 4 columns */
.trust-banner {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: var(--color-light);
}
.trust-banner__inner {
    background: var(--color-dark);
    border-radius: calc(var(--radius) + 4px);
    padding: clamp(2rem, 4vw, 3rem);
    display: grid; gap: 2rem;
    color: var(--color-white);
}
@media (min-width: 992px) {
    .trust-banner__inner {
        grid-template-columns: minmax(220px, 280px) 1fr;
        align-items: center; gap: 2.5rem;
    }
}
.trust-banner__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; line-height: 1.25; margin: 0 0 0;
}
.trust-banner__line { margin-top: 1rem; margin-bottom: 1.75rem; }
.trust-banner__items {
    display: grid; gap: 1.75rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .trust-banner__items {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: start; gap: 0;
    }
}
.trust-banner__item { padding: 0 1rem; text-align: center; }
.trust-banner__icon {
    display: flex; align-items: center; justify-content: center;
    width: auto; height: auto;
    margin: 0 auto 1rem;
    color: var(--color-gold);
}
.trust-banner__icon svg {
    width: 72px;
    height: 72px;
}
.trust-banner__item h3 {
    margin: 0 0 .5rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
}
.trust-banner__item p {
    margin: 0;
    font-size: clamp(.9rem, 1.6vw, 1rem);
    color: rgba(255,255,255,.72);
    line-height: 1.6;
}
.trust-banner__sep {
    display: none;
    width: 1px; align-self: stretch;
    background: rgba(199,154,84,.35);
    min-height: 100px;
}
@media (min-width: 768px) { .trust-banner__sep { display: block; } }

/* Cards grid */
.cards-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.cards-grid--services { gap: 2rem; }
@media (min-width: 992px) { .cards-grid--services { grid-template-columns: repeat(3, 1fr); } }

.service-card, .trust-card, .review-card, .blog-card {
    background: var(--color-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition);
}
.service-card:hover, .blog-card:hover { transform: translateY(-4px); }
.service-card__img { aspect-ratio: 16/10; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 1.25rem; }
.service-card__body h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.service-card__body p { margin: 0 0 1rem; color: var(--color-muted); font-size: .9rem; }
.service-card__link { font-weight: 600; color: var(--color-gold); font-size: .9rem; }

/* Trust section dark */
.trust-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }
}
.trust-card {
    padding: 2rem 1.75rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(199,154,84,.25);
    border-radius: var(--radius);
}
.trust-card__icon { color: var(--color-gold); margin-bottom: 1rem; }
.trust-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.trust-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }

/* Process */
.section-process { background: var(--color-white); }
.process-grid { display: grid; gap: 2.5rem; align-items: stretch; }
@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(300px, 42%);
        gap: 2rem;
    }
}
.process-main { display: flex; flex-direction: column; height: 100%; }
.process-main .section-header--left { margin-bottom: 2rem; }
.process-main .section-header--left .section-title {
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
}
.process-steps--row {
    display: flex; flex-wrap: wrap; gap: .75rem 0; align-items: flex-start;
    flex: 1;
}
@media (min-width: 992px) { .process-steps--row { flex-wrap: nowrap; align-items: stretch; } }
.process-step {
    flex: 1 1 45%; min-width: 140px;
    text-align: center; padding: .65rem .5rem;
}
@media (min-width: 992px) { .process-step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; } }
.process-step__icon {
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .85rem;
    color: var(--color-gold);
}
.process-step__num {
    display: block; font-size: .85rem; font-weight: 700;
    color: var(--color-gold); margin-bottom: .45rem;
}
.process-step h3 {
    margin: 0 0 .45rem;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    line-height: 1.3;
}
.process-step p {
    margin: 0;
    font-size: clamp(.88rem, 1.5vw, .95rem);
    color: var(--color-muted);
    line-height: 1.55;
}
.process-arrow {
    display: none; flex: 0 0 36px; align-self: center;
    margin-top: 2.25rem; color: var(--color-gold);
}
.process-arrow svg { width: 32px; height: auto; }
@media (min-width: 992px) { .process-arrow { display: flex; align-items: center; justify-content: center; } }
.process-image {
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 280px;
    height: 100%;
}
@media (min-width: 992px) {
    .process-image {
        align-self: stretch;
        display: flex;
        min-height: 100%;
        height: auto;
    }
}
.process-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
}

/* Ready banner */
.ready-banner {
    background: var(--color-light);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.ready-banner__box {
    display: grid;
    gap: 1.75rem 2rem;
    align-items: center;
    background: #F0EBE0;
    border-radius: calc(var(--radius) + 24px);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3.25rem);
}
.ready-banner__main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}
@media (min-width: 768px) {
    .ready-banner__box {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 2rem 2.5rem;
    }
}
.ready-banner__plant {
    display: none;
    flex-shrink: 0;
    width: clamp(80px, 11vw, 110px);
}
@media (min-width: 768px) { .ready-banner__plant { display: block; } }
.ready-banner__plant img { width: 100%; height: auto; display: block; }
.ready-banner__title {
    margin: 0 0 .45rem;
    font-size: clamp(1.45rem, 3.2vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
}
.ready-banner__content p {
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(.95rem, 1.8vw, 1.05rem);
    line-height: 1.6;
}
.ready-banner__sep {
    display: none;
    width: 1px;
    align-self: stretch;
    min-height: 64px;
    background: rgba(34, 34, 34, .18);
}
@media (min-width: 768px) { .ready-banner__sep { display: block; } }
.ready-banner__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
}
@media (min-width: 480px) {
    .ready-banner__aside {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}
.ready-banner__phone {
    display: flex; align-items: center; gap: .7rem;
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    color: var(--color-dark);
    text-decoration: none;
}
.ready-banner__phone-icon {
    display: flex; align-items: center; justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}
.ready-banner__phone strong { font-weight: 700; }
.ready-banner__cta { flex-shrink: 0; text-transform: uppercase; letter-spacing: .04em; }


/* About */
.section-about { background: var(--color-light); }
.about-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
@media (min-width: 992px) {
    .about-grid { grid-template-columns: 1.05fr .95fr; }
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 320px;
}
.about-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
.about-content .section-title { text-align: left; margin-bottom: 1.25rem; }
.about-content .section-label { text-align: left; }
.about-actions { margin-top: 2rem; }
.content-body h2, .content-body h3 { margin-top: 1.5rem; scroll-margin-top: 5rem; }
.content-body p { color: var(--color-muted); }

.blog-toc {
    margin: 1.75rem 0 2rem;
    padding: 1.25rem 1.5rem;
    background: #f8f9fb;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}
.blog-toc__title {
    margin: 0 0 .75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
}
.blog-toc__list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: decimal;
}
.blog-toc__item { margin: .35rem 0; }
.blog-toc__item a {
    color: var(--color-dark);
    text-decoration: none;
    line-height: 1.45;
}
.blog-toc__item a:hover { color: var(--color-gold); text-decoration: underline; }
.blog-toc__item--h3 { list-style: circle; margin-left: 1rem; }
@media (max-width: 640px) {
    .blog-toc { padding: 1rem 1.1rem; }
    .blog-toc__item--h3 { margin-left: .5rem; }
}

/* Realizations */
.realizations-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .realizations-grid { grid-template-columns: repeat(2, 1fr); } }
.realization-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--color-white);
}
.realization-card--large .realization-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.realization-card--large .realization-card__media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .45s ease;
}
.realization-card:hover .realization-card__media img { transform: scale(1.04); }
.realization-card__body { padding: 1.35rem 1.5rem; }
.realization-card__body h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.realization-card__body p { margin: 0; font-size: .9rem; color: var(--color-muted); }

/* Blog list (ThermoCore-style) */
.blog-search {
    margin-bottom: 2.5rem;
    max-width: 520px;
}
.blog-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: .75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: .95rem;
}
.blog-list { display: grid; gap: 2.25rem; }
.blog-list__item {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}
.blog-list__item:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 768px) {
    .blog-list__item {
        grid-template-columns: minmax(240px, 320px) 1fr;
        gap: 2rem;
        align-items: center;
    }
}
.blog-list__img {
    display: block;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
}
.blog-list__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.blog-list__img:hover img { transform: scale(1.03); }
.blog-list__body { min-width: 0; }
.blog-list__date {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .5rem;
}
.blog-list__title { margin: 0 0 .75rem; font-size: clamp(1.25rem, 2.8vw, 1.6rem); line-height: 1.3; }
.blog-list__title a { color: var(--color-dark); }
.blog-list__title a:hover { color: var(--color-gold); }
.blog-list__excerpt {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
    line-height: 1.7;
    font-size: clamp(.95rem, 1.6vw, 1.02rem);
}
.blog-list__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--color-gold);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.blog-list__link::after { content: '→'; transition: transform var(--transition); }
.blog-list__link:hover::after { transform: translateX(4px); }

/* Services list page */
.services-page-intro { margin-bottom: 2.5rem; }
.services-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.services-list__item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
}
.services-list__item:first-child { padding-top: 0; }
.services-list__body h2 { margin: 0 0 .65rem; font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.services-list__body h2 a { color: var(--color-dark); }
.services-list__body h2 a:hover { color: var(--color-gold); }
.services-list__body p { margin: 0 0 1rem; color: var(--color-muted); line-height: 1.65; max-width: 72ch; }
.services-list__link { font-weight: 600; color: var(--color-gold); font-size: .9rem; }

/* Legacy masonry (subpages) */
.masonry { columns: 1; column-gap: 1.5rem; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 992px) { .masonry { columns: 3; } }
.masonry-item { break-inside: avoid; margin-bottom: 1.5rem; }

/* Reviews */
.reviews-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { padding: 1.5rem; }
.review-card__stars { color: var(--color-gold); margin-bottom: .75rem; letter-spacing: 2px; }
.review-card__text { margin: 0 0 1rem; font-style: italic; color: var(--color-muted); }
.review-card__author { display: flex; align-items: center; gap: .75rem; }
.review-card__photo {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--color-light);
}
.review-card__name { font-weight: 600; font-size: .9rem; }

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 0; background: none; border: none; cursor: pointer;
    font: inherit; font-weight: 600; text-align: left; color: var(--color-dark);
}
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); color: var(--color-gold); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--color-muted); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info-list { display: grid; gap: 1rem; }
.contact-info-item { display: flex; gap: .75rem; align-items: flex-start; }
.contact-info-item svg { color: var(--color-gold); flex-shrink: 0; margin-top: .15rem; }

/* Forms */
.contact-form .form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 500; font-size: .9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: .75rem 1rem; border: 1px solid var(--color-border);
    border-radius: 8px; font: inherit; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--color-gold);
}
.form-error { display: block; color: #dc2626; font-size: .8rem; margin-top: .25rem; }
.form-feedback { margin-top: 1rem; font-size: .9rem; }
.form-feedback.is-success { color: #16a34a; }
.form-feedback.is-error { color: #dc2626; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.quote-form fieldset.fieldset { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.quote-form fieldset.fieldset legend { font-weight: 600; padding: 0 .35rem; margin-bottom: .5rem; }
.quote-form .radio-inline { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.25rem; margin-bottom: .35rem; font-size: .95rem; }
.quote-form .radio-block { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .45rem; font-size: .95rem; }
.quote-form .hint { font-size: .85rem; color: var(--color-muted); margin-top: .35rem; }

/* Quote form — modern layout */
.quote-page-container { max-width: 960px; }
.quote-form { display: flex; flex-direction: column; gap: 0; }
.quote-form__section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.quote-form__section:first-child { padding-top: 0; }
.quote-form__section:last-of-type { border-bottom: none; }
.quote-form__row {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
.quote-form__row--3 { grid-template-columns: 1fr; }
.quote-form__row--2 { grid-template-columns: 1fr; }
.quote-form__row--4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .quote-form__row--2,
    .quote-form__row--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .quote-form__row--3 { grid-template-columns: repeat(3, 1fr); }
    .quote-form__row--4 { grid-template-columns: repeat(4, 1fr); }
}
.field-required { color: var(--color-gold-dark); font-weight: 700; }
.quote-form__required-note {
    margin: 1.25rem 0 0;
    font-size: .82rem;
    color: var(--color-muted);
}
.quote-form .form-group.is-invalid input,
.quote-form .form-group.is-invalid textarea,
.quote-form .fieldset.is-invalid,
.quote-form .quote-form__upload.is-invalid .file-upload-zone,
.quote-form .form-consent.is-invalid {
    border-color: #dc2626;
}
.quote-form .form-group.is-invalid input,
.quote-form .form-group.is-invalid textarea {
    box-shadow: 0 0 0 1px #dc2626;
}
.quote-form .fieldset.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.25);
}
.quote-form .quote-form__upload.is-invalid .file-upload-zone {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.03);
}
.quote-form .form-error {
    display: block;
    color: #dc2626;
    font-size: .82rem;
    margin-top: .45rem;
    line-height: 1.4;
}
.quote-form .form-group { margin-bottom: 0; }
.quote-form .form-group label {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: .5rem;
}
.quote-form .form-group input,
.quote-form .form-group textarea {
    padding: .9rem 1.1rem;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--color-white);
}
.quote-form .form-group textarea { min-height: 220px; resize: vertical; line-height: 1.6; }
.quote-form .fieldset--compact {
    margin: 0;
    padding: 1.1rem 1.15rem;
    background: var(--color-white);
    height: 100%;
}
.quote-form .fieldset--compact legend {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: .65rem;
}
.quote-form__options { display: flex; flex-direction: column; gap: .45rem; }
.quote-form__options--stack { gap: .4rem; }
.quote-form__options--inline { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.quote-form .radio-pill {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: .92rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.quote-form .radio-pill:hover { border-color: var(--color-gold); }
.quote-form .radio-pill:has(input:checked) {
    border-color: var(--color-gold);
    background: rgba(199, 154, 84, 0.08);
}
.quote-form .radio-pill input { accent-color: var(--color-gold); flex-shrink: 0; }
.quote-form__apartment-fields {
    margin-top: 1.25rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease, margin-top .3s ease;
}
.quote-form__apartment-fields.is-visible {
    max-height: 280px;
    opacity: 1;
}
.quote-form__upload .file-upload-zone {
    position: relative;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--color-white);
    transition: border-color var(--transition), background var(--transition);
    cursor: pointer;
}
.quote-form__upload .file-upload-zone:hover,
.quote-form__upload .file-upload-zone.is-dragover {
    border-color: var(--color-gold);
    background: rgba(199, 154, 84, 0.04);
}
.quote-form__upload .file-upload-zone.has-files {
    border-style: solid;
    padding-bottom: 1rem;
}
.quote-form__upload .file-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-upload-zone__icon { color: var(--color-gold); display: block; margin: 0 auto .65rem; }
.file-upload-zone__text { display: block; font-size: .95rem; color: var(--color-dark); }
.file-upload-zone__text strong { color: var(--color-gold-dark); }
.file-upload-zone__hint { display: block; margin-top: .4rem; font-size: .82rem; color: var(--color-muted); }
.file-upload-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    text-align: left;
}
.file-upload-count {
    margin: .75rem 0 0;
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-dark);
}
.file-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .85rem;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: .88rem;
    margin-bottom: .45rem;
}
.file-upload-item__info { flex: 1; word-break: break-word; }
.file-upload-item__remove {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: 4px;
}
.file-upload-item__remove:hover { background: rgba(220, 38, 38, 0.08); }
.city-autocomplete { position: relative; }
.city-autocomplete__list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: .35rem 0;
    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
}
.city-autocomplete__item {
    padding: .6rem 1rem;
    font-size: .92rem;
    cursor: pointer;
}
.city-autocomplete__item:hover { background: rgba(199, 154, 84, 0.1); }
.quote-form-wrapper { position: relative; }
.quote-form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.quote-form-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(199, 154, 84, 0.15);
    color: var(--color-gold-dark);
    font-size: 2rem;
    line-height: 64px;
    font-weight: 700;
}
.quote-form-success__title {
    margin: 0 0 .75rem;
    font-size: 1.75rem;
    color: var(--color-dark);
}
.quote-form-success__text {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.6;
}
.quote-form .form-actions { margin-top: 1.75rem; padding-top: .5rem; }
.quote-form .btn-lg { padding: .95rem 2rem; font-size: 1.05rem; }
.quote-form .form-consent { margin-top: 1.75rem; }

/* CTA section (subpages) */
.section-cta {
    background: var(--color-dark);
    color: var(--color-white);
}
.section-cta-inner {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
}
.section-cta-inner .section-title {
    color: var(--color-white);
    margin-bottom: .75rem;
}
.section-cta-inner p {
    margin: 0 0 2rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
}
.section-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.section-cta .btn-outline {
    color: var(--color-white);
    border-color: var(--color-gold);
}
.section-cta .btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* Page header */
.page-header {
    background: var(--color-light); padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--color-border);
}
.page-header h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-content { padding: 2.5rem 0 4rem; }

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0 0; font-size: .85rem; }
.breadcrumbs ol {
    display: flex; flex-wrap: wrap; gap: .35rem .5rem;
    align-items: center; list-style: none; margin: 0; padding: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; max-width: 100%; }
.breadcrumbs li + li::before {
    content: '>';
    margin-right: .5rem;
    color: var(--color-muted);
    flex-shrink: 0;
}
.breadcrumbs a { color: var(--color-muted); word-break: break-word; }
.breadcrumbs a:hover { color: var(--color-gold); }
.breadcrumbs [aria-current="page"] {
    color: var(--color-dark); font-weight: 500; word-break: break-word;
}

/* Pagination */
.pagination ul { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination .active {
    display: block; min-width: 40px; padding: .5rem .75rem; text-align: center;
    border-radius: 8px; border: 1px solid var(--color-border); font-size: .9rem;
}
.pagination .active { background: var(--color-gold); color: var(--color-white); border-color: var(--color-gold); }
.pagination a:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* Blog */
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.25rem; }
.blog-card__meta { font-size: .8rem; color: var(--color-muted); margin-bottom: .5rem; }
.blog-card__body h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.blog-card__body h2 a:hover { color: var(--color-gold); }

/* Service / realization detail */
.detail-hero { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.detail-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; color: var(--color-muted); font-size: .9rem; }
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.related-posts h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.related-posts ul { display: grid; gap: .5rem; }
.related-posts a { color: var(--color-gold); font-weight: 500; }

/* Search / filter bar */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem;
}
.filter-bar input, .filter-bar select {
    padding: .6rem 1rem; border: 1px solid var(--color-border); border-radius: 8px; font: inherit;
}

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,.82);
    padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: 1fr;
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    align-items: start;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr auto;
        column-gap: 2.5rem;
    }
}
.footer-brand img {
    height: 72px;
    width: auto;
}
@media (min-width: 768px) {
    .footer-brand img { height: 100px; }
}
.footer-brand p {
    font-size: .92rem; line-height: 1.7;
    margin-top: 1.25rem; max-width: 260px;
}
.footer-col h3 {
    color: var(--color-white); font-size: 1rem;
    margin: 0 0 1.25rem; letter-spacing: .02em;
}
.footer-col ul li { margin-bottom: .75rem; }
.footer-col a:hover { color: var(--color-gold); }
.footer-contact-list li { font-size: .92rem; line-height: 1.65; }
.footer-decor {
    display: none;
    align-self: end;
    opacity: .9;
}
@media (min-width: 992px) { .footer-decor { display: block; } }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 1.25rem 0;
    font-size: .85rem;
}
.footer-bottom-inner { text-align: right; }
.footer-bottom-inner p { margin: 0; }

/* Cookie consent — wysokość banera z JS (--cookie-banner-height), bez stałego 145px */
body.has-cookie-banner {
    padding-bottom: var(--cookie-banner-height, 0px);
}
html {
    scroll-padding-bottom: var(--cookie-banner-height, 0px);
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0;
}
.cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.cookie-banner__content { flex: 1 1 320px; max-width: 720px; }
.cookie-banner__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--color-white);
}
.cookie-banner__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}
.cookie-banner__text a { color: var(--color-gold); text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--color-white); }
.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex-shrink: 0;
}
.cookie-banner__btn { font-size: 0.88rem; padding: 0.65rem 1.1rem; }
.cookie-banner .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}
.cookie-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
    color: var(--color-white);
}
@media (max-height: 800px) {
    .cookie-banner { padding: 0.65rem 0; }
    .cookie-banner__title { margin-bottom: 0.25rem; }
}

.cookie-modal[hidden] { display: none !important; }
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.cookie-modal__panel {
    position: relative;
    background: var(--color-white);
    color: var(--color-dark);
    border-radius: var(--radius);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.cookie-modal__title { margin: 0 0 0.75rem; font-size: 1.35rem; }
.cookie-modal__intro {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.6;
}
.cookie-category {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.85rem;
}
.cookie-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.cookie-category__name { margin: 0; font-size: 0.98rem; font-weight: 600; }
.cookie-category__badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    background: rgba(199, 154, 84, 0.15);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.cookie-category__desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.55;
}
.cookie-category__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    cursor: pointer;
}
.cookie-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle__slider {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background var(--transition);
}
.cookie-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cookie-toggle:checked + .cookie-toggle__slider { background: var(--color-gold); }
.cookie-toggle:checked + .cookie-toggle__slider::after { transform: translateX(20px); }
.cookie-toggle:disabled + .cookie-toggle__slider { opacity: 0.45; cursor: not-allowed; }
.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}
.cookie-modal__legal {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--color-muted);
}
.cookie-modal__legal a { color: var(--color-gold-dark); }

/* Form consent checkbox */
.form-consent { margin: 1.25rem 0 0.5rem; }
.checkbox-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.55;
    cursor: pointer;
}
.checkbox-inline input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-gold);
    cursor: pointer;
}
.checkbox-inline a { color: var(--color-gold-dark); text-decoration: underline; }
.checkbox-inline a:hover { color: var(--color-gold); }
.form-consent-note {
    margin: 0.4rem 0 0 1.7rem;
    font-size: 0.8rem;
}
.form-consent-note a { color: var(--color-muted); }
.form-consent-note a:hover { color: var(--color-gold); }
.form-consent .form-error { margin-top: 0.35rem; }

/* 404 */
.error-page { text-align: center; padding: 5rem 1rem; }
.error-page h1 { font-size: 4rem; color: var(--color-gold); margin: 0; }
.error-page p { color: var(--color-muted); margin: 1rem 0 2rem; }

/* Content typography */
.content-body img {
    display: inline-block;
    vertical-align: middle;
    border-radius: var(--radius);
    margin: 0 .5rem 0 0;
    max-width: 100%;
    height: auto;
}
.content-body figure.image {
    display: inline-block;
    vertical-align: middle;
    margin: 0 .5rem 0 0;
    border: 0;
    background: transparent;
}
.content-body figure.image img {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.content-body figure.image:has(figcaption) {
    display: block;
    margin: 1rem 0;
}
.content-body svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 .5rem 0 0;
    max-width: 100%;
    height: auto;
}
.content-body ul { list-style: disc; padding-left: 1.25rem; margin: 1rem 0; }
.content-body ol { list-style: decimal; padding-left: 1.25rem; margin: 1rem 0; }
.content-body a { color: var(--color-gold); text-decoration: underline; }
.content-body blockquote {
    border-left: 3px solid var(--color-gold); padding-left: 1rem; margin: 1.5rem 0;
    color: var(--color-muted); font-style: italic;
}

/* Bootstrap grid w treściach CMS (bez ładowania pełnego Bootstrapa) */
.content-body .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}
.content-body .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}
.content-body .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    width: 100%;
}
@media (min-width: 576px) {
    .content-body .col-sm-1, .content-body .col-1 { width: 8.333%; }
    .content-body .col-sm-2, .content-body .col-2 { width: 16.666%; }
    .content-body .col-sm-3, .content-body .col-3 { width: 25%; }
    .content-body .col-sm-4, .content-body .col-4 { width: 33.333%; }
    .content-body .col-sm-5, .content-body .col-5 { width: 41.666%; }
    .content-body .col-sm-6, .content-body .col-6 { width: 50%; }
    .content-body .col-sm-7, .content-body .col-7 { width: 58.333%; }
    .content-body .col-sm-8, .content-body .col-8 { width: 66.666%; }
    .content-body .col-sm-9, .content-body .col-9 { width: 75%; }
    .content-body .col-sm-10, .content-body .col-10 { width: 83.333%; }
    .content-body .col-sm-11, .content-body .col-11 { width: 91.666%; }
    .content-body .col-sm-12, .content-body .col-12 { width: 100%; }
}
@media (min-width: 768px) {
    .content-body .col-md-1 { width: 8.333%; }
    .content-body .col-md-2 { width: 16.666%; }
    .content-body .col-md-3 { width: 25%; }
    .content-body .col-md-4 { width: 33.333%; }
    .content-body .col-md-5 { width: 41.666%; }
    .content-body .col-md-6 { width: 50%; }
    .content-body .col-md-7 { width: 58.333%; }
    .content-body .col-md-8 { width: 66.666%; }
    .content-body .col-md-9 { width: 75%; }
    .content-body .col-md-10 { width: 83.333%; }
    .content-body .col-md-11 { width: 91.666%; }
    .content-body .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
    .content-body .col-lg-1 { width: 8.333%; }
    .content-body .col-lg-2 { width: 16.666%; }
    .content-body .col-lg-3 { width: 25%; }
    .content-body .col-lg-4 { width: 33.333%; }
    .content-body .col-lg-5 { width: 41.666%; }
    .content-body .col-lg-6 { width: 50%; }
    .content-body .col-lg-7 { width: 58.333%; }
    .content-body .col-lg-8 { width: 66.666%; }
    .content-body .col-lg-9 { width: 75%; }
    .content-body .col-lg-10 { width: 83.333%; }
    .content-body .col-lg-11 { width: 91.666%; }
    .content-body .col-lg-12 { width: 100%; }
}
.content-body .row > [class*="col-"] > img {
    max-width: 100%;
    height: auto;
}
.service-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}
.content-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.content-body td, .content-body th { border: 1px solid var(--color-border); padding: .5rem .75rem; }
.content-body iframe { max-width: 100%; border: 0; }
