/* =====================================================================
   LAM English — Kariera, Regulamin, Polityka prywatności (rozszerza blog.css)
   ===================================================================== */

/* ---------- Wspólne: elementy sceny 3D ---------- */
.prop { position: absolute; transform-style: preserve-3d; }
.prop > * { animation: float 10s ease-in-out infinite; }
.prop:nth-child(2n) > * { animation-duration: 12s; animation-delay: -4s; }
.prop:nth-child(3n) > * { animation-duration: 14s; animation-delay: -7s; }

.tile {
    display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 14px 16px;
    box-shadow: var(--shadow-lift); border: 1px solid rgba(11,42,30,.06);
    font: 600 .95rem/1.25 var(--font-head); color: var(--ink);
}
.tile small { display: block; font: 500 .78rem/1.3 var(--font-body); color: var(--muted); }
.tile__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; font-size: 1.1rem; flex: none; background: var(--green); }
.tile__icon--blue { background: var(--cat-grammar); }
.tile__icon--orange { background: var(--orange); }
.tile__icon--navy { background: var(--cat-business); }
.tile__icon--teal { background: var(--cat-tips); }

.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.meta-chips li {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
    padding: 9px 14px; border-radius: 999px; font: 500 .88rem/1.2 var(--font-head); color: var(--ink-soft);
}
.meta-chips i { color: var(--green); }

