/* Resort Escape Now — styl ścisły, editorial */

:root {
    --bg-deep: #030304;
    --bg-raised: #0b0d11;
    --bg-card: #0f1116;
    --text: #eceef2;
    --text-muted: #8b929e;
    --accent: #a8b0c0;
    --accent-strong: #d7dce6;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    --radius: 0;
    --font-display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
    --font-body: "IBM Plex Sans", system-ui, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", monospace;
    --container: min(1080px, 92vw);
    --header-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--text);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.narrow {
    max-width: 720px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    background: var(--accent-strong);
    color: #050508;
    z-index: 10000;
    border-radius: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top utility bar */
.site-topbar {
    background: #020203;
    border-bottom: 1px solid var(--line);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    min-height: 38px;
    padding-block: 0.35rem;
}

.topbar-muted {
    max-width: min(52ch, 100%);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.topbar-actions a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.topbar-actions a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topbar-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--line-strong);
}

@media (max-width: 640px) {
    .topbar-muted {
        display: none;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(3, 3, 4, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line-strong);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    line-height: 0;
}

.logo:hover {
    opacity: 0.92;
}

.logo-img {
    display: block;
    height: clamp(39px, 7.5vw, 71px);
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.site-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link.is-active {
    border-bottom: 1px solid var(--accent-strong);
    padding-bottom: 2px;
}

.site-nav--desktop {
    display: block;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav--desktop {
        display: none;
    }
}

/* Mobilne menu — panel z prawej (osobny komponent) */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.35s;
}

.mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-nav.is-open .mobile-nav__backdrop {
    opacity: 1;
}

.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 88vw);
    max-width: 100%;
    background: #08090d;
    border-left: 1px solid var(--line-strong);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open .mobile-nav__panel {
    transform: translateX(0);
}

.mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}

.mobile-nav__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mobile-nav__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.mobile-nav__close:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav__close-line {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text);
}

.mobile-nav__close-line:first-child {
    transform: rotate(45deg);
}

.mobile-nav__close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__link {
    display: block;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    padding-left: 1.5rem;
    outline: none;
}

.mobile-nav__link.is-active {
    color: var(--accent-strong);
    border-left: 3px solid var(--accent-strong);
    padding-left: calc(1.25rem - 3px);
}

.mobile-nav__foot {
    flex-shrink: 0;
    padding: 1.25rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
}

.mobile-nav__tel,
.mobile-nav__mail {
    color: var(--text-muted);
    text-decoration: none;
    word-break: break-all;
}

.mobile-nav__tel:hover,
.mobile-nav__mail:hover {
    color: var(--accent-strong);
}

body.mobile-nav-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav {
        transition: none;
    }

    .mobile-nav__backdrop {
        transition: none;
    }

    .mobile-nav__panel {
        transition: transform 0.2s ease;
    }

    .nav-toggle-bar {
        transition: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
    background: var(--accent-strong);
    color: #050508;
    border-color: var(--accent-strong);
}

.btn-primary:hover {
    color: #050508;
    background: #eef1f7;
    border-color: #eef1f7;
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--accent-strong);
    color: var(--text);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 6rem);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(3, 3, 4, 0.94) 0%, rgba(3, 3, 4, 0.72) 42%, rgba(3, 3, 4, 0.35) 100%);
    pointer-events: none;
}

.hero-gridline {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 72px;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 40rem;
    padding-bottom: 0.5rem;
    border-left: 3px solid var(--accent-strong);
    padding-left: clamp(1rem, 3vw, 1.75rem);
}

.eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
    margin: 0 0 1rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.section-index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    opacity: 0.85;
}

.text-center {
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.15rem, 5.2vw, 3.15rem);
    line-height: 1.08;
    margin: 0 0 1.25rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-lead {
    margin: 0 0 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 36rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Sections */
.section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--full {
    padding-left: 0;
    padding-right: 0;
}

/* Full-width KPI strip */
.section-kpi {
    padding-block: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #060709;
}

.section-kpi-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
}

.kpi-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
    .kpi-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.kpi-item {
    border-left: 2px solid var(--line-strong);
    padding-left: 1rem;
}

.kpi-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--accent-strong);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.kpi-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    letter-spacing: 0.02em;
}

