/* =========================================================
   VIAMIND — Restyle w stylu jeton.com
   Minimalistyczny, fioletowo-pomarańczowy, dużo bieli.
   ========================================================= */

:root {
    /* Fiolet Play — główny kolor marki w UI */
    --purple: #5A2D87;
    --purple-d: #3E1E63;
    --purple-deep: #2D0066;      /* oficjalny Play */
    --purple-2: #8B5CC4;
    --purple-soft: #F2ECF9;

    /* Pomarańcz Viamind — akcent/pop */
    --orange: #F47B20;
    --orange-d: #D85F0A;
    --orange-soft: #FFF2E6;

    /* Neutralne */
    --ink: #190F28;
    --ink-2: #463C57;
    --muted: #76707F;
    --line: #ECE9F2;
    --bg: #FFFFFF;
    --bg-soft: #F8F6FC;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container: 1200px;
    --r: 16px;
    --r-lg: 26px;
    --r-xl: 38px;
    --pill: 999px;

    --shadow-sm: 0 2px 10px rgba(25, 15, 40, .05);
    --shadow: 0 18px 50px -22px rgba(58, 30, 99, .28);
    --shadow-lg: 0 36px 80px -30px rgba(58, 30, 99, .35);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --nav-h: 88px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: transparent;
    overflow-x: clip;                 /* clip (nie hidden) — nie tworzy kontenera scrolla, by działał position: sticky */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Typografia ===== */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
.accent { color: var(--orange); }

/* ===== Etykiety / badge ===== */
.badge, .eyebrow {
    display: inline-block;
    background: var(--purple-soft);
    color: var(--purple);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .01em;
    padding: 8px 16px;
    border-radius: var(--pill);
    margin-bottom: 22px;
}
.eyebrow--light { background: rgba(255,255,255,.14); color: #fff; }

/* ===== Przyciski (pigułki) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 30px;
    border-radius: var(--pill);
    transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
    white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-d); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }

/* ===== Sekcje ===== */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section > .container { position: relative; z-index: 1; }
.section--gray { background: rgba(248, 246, 252, .72); }
.section--dark { background: var(--purple-deep); color: #fff; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin-top: 16px; }
.section__lead--light { color: rgba(255,255,255,.78); }

.section__photo-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section__photo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.section--dark .section__photo-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(45,0,102,.75), rgba(45,0,102,.96));
}
.section__photo-bg--soft img { opacity: .06; }

/* ===== NAV ===== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--purple), var(--orange));
    z-index: 1100; transition: width .1s linear;
}
.nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.8);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__logo img { height: 66px; width: auto; }
.nav__partner { display: inline-flex; align-items: center; padding-left: 16px; border-left: 2px solid rgba(90,45,135,.28); }
.nav__partner img { height: 48px; width: auto; display: block; filter: drop-shadow(0 3px 7px rgba(45,0,102,.22)); }
.nowrap { white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a { font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav__menu a:not(.btn):hover { color: var(--purple); }
.nav__menu a.btn--primary { color: #fff; }

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

/* ===== HERO ===== */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content { max-width: 600px; }
.hero h1 { margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); font-weight: 500; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; }
.hero__visual::before {
    content: ''; position: absolute; z-index: 0;
    inset: -6% -4% -10% 6%;
    background: linear-gradient(150deg, var(--purple-2), var(--purple-deep));
    border-radius: var(--r-xl);
    transform: rotate(3deg);
    opacity: .92;
}
.hero__media {
    position: relative; z-index: 1;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: clamp(48px, 6vw, 80px);
    padding: clamp(28px, 3vw, 40px);
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

/* Efektowny licznik z pierścieniem postępu */
.stat { text-align: center; }
.stat__ring { position: relative; width: clamp(108px, 11vw, 134px); aspect-ratio: 1; margin: 0 auto 14px; }
.stat__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat__track { fill: none; stroke: var(--purple-soft); stroke-width: 8; }
.stat__bar {
    fill: none; stroke: url(#ringGrad); stroke-width: 8; stroke-linecap: round;
    stroke-dasharray: 326.726; stroke-dashoffset: 326.726;
    transition: stroke-dashoffset 1.5s var(--ease);
}
.stat__ring strong {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
    background: linear-gradient(135deg, var(--purple-2), var(--purple) 55%, var(--orange));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }

/* ===== SPLIT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__text { max-width: 540px; }
#o-nas .split__text h2 { margin-bottom: 26px; }   /* większy odstęp tytuł → treść */
#kariera .split__text h2 { margin-bottom: 28px; }   /* większy odstęp tytuł → treść (Współpraca i kariera) */
.lead-p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 14px; }
.lead-p strong { color: var(--purple); }
.split__text p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }

.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--kenburns img { transition: transform 1.2s var(--ease); }
.photo--kenburns:hover img { transform: scale(1.06); }

.float-badge {
    position: absolute; bottom: 20px; left: -16px;
    background: var(--purple); color: #fff;
    padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow);
    max-width: 200px;
}
.float-badge__big { display: block; font-size: 32px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.float-badge span:not(.float-badge__big) { font-size: 13px; color: rgba(255,255,255,.82); }

.mini-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.mini-stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--purple); line-height: 1; }
.mini-stats span { font-size: 13px; color: var(--muted); }

/* ===== WARTOŚCI ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.value {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 32px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; background: linear-gradient(140deg, var(--purple-2), var(--purple) 55%, var(--purple-d)); }
.value:hover h3, .value:hover p { color: #fff; }
.value:hover .value__icon { background: rgba(255,255,255,.18); color: #fff; }
.value__icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--purple-soft); color: var(--purple); margin-bottom: 20px;
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { margin-bottom: 10px; }
.value p { font-size: 15px; color: var(--muted); }

/* ===== KARTY OFERTY ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { height: 190px; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__num { display: none; }
.card h3 { color: var(--ink); margin: 26px 28px 10px; }
.card p { margin: 0 28px; color: var(--muted); font-size: 15px; flex: 1; }
.card__link { display: inline-block; margin: 18px 28px 28px; font-weight: 700; color: var(--purple); }
.card--featured { background: linear-gradient(160deg, var(--purple), var(--purple-deep)); color: #fff; }
.card--featured h3 { color: #fff; }
.card--featured p { color: rgba(255,255,255,.82); }
.card--featured .card__num { color: #fff; opacity: .85; }
.card--featured .card__link { color: #fff; }

/* ===== MAPA ===== */
.map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.map-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.map-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .2s var(--ease); }
.map-tab:hover { border-color: var(--purple); color: var(--purple); }
.map-tab.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.map-tab em { font-style: normal; opacity: .7; font-size: 13px; }
.map-tab .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--salon { background: var(--orange); }
.dot--doradca { background: var(--purple); }
.map-reset { font-size: 14px; font-weight: 600; color: var(--muted); padding: 9px 16px; border-radius: var(--pill); transition: color .2s, background .2s; }
.map-reset:hover { color: var(--purple); background: var(--purple-soft); }
.map { height: 540px; width: 100%; z-index: 1; }

