.c-stacja {
    color: #141a1f;
    background: #fff;
}

.c-stacja-icon {
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.c-stacja-title-line {
    display: block;
    width: 3.2rem;
    height: 4px;
    margin-top: 0.55rem;
    background: var(--color-yellow);
    border-radius: 999px;
}

.c-stacja-heading h2 {
    margin: 0;
    color: #111820;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.c-stacja-section {
    padding: 3.8rem 0;
}

.c-stacja-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.05rem;
    border-radius: 0.35rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.c-stacja-button:hover,
.c-stacja-button:focus-visible {
    transform: translateY(-2px);
}

.c-stacja-button .c-stacja-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.c-stacja-button.is-primary {
    color: #fff;
    background: var(--color-brand);
    border: 2px solid var(--color-brand);
    box-shadow: 0 0.4rem 1.2rem rgba(219, 0, 0, 0.22);
}

.c-stacja-button.is-ghost {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.c-stacja-button.is-yellow {
    color: #1a1f24;
    background: var(--color-yellow);
    border: 2px solid var(--color-yellow);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.18);
}

.c-stacja-hero {
    position: relative;
    z-index: 2;
    color: #fff;
    background: #10161c;
}

.c-stacja-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.c-stacja-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 14, 20, 0.88), rgba(8, 14, 20, 0.42) 55%, rgba(8, 14, 20, 0.2));
}

