/* ============================================
   miastowidzi.pl — Dark + Lime
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-2: #111;
    --bg-3: #1a1a1a;
    --line: #222;
    --text: #f4f4f4;
    --text-dim: #9a9a9a;
    --accent: #d4ff00;
    --accent-2: #a8cc00;
    --danger: #ff5e3a;

    --container: 1280px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --radius: 14px;
    --radius-lg: 28px;

    --font-display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }

::selection { background: var(--accent); color: #000; }

.accent { color: var(--accent); }

/* ============================================
   Eyebrow + headings
   ============================================ */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .72rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: .75rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}

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

.btn--primary:hover {
    transform: translateY(-2px);
    background: #fff;
}

.btn--ghost {
    border: 1px solid #333;
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   Nav
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem var(--gutter);
    background: rgba(10, 10, 10, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled { padding-top: .55rem; padding-bottom: .55rem; }
.nav.is-scrolled .nav__logo-svg { height: clamp(54px, 6vw, 80px); }

.nav.is-scrolled {
    background: rgba(10, 10, 10, .85);
    border-bottom-color: var(--line);
}
.nav--solid {
    background: rgba(10, 10, 10, .92);
    border-bottom-color: var(--line);
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
    min-width: 0;
    transition: transform .3s var(--ease);
}
.nav__logo:hover { transform: scale(1.04); }
.nav__logo-svg {
    height: clamp(72px, 8vw, 108px);
    width: auto;
    aspect-ratio: 240 / 280;
    display: block;
    flex-shrink: 0;
    color: var(--text);
    transition: height .3s var(--ease), color .25s var(--ease);
}
.nav__logo:hover .nav__logo-svg { color: var(--accent); }

.nav__meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    line-height: 1;
}
.nav__city {
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--accent);
    white-space: nowrap;
}
.nav__time {
    font-family: var(--font-display);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.nav__time::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 480px) {
    .nav__meta { display: none; }
}

.nav__logo-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .55; transform: scale(.85); }
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav__links a {
    font-size: .92rem;
    color: var(--text-dim);
    font-weight: 500;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.nav__cta {
    background: var(--accent);
    color: #000;
    padding: .65rem 1.1rem;
    border-radius: 999px;
}
.nav__links a.nav__cta:hover { background: #fff; }

.nav__burger {
    display: none;
    width: 36px; height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: flex-end;
}
.nav__burger span {
    width: 22px; height: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100svh;
    padding: clamp(7rem, 14vh, 9rem) var(--gutter) clamp(210px, 34vh, 360px);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.hero__inner { position: relative; z-index: 3; }

.hero__grid {
    position: absolute; inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 80%);
    pointer-events: none;
}

/* Wektorowy kontur centrum Warszawy — dolna część hero */
.hero__skyline {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: clamp(180px, 30vh, 320px);
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,.85) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,.85) 100%);
}
.hero__skyline svg {
    width: 100%;
    height: 100%;
    display: block;
}
.hero__skyline svg path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.4;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: .9;
    filter: drop-shadow(0 0 14px rgba(212, 255, 0, .25));
    stroke-dasharray: 2800;
    stroke-dashoffset: 2800;
    animation: skylineDraw 2.6s cubic-bezier(.4, 0, .2, 1) .25s forwards;
}
.hero__skyline svg path:nth-child(2)  { animation-delay: .35s; }
.hero__skyline svg path:nth-child(3)  { animation-delay: .45s; }
.hero__skyline svg path:nth-child(4)  { animation-delay: .55s; }
.hero__skyline svg path:nth-child(5)  { animation-delay: .65s; }
.hero__skyline svg path:nth-child(6)  { animation-delay: .75s; }
.hero__skyline svg path:nth-child(7)  { animation-delay: .85s; }
.hero__skyline svg path:nth-child(8)  { animation-delay: .95s; }
.hero__skyline svg path:nth-child(9)  { animation-delay: 1.1s; }
.hero__skyline svg path:nth-child(10) { animation-delay: 1.25s; }
.hero__skyline svg path:nth-child(11) { animation-delay: 1.4s; }
.hero__skyline svg path:nth-child(12) { animation-delay: 1.55s; }