.pin-wrap { background: none; border: none; }
.pin { display: block; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,.3); transition: transform .15s; }
.pin--salon { background: var(--orange); }
.pin--doradca { background: var(--purple); }
.pin-wrap:hover .pin { transform: rotate(-45deg) scale(1.25); }

.popup { font-family: var(--font); min-width: 180px; }
.popup__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; margin-bottom: 8px; }
.popup__tag--salon { background: var(--orange-soft); color: var(--orange-d); }
.popup__tag--doradca { background: var(--purple-soft); color: var(--purple); }
.popup h4 { font-size: 16px; margin-bottom: 4px; }
.popup p { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.popup__woj { text-transform: capitalize; }
.popup__tel, .popup__mail { display: block; font-size: 13px; font-weight: 700; color: var(--purple); margin-top: 4px; }

/* ===== FINDER ===== */
.finder__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 36px; }
.search { position: relative; flex: 1; min-width: 240px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 15px 18px 15px 48px; border: 1px solid var(--line); border-radius: var(--pill); font: inherit; font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.select { padding: 15px 42px 15px 20px; border: 1px solid var(--line); border-radius: var(--pill); font: inherit; font-size: 15px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2376707F' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 18px center; cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.select:focus { outline: none; border-color: var(--purple); }
.finder__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.finder__count strong { color: var(--ink); font-size: 16px; }
.finder__empty { text-align: center; color: var(--muted); padding: 40px 0; }

.finder__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 18px; }
.salon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; animation: fadeInUp .4s var(--ease) both; }
.salon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; background: linear-gradient(140deg, var(--purple-2), var(--purple) 55%, var(--purple-d)); }
.salon-card:hover .salon-card__city, .salon-card:hover .salon-card__street, .salon-card:hover .salon-card__tel { color: #fff; }
.salon-card:hover .salon-card__city svg { color: #fff; }
.salon-card__city { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.salon-card__city svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.salon-card__street { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 6px 0; margin-bottom: 6px; text-decoration: none; transition: color .2s; }
.salon-card__street:hover { color: var(--purple); }
.salon-card__nav { width: 16px; height: 16px; color: var(--orange); flex: none; margin-left: auto; }
.salon-card:hover .salon-card__nav { color: #fff; }
.salon-card__woj { display: inline-block; font-size: 11px; font-weight: 600; text-transform: capitalize; color: var(--purple); background: var(--purple-soft); padding: 3px 11px; border-radius: var(--pill); margin-bottom: 14px; }
.salon-card__tel { display: block; font-weight: 700; font-size: 15px; color: var(--purple); transition: color .2s; }
.salon-card__tel:hover { color: var(--orange); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.woj-group { margin-bottom: 44px; }
.woj-group__title { display: flex; align-items: center; gap: 12px; font-size: 21px; text-transform: capitalize; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--line); }
.woj-group__title::before { content: ''; width: 5px; height: 22px; border-radius: 4px; background: var(--orange); }
.woj-group__title em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--purple); background: var(--purple-soft); padding: 2px 11px; border-radius: var(--pill); }
.doradca-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 16px; }
.doradca-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.doradca-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; background: linear-gradient(140deg, var(--purple-2), var(--purple) 55%, var(--purple-d)); }
.doradca-card:hover .doradca-card__body strong, .doradca-card:hover .doradca-card__city, .doradca-card:hover .doradca-card__tel { color: #fff; }
.doradca-card:hover .avatar { background: #fff; color: var(--purple); }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--purple-2), var(--purple)); }
.doradca-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doradca-card__body strong { font-size: 16px; color: var(--ink); }
.doradca-card__city { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.doradca-card__tel { font-weight: 700; font-size: 14px; color: var(--purple); }

/* ===== BANER (salony) ===== */
.banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px; display: flex; align-items: center; margin-bottom: 52px; box-shadow: var(--shadow); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(45,0,102,.92) 35%, rgba(90,45,135,.7)); }
.banner__content { position: relative; z-index: 1; padding: 40px 44px; color: #fff; }
.banner__content .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.banner__content h2 { color: #fff; margin-bottom: 10px; }
.banner__content p { color: rgba(255,255,255,.85); max-width: 520px; }

/* ===== KARIERA ===== */
.career { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.career__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.career__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.career__item h3 { margin-bottom: 12px; }
.career__who { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.career__item ul { list-style: none; margin-bottom: 22px; }
.career__item li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--ink-2); }
.career__item li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--purple-soft); }
.career__item li::after { content: ''; position: absolute; left: 5px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.career__link { font-weight: 700; color: var(--orange); }
.career__actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.career__link--btn { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font-family: inherit; font-size: inherit; line-height: inherit; }

/* ===== MODALE — ścieżki współpracy ===== */
.cmodal { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 20px; }
.cmodal.is-open { display: flex; }
.cmodal__overlay { position: absolute; inset: 0; background: rgba(20, 8, 36, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cmFade .25s var(--ease); }
.cmodal__dialog { position: relative; z-index: 1; width: min(680px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 90px -22px rgba(45, 0, 102, .5); animation: cmIn .3s var(--ease); }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.cmodal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.cmodal__close:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.cmodal__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: var(--purple-soft); padding: 5px 12px; border-radius: var(--pill); margin-bottom: 14px; }
.cmodal__title { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 10px; }
.cmodal__intro { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-bottom: 26px; }
.cmodal__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.cmodal__cols--2 { grid-template-columns: repeat(2, 1fr); }
.cmodal__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--purple); margin-bottom: 12px; }
.cmodal__col-lead { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.cmodal__col ul { list-style: none; }
.cmodal__col li { position: relative; padding-left: 19px; margin-bottom: 9px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cmodal__col li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.cmodal__contact { background: var(--purple-soft); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 22px; }
.cmodal__contact-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); margin-bottom: 5px; }
.cmodal__contact-links { display: block; margin-top: 4px; }
.cmodal__contact-links a { color: var(--purple); font-weight: 700; }
@media (max-width: 700px) { .cmodal__cols, .cmodal__cols--2 { grid-template-columns: 1fr; gap: 16px; } }

/* ===== KONTAKT / CTA ===== */
.cta { background: rgba(248, 246, 252, .72); }
.cta__inner { position: relative; }
.cta__text { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.cta__text p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; background: linear-gradient(140deg, var(--purple-2), var(--purple) 55%, var(--purple-d)); }
.contact-card:hover .contact-card__label { color: rgba(255,255,255,.82); }
.contact-card:hover strong { color: #fff; }
.contact-card__label { display: block; font-size: 13px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.contact-card strong { font-size: 19px; color: var(--ink); }

.hq { display: grid; grid-template-columns: 340px 1fr; margin-top: 52px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.hq__info { padding: 38px 34px; display: flex; flex-direction: column; gap: 10px; }
.hq__addr { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
.hq__info .btn { align-self: flex-start; }
.hq__map { min-height: 300px; z-index: 1; }
.hq__legal { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.hq__legal > div { display: flex; flex-direction: column; gap: 2px; }
.hq__legal dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--purple); }
.hq__legal dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.hq__legal dd span { font-weight: 500; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ===== HISTORIA SPÓŁKI (oś czasu, rozwijana) ===== */
.history { margin-top: 30px; }
.history__toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 800; font-size: 15px; color: var(--purple); background: var(--purple-soft); border: 1px solid transparent; padding: 13px 22px; border-radius: var(--pill); transition: background .2s var(--ease), color .2s, transform .2s; user-select: none; }
.history__toggle::-webkit-details-marker { display: none; }
.history__toggle:hover { background: var(--purple); color: #fff; transform: translateY(-1px); }
.history__chev { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.history[open] .history__chev { transform: rotate(180deg); }
.history[open] .history__toggle { background: var(--purple); color: #fff; }
.history__body { padding-top: 30px; animation: fadeInUp .45s var(--ease) both; }
.timeline { list-style: none; position: relative; margin: 0; padding: 0 0 0 4px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--purple-2), var(--purple) 60%, var(--orange)); border-radius: 2px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; padding-bottom: 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 7px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--purple); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--purple-2); }
.timeline__year { grid-column: 1; padding-left: 30px; font-weight: 800; font-size: 16px; color: var(--purple); text-transform: uppercase; letter-spacing: .02em; }
.timeline__card { grid-column: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s; }
.timeline__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; background: linear-gradient(140deg, var(--purple-2), var(--purple) 55%, var(--purple-d)); }
.timeline__card h4 { font-size: 16px; color: var(--ink); margin-bottom: 5px; letter-spacing: -.01em; }
.timeline__card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.timeline__card:hover h4, .timeline__card:hover p { color: #fff; }

/* ===== PASEK PARTNER PLAY ===== */
.playband { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--purple) 0%, var(--purple-d) 55%, var(--purple-deep) 100%); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.playband > .container { max-width: none; padding-left: clamp(24px, 2.5vw, 48px); padding-right: clamp(24px, 2.5vw, 48px); }
/* mobile-first: pionowo, wyśrodkowane; na dużym ekranie 25% / 50% / 25% z dzielnikami */
.playband__inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.pb-col { display: flex; align-items: center; justify-content: center; min-width: 0; }
@media (min-width: 1040px) {
    .playband__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
    .pb-col { padding: 10px clamp(18px, 1.8vw, 30px); }
    .pb-col + .pb-col { border-left: 1px solid rgba(255,255,255,.28); }
    .phl { white-space: nowrap; }
}
.playband__brand { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.play-logo-card { background: #fff; padding: 18px 28px; border-radius: 18px; box-shadow: var(--shadow); display: inline-flex; }
.play-logo-card img { height: 56px; width: auto; display: block; }
.playband__badge { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.playband__text { min-width: 0; text-align: center; }
.playband__text h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); }
.play-text { color: #fff; }
.playband__text p { color: rgba(255,255,255,.82); margin: 12px auto 0; max-width: 460px; font-size: 16px; }

/* Formularz „Masz firmę?" — na fioletowym tle paska, białe litery */
.lead-form { width: 100%; max-width: 340px; margin: 0 auto; color: #fff; text-align: center; }
.lead-form__title { font-size: 24px; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.lead-form__sub { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.lead-form__tel { display: flex; align-items: stretch; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; background: rgba(255,255,255,.08); overflow: hidden; text-align: left; transition: border-color .2s, box-shadow .2s, background .2s; }
.lead-form__tel:focus-within { border-color: #fff; background: rgba(255,255,255,.16); box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.lead-form__cc { display: flex; align-items: center; padding: 0 12px 0 16px; font: inherit; font-size: 15px; font-weight: 700; color: #fff; border-right: 1px solid rgba(255,255,255,.4); flex: none; user-select: none; }
.lead-form__tel input { flex: 1; min-width: 0; border: none; background: transparent; padding: 14px 14px; color: #fff; font: inherit; font-size: 15px; }
.lead-form__tel input::placeholder { color: rgba(255,255,255,.7); }
.lead-form__tel input:focus { outline: none; box-shadow: none; }
.lead-form__hint { font-size: 12px; color: rgba(255,255,255,.72); margin: 8px 2px 14px; line-height: 1.45; }
.lead-form__consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; cursor: pointer; }
.lead-form__consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: #fff; }
.lead-form__consent span { font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.82); text-align: left; }
/* Podgląd klauzuli informacyjnej (art. 13) jako dymek — nie powiększa pasa */
.lead-form__consent-wrap { position: relative; margin-bottom: 18px; }
.lead-form__consent-wrap .lead-form__consent { margin-bottom: 0; }
.lead-form__tip-btn { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; padding: 0; margin-left: 5px; border-radius: 50%; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.1); color: #fff; font-size: 10px; font-weight: 700; font-style: italic; line-height: 1; cursor: help; vertical-align: middle; flex: none; transition: background .2s, border-color .2s; }
.lead-form__tip-btn:hover, .lead-form__tip-btn:focus-visible { background: rgba(255,255,255,.28); border-color: #fff; outline: none; }
.lead-form__tip { position: absolute; left: 0; right: 0; bottom: calc(100% + 9px); background: #fff; color: var(--ink); border-radius: 12px; padding: 13px 15px; box-shadow: 0 16px 38px rgba(20,0,40,.32); font-size: 12px; line-height: 1.55; text-align: left; opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; z-index: 60; }
.lead-form__tip::after { content: ""; position: absolute; top: 100%; left: 22px; border: 7px solid transparent; border-top-color: #fff; }
.lead-form__tip a { color: var(--purple-d); font-weight: 600; text-decoration: underline; }
.lead-form__tip.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lead-form__submit { width: 100%; justify-content: center; background: #fff; color: var(--purple); }
.lead-form__submit:hover { background: rgba(255,255,255,.9); color: var(--purple-d); }
.lead-form__status { margin-top: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.lead-form__status--ok { color: #B7F0C9; }
.lead-form__status--err { color: #FFC9C4; }
.lead-form__status--err a { color: #fff; text-decoration: underline; }
.lead-form--done { display: flex; flex-direction: column; justify-content: center; }  /* po wysłaniu: „Dziękujemy" wyśrodkowane w zachowanej wysokości */

/* ===== STOPKA ===== */
.footer { background: linear-gradient(180deg, var(--purple) 0%, var(--purple-d) 45%, var(--purple-deep) 100%); color: rgba(255,255,255,.72); padding-top: 84px; }
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 15px; line-height: 1.6; }
.footer__col h4 { color: #fff; margin-bottom: 18px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.footer__col a, .footer__col span { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__ext::after { content: '↗'; font-size: 11px; margin-left: 5px; opacity: .6; }
.footer__pdf::before { content: 'PDF'; display: inline-block; font-size: 9px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 4px; padding: 1px 5px; margin-right: 8px; vertical-align: middle; }
.footer__rodo { border-top: 1px solid rgba(255,255,255,.12); padding: 36px 0; }
.footer__rodo-title { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer__rodo-title a { color: inherit; transition: color .2s; }
.footer__rodo-title a:hover { color: var(--orange); }
.footer__rodo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 28px; }
.footer__rodo-grid a { font-size: 14px; color: rgba(255,255,255,.7); padding: 4px 0; transition: color .2s; }
.footer__rodo-grid a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; font-size: 13px; color: rgba(255,255,255,.55); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom a:hover { color: #fff; }
.footer__credit { opacity: .55; font-size: 12px; }
.footer__credit a { text-decoration: underline; }
.footer__cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.footer__cookie-btn:hover { color: #fff; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(56px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal--left { transform: translateX(-70px); }
.reveal--right { transform: translateX(70px); }
.reveal--zoom { transform: scale(.86); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
    .values { grid-template-columns: repeat(2, 1fr); }
    .cards, .career, .contact-grid { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
    /* backdrop-filter na .nav tworzy blok bazowy dla position:fixed — wyłączamy na mobile,
       żeby menu pozycjonowało się względem OKNA, nie paska nav */
    .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.97); }
    .nav__menu {
        position: fixed; inset: var(--nav-h) 0 0 0; z-index: 1000;
        flex-direction: column; background: #fff; padding: 28px 24px; gap: 6px;
        align-items: stretch; overflow-y: auto; border-top: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-6px);
        transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    }
    .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__menu a { padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav__menu .btn { margin-top: 16px; align-self: flex-start; padding: 13px 28px; font-size: 16px; border-bottom: 0; }
    .nav__toggle { display: flex; }

    .hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .hero__visual { order: -1; max-width: 460px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse { direction: ltr; }
    .hq { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .nav { --nav-h: 72px; }
    .nav__logo img { height: 46px; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; }
    .values { grid-template-columns: 1fr; }
    .map { height: 420px; }
    .finder__count { width: 100%; }
    .float-badge { left: 10px; bottom: 10px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .banner__content { padding: 30px 24px; }
}

/* =========================================================
   RUCH / ANIMACJE (premium, w duchu jetonbank)
   ========================================================= */

/* Tło całej strony — miękka poświata + smugi światła
   (zastąpiło dawne dryfujące, fioletowo-pomarańczowe orby) */
.page-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #fff; pointer-events: none; }
.page-bg::after {                      /* jedna spokojna poświata u góry zamiast kolorowych plam */
    content: ''; position: absolute; left: 50%; top: -34vh; width: 130vw; height: 74vh;
    transform: translateX(-50%);
    background: radial-gradient(50% 60% at 50% 42%, rgba(90, 45, 135, .16), transparent 70%);
    animation: bgGlow 14s ease-in-out infinite;
}
@keyframes bgGlow { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.beam {                                /* pionowe smugi światła, ledwo zauważalne, powolny dryf
                                          (miękkie krawędzie maską zamiast filter: blur — dużo tańsze dla GPU) */
    position: absolute; top: -20vh; height: 140vh; width: 22vw;
    background: linear-gradient(180deg, transparent, rgba(90, 45, 135, .10) 30%, rgba(139, 92, 196, .145) 50%, rgba(90, 45, 135, .075) 70%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent);
    transform: rotate(16deg); will-change: transform, opacity;
}
.beam--1 { left: 14vw; animation: beamDrift 27s ease-in-out infinite; }
.beam--2 { right: 6vw; width: 14vw; animation: beamDrift 34s ease-in-out infinite reverse; }
@keyframes beamDrift {
    0%, 100% { transform: rotate(16deg) translateX(0); opacity: .7; }
    50% { transform: rotate(16deg) translateX(5vw); opacity: 1; }
}
.page-bg__grain { position: absolute; inset: 0; opacity: .025; background-image: radial-gradient(rgba(25,15,40,.6) 1px, transparent 1px); background-size: 4px 4px; }

/* =========================================================
   TŁA DEKORACYJNE JASNYCH SEKCJI — rozbijają zbyt białe pola
   (warstwa .sect-bg wpięta jako pierwsze dziecko sekcji, pod .container z-index:1)
   ========================================================= */
.sect-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* R — łuk asymetryczny, prawy górny róg (np. #o-nas) */
.sect-bg--arc-tr::before {
    content: ''; position: absolute; right: -34vw; top: -44vw;
    width: 92vw; height: 92vw; border-radius: 50%;
    background: radial-gradient(closest-side,
        transparent 86%, rgba(90,45,135,.05) 88%,
        rgba(90,45,135,.24) 93.5%, rgba(244,123,32,.15) 95%, transparent 97.5%);
}
.sect-bg--arc-tr::after {
    content: ''; position: absolute; right: -12vw; top: -16vw;
    width: 56vw; height: 56vw;
    background: radial-gradient(circle, rgba(90,45,135,.08), transparent 66%);
}

/* Q — łuk od dołu, wschód pod treścią (np. #kariera) — szeroka, spłaszczona elipsa */
.sect-bg--arc-b::before {
    content: ''; position: absolute; left: 50%; bottom: -30vw;
    width: 160vw; height: 78vw; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side,
        transparent 82%, rgba(90,45,135,.05) 84%,
        rgba(90,45,135,.22) 92%, rgba(244,123,32,.14) 94.5%, transparent 97.5%);
}
.sect-bg--arc-b::after {
    content: ''; position: absolute; left: 50%; bottom: -6vh;
    width: 120vw; height: 44vh; transform: translateX(-50%);
    background: radial-gradient(50% 70% at 50% 86%, rgba(90,45,135,.11), transparent 70%);
}

/* M — panorama miasta przy dolnej krawędzi (np. #salony) */
.sect-bg--city::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 300px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.72) 52%, rgba(242,236,249,.66)),
        url('assets/img/city5g.jpg') center 20% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
            mask-image: linear-gradient(180deg, transparent, #000 60%);
}

@media (max-width: 720px) {
    .sect-bg--city::after { height: 200px; }
    .sect-bg--arc-tr::before { right: -60vw; top: -60vw; width: 150vw; height: 150vw; }
}

/* Dryfujące „aury" w tle hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #FBF8FE 0%, #FDF7F2 100%); }
.hero__video {                        /* tło wideo (neonowe cyfry) — przebarwione na fiolet */
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
    opacity: .38; filter: hue-rotate(72deg) saturate(1.05) brightness(1.06);
}
.hero::before {                       /* jasny welon — czytelność tekstu po lewej */
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.4) 38%, rgba(255,255,255,.08) 74%);
}
.hero > .container { position: relative; z-index: 2; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(52px,40px) scale(1.16); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,46px) scale(1.12); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(58px,-42px) scale(1.2); } }
@keyframes drift4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-48px,-32px) scale(1.14); } }

/* Pływający telefon + panel */
.hero__media { animation: floaty 6.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__visual::before { animation: floaty2 8s ease-in-out infinite; }
@keyframes floaty2 { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(12px); } }

/* Wskaźnik scrollowania */
.hero__scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; }
.mouse { display: block; width: 26px; height: 42px; border: 2px solid var(--purple); border-radius: 14px; opacity: .6; transition: opacity .2s; }
.hero__scroll:hover .mouse { opacity: 1; }
.mouse__dot { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 2px; background: var(--purple); transform: translateX(-50%); animation: mouseScroll 1.7s ease-in-out infinite; }
@keyframes mouseScroll { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,14px); } }

/* Ticker (ruchomy pasek) */
.ticker { position: relative; overflow: hidden; height: 64px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker__col { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.ticker__row { height: 64px; display: flex; align-items: center; justify-content: space-evenly; gap: 8px; padding: 0 22px; }
.ticker__city { font-family: 'Space Grotesk', var(--font), sans-serif; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 700px) { .ticker { height: 56px; } .ticker__row { height: 56px; padding: 0 14px; } .ticker__city { font-size: 15px; } }

/* Mikro-interakcje hover */
.card__link, .career__link { display: inline-block; transition: transform .2s var(--ease), color .2s; }
.card__link:hover, .career__link:hover { transform: translateX(5px); }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ''; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn--primary:hover::after { left: 125%; }
.value__icon { transition: transform .35s var(--ease); }
.value:hover .value__icon { transform: translateY(-4px) rotate(-6deg); }
.contact-card__label, .map-tab, .salon-card__tel { transition: all .2s var(--ease); }

/* Stagger przy odsłanianiu (opóźnienia ustawiane w JS) */

@media (max-width: 600px) {
    .aura { filter: blur(48px); }
    .aura--2 { display: none; }
    .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .aura, .ticker__col, .hero__media, .hero__visual::before { animation: none !important; }
    .hero__video { display: none; }
}

/* =========================================================
   MAPA WOJEWÓDZTW — dymki (tooltip) + legenda
   ========================================================= */
.leaflet-interactive { cursor: pointer; }
.leaflet-tooltip.woj-tip-wrap { background: transparent; border: none; box-shadow: none; padding: 0; }
.leaflet-tooltip.woj-tip-wrap::before { display: none !important; }

.woj-tip {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow); padding: 14px 16px; min-width: 210px; max-width: 270px;
    font-family: var(--font); white-space: normal;
    animation: tipIn .18s var(--ease);
}
@keyframes tipIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.woj-tip__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.woj-tip__head strong { font-size: 16px; color: var(--ink); text-transform: capitalize; letter-spacing: -.01em; }
.woj-tip__head em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--purple); background: var(--purple-soft); padding: 3px 10px; border-radius: var(--pill); white-space: nowrap; }
.woj-tip__list { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 7px; max-height: 210px; overflow: auto; }
.woj-tip__list li { display: flex; flex-direction: column; line-height: 1.25; }
.woj-tip__list li b { font-size: 13px; color: var(--ink); font-weight: 700; }
.woj-tip__list li span { font-size: 12px; color: var(--muted); }
.woj-tip__more { font-size: 12px; color: var(--purple); font-weight: 700; }
.woj-tip__empty { font-size: 13px; color: var(--muted); margin: 2px 0 4px; }
.woj-tip__foot { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.map-legend {
    background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-sm); padding: 10px 12px; font-size: 12px; color: var(--ink-2); line-height: 1.6;
}
.map-legend__title { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.map-legend__row { display: flex; align-items: center; gap: 8px; }
.map-legend__row i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* =========================================================
   MAPA-GWIAZDA (pełnoekranowa, SVG)
   ========================================================= */
.starmap-section { padding-bottom: clamp(40px, 6vw, 72px); }
.starmap-toolbar { display: flex; justify-content: center; margin-top: 6px; }
.starmap-toggle { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 5px; box-shadow: var(--shadow-sm); }
.starmap-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--pill); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background .2s var(--ease), color .2s; }
.starmap-tab .dot { width: 10px; height: 10px; border-radius: 50%; }
.starmap-tab em { font-style: normal; opacity: .65; }
.starmap-tab.is-active { background: var(--purple); color: #fff; }
.starmap-tab.is-active em { opacity: .85; }

.starmap { position: relative; width: 100%; margin-top: 22px; perspective: 1500px; }
/* lekki przechył + cień = slab 3D (ścianka boczna rysowana w SVG jako .starmap__depth) */
.starmap__svg { max-width: 1200px; margin: 0 auto; }   /* bez przechyłu 3D — etykiety pozostają proste; głębię daje ekstruzja + cień */
.starmap__depth path { stroke: none; }
.starmap__svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: manipulation; }
.starmap__svg foreignObject { overflow: visible; }
.starmap__lines, .starmap__svg foreignObject, .star-origin { pointer-events: none; }

.region { fill: #E7DEF2; stroke: #fff; stroke-width: 1.4; cursor: pointer; transition: fill .25s var(--ease), filter .2s; }
.region:hover { filter: brightness(1.07); }
.region.is-active { stroke: var(--orange); stroke-width: 2.6; filter: drop-shadow(0 6px 16px rgba(90,45,135,.45)); }
/* desktop: najechane/kliknięte województwo wypełnione na pomarańczowo (fill ustawiany w JS — inline) — tu tylko obrys */
@media (min-width: 761px) {
    .region.is-active { stroke: #fff; stroke-width: 1.8; }
}

.star-line { stroke: var(--purple); stroke-width: 1.6; opacity: .65; }
.star-origin { fill: var(--orange); transform-box: fill-box; transform-origin: center; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.55); opacity: .55; } }

.star-label {
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange);
    border-radius: 10px; box-shadow: 0 10px 26px -10px rgba(58,30,99,.45);
    padding: 8px 12px; font-family: var(--font); line-height: 1.28; overflow: hidden;
}
.star-label strong { display: block; font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
.star-label span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star-label span:last-child { color: var(--purple); font-weight: 700; }
.star-label--empty { border-left-color: var(--purple); text-align: center; }
.star-label--empty span:last-child { color: var(--muted); font-weight: 500; white-space: normal; }

.starmap__back { display: none; }

.starmap__hint {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--pill);
    padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted);
    pointer-events: none; transition: opacity .3s; white-space: nowrap;
}
.starmap__hint.is-hidden { opacity: 0; }
.starmap__tap { display: none; }
@media (max-width: 760px) {
    .starmap__hint { display: none; }
    .starmap__tap {
        display: block; width: max-content; max-width: 90%; margin: 16px auto 0; text-align: center;
        font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
        background: var(--purple-soft); border-radius: var(--pill); padding: 9px 20px;
    }
    /* przybliżone województwo (mobile): przytnij wylewającą się resztę mapy + przycisk powrotu */
    .starmap.zoomed .starmap__svg { overflow: hidden; border-radius: var(--r-lg); background: #fff; }
    .starmap.zoomed .starmap__tap { display: none; }
    .starmap.zoomed .starmap__back {
        display: inline-flex; align-items: center; gap: 6px;
        position: absolute; left: 12px; top: 12px; z-index: 6;
        background: var(--purple); color: #fff; border: 0; border-radius: var(--pill);
        font-size: 12.5px; font-weight: 800; letter-spacing: .02em; padding: 8px 14px 8px 11px;
        box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); cursor: pointer;
    }
    /* etykiety w zoomie: tekst i padding skalowane przez --zs → stały rozmiar na ekranie */
    .starmap.zoomed .star-label { padding: calc(3.5px * var(--zs, 1)) calc(9px * var(--zs, 1)); border-radius: calc(8px * var(--zs, 1)); border-left-width: calc(3px * var(--zs, 1)); line-height: 1.15; }
    .starmap.zoomed .star-label strong { font-size: calc(10px * var(--zs, 1)); }
    .starmap.zoomed .star-label span { font-size: calc(8.5px * var(--zs, 1)); }
}

@media (max-width: 600px) {
    .star-label strong { font-size: 13px; }
    .star-label span { font-size: 11px; }
}

/* =========================================================
   PASY WIDEO (tło filmowe)
   ========================================================= */
.videoband { position: relative; overflow: hidden; min-height: clamp(420px, 58vh, 600px); display: flex; align-items: center; }
.videoband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.videoband__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(45,0,102,.88), rgba(45,0,102,.55) 58%, rgba(90,45,135,.42)); }
.videoband--alt .videoband__overlay { background: linear-gradient(105deg, rgba(25,15,40,.88), rgba(45,0,102,.5)); }
.videoband__content { position: relative; z-index: 2; color: #fff; max-width: 660px; padding-top: 48px; padding-bottom: 48px; }
.videoband__content .badge { background: rgba(255,255,255,.16); color: #fff; }
.videoband__content h2 { color: #fff; }
.videoband__content p { color: rgba(255,255,255,.86); font-size: 18px; margin: 16px 0 28px; }
@media (prefers-reduced-motion: reduce) { .videoband__video { display: none; } .videoband { background: var(--purple-deep); } }

/* =========================================================
   AKORDEON (salony / doradcy po województwach)
   ========================================================= */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s; }
.accordion__item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.accordion__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 22px; text-align: left; font: inherit; transition: background .2s; }
.accordion__head:hover { background: var(--bg-soft); }
.accordion__name { font-weight: 800; font-size: 18px; color: var(--ink); text-transform: capitalize; letter-spacing: -.01em; }
.accordion__count { font-size: 13px; font-weight: 700; color: var(--purple); background: var(--purple-soft); padding: 3px 11px; border-radius: var(--pill); }
.accordion__chev { width: 20px; height: 20px; color: var(--muted); margin-left: auto; flex: none; transition: transform .3s var(--ease), color .2s; }
.accordion__item.is-open .accordion__chev { transform: rotate(180deg); color: var(--purple); }
.accordion__panel { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .35s var(--ease); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; min-height: 0; }
.accordion__body { padding: 4px 22px 22px; }

/* =========================================================
   DEKORACJA SEKCJI MAPY (żeby nie była pusta)
   ========================================================= */
.starmap__svg { position: relative; z-index: 1; }
.starmap__decor { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: var(--r-lg); }
.starmap__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; filter: blur(2px) saturate(.95); }
.starmap__photo-veil { position: absolute; inset: 0; background: radial-gradient(ellipse 58% 68% at center, rgba(248,246,252,.72) 0%, rgba(248,246,252,.3) 52%, rgba(248,246,252,.05) 100%); }
.starmap__blob { position: absolute; border-radius: 50%; filter: blur(72px); }
.starmap__blob--1 { width: 42%; height: 70%; left: -8%; top: -12%; background: radial-gradient(circle, rgba(139,92,196,.38), transparent 70%); }
.starmap__blob--2 { width: 40%; height: 64%; right: -8%; bottom: -14%; background: radial-gradient(circle, rgba(244,123,32,.30), transparent 70%); }
.starmap__radar {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(78%, 760px); aspect-ratio: 1; border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 41px, rgba(90,45,135,.08) 41px 42px);
    -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 72%);
    mask-image: radial-gradient(circle, #000 38%, transparent 72%);
    animation: spin 60s linear infinite;
}
.starmap__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(90,45,135,.14) 1.3px, transparent 1.3px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    opacity: .5;
}
.starmap__chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--pill);
    padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2);
    box-shadow: var(--shadow-sm); white-space: nowrap;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    animation: floaty 7s ease-in-out infinite;
}
.starmap__chip strong { color: var(--purple); font-weight: 800; font-size: 16px; }
.starmap__chip--1 { top: 11%; left: 3%; animation-delay: 0s; }
.starmap__chip--2 { top: 17%; right: 4%; animation-delay: .8s; }
.starmap__chip--3 { bottom: 19%; left: 4%; animation-delay: 1.4s; }
.starmap__chip--4 { bottom: 11%; right: 3%; animation-delay: .4s; }
.starmap.star-active .starmap__chip { opacity: 0; transform: scale(.92); }
@media (max-width: 820px) { .starmap__chip--2, .starmap__chip--3 { display: none; } .starmap__chip { font-size: 12px; padding: 8px 13px; } }