/* Full-width manifest band */
.section-manifest {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(90deg, #0a0c10 0%, #08090d 50%, #0a0c10 100%);
    border-bottom: 1px solid var(--line);
}

.manifest-inner {
    width: 100%;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    text-align: center;
}

.manifest-line {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.35;
}

.manifest-sub {
    margin: 1rem auto 0;
    max-width: 44rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Full-width split (image edge-to-edge) */
.section-split {
    padding-block: 0;
    border-bottom: 1px solid var(--line);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: min(72vh, 640px);
}

@media (min-width: 960px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 520px;
    }
}

.split-media {
    position: relative;
    min-height: 280px;
}

.split-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2) contrast(1.05);
}

@media (min-width: 960px) {
    .split-media img {
        min-height: 100%;
    }
}

.split-copy {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
    .split-copy {
        border-top: 0;
        border-left: 1px solid var(--line);
        padding-inline: clamp(2rem, 5vw, 4rem);
    }
}

.split-bullets {
    margin: 0 0 1.75rem;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.split-bullets li {
    margin-bottom: 0.5rem;
}

/* Process timeline */
.section-process {
    border-top: 1px solid var(--line);
    background: var(--bg-raised);
}

.process-track {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0;
    position: relative;
}

@media (min-width: 960px) {
    .process-track {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
    }

    .process-track::before {
        content: "";
        position: absolute;
        top: 2.25rem;
        left: 4%;
        right: 4%;
        height: 1px;
        background: var(--line-strong);
        z-index: 0;
    }
}

.process-step {
    position: relative;
    padding: 1.5rem 1rem 1.75rem;
    border: 1px solid var(--line);
    background: var(--bg-card);
    z-index: 1;
}

@media (max-width: 959px) {
    .process-step + .process-step {
        border-top: 0;
    }
}

@media (min-width: 960px) {
    .process-step {
        border-right: 0;
        min-height: 220px;
        padding-top: 2.75rem;
    }

    .process-step:last-child {
        border-right: 1px solid var(--line);
    }
}

.process-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.process-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.process-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Full-width sectors marquee */
.section-sectors {
    padding-block: clamp(2rem, 4vw, 2.75rem);
    background: #050507;
    border-block: 1px solid var(--line);
}

.sectors-inner {
    width: 100%;
    overflow: hidden;
}

.sectors-heading {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--text-muted);
}

.sectors-track {
    display: flex;
    width: max-content;
    animation: sectors-marquee 32s linear infinite;
}

.sectors-marquee {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.sectors-marquee li {
    padding: 0.35rem 2.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
    white-space: nowrap;
    border-right: 1px solid var(--line);
}

@keyframes sectors-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Deliverables */
.section-deliverables {
    border-top: 1px solid var(--line);
}

.deliverables-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

@media (min-width: 900px) {
    .deliverables-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.deliverables-col {
    border: 1px solid var(--line);
    padding: 1.5rem 1.35rem;
    background: var(--bg-card);
}

.deliverables-col--accent {
    border-color: var(--line-strong);
    background: linear-gradient(180deg, #12151c, #0d1016);
}

.deliverables-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin: 0 0 1rem;
}

.deliverables-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.deliverables-list li {
    margin-bottom: 0.55rem;
}

/* Full-width CTA band with photo */
.section-cta-wide {
    position: relative;
    padding-block: clamp(4rem, 10vw, 6rem);
    min-height: min(70vh, 560px);
    display: flex;
    align-items: center;
    border-block: 1px solid var(--line);
}

.cta-wide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-wide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.08) brightness(0.45);
}

.cta-wide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.55) 55%, rgba(3, 3, 4, 0.35) 100%);
}

.cta-wide-inner {
    position: relative;
    z-index: 2;
    max-width: 36rem;
}