/* ---------- Regulamin: stos dokumentów ---------- */
.sheet {
    position: absolute; width: 58%; aspect-ratio: 3 / 4; border-radius: 22px; background: #fff;
    border: 1px solid rgba(11,42,30,.07); box-shadow: 0 30px 60px -30px rgba(11,42,30,.45);
    padding: 26px 24px; overflow: hidden;
}
.sheet::before { /* linie tekstu */
    content: ''; position: absolute; left: 24px; right: 24px; top: 74px; bottom: 26px;
    background: repeating-linear-gradient(to bottom, #E7ECE8 0 8px, transparent 8px 22px);
    -webkit-mask: linear-gradient(90deg, #000 70%, transparent 100%); mask: linear-gradient(90deg, #000 70%, transparent 100%);
}
.sheet__title { position: relative; font: 700 1.05rem/1.2 var(--font-head); color: var(--ink); }
.sheet__title span { display: block; margin-top: 6px; width: 42%; height: 6px; border-radius: 6px; background: var(--green); opacity: .8; }
.sheet--1 { left: 22%; top: 6%; transform: translateZ(-40px) rotateZ(-7deg); opacity: .75; }
.sheet--2 { left: 26%; top: 8%; transform: translateZ(0) rotateZ(-2deg); opacity: .9; }
.sheet--3 { left: 30%; top: 10%; transform: translateZ(50px) rotateZ(3deg); }
.seal { right: 10%; bottom: 10%; transform: translateZ(150px) rotateZ(-10deg); }
.seal__inner {
    display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #4CB27A, var(--green) 60%, #1F6B43);
    color: #fff; font-size: 2.2rem; box-shadow: 0 24px 40px -16px rgba(31,107,67,.75), inset 0 -6px 0 rgba(0,0,0,.12);
    border: 4px solid #fff;
}
.t-groups { left: 0; top: 14%; transform: translateZ(110px) rotateZ(-4deg); }
.t-notice { right: 0; top: 40%; transform: translateZ(130px) rotateZ(3deg); }
.t-solo { left: 4%; bottom: 6%; transform: translateZ(80px) rotateZ(-2deg); }

/* ---------- Polityka prywatności: tarcza ---------- */
.shield { left: 30%; top: 14%; transform: translateZ(40px); }
.shield__inner {
    position: relative; display: grid; place-items: center; width: 190px; height: 220px;
    background: linear-gradient(160deg, #3BA56A 0%, var(--green) 45%, #1F6B43 100%);
    clip-path: path('M95 0 L190 34 L190 110 C190 170 145 205 95 220 C45 205 0 170 0 110 L0 34 Z');
    filter: drop-shadow(0 30px 40px rgba(31,107,67,.45));
}
.shield__inner::before { /* połysk */
    content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28) 0 38%, transparent 38%);
}
.shield__inner i { position: relative; color: #fff; font-size: 4rem; text-shadow: 0 8px 18px rgba(0,0,0,.2); }
.data-card { right: 0; top: 4%; transform: translateZ(120px) rotateZ(4deg); }
.data-card .tile { display: block; min-width: 220px; }
.data-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px dashed var(--line); font: 500 .88rem/1.2 var(--font-body); color: var(--ink-soft); }
.data-row:last-child { border-bottom: 0; }
.data-row b { font: 700 .9rem/1 var(--font-head); color: var(--ink); letter-spacing: .12em; }
.data-row i { color: var(--green); font-size: .8rem; }
.t-cookie { left: 0; top: 10%; transform: translateZ(100px) rotateZ(-5deg); }
.t-rights { right: 6%; bottom: 6%; transform: translateZ(140px) rotateZ(-3deg); }
.lock { left: 12%; bottom: 10%; transform: translateZ(170px) rotateZ(10deg); color: var(--orange); font-size: 2.4rem; filter: drop-shadow(0 14px 18px rgba(221,107,32,.35)); }

/* ---------- Kariera: lekcja online ---------- */
.call { left: 16%; top: 12%; width: 64%; transform: translateZ(30px) rotateZ(-2deg); }
.call__win { background: var(--ink); border-radius: 22px; padding: 12px; box-shadow: 0 40px 70px -30px rgba(11,42,30,.7); }
.call__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.call__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.call__bar em { margin-left: auto; font: 600 .72rem/1 var(--font-head); font-style: normal; color: #A7C4B4; letter-spacing: .08em; text-transform: uppercase; }
.call__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.call__person { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(160deg, #1E4A37, #133528); }
.call__person:nth-child(2) { background: linear-gradient(160deg, #283F6B, #1B2C4D); }
.call__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--green-text); font: 700 1.1rem/1 var(--font-head); }
.call__person:nth-child(2) .call__avatar { background: #E3E7FA; color: var(--cat-grammar); }
.call__name { position: absolute; left: 8px; bottom: 8px; font: 600 .7rem/1 var(--font-head); color: #fff; background: rgba(0,0,0,.35); padding: 5px 8px; border-radius: 999px; }
.call__tools { display: flex; justify-content: center; gap: 8px; padding-top: 10px; }
.call__tools span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: .75rem; }
.call__tools span:last-child { background: #E5484D; }
.cal { right: 0; bottom: 4%; transform: translateZ(120px) rotateZ(4deg); }
.cal .tile { display: block; }
.cal__head { font: 700 .78rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.cal__grid i { display: block; width: 22px; height: 22px; border-radius: 7px; background: #EEF2EF; font-style: normal; }
.cal__grid i.on { background: var(--green); }
.cal__grid i.alt { background: var(--orange); }
.t-remote { left: 0; bottom: 14%; transform: translateZ(100px) rotateZ(-4deg); }
.hello { right: 4%; top: 0; transform: translateZ(150px) rotateZ(5deg); }
.hello .bubble-3d__inner { background: var(--orange); border-radius: 22px 22px 22px 6px; box-shadow: 0 24px 40px -18px rgba(221,107,32,.7); }

/* ---------- Kariera: sekcje ---------- */
.status-card {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
    background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 2px 4px rgba(11,42,30,.04), 0 30px 60px -36px rgba(11,42,30,.3);
}
.status-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--mint); color: var(--green-text); font-size: 1.5rem; }
.status-card h2 { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.25 var(--font-head); color: var(--ink); }
.status-card p { color: var(--ink-soft); margin-top: 6px; max-width: 60ch; }
.status-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-section { padding: clamp(56px, 7vw, 96px) 0 0; scroll-margin-top: 90px; }
.why__item { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); transform: perspective(800px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); }
.why__item:hover { box-shadow: 0 24px 44px -28px rgba(11,42,30,.45); }
.why__item:nth-child(2) i { background: #E3E7FA; color: var(--cat-grammar); }
.why__item:nth-child(3) i { background: #FDEBDD; color: #B3541A; }
.why__item:nth-child(5) i { background: #DDF0EF; color: var(--cat-tips); }
.why__item:nth-child(6) i { background: #E2E8F0; color: var(--cat-business); }

/* ---------- Dokumenty prawne: treść ---------- */
.summary { padding: clamp(40px, 5vw, 64px) 0 0; }
.summary .why__item h3 { font-size: 1rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.legal-meta i { color: var(--green); margin-right: 6px; }
.prose .legal-point { margin-top: 1em; }
.prose .legal-point ul { margin-top: .6em; }
.legal-info-box, .prose .highlight {
    margin-top: 1.2em; background: var(--mint); border: 1px solid var(--mint-2); border-left: 4px solid var(--green);
    border-radius: 16px; padding: 18px 20px; font-size: 1rem;
}
.legal-info-box p + p { margin-top: .6em; }
.prose .friendly-icon { color: var(--green); margin-right: 4px; }
.prose a { color: var(--green-text); }
.prose .table-scroll table { min-width: 640px; }
.prose th { text-align: left; }
.legal-company {
    margin-top: 1.2em; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; line-height: 1.7;
}
.prose { overflow-wrap: anywhere; }

/* ---------- Responsywność ---------- */
@media (max-width: 860px) {
    .status-card { grid-template-columns: auto 1fr; }
    .status-card .actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    /* Telefon: uproszczone sceny, bez kolizji */
    .sheet { width: 62%; padding: 18px; }
    .sheet--1 { display: none; }
    .sheet--2 { left: 18%; top: 4%; }
    .sheet--3 { left: 22%; top: 6%; transform: translateZ(40px) rotateZ(3deg); }
    .t-groups, .t-cookie, .t-remote, .lock { display: none; }
    .t-notice { right: 0; top: 48%; transform: translateZ(70px) rotateZ(3deg); }
    .t-solo { left: 0; bottom: 2%; transform: translateZ(60px) rotateZ(-2deg); }
    .seal { right: 4%; top: 4%; bottom: auto; transform: translateZ(90px) rotateZ(-10deg); }
    .seal__inner { width: 70px; height: 70px; font-size: 1.6rem; }
    .tile { padding: 11px 13px; font-size: .88rem; }
    .tile__icon { width: 38px; height: 38px; font-size: .95rem; }
    .shield { left: 6%; top: 12%; transform: translateZ(30px) scale(.8); }
    .data-card { right: 0; top: 8%; transform: translateZ(70px) rotateZ(4deg); }
    .data-card .tile { min-width: 180px; }
    .t-rights { right: 0; bottom: 2%; transform: translateZ(80px) rotateZ(-3deg); }
    .call { left: 8%; top: 8%; width: 80%; transform: translateZ(20px) rotateZ(-2deg); }
    .cal { right: 0; bottom: 0; transform: translateZ(70px) rotateZ(4deg); }
    .cal__grid { grid-template-columns: repeat(7, 16px); gap: 4px; }
    .cal__grid i { width: 16px; height: 16px; border-radius: 5px; }
    .hello { right: auto; left: 0; top: auto; bottom: 6%; transform: translateZ(90px) rotateZ(-4deg); }
    .hello .bubble-3d__inner { font-size: .85rem; padding: 10px 12px; }
    .status-card { grid-template-columns: 1fr; text-align: left; }
    .status-card .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .why__item { transform: none !important; }
}

/* ---------- Kariera: końcowe CTA ---------- */
.apply-cta {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px;
    background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 40px 70px -40px rgba(11,42,30,.7);
}
.apply-cta::after { /* dekoracyjny pierścień */
    content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
    border: 28px solid rgba(127,208,161,.12); pointer-events: none;
}
.apply-cta__text { position: relative; z-index: 1; min-width: 0; }
.apply-cta h2 { font: 700 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--font-head); color: #fff; letter-spacing: -.015em; }
.apply-cta p { color: #CFE0D6; margin-top: 8px; max-width: 54ch; }
.apply-cta__mail { overflow-wrap: anywhere; }
.apply-cta__mail i { color: #7FD0A1; margin-right: 4px; }
.apply-cta__mail a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.apply-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.apply-cta .btn--primary { box-shadow: none; }
.apply-cta .btn--outline-light { color: #fff; }
@media (max-width: 860px) {
    .apply-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .apply-cta__actions .btn { flex: 1 1 100%; }
}
