/**
 * Usługi Geodezyjne Mariusz Mróz – style główne
 * Text Domain: mroz-geodeta
 */

/* Reset – usunięcie domyślnych marginesów przeglądarki */
html,
body {
    margin: 0;
    padding: 0;
}

/* Globalna typografia – system font stack (bez Google Fonts) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Zmienne globalne – kolory projektu */
:root {
    --color-primary: #2c5f2d;
    --color-primary-light: #3d8b40;
    --color-text: #333;
    --color-text-muted: #666;
    --color-bg: #fff;
    --color-bg-alt: #f5f5f5;
    /* Header / Top Bar */
    --header-top-bg: #1a1a1a;
    --header-top-text: #fff;
    --header-accent: #E6B800;
    --header-nav-bg: #fff;
    --header-nav-text: #222;
    --header-cta-bg: #E6B800;
    --header-cta-text: #000;
    --transition-base: 0.2s ease;
}

/* Kontener strony */
.mroz-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.mroz-container--archive {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Breadcrumbs – tło na całą szerokość */
.mroz-breadcrumbs-bar {
    width: 100%;
    background: var(--color-bg-alt);
}

.mroz-breadcrumbs-wrap {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.mroz-breadcrumbs {
    margin-bottom: 0;
}

.mroz-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.mroz-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mroz-breadcrumbs__link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mroz-breadcrumbs__link:hover {
    color: var(--header-accent);
}

.mroz-breadcrumbs__current {
    color: var(--color-text);
    font-weight: 500;
}

.mroz-breadcrumbs__sep {
    color: var(--color-text-muted);
    opacity: 0.7;
    user-select: none;
}

/* ========== HEADER (sticky, pełna szerokość – bez białych odstępów) ========== */
.mroz-header {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mroz-header--scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gdy widoczny pasek admina WordPress – sticky header tuż pod nim (bez „kawałka” paska) */
body.admin-bar .mroz-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .mroz-header {
        top: 46px;
    }
}

.mroz-header--sticky {
    position: sticky;
}

/* Top Bar – wysuwa się w górę przy scrollu (animacja + easing) */
.mroz-top-bar {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background-color: #1a1a1a;
    background: var(--header-top-bg);
    color: var(--header-top-text);
    font-size: 0.875rem;
    line-height: 1.4;
    max-height: 44px;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    will-change: max-height, transform, opacity;
    transition:
        max-height 0.3s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mroz-header--scrolled .mroz-top-bar {
    max-height: 0;
    transform: translateY(-100%);
    opacity: 0;
}

.mroz-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 16px;
}

.mroz-top-bar__left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.mroz-top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base), opacity var(--transition-base);
}

.mroz-top-bar__item:hover {
    color: var(--header-accent);
}

.mroz-top-bar__item--address {
    cursor: default;
}

.mroz-top-bar__sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 12px;
    flex-shrink: 0;
}

.mroz-top-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
    flex-shrink: 0;
}

.mroz-top-bar__right {
    display: flex;
    align-items: center;
}

.mroz-top-bar__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.mroz-top-bar__social:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* Navigation Bar – pełna szerokość, tło do krawędzi */
.mroz-nav-bar {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background: var(--header-nav-bg);
    color: var(--header-nav-text);
    font-size: 1rem;
}

.mroz-nav-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.mroz-nav-bar__logo {
    flex-shrink: 0;
}

.mroz-nav-bar__logo-link,
.mroz-nav-bar__logo-placeholder {
    color: var(--header-nav-text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--transition-base);
}

.mroz-nav-bar__logo-link:hover,
.mroz-nav-bar__logo-placeholder:hover {
    color: var(--header-accent);
}

.mroz-nav-bar__logo-img {
    display: block;
    max-height: 50px;
    width: auto;
}

.mroz-nav-bar__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Menu nawigacyjne */
.mroz-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px 32px;
}

.mroz-nav-menu__item {
    margin: 0;
}

.mroz-nav-menu__link {
    display: inline-block;
    padding: 8px 4px;
    color: var(--header-nav-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: color var(--transition-base), border-color var(--transition-base);
}

.mroz-nav-menu__link:hover,
.mroz-nav-menu__link--active,
.mroz-nav-menu .current-menu-item > a {
    color: var(--header-accent);
}

.mroz-nav-menu__link--active,
.mroz-nav-menu .current-menu-item > a {
    border-bottom-color: var(--header-accent);
}

.mroz-nav-bar__cta {
    flex-shrink: 0;
}

/* Hamburger – widoczny tylko na mobile/tablet */
.mroz-nav-bar__hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0 -8px 0 0;
    background: none;
    border: none;
    color: var(--header-nav-text);
    cursor: pointer;
    transition: color var(--transition-base);
}