@keyframes skylineDraw {
    to { stroke-dashoffset: 0; }
}

/* Kursor jako światło na hero */
.hero__cursor {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        circle 420px at var(--mx, 50%) var(--my, 30%),
        rgba(212, 255, 0, .12),
        transparent 65%
    );
    transition: opacity .4s var(--ease);
    mix-blend-mode: screen;
}

/* Pinezki realnych lokalizacji nad sylwetą */
.hero__pins {
    position: absolute;
    left: 0; right: 0;
    bottom: clamp(180px, 30vh, 320px);
    height: 0;
    pointer-events: none;
    z-index: 2;
}
.hero-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: var(--text);
    transition: transform .25s var(--ease);
}
.hero-pin:hover { transform: translate(-50%, calc(-100% - 4px)); }

.hero-pin__dot {
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 255, 0, .2), 0 0 14px rgba(212, 255, 0, .6);
}
.hero-pin__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pinPulse 2.2s ease-out infinite;
}
.hero-pin--upcoming .hero-pin__dot {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(255, 94, 58, .2), 0 0 14px rgba(255, 94, 58, .6);
}
.hero-pin--upcoming .hero-pin__dot::after { background: var(--danger); }

@keyframes pinPulse {
    0%   { transform: scale(1); opacity: .6; }
    100% { transform: scale(3.5); opacity: 0; }
}

.hero-pin__line {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, rgba(212,255,0,.6), transparent);
}
.hero-pin--upcoming .hero-pin__line {
    background: linear-gradient(180deg, rgba(255,94,58,.6), transparent);
}

.hero-pin__label {
    order: -1;
    margin-bottom: .35rem;
    padding: .35rem .65rem;
    background: rgba(10, 10, 10, .85);
    border: 1px solid rgba(212, 255, 0, .25);
    border-radius: 8px;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .04em;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hero-pin:hover .hero-pin__label,
.hero-pin:focus .hero-pin__label {
    opacity: 1;
    transform: translateY(0);
}
.hero-pin--prominent .hero-pin__label { opacity: 1; transform: none; }

@media (max-width: 720px) {
    /* Na mobile ukryj etykiety zwykle - zostaw tylko prominent (3-4 srodkowe)
       w mniejszym formacie, zeby sie nie nakladaly na siebie. */
    .hero-pin__label { display: none; }
    .hero-pin--prominent .hero-pin__label {
        display: block;
        opacity: 1;
        transform: none;
        font-size: .6rem;
        padding: .25rem .5rem;
        margin-bottom: .25rem;
        letter-spacing: 0;
    }
    .hero-pin__line { height: 18px; }
}

@media (max-width: 480px) {
    /* Na bardzo malych telefonach logo nav mniejsze, zeby zostalo miejsce */
    .nav__logo-svg { height: 56px; }
    .nav.is-scrolled .nav__logo-svg { height: 44px; }
    .nav { padding: .65rem var(--gutter); }
}

.hero__glow {
    position: absolute;
    right: -10%;
    top: 30%;
    width: 60vmax;
    height: 60vmax;
    background: radial-gradient(circle, rgba(212,255,0,.18), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(-8%, -6%); }
}

.hero__inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.hero__title {
    font-size: clamp(2.6rem, 8.5vw, 7rem);
    margin: 1rem 0 1.75rem;
    letter-spacing: -.035em;
}

.hero__lead {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    color: var(--text-dim);
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 5vw, 4rem);
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}
.hero__stats span {
    font-size: .8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-top: .5rem;
}

.hero__scroll {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 1.5px solid var(--text-dim);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}
.hero__scroll span {
    width: 3px; height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: clamp(5rem, 10vw, 9rem) var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
}

.section--dark {
    background: var(--bg-2);
    max-width: none;
    margin: 0;
}
.section--dark > * { max-width: var(--container); margin-left: auto; margin-right: auto; }

.section__head { max-width: 760px; margin-bottom: 4rem; }
.section__lead {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    margin-top: 1.5rem;
}

/* ============================================
   Oferta / Formaty
   ============================================ */
.formats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.format {
    position: relative;
    padding: 2.25rem 1.8rem 2rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
    overflow: hidden;
}

