
:root {
    --seo-orange: #df7926;
    --seo-orange-dark: #c8661c;
    --seo-dark: #302f2d;
    --seo-text: #55514d;
    --seo-muted: #77726d;
    --seo-light: #f6f5f3;
    --seo-border: rgba(48,47,45,.12);
    --seo-white: #fff;
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
    color: #77726d;
    font-size: 13px;
    line-height: 1.4;
}

.seo-breadcrumbs a {
    color: #4d4945;
    text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus-visible {
    color: var(--seo-orange);
    text-decoration: underline;
}

/* =====================================================
   REALIZACJA — POJEDYNCZA STRONA
===================================================== */

.project-detail-page {
    color: var(--seo-dark);
    background: #fff;
}

.project-detail-page *,
.simple-service-page * {
    box-sizing: border-box;
}

.project-detail-top {
    padding: 26px 0 0;
}

.project-hero-card {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #262523;
}

.project-hero-card > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23,22,21,.80) 0%, rgba(23,22,21,.54) 43%, rgba(23,22,21,.10) 76%),
        linear-gradient(0deg, rgba(23,22,21,.22), transparent 50%);
}

.project-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(720px, 68%);
    min-height: 560px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    color: #fff;
}

.project-label,
.simple-service-label {
    margin: 0 0 9px;
    color: var(--seo-orange);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.project-hero-copy .project-label,
.simple-service-copy .simple-service-label {
    color: #ff9a52;
}

.project-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5.2vw, 68px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.4px;
    text-wrap: balance;
}

.project-location-label {
    display: flex;
    gap: 9px;
    margin: 22px 0 0;
    align-items: center;
    color: rgba(255,255,255,.88);
    font-size: 16px;
}

.project-location-label span {
    color: var(--seo-orange);
    font-size: 11px;
}

.project-summary-section {
    padding: 54px 0 34px;
}

.project-summary-card {
    display: grid;
    grid-template-columns: minmax(250px,.7fr) minmax(0,1.3fr);
    gap: 60px;
    padding: 38px 42px;
    background: var(--seo-light);
    border-left: 5px solid var(--seo-orange);
}

.project-summary-card h2 {
    margin: 0;
    color: var(--seo-dark);
    font-size: clamp(28px,3.4vw,42px);
    font-weight: 400;
    line-height: 1.08;
}

.project-summary-copy {
    padding-top: 4px;
}

.project-summary-copy p {
    margin: 0;
    color: var(--seo-text);
    font-size: 17px;
    line-height: 1.75;
}

.project-inline-link {
    display: inline-flex;
    gap: 9px;
    margin-top: 18px;
    align-items: center;
    color: var(--seo-orange);
    font-weight: 900;
    text-decoration: none;
}

.project-inline-link:hover,
.project-inline-link:focus-visible {
    text-decoration: underline;
}

.project-gallery-section {
    padding: 48px 0 78px;
}

.project-section-heading {
    display: flex;
    gap: 30px;
    margin-bottom: 26px;
    align-items: end;
    justify-content: space-between;
}

.project-section-heading h2 {
    margin: 0;
    color: var(--seo-dark);
    font-size: clamp(32px,4vw,48px);
    font-weight: 400;
    line-height: 1.08;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.project-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e5e5e5;
}

.project-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.project-gallery-item:hover img,
.project-gallery-item:focus-visible img {
    transform: scale(1.035);
}

.project-bottom-cta {
    padding: 0 0 76px;
}

.project-bottom-cta-inner {
    display: flex;
    gap: 38px;
    padding: 36px 42px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--seo-dark);
    border-top: 5px solid var(--seo-orange);
}

.project-bottom-cta-inner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(28px,3.5vw,40px);
    font-weight: 400;
}

.project-bottom-cta-inner > div > p:last-child {
    margin: 0;
    color: #ddd;
}

.project-cta-button {
    display: inline-flex;
    min-height: 50px;
    padding: 14px 24px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--seo-orange);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.project-cta-button:hover,
.project-cta-button:focus-visible {
    color: #fff;
    background: var(--seo-orange-dark);
}

/* =====================================================
   USŁUGI — UPROSZCZONA WERSJA
===================================================== */

.simple-service-page {
    color: var(--seo-dark);
    background: #fff;
}

.simple-service-top {
    padding: 26px 0 0;
}

.simple-service-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #262523;
}

.simple-service-hero > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.simple-service-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21,20,19,.84) 0%, rgba(21,20,19,.61) 45%, rgba(21,20,19,.12) 78%),
        linear-gradient(0deg, rgba(21,20,19,.20), transparent 50%);
}

.simple-service-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(730px,70%);
    min-height: 520px;
    flex-direction: column;
    justify-content: center;
    padding: 56px 60px;
    color: #fff;
}

.simple-service-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px,5vw,66px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.3px;
    text-wrap: balance;
}

.simple-service-copy > p:not(.simple-service-label) {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.65;
}

.simple-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.simple-service-primary,
.simple-service-secondary {
    display: inline-flex;
    min-height: 50px;
    padding: 14px 22px;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.simple-service-primary {
    color: #fff;
    background: var(--seo-orange);
    border: 1px solid var(--seo-orange);
}

.simple-service-primary:hover,
.simple-service-primary:focus-visible {
    color: #fff;
    background: var(--seo-orange-dark);
    border-color: var(--seo-orange-dark);
}

.simple-service-secondary {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.55);
}