.cta-wide-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.cta-wide-lead {
    margin: 0 0 1.75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 34rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.section-intro {
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.prose {
    color: var(--text-muted);
}

.prose strong {
    color: var(--text);
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.section-about {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.about-stat {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-stat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    color: var(--accent-strong);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services cards */
.section-services {
    background: linear-gradient(180deg, var(--bg-deep), #060709);
    border-top: 1px solid var(--line);
}

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 700px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-strong);
    transition: height 0.35s ease;
}

.card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    background: #12151c;
}

.card:hover::before {
    height: 100%;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Why */
.section-why {
    border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.why-wrap {
    display: grid;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .why-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.why-list {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.why-list li {
    margin-bottom: 0.85rem;
}

.why-quote {
    margin: 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-strong);
    border-radius: var(--radius);
    align-self: center;
}

.why-quote p {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text);
    margin: 0 0 1rem;
}

.why-quote footer {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Gallery */
.gallery-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-raised);
    transition: border-color 0.25s ease, transform 0.35s ease;
}

.gallery-item:hover {
    border-color: var(--line-strong);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Testimonials */
.section-testimonials {
    background: #0c0f13;
}

.testimonials {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial {
    margin: 0;
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial blockquote {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.testimonial figcaption {
    font-size: 0.85rem;
    color: var(--accent);
}

/* FAQ accordion */
.faq-accordion {
    margin: 2rem 0 0;
    border: 1px solid var(--line);
    background: var(--bg-raised);
}

.faq-details {
    border-bottom: 1px solid var(--line);
}

.faq-details:last-child {
    border-bottom: 0;
}

.faq-details summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s ease;
}

.faq-details summary::-webkit-details-marker {
    display: none;
}

.faq-details summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-details[open] summary {
    background: rgba(255, 255, 255, 0.03);
}

.faq-details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-details summary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-panel {
    padding: 0 1.25rem 1.15rem;
}

.faq-panel p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 62ch;
}

/* CTA / Contact */
.section-cta {
    padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-box {
    display: grid;
    gap: 2.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (min-width: 900px) {
    .cta-box {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.cta-details {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    color: var(--text-muted);
}

.cta-details li {
    margin-bottom: 0.5rem;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.contact-form span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

.form-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

/* Footer */
.site-footer {
    background: #07090c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.footer-tagline {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 28ch;
}

.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 1rem;
}

.footer-address {
    font-style: normal;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: clamp(0.75rem, 2.5vw, 1.25rem);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.cookie-banner:not([hidden]) {
    pointer-events: auto;
}

.cookie-panel {
    width: min(var(--container), calc(100vw - 1.5rem));
    margin: 0 auto;
    background: linear-gradient(165deg, #10141c 0%, #0a0c10 100%);
    border: 1px solid var(--line-strong);
    border-bottom: none;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(14px);
}

.cookie-inner {
    display: grid;
    gap: 1.25rem 1.75rem;
    padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-inner {
        grid-template-columns: 1fr auto;
    }
}

.cookie-copy {
    border-left: 3px solid var(--accent-strong);
    padding-left: 1rem;
    min-width: 0;
}

.cookie-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin: 0 0 0.45rem;
    letter-spacing: -0.01em;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 62ch;
}

.cookie-text a {
    color: var(--accent-strong);
}

.cookie-actions {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .cookie-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.btn-cookie-secondary {
    border: 1px solid var(--line-strong);
    color: var(--text-muted);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.8rem 1.35rem;
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-cookie-secondary:hover {
    border-color: var(--accent-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

/* Legal pages */
.legal-page {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 5rem);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.5rem;
}

.legal-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-body h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.legal-body h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-body p,
.legal-body li {
    color: var(--text-muted);
}

.legal-body ul {
    padding-left: 1.2rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
}

/* Strona 404 */
.error-page {
    padding: clamp(3rem, 10vw, 5rem) 0 clamp(4rem, 12vw, 6rem);
    text-align: center;
}

.error-header {
    margin-bottom: 2rem;
}

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--line-strong);
    margin: 0 0 0.5rem;
    line-height: 1;
}

.error-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 600;
    margin: 0 0 1rem;
}

.error-lead {
    margin: 0 auto;
    max-width: 40ch;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.error-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    justify-content: center;
    font-size: 0.9rem;
}

.error-nav-list a {
    color: var(--text-muted);
}

.error-nav-list a:hover {
    color: var(--accent-strong);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .gallery-item:hover img,
    .gallery-item img {
        transform: none !important;
        transition: none;
    }

    .card:hover {
        transform: none;
    }

    .sectors-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sectors-track .sectors-marquee:nth-child(2) {
        display: none;
    }

    .sectors-marquee {
        flex-wrap: wrap;
        justify-content: center;
    }
}