.format::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent, rgba(212,255,0,.05));
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.format:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}
.format:hover::before { opacity: 1; }

.format__num {
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .25em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.format p {
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    font-size: .95rem;
}

.format ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.format ul li {
    font-size: .78rem;
    padding: .35rem .7rem;
    background: var(--bg-3);
    border-radius: 999px;
    color: var(--text-dim);
}

/* ============================================
   Lokalizacje (mapa + lista)
   ============================================ */
.locations {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.map {
    height: 620px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111;
}

.locations__list {
    max-height: 620px;
    overflow-y: auto;
    padding-right: .4rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.locations__list::-webkit-scrollbar { width: 6px; }
.locations__list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.loc-item {
    padding: 1.1rem 1.25rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.loc-item:hover, .loc-item.is-active {
    border-color: var(--accent);
    background: #131c00;
    transform: translateX(2px);
}

.loc-item__pin {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent);
    color: #000;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: .9rem;
}

.loc-item__main h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .2rem;
}
.loc-item__main p {
    font-size: .82rem;
    color: var(--text-dim);
}

.loc-item__type {
    font-size: .7rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: var(--bg-3);
    color: var(--text-dim);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Leaflet dark tweaks */
.leaflet-container {
    background: #0e0e0e !important;
    font-family: var(--font-body) !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #1a1a1a;
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.leaflet-popup-content {
    margin: 14px 16px;
    line-height: 1.5;
}
.leaflet-popup-content strong { color: var(--accent); }
.leaflet-popup-close-button { color: var(--text-dim) !important; }
.leaflet-control-zoom a {
    background: #1a1a1a !important;
    color: var(--text) !important;
    border-color: var(--line) !important;
}
.leaflet-control-attribution {
    background: rgba(10,10,10,.7) !important;
    color: var(--text-dim) !important;
}
.leaflet-control-attribution a { color: var(--accent) !important; }

/* Reset widoku — własna kontrolka */
.map-reset {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    background: rgba(10, 10, 10, .9) !important;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font: 500 .82rem var(--font-body);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.map-reset:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.map-reset svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-marker {
    width: 32px; height: 32px;
    background: var(--accent);
    border: 3px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(212,255,0,.25), 0 4px 12px rgba(0,0,0,.5);
    display: grid;
    place-items: center;
    color: #000;
    font-weight: 700;
    font-size: .8rem;
    font-family: var(--font-display);
}

/* ============================================
   Realizacje
   ============================================ */
.realizations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.real {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.real:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.real__img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    position: relative;
}
.real__img::after {
    content: attr(data-label);
    position: absolute;
    inset: auto 0 0 0;
    padding: .6rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    font-size: .8rem;
    color: rgba(255,255,255,.85);
}

.real__meta {
    padding: 1.1rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.real__meta span {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.real__meta strong { font-size: 1.05rem; font-weight: 600; }

/* ============================================
   Wizytówka
   ============================================ */
.card {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.card__photo {
    position: relative;
}

.card__photo-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), #5b6e00);
    box-shadow: 0 30px 60px -20px rgba(212,255,0,.25), 0 0 0 1px var(--line);
}
.card__photo-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.card__photo-frame--empty::before {
    content: 'foto.jpg';
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: var(--bg-3);
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: .1em;
}

.card__photo-tag {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: .7rem 1.2rem;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .82rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    white-space: nowrap;
}
.card__photo-tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

.card__role {
    color: var(--accent);
    font-weight: 500;
    margin: .5rem 0 1.75rem;
    font-size: 1.05rem;
}

.card__bio {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
    max-width: 520px;
}

.card__contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}

.card__contacts li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    align-items: center;
    font-size: .95rem;
}
.card__contacts span {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .72rem;
}
.card__contacts a {
    font-family: var(--font-display);
    font-weight: 500;
}
.card__contacts a:hover { color: var(--accent); }

/* ============================================
   Kontakt
   ============================================ */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.contact__big {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 2.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.contact__big a:hover { color: var(--accent); }

.contact__form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.contact__form label {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .8rem;
}
.contact__form label span {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .15em;
}

.contact__form input,
.contact__form textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .9rem 1rem;
    color: var(--text);
    font: inherit;
    transition: border-color .2s var(--ease);
    resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact__note {
    font-size: .72rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin-top: .25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.contact__note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
.contact__note a:hover { color: var(--accent); }

.contact__consent {
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--text-dim);
    padding: 1rem 1rem .9rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s var(--ease);
}
.contact__consent:hover { border-color: rgba(212, 255, 0, .35); }
.contact__consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; height: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--text-dim);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact__consent input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.contact__consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 6px; height: 11px;
    border: solid #000;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.contact__consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.contact__consent strong { color: var(--text); font-weight: 500; }
.contact__consent a { color: var(--accent); text-decoration: underline; }
.contact__consent a:hover { color: var(--text); }

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem var(--gutter) 2rem;
    border-top: 1px solid var(--line);
    background: #050505;
    color: var(--text-dim);
    font-size: .9rem;
}
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__logo-svg {
    height: 96px;
    width: auto;
    aspect-ratio: 240 / 280;
    display: block;
    color: var(--text);
}
.footer__tag {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text);
    max-width: 260px;
    line-height: 1.3;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--accent);
    margin-bottom: 1.1rem;
}
.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.footer__col address {
    font-style: normal;
    line-height: 1.7;
    color: var(--text);
}
.footer__col a {
    color: var(--text);
    transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }

.footer__legal {
    font-family: var(--font-body);
}
.footer__legal li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: .9rem;
    align-items: baseline;
    font-size: .88rem;
}
.footer__legal span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--text-dim);
}
.footer__legal strong {
    color: var(--text);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.footer__bottom {
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    font-size: .8rem;
    color: var(--text-dim);
}
.footer__small { font-size: .75rem; opacity: .7; }
.footer__policies {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.footer__policies a {
    color: var(--text);
    border-bottom: 1px solid transparent;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__policies a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.footer__policies span { opacity: .4; }

@media (max-width: 880px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .footer__top { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
}

/* ============================================
   Strony prawne — Polityka prywatności / cookies
   ============================================ */
.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(6rem, 12vh, 9rem) var(--gutter) clamp(4rem, 8vh, 6rem);
}
.legal__head {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.legal__head h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin: 1rem 0 1.5rem;
}
.legal__date {
    color: var(--text-dim);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.legal__body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text);
}
.legal__body h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 3rem 0 1rem;
    color: var(--text);
    scroll-margin-top: 6rem;
}
.legal__body h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.75rem 0 .75rem;
    color: var(--accent);
}
.legal__body p { margin-bottom: 1.1rem; color: var(--text-dim); }
.legal__body p strong { color: var(--text); font-weight: 500; }
.legal__body ul, .legal__body ol {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-dim);
}
.legal__body ul li, .legal__body ol li {
    margin-bottom: .55rem;
    padding-left: .25rem;
}
.legal__body ul li::marker { color: var(--accent); }
.legal__body ol li::marker { color: var(--accent); font-weight: 600; }
.legal__body a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    transition: color .2s var(--ease);
}
.legal__body a:hover { color: var(--accent); }
.legal__body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9em;
    padding: .15rem .4rem;
    background: var(--bg-3);
    border-radius: 4px;
    color: var(--text);
}