.simple-service-secondary:hover,
.simple-service-secondary:focus-visible {
    color: var(--seo-dark);
    background: #fff;
}

.simple-service-scope {
    padding: 68px 0;
}

.simple-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.simple-section-heading h2 {
    margin: 0 0 12px;
    color: var(--seo-dark);
    font-size: clamp(32px,4vw,48px);
    font-weight: 400;
    line-height: 1.08;
}

.simple-section-heading > p:last-child {
    margin: 0;
    color: var(--seo-muted);
    font-size: 16px;
    line-height: 1.65;
}

.simple-section-heading-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.simple-scope-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.simple-scope-card {
    padding: 28px 30px;
    background: var(--seo-light);
    border-top: 4px solid var(--seo-orange);
}

.simple-scope-card h3 {
    margin: 0 0 10px;
    color: var(--seo-dark);
    font-size: 23px;
    line-height: 1.25;
}

.simple-scope-card > p {
    margin: 0;
    color: var(--seo-text);
    font-size: 15px;
    line-height: 1.65;
}

.simple-scope-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.simple-scope-card li {
    position: relative;
    padding-left: 21px;
    color: var(--seo-text);
    font-size: 14px;
    line-height: 1.5;
}

.simple-scope-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--seo-orange);
    font-weight: 900;
}

.simple-service-info {
    padding: 0 0 68px;
}

.simple-service-info-inner {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 60px;
    padding: 38px 42px;
    background: #fff;
    border: 1px solid var(--seo-border);
}

.simple-service-info-inner h2 {
    margin: 0;
    color: var(--seo-dark);
    font-size: clamp(28px,3.5vw,42px);
    font-weight: 400;
    line-height: 1.08;
}

.simple-service-info-inner > div:last-child {
    padding-top: 3px;
}

.simple-service-info-inner > div:last-child p {
    margin: 0;
    color: var(--seo-text);
    font-size: 17px;
    line-height: 1.75;
}

.simple-related-services {
    padding: 58px 0;
    background: var(--seo-light);
}

.simple-related-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}

.simple-related-grid a {
    display: flex;
    min-height: 105px;
    gap: 20px;
    padding: 21px;
    align-items: center;
    justify-content: space-between;
    color: var(--seo-dark);
    background: #fff;
    border-bottom: 4px solid var(--seo-orange);
    text-decoration: none;
}

.simple-related-grid a:hover,
.simple-related-grid a:focus-visible {
    background: #fdf8f4;
}

.simple-related-grid span {
    font-weight: 800;
    line-height: 1.35;
}

.simple-related-grid i {
    color: var(--seo-orange);
    font-style: normal;
    font-size: 21px;
}

.simple-service-cta {
    padding: 64px 0 76px;
}

.simple-service-cta-inner {
    display: flex;
    gap: 35px;
    padding: 36px 42px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--seo-dark);
    border-top: 5px solid var(--seo-orange);
}

.simple-service-cta-inner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(28px,3.5vw,40px);
    font-weight: 400;
}

.simple-service-cta-inner > div > p:last-child {
    margin: 0;
    color: #ddd;
}

/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 1050px) {
    .project-gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .simple-related-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 800px) {
    .project-hero-card,
    .project-hero-copy,
    .simple-service-hero,
    .simple-service-copy {
        min-height: 540px;
    }

    .project-hero-overlay,
    .simple-service-overlay {
        background:
            linear-gradient(0deg, rgba(21,20,19,.88) 0%, rgba(21,20,19,.58) 58%, rgba(21,20,19,.16) 100%);
    }

    .project-hero-copy,
    .simple-service-copy {
        width: 100%;
        justify-content: flex-end;
        padding: 38px 32px;
    }

    .project-summary-card,
    .simple-service-info-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .simple-scope-grid {
        grid-template-columns: 1fr;
    }

    .project-bottom-cta-inner,
    .simple-service-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .project-detail-top,
    .simple-service-top {
        padding-top: 16px;
    }

    .seo-breadcrumbs {
        font-size: 12px;
    }

    .project-hero-card,
    .project-hero-copy,
    .simple-service-hero,
    .simple-service-copy {
        min-height: 500px;
    }

    .project-hero-copy,
    .simple-service-copy {
        padding: 30px 22px;
    }

    .project-hero-copy h1,
    .simple-service-copy h1 {
        font-size: 36px;
        letter-spacing: -.7px;
    }

    .simple-service-copy > p:not(.simple-service-label) {
        font-size: 16px;
    }

    .simple-service-actions {
        width: 100%;
        flex-direction: column;
    }

    .simple-service-primary,
    .simple-service-secondary {
        width: 100%;
    }

    .project-summary-section {
        padding-top: 38px;
    }

    .project-summary-card,
    .simple-service-info-inner {
        padding: 28px 22px;
    }

    .project-summary-copy p,
    .simple-service-info-inner > div:last-child p {
        font-size: 16px;
    }

    .project-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-item {
        aspect-ratio: 4 / 3;
    }

    .simple-service-scope {
        padding: 50px 0;
    }

    .simple-scope-card {
        padding: 24px 21px;
    }

    .simple-related-grid {
        grid-template-columns: 1fr;
    }

    .simple-related-grid a {
        min-height: 84px;
    }

    .project-bottom-cta-inner,
    .simple-service-cta-inner {
        padding: 28px 22px;
    }

    .project-cta-button,
    .simple-service-cta-inner .simple-service-primary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-gallery-item img {
        transition: none !important;
    }
}