.mroz-nav-bar__hamburger:hover {
    color: var(--header-accent);
}

.mroz-nav-bar__hamburger .mroz-icon {
    width: 24px;
    height: 24px;
}

/* Przycisk CTA */
.mroz-btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.mroz-btn--cta {
    background: var(--header-cta-bg);
    color: var(--header-cta-text);
}

.mroz-btn--cta:hover {
    background: #c9a300;
    color: var(--header-cta-text);
    transform: translateY(-1px);
}

.mroz-btn--dark {
    background: #1a1a1a;
    color: #fff;
}

.mroz-btn--dark:hover {
    background: #333;
    color: #fff;
}

.mroz-btn--accent {
    background: var(--header-accent);
    color: #000;
}

.mroz-btn--accent:hover {
    background: #d4a800;
    color: #000;
}

/* ========== HEADER MOBILE / TABLET (breakpoint 992px) ========== */
@media (max-width: 991px) {
    .mroz-top-bar {
        display: none;
    }

    .mroz-nav-bar__inner {
        min-height: 56px;
    }

    .mroz-nav-bar__menu,
    .mroz-nav-bar__cta {
        display: none;
    }

    .mroz-nav-bar__hamburger {
        display: flex;
    }
}

/* ========== MENU WYSUWANE (OFF-CANVAS) ========== */
.mroz-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    visibility: hidden;
    transition: background 0.3s ease, visibility 0.3s ease, pointer-events 0s 0.3s;
}

body.mroz-drawer-is-active .mroz-drawer-overlay {
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    visibility: visible;
    transition: background 0.3s ease, visibility 0.3s ease;
}

.mroz-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    z-index: 1101;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

body.mroz-drawer-is-active .mroz-drawer {
    transform: translateX(0);
}

.mroz-drawer__inner {
    display: flex;
    flex-direction: column;
    min-height: min(100%, 100dvh);
    padding: 0.75rem 1rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.mroz-drawer__close {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 -4px 0 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition-base);
}

.mroz-drawer__close:hover {
    color: var(--header-accent);
}

.mroz-drawer__close .mroz-icon {
    width: 24px;
    height: 24px;
}

.mroz-drawer__nav {
    margin: 0.15rem 0 0.35rem;
}

.mroz-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mroz-drawer-menu__item {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mroz-drawer-menu__link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color var(--transition-base), border-color var(--transition-base);
}

.mroz-drawer-menu__link:hover,
.mroz-drawer-menu__link--active,
.mroz-drawer-menu .current-menu-item > a {
    color: var(--header-accent);
}

.mroz-drawer-menu__link--active,
.mroz-drawer-menu .current-menu-item > a {
    border-bottom-color: var(--header-accent);
}

.mroz-drawer__contact {
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mroz-drawer__contact-title {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mroz-drawer__contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

.mroz-drawer__contact-link:hover {
    color: var(--header-accent);
}

.mroz-drawer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
    flex-shrink: 0;
}

.mroz-drawer__contact-icon .mroz-icon {
    width: 22px;
    height: 22px;
}

.mroz-drawer__cta {
    padding-top: 0.5rem;
}

.mroz-drawer__cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

/* Na niskich ekranach (mobile) – jeszcze mniejsze odstępy, żeby przycisk mieścił się bez przewijania */
@media (max-height: 640px) {
    .mroz-drawer__inner {
        padding: 0.5rem 1rem 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
    }
    .mroz-drawer__close {
        width: 40px;
        height: 40px;
    }
    .mroz-drawer__nav {
        margin: 0.1rem 0 0.25rem;
    }
    .mroz-drawer-menu__link {
        padding: 0.4rem 0;
        font-size: 0.9375rem;
    }
    .mroz-drawer__contact {
        padding-top: 0.3rem;
    }
    .mroz-drawer__contact-title {
        margin: 0 0 0.25rem;
        font-size: 0.75rem;
    }
    .mroz-drawer__contact-link {
        padding: 0.25rem 0;
        font-size: 0.875rem;
    }
    .mroz-drawer__contact-icon .mroz-icon {
        width: 18px;
        height: 18px;
    }
    .mroz-drawer__cta {
        padding-top: 0.35rem;
    }
    .mroz-drawer__cta-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

/* Blokada przewijania strony gdy menu otwarte */
body.mroz-drawer-is-active {
    overflow: hidden;
}

@media screen and (max-width: 782px) {
    body.admin-bar .mroz-drawer,
    body.admin-bar .mroz-drawer-overlay {
        top: 46px;
        height: calc(100vh - 46px);
        height: calc(100dvh - 46px);
    }
}

/* ========== HERO (statyczna, gradient boczny) ========== */
.mroz-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mroz-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.mroz-hero__bg--placeholder {
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mroz-hero__placeholder {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 1rem;
    line-height: 1.6;
}

/* Gradient: głęboka czerń z lewej → przezroczystość, prawa strona bez przyciemnienia */
.mroz-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.75) 25%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 65%
    );
    pointer-events: none;
}