.c-stacja-hero__image,
.c-stacja-hero__image.is-empty {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.c-stacja-hero__image.is-empty {
    background: linear-gradient(135deg, #2a333b, #12181e);
}

.c-stacja-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    min-height: 28rem;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.c-stacja-hero__copy {
    max-width: 36rem;
}

.c-stacja-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.c-stacja-hero__copy > p {
    margin: 0.9rem 0 0;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
}

.c-stacja-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.c-stacja-hours {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    color: #1a1f24;
    transform: translateY(50%);
    pointer-events: none;
}

.c-stacja-hours__row {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.c-stacja-hours__bar {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    max-width: 100%;
    background: var(--color-yellow);
    border-radius: 0.28rem;
    box-shadow: 0 0.45rem 1.15rem rgba(16, 22, 28, 0.16);
    transform: skewX(-31.8deg);
    transform-origin: left bottom;
    pointer-events: auto;
}

.c-stacja-hours__inner {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.15rem;
    padding: 0.7rem 1.65rem 0.7rem 1.45rem;
    transform: skewX(31.8deg);
    transform-origin: left bottom;
}

.c-stacja-hours__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #141a1f;
}

.c-stacja-hours__icon .c-stacja-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.c-stacja-hours p {
    margin: 0;
    color: #141a1f;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.c-stacja-hours__stripes {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 3.15rem;
}

.c-stacja-inspections {
    padding-bottom: 2.6rem;
}

.c-stacja-inspections__lead {
    margin: 0.75rem 0 0;
    max-width: 46rem;
    color: #3d4650;
    font-size: 1.08rem;
    line-height: 1.45;
}

.c-stacja-inspections__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.c-stacja-inspections__grid > li {
    position: relative;
    min-width: 0;
    padding: 0 1rem 0 0;
}

.c-stacja-inspections__grid > li + li {
    padding-left: 1.05rem;
}

.c-stacja-inspections__grid > li + li::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0;
    width: 1px;
    background: #d5dbe1;
}

.c-stacja-inspection {
    display: grid;
    gap: 0.28rem;
    justify-items: start;
}

.c-stacja-inspection__icon {
    margin-bottom: 0.05rem;
    color: #141a1f;
}

.c-stacja-inspection__icon .c-stacja-icon {
    width: 4.85rem;
    height: 4.85rem;
}

.c-stacja-inspection h3 {
    margin: 0;
    max-width: 16rem;
    color: #141a1f;
    font-size: clamp(1.28rem, 1.55vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.c-stacja-inspection__line {
    display: block;
    width: 2.55rem;
    height: 0.22rem;
    margin-top: 0.05rem;
    background: var(--color-yellow);
}

.c-stacja-inspection p {
    margin: 0.05rem 0 0;
    max-width: 17rem;
    color: #5a646d;
    font-size: 1.02rem;
    line-height: 1.4;
}

.c-stacja-extras {
    padding: 0 0 1.75rem;
}

.c-stacja-gallery {
    padding-top: 1.9rem;
    padding-bottom: 1.9rem;
}

.c-stacja-contact {
    padding-top: 1.9rem;
}

.c-stacja-extras__panel {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 7.5rem;
    overflow: hidden;
    background: #eef1f4;
    border-radius: 0.7rem;
}

.c-stacja-extras__pattern {
    position: absolute;
    top: -6%;
    right: -0.75rem;
    bottom: -6%;
    z-index: 0;
    width: 9.5rem;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
}

.c-stacja-extras__pattern img {
    display: block;
    width: auto;
    max-width: none;
    height: 118%;
    margin-top: -4%;
    margin-left: auto;
    margin-right: -2.75rem;
}

.c-stacja-extras__label {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 15.25rem;
    align-items: center;
    padding: 1.35rem 2.75rem 1.35rem 1.55rem;
    background: #1b2733;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 2.35rem) 100%, 0 100%);
}

.c-stacja-extras__label h2 {
    margin: 0;
    max-width: 8.75rem;
    color: #fff;
    font-size: clamp(1.25rem, 1.8vw, 1.45rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.c-stacja-extras__label h2::after {
    content: "";
    display: block;
    width: 2.45rem;
    height: 0.22rem;
    margin-top: 0.55rem;
    background: var(--color-yellow);
}

.c-stacja-extras__list {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 7.75rem 0 0.25rem;
    list-style: none;
}

.c-stacja-extras__list li {
    position: relative;
    display: flex;
    gap: 0.95rem;
    align-items: center;
    min-width: 0;
    padding: 1.35rem 1.15rem 1.35rem 1.2rem;
}

.c-stacja-extras__list li + li::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    bottom: 1.25rem;
    left: 0;
    width: 1px;
    background: #c9d0d7;
}

.c-stacja-extras__icon {
    flex: 0 0 auto;
    color: #141a1f;
}

.c-stacja-extras__icon .c-stacja-icon {
    width: 4.6rem;
    height: 4.6rem;
}

.c-stacja-extras__list strong {
    display: block;
    max-width: 11rem;
    color: #141a1f;
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.c-stacja-gallery__header {
    margin-bottom: 1.35rem;
}

.c-stacja-gallery__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.c-stacja-gallery__mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    overflow: hidden;
    background: var(--color-yellow);
    border-radius: 0.35rem;
}

.c-stacja-gallery__mark .c-stacja-icon {
    width: 1.45rem;
    height: 1.45rem;
    color: #fff;
}

.c-stacja-gallery__title h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 900;
}

.c-stacja-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-stacja-gallery__grid .is-gallery-extra {
    display: none;
}

.c-stacja-gallery__grid a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.45 / 1;
    background: #d8dde1;
    border-radius: 0.45rem;
}

.c-stacja-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.c-stacja-gallery__grid a:hover .c-stacja-gallery__image {
    transform: scale(1.04);
}

.c-stacja-gallery__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 0.85rem;
    align-content: center;
    justify-items: center;
    padding: 1rem;
    color: #fff;
    background: rgba(12, 18, 24, 0.62);
    text-align: center;
}

.c-stacja-gallery__overlay strong {
    font-size: 1.35rem;
    font-weight: 900;
}

.c-stacja-gallery__placeholder {
    display: grid;
    place-items: center;
    min-height: 14rem;
    padding: 2rem;
    color: #66717a;
    background: #f3f5f6;
    border: 1px dashed #cfd5da;
    border-radius: 0.55rem;
}

.c-stacja-gallery__placeholder p {
    margin: 0;
}

.c-stacja-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: stretch;
}