/* =========================================================
   POD-SCENE — pinowana scena „smartfony Play"
   (efekt jak sofihealth.com przy scrollu 21–34%:
    pin + inwersja tła biel→fiolet, obrót/skala produktu,
    wjazdy etykiet cech, kinetyczny nagłówek)
   ========================================================= */
.podscene { position: relative; height: 980vh; }
.podscene__sticky {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.podscene__bg {
    position: absolute; inset: 0; z-index: 0;
    /* inwersja koloru sterowana zmienną --pbg z JS (0=biel → 1=głęboki fiolet) */
    background: color-mix(in oklab, #ffffff, #160630 calc(var(--pbg, 0) * 100%));
    will-change: background;
}

/* kinetyczny nagłówek */
.podscene__kinetic {
    position: absolute; left: 0; right: 0; top: 50%; z-index: 1;
    transform: translateY(-50%);
    pointer-events: none; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.podscene__kinetic-row { display: flex; white-space: nowrap; will-change: transform; }
.podscene__kinetic-row span {
    font-size: clamp(56px, 13vw, 188px); font-weight: 900; letter-spacing: -.03em;
    line-height: .95; padding-right: .12em;
    color: color-mix(in srgb, rgba(45,0,102,.12), rgba(255,255,255,.08) calc(var(--pbg, 0) * 100%));
}

/* intro */
.podscene__intro {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 4; text-align: center; width: min(820px, 90%);
    will-change: opacity, transform;
}
.podscene__intro .badge { background: var(--purple-soft); color: var(--purple); }
.podscene__title { font-size: clamp(34px, 6.4vw, 78px); line-height: 1.03; letter-spacing: -.03em; color: var(--ink); }

/* gdy działa WebGL (phone3d.js), ściany CSS są ukryte — canvas je zastępuje */
.podscene--webgl .phone__spin { visibility: hidden; }
.phone__canvas {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* smartfon — pełne 3D (iPhone 17 Pro Max „Cosmic Orange"), obrót wokół własnej osi */
.phone {
    position: absolute; left: 50%; top: 50%; z-index: 3;
    opacity: 0; will-change: transform, opacity;
    transform: translate(-50%, -50%) scale(.62);
    perspective: 1700px;
    cursor: pointer;                  /* telefon jest linkiem do idream.pl */
}
.phone__canvas { cursor: pointer; }
.phone__spin {
    position: relative; width: 234px; height: 474px;
    transform-style: preserve-3d; will-change: transform;
    transform: rotateX(6deg) rotateY(0deg);
}
/* każda ściana wycentrowana w bryle (inset:0 + margin:auto), widoczna tylko od zewnątrz */
.phone__face { position: absolute; inset: 0; margin: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* FRONT — ekran z logo */
.phone__front {
    width: 234px; height: 474px; border-radius: 46px;
    background: linear-gradient(150deg, #f79a4c, #c8590f);   /* pomarańczowa ramka */
    transform: translateZ(14px);
    box-shadow: 0 42px 90px -34px rgba(0, 0, 0, .6);
}
.phone__screen {
    position: absolute; inset: 6px; border-radius: 40px; overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, #f4f1fb 60%, #ece5f7 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 3px #08070c;                      /* czarny bezel */
}
.phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .5), transparent 40%); pointer-events: none; }
.phone__island { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #050507; border-radius: 999px; z-index: 3; }
.phone__logo { position: relative; width: 72%; }

/* TYŁ — pomarańczowa obudowa iPhone'a z wyspą aparatu */
.phone__back {
    width: 234px; height: 474px; border-radius: 46px;
    background: linear-gradient(150deg, #f79447 0%, #db6a22 46%, #b44d12 100%);
    transform: rotateY(180deg) translateZ(14px);
    overflow: hidden;
}
.phone__back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .3), transparent 42%); pointer-events: none; }
.phone__plateau {
    position: absolute; top: 24px; left: 18px; right: 18px; height: 96px;
    border-radius: 30px; padding: 0 22px;
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(155deg, #c25d14, #7e3707);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35), inset 0 1px 2px rgba(255, 255, 255, .22);
}
.phone__lens {
    width: 32px; height: 32px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #565663, #07070d 72%);
    box-shadow: inset 0 0 0 3px #1c1c24, 0 0 0 2px rgba(0, 0, 0, .35), inset 0 0 6px rgba(120, 160, 255, .25);
}
.phone__flash { width: 14px; height: 14px; border-radius: 50%; margin-left: auto; background: radial-gradient(circle at 40% 35%, #fff4d6, #b98f3e); box-shadow: 0 0 7px rgba(255, 220, 150, .6); }

/* KRAWĘDZIE — grubość bryły */
.phone__edge { background: linear-gradient(180deg, #f5934e 0%, #cf6320 50%, #a8480f 100%); }
.phone__edge--l { width: 28px; height: 474px; border-radius: 8px; transform: rotateY(-90deg) translateZ(117px); }
.phone__edge--r { width: 28px; height: 474px; border-radius: 8px; transform: rotateY(90deg) translateZ(117px); }
.phone__edge--t { width: 234px; height: 28px; border-radius: 8px; transform: rotateX(90deg) translateZ(237px); }
.phone__edge--b { width: 234px; height: 28px; border-radius: 8px; transform: rotateX(-90deg) translateZ(237px); }
.phone__key { position: absolute; left: 4px; right: 4px; border-radius: 3px; background: linear-gradient(180deg, #9c440e, #6f2f06); }
.phone__key--pwr { top: 150px; height: 64px; }
.phone__key--vol { top: 120px; height: 46px; }
.phone__key--vol2 { top: 176px; height: 46px; }

/* miękki cień „na podłodze" pod telefonem */
.phone__shadow {
    position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%);
    width: 60%; height: 42px; z-index: -2; opacity: 0; will-change: opacity;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent 75%);
    filter: blur(14px);
}
.phone__glow {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 175%; height: 175%; z-index: -1; opacity: 0; will-change: opacity;
    background: radial-gradient(closest-side, rgba(244, 123, 32, .55), rgba(139, 92, 196, .3) 46%, transparent 72%);
    filter: blur(24px);
}

/* etykiety cech */
.feat {
    position: absolute; z-index: 5; width: min(322px, 30vw); color: #fff;
    opacity: 0; will-change: opacity, transform;
}
.feat__icon {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border-radius: 13px; background: rgba(244, 123, 32, .18); color: var(--orange); margin-bottom: 16px;
}
.feat__icon svg { width: 23px; height: 23px; }
.feat__line { display: block; height: 2px; width: 100%; background: currentColor; opacity: .3; transform: scaleX(0); transform-origin: left center; margin-bottom: 18px; }
.feat__title { font-size: clamp(22px, 2.4vw, 33px); letter-spacing: -.02em; margin-bottom: 11px; color: #fff; }
.feat__desc { font-size: 15px; line-height: 1.55; color: #fff; opacity: .76; }

.feat--tl { left: 6%; top: 15%; text-align: left; }
.feat--bl { left: 6%; bottom: 13%; text-align: left; }
.feat--tr { right: 6%; top: 15%; text-align: right; }
.feat--br { right: 6%; bottom: 13%; text-align: right; }
.feat--tr .feat__icon, .feat--br .feat__icon { margin-left: auto; }
.feat--tr .feat__line, .feat--br .feat__line { transform-origin: right center; }

.feat.is-in { animation: featIn .7s var(--ease) forwards; }
.feat.is-in .feat__line { animation: lineDraw .85s var(--ease) .08s forwards; }
@keyframes featIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes lineDraw { to { transform: scaleX(1); } }

/* Tylko przy ograniczonym ruchu: statyczny, ułożony pionowo wariant (bez pinowania i scrubowania). */
@media (prefers-reduced-motion: reduce) {
    .podscene { height: auto; }
    .podscene__sticky { position: relative; height: auto; overflow: visible; flex-direction: column; gap: 40px; padding: clamp(72px, 11vw, 110px) 22px; }
    .podscene__bg { --pbg: 1; }
    .podscene__kinetic { display: none; }
    .podscene__intro { position: static; transform: none; opacity: 1; width: min(640px, 92%); }
    .podscene__intro .podscene__title { color: #fff; }
    .phone { position: static; transform: none; opacity: 1; margin: 0 auto; }
    .phone__spin { transform: none; }
    .feat {
        position: static; opacity: 1; transform: none;
        width: min(420px, 90%); margin: 0 auto; text-align: left;
        animation: none;
    }
    .feat__icon { margin-left: 0; }
    .feat__line { transform: scaleX(1); animation: none; transform-origin: left center; }
    .feat--tr, .feat--br { text-align: left; }
}

/* Telefon/tablet: ta sama pinowana scena, ale mniejszy telefon i ciaśniejsze etykiety,
   by obrócony telefon (w środku) nie nachodził na teksty w rogach. */
@media (max-width: 1023px) {
    .podscene { height: 720vh; }
    /* !important — nadpisuje inline style width/height ustawiane przez Three.js */
    .phone__canvas { width: 88vw !important; height: auto !important; }
    .phone__frame { width: 150px; height: 304px; border-radius: 30px; }  /* fallback CSS bez WebGL */
    .feat { width: 41vw; }
    .feat--tl, .feat--tr { top: 13%; }
    .feat--bl, .feat--br { bottom: 6%; }
    .feat__icon { width: 36px; height: 36px; margin-bottom: 9px; }
    .feat__icon svg { width: 19px; height: 19px; }
    .feat__line { margin-bottom: 11px; }
    .feat__title { font-size: clamp(15px, 4.1vw, 22px); margin-bottom: 7px; }
    .feat__desc { font-size: 12px; line-height: 1.45; }
    .podscene__title { font-size: clamp(28px, 8vw, 46px); }
}

@media (max-width: 560px) {
    .feat__desc { display: none; }                           /* na wąskich ekranach zostaw ikonę + tytuł + kreskę */
    .feat { width: 40vw; }
    .phone__canvas { width: 82vw !important; }
}

/* =========================================================
   BANER COOKIES (UE / RODO)
   ========================================================= */
.cookie-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    padding: 0 20px 20px; pointer-events: none;
    opacity: 0; transform: translateY(20px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-bar.is-visible { opacity: 1; transform: none; }
.cookie-bar__inner {
    pointer-events: auto; max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: 0 24px 60px -20px rgba(45, 0, 102, .38);
    padding: 20px 26px;
}
.cookie-bar__text { flex: 1 1 380px; }
.cookie-bar__text strong { display: block; font-weight: 800; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.cookie-bar__text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cookie-bar__text a { color: var(--purple-d); font-weight: 600; }
.cookie-bar__actions { display: flex; gap: 12px; flex: none; }
@media (max-width: 620px) {
    .cookie-bar { padding: 0 12px 12px; }
    .cookie-bar__inner { padding: 18px; gap: 14px; }
    .cookie-bar__actions { width: 100%; }
    .cookie-bar__actions .btn { flex: 1; justify-content: center; }
}