.mroz-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mroz-hero__content {
    max-width: 620px;
    padding: 2rem 0;
}

.mroz-hero__nadtytul {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-hero__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.mroz-hero__h1-line {
    display: block;
}

.mroz-hero__h1-line--accent {
    color: var(--header-accent);
}

.mroz-hero__h1-line:last-child {
    font-size: 0.72em;
    line-height: 1.3;
    margin-top: 0.1em;
}

.mroz-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    background: var(--header-cta-bg);
    color: #000;
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.mroz-hero__cta:hover {
    background: #c9a300;
    color: #000;
    transform: translateY(-2px);
}

.mroz-hero__cta-arrow {
    font-size: 1.1em;
    line-height: 1;
}

/* Hero – mniejsza wysokość na tablet i mobile */
@media (max-width: 991px) {
    .mroz-hero {
        min-height: 60vh;
        min-height: 60dvh;
    }
}

@media (max-width: 767px) {
    .mroz-hero {
        min-height: 50vh;
        min-height: 50dvh;
    }

    .mroz-hero__content {
        padding: 1.5rem 0;
    }

    .mroz-hero__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.25rem;
    }
}

/* ========== O MNIE (dwukolumnowy, wyśrodkowany względem strony) ========== */
.mroz-about {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mroz-about__wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.mroz-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.mroz-about__image-col {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mroz-about__image {
    width: 100%;
    max-height: 85%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mroz-about__image-placeholder {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    max-height: 85%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

.mroz-about__content-col {
    display: flex;
    align-items: center;
    background: var(--color-bg);
}

.mroz-about__content {
    max-width: 520px;
    padding: 3.5rem 2.5rem;
    margin-left: auto;
}

.mroz-about__nadtytul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-about__nadtytul-dot {
    width: 8px;
    height: 8px;
    background: var(--header-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.mroz-about__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-about__intro {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.mroz-about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.mroz-about__feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mroz-about__feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
}

.mroz-about__feature-icon svg,
.mroz-about__feature-icon .mroz-icon {
    color: var(--header-accent);
    fill: var(--header-accent);
    stroke: var(--header-accent);
}

.mroz-about__feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Filtr dopasowany do #E6B800 (ten sam żółty co przyciski i nagłówek) */
    filter: invert(77%) sepia(29%) saturate(1847%) hue-rotate(5deg) brightness(97%) contrast(91%);
}

.mroz-about__feature-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: normal;
}

.mroz-about__feature-desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 26px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.mroz-about__cta:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.mroz-about__cta-wrap {
    text-align: center;
}

.mroz-about__cta-arrow {
    font-size: 1.1em;
}

@media (max-width: 900px) {
    .mroz-about__grid {
        grid-template-columns: 1fr;
    }
    .mroz-about__image-col {
        min-height: 320px;
    }
    .mroz-about__content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }
    .mroz-about__features {
        grid-template-columns: 1fr;
    }
    .mroz-about__feature-title {
        white-space: normal;
    }
}

/* ========== USŁUGI (grid kafelków) ========== */
.mroz-services {
    padding: 4rem 0;
    background: var(--color-bg);
}

.mroz-services__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.mroz-services__header-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mroz-services__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-services__title-highlight {
    color: var(--header-accent);
}

.mroz-services__cta-all {
    align-self: flex-start;
}

.mroz-services__header-right {
    padding-top: 0.25rem;
}

.mroz-services__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.mroz-services__desc p {
    margin: 0 0 1rem;
}

.mroz-services__desc p:last-child {
    margin-bottom: 0;
}

.mroz-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mroz-service-card {
    display: flex;
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.mroz-service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(230, 184, 0, 0.35);
    background: rgba(230, 184, 0, 0.05);
    transform: translateY(-4px);
}

.mroz-service-card__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
    min-width: 0;
}

.mroz-service-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
    transition: color 0.3s ease, transform 0.3s ease;
}

.mroz-service-card:hover .mroz-service-card__icon {
    color: #c9a300;
    transform: scale(1.08);
}

.mroz-service-card__icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: filter 0.3s ease;
    /* Jednokolorowe ikony → żółty akcent (usuń filtr, jeśli wgrywasz kolorowe obrazy) */
    filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(500%) hue-rotate(5deg);
}