.c-stacja-contact__list {
    display: grid;
    gap: 1.15rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.c-stacja-contact__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.c-stacja-contact__list .c-stacja-icon {
    width: 1.45rem;
    height: 1.45rem;
    color: var(--color-brand);
}

.c-stacja-contact__list strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
    font-weight: 900;
}

.c-stacja-contact__list p {
    margin: 0;
    color: #4f5962;
    font-size: 0.92rem;
    line-height: 1.45;
}

.c-stacja-contact__list a {
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.c-stacja-contact__list a:hover,
.c-stacja-contact__list a:focus-visible {
    color: var(--color-brand);
}

.c-stacja-contact__map {
    position: relative;
    min-height: 22rem;
}

.c-stacja-contact__map-frame {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 22rem;
    background: #dfe4e8;
    border-radius: 0.55rem;
}

.c-stacja-contact__map-frame iframe,
.c-stacja-contact__map-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.c-stacja-contact__map-fallback {
    display: grid;
    gap: 0.55rem;
    align-content: center;
    justify-items: center;
    color: #3d4750;
    background:
        radial-gradient(circle at 55% 42%, rgba(219, 0, 0, 0.18), transparent 18%),
        linear-gradient(145deg, #e8ecef, #d5dbe0 55%, #cfd6db);
}

.c-stacja-contact__map-fallback .c-stacja-icon {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--color-brand);
}

.c-stacja-contact__map-consent {
    position: absolute;
    z-index: 2;
    inset: auto 1rem 4.6rem 1rem;
    padding: 0.75rem 0.9rem;
    color: #24303a;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.4rem;
}

.c-stacja-contact__map-consent p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
}

.c-stacja-contact__map-frame.is-consent-granted .c-stacja-contact__map-consent,
.c-stacja-contact__map-frame.is-consent-granted .c-stacja-contact__map-fallback {
    display: none;
}

.c-stacja-contact__route {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
}

@media (max-width: 991.98px) {
    .c-stacja-inspections__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .c-stacja-inspections__grid > li {
        padding: 1rem 1.15rem;
    }

    .c-stacja-inspections__grid > li:nth-child(2n + 1)::before {
        display: none;
    }

    .c-stacja-inspections__grid > li:nth-child(n + 3)::after {
        content: "";
        position: absolute;
        top: 0;
        right: 1.15rem;
        left: 1.15rem;
        height: 1px;
        background: #d5dbe1;
    }

    .c-stacja-extras__panel {
        flex-direction: column;
    }

    .c-stacja-extras__label {
        max-width: none;
        padding-right: 1.55rem;
        clip-path: none;
    }

    .c-stacja-extras__pattern {
        display: none;
    }

    .c-stacja-extras__list {
        grid-template-columns: 1fr;
        padding-right: 0.5rem;
    }

    .c-stacja-extras__list li + li::before {
        top: 0;
        right: 1.15rem;
        bottom: auto;
        left: 1.15rem;
        width: auto;
        height: 1px;
    }

    .c-stacja-contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .c-stacja-section {
        padding: 3rem 0;
    }

    .c-stacja-gallery {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .c-stacja-contact {
        padding-top: 1.5rem;
    }

    .c-stacja-hero__inner {
        min-height: 24rem;
        padding-top: 4.5rem;
        padding-bottom: 4.2rem;
    }

    .c-stacja-hero__actions,
    .c-stacja-button {
        width: 100%;
    }

    .c-stacja-inspections__grid,
    .c-stacja-gallery__grid {
        grid-template-columns: 1fr;
    }

    .c-stacja-inspections__grid > li {
        padding: 1.1rem 0;
    }

    .c-stacja-inspections__grid > li + li::before {
        display: none;
    }

    .c-stacja-inspections__grid > li + li::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 1px;
        background: #d5dbe1;
    }

    .c-stacja-inspections__grid > li:nth-child(n + 3)::after {
        right: 0;
        left: 0;
    }

    .c-stacja-hours__stripes {
        display: none;
    }

    .c-stacja-hours__bar {
        max-width: calc(100% - 2.1rem);
    }

    .c-stacja-hours p {
        white-space: normal;
    }
}