.legal__lead {
    font-size: 1.1rem !important;
    color: var(--text) !important;
    line-height: 1.65;
    padding: 1.5rem 1.75rem;
    background: var(--bg-2);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    margin-bottom: 2.5rem !important;
}

.legal__box {
    padding: 1.25rem 1.5rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text) !important;
    line-height: 1.7;
}

.legal__back {
    margin-top: 3.5rem !important;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.legal__back a {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--accent) !important;
    text-decoration: none !important;
}
.legal__back a:hover { color: var(--text) !important; }

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__glow, .nav__logo-dot, .card__photo-tag-dot, .hero__scroll span { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
    .locations { grid-template-columns: 1fr; gap: 1rem; }
    .map { height: 380px; }
    .locations__list {
        max-height: 55vh;
        overflow-y: auto;
        padding-right: .25rem;
    }

    .card { grid-template-columns: 1fr; }
    .card__photo-frame { max-width: 320px; margin: 0 auto; }
    .card__photo-tag { position: static; transform: none; margin: 1.25rem auto 0; display: flex; width: fit-content; }

    .contact { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .map { height: 300px; }
    .locations__list { max-height: 60vh; }
    .loc-item { padding: .9rem 1rem; gap: .75rem; }
    .loc-item__pin { width: 34px; height: 34px; }
    .loc-item__main h4 { font-size: .95rem; }
    .loc-item__main p { font-size: .78rem; }
}

@media (max-width: 720px) {
    .nav__links {
        position: fixed;
        inset: 64px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(10,10,10,.97);
        backdrop-filter: blur(16px);
        padding: 2rem var(--gutter);
        gap: 1.5rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        transition: transform .35s var(--ease);
    }
    .nav__links.is-open { transform: translateY(0); }
    .nav__links a { font-size: 1.15rem; }
    .nav__links a.nav__cta { text-align: center; }
    .nav__burger { display: flex; }

    .hero { padding-top: 6rem; }
    .hero__stats { gap: 1.5rem 2.5rem; }
    .hero__scroll { display: none; }

    .card__contacts li { grid-template-columns: 1fr; gap: .25rem; }
}

/* ============================================
   Status badges
   ============================================ */
.status {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    white-space: nowrap;
}
.status--available {
    background: rgba(212, 255, 0, .12);
    color: var(--accent);
    border: 1px solid rgba(212, 255, 0, .35);
}
.status--upcoming {
    background: rgba(255, 94, 58, .12);
    color: var(--danger);
    border: 1px solid rgba(255, 94, 58, .35);
}

.custom-marker--upcoming {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(255, 94, 58, .25), 0 4px 12px rgba(0,0,0,.5);
}

.loc-item__pin--upcoming {
    background: var(--danger);
    color: #fff;
}

/* ============================================
   Realizations CTA
   ============================================ */
.realizations__cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ============================================
   Modal — galeria lokalizacji
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__panel {
    position: relative;
    width: min(960px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transform: translateY(20px) scale(.98);
    transition: transform .35s var(--ease);
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.modal[aria-hidden="false"] .modal__panel {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.modal__close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.modal__head { margin-bottom: 1.75rem; padding-right: 3rem; }
.modal__head h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: .25rem 0 1rem;
}
.modal__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .85rem;
    color: var(--text-dim);
}
.modal__traffic {
    color: var(--text-dim);
    font-size: .95rem;
    border-left: 2px solid var(--accent);
    padding-left: .9rem;
}

.modal__photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-bottom: 2rem;
}
.modal__photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    aspect-ratio: 4 / 3;
}
.modal__photo--lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.modal__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
    .modal__photos { grid-template-columns: 1fr; }
    .modal__photo, .modal__photo--lead { aspect-ratio: 16 / 10; }
}

/* ============================================
   Ticker — biegnący pasek z lokalizacjami
   ============================================ */
.ticker {
    overflow: hidden;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: tickerScroll 38s linear infinite;
    font-family: var(--font-display);
    font-size: clamp(.9rem, 1.4vw, 1.1rem);
    color: var(--text-dim);
    letter-spacing: -.01em;
    white-space: nowrap;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
}
.ticker__item strong { color: var(--text); font-weight: 500; }
.ticker__item .ticker__tag {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    padding: .2rem .55rem;
    border: 1px solid rgba(212, 255, 0, .3);
    border-radius: 999px;
}
.ticker__item--upcoming .ticker__tag {
    color: var(--danger);
    border-color: rgba(255, 94, 58, .3);
}
.ticker__sep {
    color: var(--accent);
    font-size: 1.4em;
    line-height: 0;
    opacity: .6;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; }
    .hero__skyline svg path { animation: none; stroke-dashoffset: 0; }
}

/* ============================================
   Count-up — subtelny shimmer przy liczbach
   ============================================ */
.hero__stats strong {
    background: linear-gradient(90deg, var(--text) 0%, var(--accent) 50%, var(--text) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 1.4s var(--ease);
}
.hero__stats strong.is-counting {
    background-position: 0 0;
}