.mroz-service-card:hover .mroz-service-card__icon-img {
    filter: brightness(0) saturate(100%) invert(55%) sepia(70%) saturate(600%) hue-rotate(5deg);
}

.mroz-service-card__icon-placeholder {
    font-size: 0.75rem;
    color: var(--header-accent);
    opacity: 0.8;
}

.mroz-service-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.mroz-service-card__desc {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 4.05em;
}

.mroz-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.875rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.mroz-service-card:hover .mroz-service-card__link {
    background: var(--header-accent);
    color: #000;
}

.mroz-service-card:hover .mroz-service-card__link:hover {
    background: #c9a300;
    color: #000;
}

.mroz-service-card--highlight {
    background: rgba(230, 184, 0, 0.08);
}

.mroz-service-card--highlight .mroz-service-card__link {
    background: var(--header-accent);
    color: #000;
}

.mroz-service-card--highlight .mroz-service-card__link:hover {
    background: #d4a800;
    color: #000;
}

.mroz-service-card__link:hover {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .mroz-services__header {
        grid-template-columns: 1fr;
    }
    .mroz-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ========== REALIZACJE (typograficzny wykaz) ========== */
.mroz-portfolio {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.mroz-portfolio__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mroz-portfolio__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-portfolio__subtitle {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-portfolio__cta {
    display: inline-block;
}

.mroz-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mroz-portfolio-card {
    display: flex;
    background: var(--color-bg);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.mroz-portfolio-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.mroz-portfolio-card__link-wrap {
    display: flex;
    flex: 1;
    min-height: 100%;
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    text-decoration: none;
    color: inherit;
}

.mroz-portfolio-card__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--header-accent);
}

.mroz-portfolio-card__body {
    padding-right: 0;
}

.mroz-portfolio-card__location {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mroz-portfolio-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.mroz-portfolio-card__scope {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-portfolio__empty {
    text-align: center;
    color: var(--color-text-muted);
    margin: 0;
}

/* Archiwum Realizacje – bez szarego tła (desktop i mobile) */
.mroz-portfolio--archive {
    background: transparent;
}

.mroz-portfolio--archive .mroz-portfolio__header {
    margin-bottom: 2.5rem;
}

.mroz-portfolio .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mroz-portfolio .nav-links a,
.mroz-portfolio .nav-links .current {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-text);
    background: var(--color-bg);
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mroz-portfolio .nav-links a:hover {
    background: var(--header-accent);
    color: #000;
}

.mroz-portfolio .nav-links .current {
    background: var(--header-accent);
    color: #000;
}

/* Pojedyncza realizacja */
.mroz-single-portfolio__header {
    margin-bottom: 1.5rem;
}

.mroz-single-portfolio__location {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mroz-single-portfolio__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-single-portfolio__scope {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-single-portfolio__content {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
}

.mroz-single-portfolio__content p {
    margin: 0 0 1rem;
}

@media (max-width: 900px) {
    .mroz-portfolio__grid {
        grid-template-columns: 1fr;
    }
}

/* ========== POJEDYNCZA USŁUGA (single-service) – 65% / 35%, sticky sidebar ========== */
.mroz-container--single-service {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    max-width: 1280px;
}

.mroz-single-service {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

.mroz-single-service__content {
    min-width: 0;
}

.mroz-single-service__featured {
    margin: 0 0 1.5rem;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.mroz-single-service__featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mroz-single-service__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-single-service__block {
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
}

.mroz-single-service__block p {
    margin: 0 0 1rem;
}

.mroz-single-service__block p:last-child {
    margin-bottom: 0;
}

.mroz-single-service__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.mroz-single-service__gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.mroz-single-service__gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mroz-single-service__faq {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mroz-single-service__faq-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.mroz-single-service__faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mroz-single-service__faq-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mroz-single-service__faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.mroz-single-service__faq-icon {
    flex-shrink: 0;
    color: var(--header-accent);
    display: inline-flex;
}

.mroz-single-service__faq-icon .mroz-icon {
    width: 24px;
    height: 24px;
}

.mroz-single-service__faq-inner {
    min-width: 0;
}

.mroz-single-service__faq-q {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.mroz-single-service__faq-a {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Sidebar sticky */
.mroz-single-service__sidebar {
    position: sticky;
    top: calc(var(--header-offset, 80px) + 1rem);
}

.mroz-single-service__sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Boks 1: Lista usług */
.mroz-single-service__services-box {
    background: var(--color-bg);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mroz-single-service__services-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

.mroz-single-service__services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mroz-single-service__service-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mroz-single-service__service-item:hover {
    border-color: var(--header-accent);
}

.mroz-single-service__service-item--current {
    border-color: var(--header-accent);
    background: rgba(230, 184, 0, 0.08);
}

.mroz-single-service__service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
}

.mroz-single-service__service-link:hover {
    color: var(--color-primary);
}

.mroz-single-service__service-item--current .mroz-single-service__service-link {
    color: var(--color-text);
}

.mroz-single-service__service-arrow {
    flex-shrink: 0;
    color: var(--header-accent);
    display: inline-flex;
}

.mroz-single-service__service-arrow .mroz-icon {
    width: 18px;
    height: 18px;
}

/* Boks 2: Masz pytania? */
.mroz-single-service__help-box {
    background: #2a2a2a;
    color: #fff;
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mroz-single-service__help-icon {
    flex-shrink: 0;
    color: var(--header-accent);
    display: inline-flex;
}

.mroz-single-service__help-icon .mroz-icon {
    width: 32px;
    height: 32px;
}

.mroz-single-service__help-text {
    min-width: 0;
}

.mroz-single-service__help-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.mroz-single-service__help-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e6a800;
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-block;
}

.mroz-single-service__help-phone:hover {
    color: var(--header-accent);
    text-decoration: underline;
}

.mroz-single-service__help-phone--placeholder {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Ikona strzałki (sidebar) */
.mroz-icon--arrow-external {
    color: inherit;
}

@media (max-width: 900px) {
    .mroz-single-service {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mroz-single-service__sidebar {
        position: static;
    }

    .mroz-single-service__gallery {
        grid-template-columns: 1fr;
    }
}

/* ========== PODSTRONA O MNIE – sekcja tekst | zdjęcie (60/40) ========== */
.mroz-about-page {
    width: 100%;
    padding: 4rem 0 5rem;
}

.mroz-about-page__wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.mroz-about-page__grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0;
    min-height: 0;
    align-items: start;
}

.mroz-about-page__content-col {
    display: flex;
    align-items: center;
    background: var(--color-bg);
}

.mroz-about-page__content {
    max-width: 540px;
    padding: 2rem 2.5rem 2rem 0;
}

.mroz-about-page__nadtytul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-about-page__nadtytul-dot {
    width: 8px;
    height: 8px;
    background: var(--header-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.mroz-about-page__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.mroz-about-page__experience {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.mroz-about-page__body {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.mroz-about-page__body p {
    margin: 0 0 1rem;
}

.mroz-about-page__body p:last-child {
    margin-bottom: 0;
}

/* Bloki z ikonami (Uprawnienia, Współpraca) – pod treścią, nad przyciskiem */
.mroz-about-page__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin: 1.75rem 0 1.5rem;
}

.mroz-about-page__badge {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mroz-about-page__badge-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-accent);
}

.mroz-about-page__badge-icon .mroz-icon,
.mroz-about-page__badge-icon svg {
    width: 48px;
    height: 48px;
    color: var(--header-accent);
    fill: var(--header-accent);
}

.mroz-about-page__badge-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    filter: invert(77%) sepia(29%) saturate(1847%) hue-rotate(5deg) brightness(97%) contrast(91%);
}

.mroz-about-page__badge-text {
    min-width: 0;
}

.mroz-about-page__badge-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.mroz-about-page__badge-desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-about-page__cta-wrap {
    margin-top: 0.5rem;
}

.mroz-about-page__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    background: var(--header-accent);
    color: #000;
    transition: background-color var(--transition-base), transform var(--transition-base), color var(--transition-base);
}

.mroz-about-page__cta:hover {
    background: #d4a800;
    color: #000;
    transform: translateY(-2px);
}

.mroz-about-page__image-col {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.mroz-about-page__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mroz-about-page__image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .mroz-about-page__grid {
        grid-template-columns: 1fr;
    }
    .mroz-about-page__content {
        padding: 2rem 0;
    }
    .mroz-about-page__badges {
        grid-template-columns: 1fr;
        margin: 1.5rem 0 1.25rem;
    }
    .mroz-about-page__image-col {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========== WARTOŚCI I SPECJALIZACJE – ciemne tło (strona O mnie) ========== */
.mroz-values {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
}

.mroz-values__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    pointer-events: none;
}

.mroz-values__inner {
    position: relative;
    z-index: 1;
}

.mroz-values__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    align-items: start;
}

.mroz-values__nadtytul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-values__nadtytul-dot {
    width: 8px;
    height: 8px;
    background: var(--header-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.mroz-values__title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.mroz-values__desc {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.mroz-values__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mroz-values__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mroz-values__item-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--header-accent);
}

.mroz-values__item-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(81%) sepia(25%) saturate(2000%) hue-rotate(5deg);
}

.mroz-values__item-icon-placeholder {
    font-size: 0.75rem;
    color: var(--header-accent);
}

.mroz-values__item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}

.mroz-values__right {
    order: 1;
}

.mroz-values__left {
    order: 2;
}

.mroz-values__single-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.mroz-values__single-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mroz-values__single-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.mroz-values__content {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.mroz-values__content p {
    margin: 0 0 1rem;
}

.mroz-values__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .mroz-values__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .mroz-values__left {
        order: 1;
    }
    .mroz-values__right {
        order: 2;
    }
}

/* ========== GALERIA REALIZACJI – strona O mnie (siatka 4 kolumny, lightbox) ========== */
.mroz-gallery {
    padding: 4rem 0 5rem;
    background: var(--color-bg);
}

.mroz-gallery__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mroz-gallery__nadtytul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-gallery__nadtytul-dot {
    width: 8px;
    height: 8px;
    background: var(--header-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.mroz-gallery__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-gallery__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.mroz-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mroz-gallery__actions {
    text-align: center;
    margin-top: 2rem;
}

.mroz-gallery__toggle-text-less {
    display: none;
}

.mroz-gallery--expanded .mroz-gallery__toggle-text-more {
    display: none;
}

.mroz-gallery--expanded .mroz-gallery__toggle-text-less {
    display: inline;
}

.mroz-gallery__item {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-alt);
}

.mroz-gallery__item-inner {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mroz-gallery__item:hover .mroz-gallery__item-inner,
.mroz-gallery__item:focus .mroz-gallery__item-inner {
    transform: scale(1.03);
    border-color: var(--header-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mroz-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

/* Ukryte do „Zobacz więcej” – musi być po .mroz-gallery__item (display: block) */
.mroz-gallery__grid .mroz-gallery__item.mroz-gallery__item--more {
    display: none;
}

.mroz-gallery--expanded .mroz-gallery__grid .mroz-gallery__item.mroz-gallery__item--more {
    display: block;
}

.mroz-gallery__item--placeholder .mroz-gallery__item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    padding: 1rem;
}

.mroz-gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mroz-gallery__lightbox[hidden] {
    display: none;
}

.mroz-gallery__lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.mroz-gallery__lightbox-close:hover {
    background: var(--header-accent);
    color: #000;
}

.mroz-gallery__lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;
}

.mroz-gallery__lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Tablet: 3 zdjęcia w rzędzie */
@media (max-width: 991px) {
    .mroz-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Telefon: 2 zdjęcia w rzędzie */
@media (max-width: 767px) {
    .mroz-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ========== OPINIE (tło + overlay, shortcode) ========== */
.mroz-testimonials {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mroz-testimonials__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mroz-testimonials__bg--placeholder {
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mroz-testimonials__placeholder {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.25);
}

.mroz-testimonials__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.mroz-testimonials__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4.5rem 20px;
}

.mroz-testimonials__title {
    margin: 0 0 2rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-align: center;
}

.mroz-testimonials__title-highlight {
    color: var(--header-accent);
}

.mroz-testimonials__content {
    color: #fff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mroz-testimonials__content,
.mroz-testimonials__content p,
.mroz-testimonials__content a {
    color: #fff;
}

.mroz-testimonials__content a:hover {
    color: var(--header-accent);
}

.mroz-testimonials__placeholder-text {
    margin: 0;
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== KONTAKT (FAQ + formularz Lead Catcher) ========== */
.mroz-contact {
    padding: 4rem 0;
    background: var(--color-bg);
}

.mroz-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

/* Lewa kolumna – FAQ */
.mroz-contact__faq-nadtytul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-contact__faq-dot {
    width: 8px;
    height: 8px;
    background: var(--header-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.mroz-contact__faq-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-contact__faq-intro {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    opacity: 0.9;
}

.mroz-contact__accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mroz-contact__accordion-item:last-child {
    border-bottom: none;
}

.mroz-contact__accordion-trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.mroz-contact__accordion-trigger:hover {
    color: var(--header-accent);
}

.mroz-contact__accordion-icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--header-accent);
}

.mroz-contact__accordion-question {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.mroz-contact__accordion-panel {
    padding: 0 0 1rem 2rem;
}

.mroz-contact__accordion-answer {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* Prawa kolumna – formularz (ciemny boks) */
.mroz-contact__form-wrap {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 2rem;
    overflow: hidden;
}

.mroz-contact-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.mroz-contact-form__row .mroz-contact-form__field {
    min-width: 0;
}

.mroz-contact-form__field {
    margin: 0 0 1.25rem;
}

.mroz-contact-form__field input,
.mroz-contact-form__field textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.mroz-contact-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.mroz-contact-form input,
.mroz-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mroz-contact-form input::placeholder,
.mroz-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.mroz-contact-form input:focus,
.mroz-contact-form textarea:focus {
    outline: none;
    border-color: var(--header-accent);
    box-shadow: 0 0 0 2px rgba(230, 184, 0, 0.25);
}

.mroz-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.mroz-contact-form__submit {
    margin: 0;
    margin-top: 0.5rem;
}

.mroz-contact-form__btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: #000;
    background: var(--header-accent);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.mroz-contact-form__btn:hover {
    background: #c9a300;
}

.mroz-contact-form__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.mroz-contact-form__feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.9375rem;
    border-radius: 4px;
}

.mroz-contact-form__feedback--success {
    background: rgba(230, 184, 0, 0.15);
    color: #fff;
}

.mroz-contact-form__feedback--error {
    background: rgba(200, 80, 80, 0.2);
    color: #fff;
}

@media (max-width: 900px) {
    .mroz-contact__grid {
        grid-template-columns: 1fr;
    }
    .mroz-contact-form__row {
        grid-template-columns: 1fr;
    }
}

/* ========== STRONA KONTAKT (info + formularz + mapa) ========== */
.mroz-contact-page {
    padding: 4rem 0;
    background: var(--color-bg);
}

.mroz-contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

.mroz-contact-page__nadtytul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-accent);
}

.mroz-contact-page__nadtytul-line {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--header-accent);
    border-radius: 1px;
}

.mroz-contact-page__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

.mroz-contact-page__intro {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.mroz-contact-page__boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mroz-contact-page__box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    min-height: 100%;
    box-sizing: border-box;
}

.mroz-contact-page__box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    color: var(--header-accent);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.mroz-contact-page__box-icon svg {
    width: 22px;
    height: 22px;
}

.mroz-contact-page__box-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.mroz-contact-page__box-text {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text);
}

.mroz-contact-page__box-text a {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
}

.mroz-contact-page__box--phone .mroz-contact-page__box-text a {
    white-space: nowrap;
}

.mroz-contact-page__box-text a:hover {
    color: var(--header-accent);
    text-decoration: underline;
}

.mroz-contact-page__form-wrap {
    min-height: 0;
}

.mroz-contact-page__form-box {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 2rem;
    overflow: hidden;
}

.mroz-contact-page__form-title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

/* Formularz na stronie Kontakt – ciemny boks */
.mroz-contact-form--page .mroz-contact-form__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mroz-contact-form--page .mroz-contact-form__row--two .mroz-contact-form__field {
    min-width: 0;
}

.mroz-contact-form--page .mroz-contact-form__field label {
    color: rgba(255, 255, 255, 0.9);
}

.mroz-contact-form--page input,
.mroz-contact-form--page textarea {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mroz-contact-form--page input::placeholder,
.mroz-contact-form--page textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.mroz-contact-form--page input:focus,
.mroz-contact-form--page textarea:focus {
    outline: none;
    border-color: var(--header-accent);
    box-shadow: 0 0 0 2px rgba(230, 184, 0, 0.25);
}

.mroz-contact-form__btn--yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--header-accent);
    color: #000;
}

.mroz-contact-form__btn--yellow:hover {
    background: #c9a300;
    color: #000;
}

.mroz-contact-form__btn-arrow {
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 0.25rem;
}

.mroz-contact-form--page .mroz-contact-form__feedback--success {
    background: rgba(230, 184, 0, 0.15);
    color: #fff;
}

.mroz-contact-form--page .mroz-contact-form__feedback--error {
    background: rgba(200, 80, 80, 0.2);
    color: #fff;
}

/* Mapa – pełna szerokość ekranu, szare tło, greyscale */
.mroz-contact-page-map {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--color-bg-alt);
}

.mroz-contact-page-map__wrap {
    width: 100%;
    max-width: none;
    overflow: hidden;
    line-height: 0;
    background: var(--color-bg-alt);
}

.mroz-contact-page-map__wrap--grayscale {
    filter: grayscale(100%);
}

.mroz-contact-page-map__wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .mroz-contact-page__grid {
        grid-template-columns: 1fr;
    }
    .mroz-contact-page__boxes {
        grid-template-columns: 1fr;
    }
    .mroz-contact-form--page .mroz-contact-form__row--two {
        grid-template-columns: 1fr;
    }
}

/* ========== STOPKA (4 kolumny + Bottom Bar) ========== */
.mroz-footer {
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 0;
}

.mroz-footer__inner {
    padding-bottom: 2rem;
}

.mroz-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 2rem 2.5rem;
    margin-bottom: 2.5rem;
}

.mroz-footer__col--brand {
    max-width: 280px;
}

.mroz-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mroz-footer__logo-link,
.mroz-footer__logo-placeholder {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.mroz-footer__logo-placeholder {
    opacity: 0.7;
}

.mroz-footer__logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

.mroz-footer__description {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.mroz-footer__heading {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--header-accent);
}

.mroz-footer__nav-wrap {
    margin: 0;
}

.mroz-footer-nav,
.mroz-footer-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mroz-footer-nav li,
.mroz-footer-services li {
    margin: 0 0 0.65rem;
}

.mroz-footer-nav__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease, gap 0.25s ease;
}

.mroz-footer-nav__link::before {
    content: "\203A";
    color: var(--header-accent);
    font-size: 1.1em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mroz-footer-nav__link:hover {
    color: var(--header-accent);
}

.mroz-footer-nav__link:hover::before {
    opacity: 1;
}

.mroz-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mroz-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mroz-footer__contact-item:last-child {
    margin-bottom: 0;
}

.mroz-footer__contact-icon {
    flex-shrink: 0;
    color: var(--header-accent);
    margin-top: 0.2rem;
}

.mroz-footer__contact-icon .mroz-icon {
    display: block;
    width: 26px;
    height: 26px;
}

.mroz-footer__contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
}

.mroz-footer__contact-link:hover {
    color: var(--header-accent);
}

.mroz-footer__contact-text {
    font-size: 1.0625rem;
    line-height: 1.5;
    font-weight: 600;
}

/* Bottom Bar */
.mroz-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mroz-footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mroz-footer__bottom-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.mroz-footer__agency-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.25s ease;
}

.mroz-footer__agency-link:hover {
    opacity: 0.9;
}

.mroz-footer__agency-logo {
    max-height: 28px;
    width: auto;
    display: block;
}

.mroz-footer__bottom-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.mroz-footer__legal-sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.mroz-footer__legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

.mroz-footer__legal-link:hover {
    color: var(--header-accent);
}

.mroz-footer__copyright {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .mroz-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .mroz-footer__col--brand {
        max-width: none;
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .mroz-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .mroz-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* BEM – bloki */
.site-main {
    min-height: 40vh;
}
