/* Retail Media House — style strony
   Kolory i font zgodnie z brandbookiem v2 (07_Web/brand.css) */

@font-face{font-family:"Manrope";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/Manrope-Regular.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/Manrope-Medium.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/Manrope-Bold.woff2) format("woff2")}

:root{
  --rmh-navy:#2B3A85;
  --rmh-blue:#4055A4;
  --rmh-orange:#F26F23;
  --rmh-white:#FFFFFF;
  --rmh-background:#F4F5F6;
  --rmh-gradient:linear-gradient(90deg,#2B3A85 0%,#F26F23 100%);
  --rmh-font:"Manrope",Arial,sans-serif;

  --ink:#2B3A85;
  --muted:#525C8C;
  --line:rgba(43,58,133,.14);
  --tint:#EEF0F8;          /* tło piktogramów */
  --orange-ink:#C2500F;    /* pomarańcz do drobnego tekstu (kontrast AA) */
  --wrap:1200px;
  --gutter:clamp(20px,5vw,64px);
  --r:16px;
  --r-sm:10px;
  --sec:clamp(72px,9vw,128px);
  --header:104px;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 12px);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--rmh-font);font-size:18px;line-height:28px;font-weight:400;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,h4{margin:0;font-weight:700;letter-spacing:-.015em}
h1{font-size:clamp(38px,4.8vw,62px);line-height:1.06}
h2{font-size:clamp(32px,4.2vw,52px);line-height:1.08;text-wrap:balance}
h3{font-size:22px;line-height:30px}
h4{font-size:20px;line-height:28px}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.eyebrow{margin:0 0 18px;font-size:13px;line-height:18px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange-ink)}
.lead{font-size:20px;line-height:32px;color:var(--muted)}
.muted{color:rgba(255,255,255,.7);font-size:16px}
.skip{position:absolute;left:-9999px;top:0;background:var(--rmh-navy);color:#fff;padding:12px 16px;z-index:100}
.skip:focus{left:16px;top:16px}
:focus-visible{outline:3px solid var(--rmh-orange);outline-offset:3px;border-radius:6px}

/* ---------- piktogramy ---------- */
.ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--tint);color:var(--rmh-navy)}
.ico svg,.path__ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ico--lg{width:56px;height:56px;border-radius:14px}
.ico--lg svg{width:28px;height:28px}

/* ---------- przyciski ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border:0;border-radius:10px;background:var(--rmh-navy);color:#fff;font:700 16px/1 var(--rmh-font);text-decoration:none;cursor:pointer;transition:background .2s,transform .2s}
.btn:hover{background:var(--rmh-blue)}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.btn:hover svg{transform:translateX(3px)}
.btn--sm{min-height:44px;padding:0 20px;font-size:15px}
.btn--light{background:#fff;color:var(--rmh-navy)}
.btn--light:hover{background:var(--rmh-background)}
.btn[disabled]{opacity:.6;cursor:wait}
.link{font-weight:700;text-decoration:none;border-bottom:2px solid var(--rmh-orange);padding-bottom:2px}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.top.is-scrolled{border-bottom-color:var(--line);box-shadow:0 6px 24px -18px rgba(43,58,133,.5)}
.top__in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:var(--header);transition:height .2s}
.top.is-scrolled .top__in{height:72px}
.logo{display:block}
.logo__full{width:140px;height:auto;transition:width .2s}
.top.is-scrolled .logo__full{width:92px}
.nav{display:flex;align-items:center;gap:6px}
.nav a:not(.btn){position:relative;padding:10px 14px;border-radius:8px;font-size:15px;font-weight:500;text-decoration:none;color:var(--ink);transition:color .15s,background .15s}
.nav a:not(.btn):hover{background:var(--rmh-background)}
.nav a:not(.btn)::after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:2px;border-radius:2px;background:var(--rmh-orange);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.nav a.is-active::after{transform:scaleX(1)}
.nav__cta{margin-left:10px}
.burger{display:none;width:44px;height:44px;border:0;border-radius:10px;background:var(--rmh-background);cursor:pointer;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--rmh-navy);transition:transform .2s,opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:1020px){
  .burger{display:inline-flex}
  .nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:2px;padding:12px var(--gutter) 24px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 20px 30px -24px rgba(43,58,133,.45);display:none}
  .nav.is-open{display:flex}
  .nav a:not(.btn){padding:14px 12px;font-size:17px}
  .nav a:not(.btn)::after{display:none}
  .nav__cta{margin:10px 0 0}
}

/* ---------- hero ---------- */
.hero{padding:clamp(40px,6vw,80px) 0 clamp(64px,7vw,96px)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:48px;align-items:center}
.hero h1{max-width:none}
.hero .lead{margin-top:28px;max-width:560px}
.hero__btns{margin-top:40px;display:flex;flex-wrap:wrap;gap:12px}
.btn--ghost{background:#fff;color:var(--rmh-navy);box-shadow:inset 0 0 0 1.5px var(--rmh-navy)}
.btn--ghost:hover{background:var(--rmh-background)}
.hero__paths{margin-top:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:640px}
.path{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;text-decoration:none;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.path:hover{border-color:var(--rmh-navy);box-shadow:0 10px 30px -20px rgba(43,58,133,.6);transform:translateY(-2px)}
.path__ico{flex:none;width:44px;height:44px;border-radius:12px;background:var(--rmh-navy);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.path__ico--o{background:var(--rmh-orange)}
.path strong{display:block;font-size:16px;line-height:22px}
.path small{display:block;font-size:14px;line-height:20px;color:var(--muted)}
.path__arr{width:20px;height:20px;margin-left:auto;fill:none;stroke:var(--rmh-navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.path:hover .path__arr{transform:translateX(3px)}
.hero__art svg{width:100%;height:auto}
@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr}
  .hero__art{max-width:360px}
  .hero__btns{margin-top:40px;display:flex;flex-wrap:wrap;gap:12px}
.btn--ghost{background:#fff;color:var(--rmh-navy);box-shadow:inset 0 0 0 1.5px var(--rmh-navy)}
.btn--ghost:hover{background:var(--rmh-background)}
.hero__paths{grid-template-columns:1fr}
}

/* ---------- sekcje ---------- */
.sec{padding:var(--sec) 0}
.sec--grey{background:var(--rmh-background)}
.head{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:end;margin-bottom:56px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
@media (max-width:900px){.head,.two{grid-template-columns:1fr;gap:24px}.two{gap:48px}}

/* kroki (lokalizacje) */
.steps{list-style:none;margin:0 0 72px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:s}
.steps li{position:relative;display:flex;flex-direction:column;gap:6px;padding:28px;border:1px solid var(--line);border-radius:var(--r)}
.steps .ico{margin-bottom:14px}
.steps .num{font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--orange-ink)}
.steps h3{font-size:20px;line-height:26px}
.steps p{color:var(--muted);font-size:16px;line-height:24px}
@media (max-width:900px){.steps{grid-template-columns:1fr}}

/* formaty */
.formats{display:flex;flex-direction:column;gap:28px;margin-bottom:16px}
.formats__intro{display:block}
.formats__intro h3{font-size:26px;line-height:34px}
.formats__intro p{margin-top:12px;color:var(--muted);font-size:16px;line-height:25px;max-width:560px}
.cards4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fcard,.pcard{background:var(--rmh-background);border-radius:var(--r);padding:28px 24px;display:flex;flex-direction:column;gap:12px}
.fcard .ico,.pcard .ico{background:#fff;margin-bottom:6px}
.fcard p,.pcard p{color:var(--muted);font-size:16px;line-height:24px}
@media (max-width:760px){.cards4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:440px){.cards4{gap:12px}.fcard{padding:20px 16px}}

/* korzyści + CTA */
.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}
.bcard{display:flex;flex-direction:column;gap:16px;align-items:flex-start;padding:28px;border:1px solid var(--line);border-radius:var(--r)}
.bcard p{color:var(--muted);font-size:16px;line-height:24px;margin-top:4px}
.bcard--cta{flex-direction:column;gap:14px;background:var(--rmh-navy);border-color:var(--rmh-navy);color:#fff;position:relative;overflow:hidden}

.bcard--cta h4{position:relative;z-index:1;max-width:15ch;font-size:22px;line-height:30px}
.bcard--cta .btn{align-self:stretch}
.bcard--cta small{font-size:13px;color:rgba(255,255,255,.75)}
@media (max-width:900px){.benefits{grid-template-columns:1fr}}

/* reklamodawcy */
#reklamodawcy .lead{margin-top:24px}
.ticks{list-style:none;margin:36px 0 40px;padding:0;display:flex;flex-direction:column;gap:20px}
.ticks li{display:flex;gap:16px;align-items:flex-start}
.ticks .ico{background:#fff}
.ticks strong{display:block;font-size:18px;line-height:26px}
.ticks span:not(.ico){color:var(--muted);font-size:16px;line-height:24px}
.measure{background:#fff;border-radius:20px;padding:clamp(28px,4vw,44px);box-shadow:0 30px 60px -40px rgba(43,58,133,.45)}
.measure h3{font-size:clamp(26px,3vw,34px);line-height:1.15}
.measure ol{list-style:none;margin:28px 0 0;padding:0}
.measure li{display:grid;grid-template-columns:44px 1fr;gap:8px;padding:20px 0;border-top:1px solid var(--line);font-size:16px;line-height:24px;color:var(--muted)}
.measure li span{font-size:14px;font-weight:700;color:var(--orange-ink);padding-top:2px}
.measure strong{display:block;color:var(--ink);font-size:18px;line-height:26px}

/* partnerzy */
.cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:900px){.cards3{grid-template-columns:1fr}}

/* jak działamy (granat) */
.proc{position:relative;overflow:hidden;background:var(--rmh-navy);color:#fff;padding:var(--sec) 0}
.proc__lines{position:absolute;right:0;top:0;width:160px;height:220px;pointer-events:none}
@media (max-width:1300px){.proc__lines{display:none}}
.proc .eyebrow{color:#FFB287}
.proc .lead{color:rgba(255,255,255,.82)}
.flow{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid rgba(255,255,255,.22)}
.flow li{padding:32px 32px 8px 0}
.flow li+li{padding-left:32px}
.flow .num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);font-size:14px;font-weight:700;color:#FFB287;margin-bottom:16px}
.flow p{margin-top:10px;color:rgba(255,255,255,.82);font-size:16px;line-height:25px}
.rules{position:relative;margin-top:64px;padding:28px 32px;border-radius:var(--r);background:rgba(255,255,255,.07)}
.rules__label{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.7);padding-top:4px}
.rules ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.rules li{font-size:17px;line-height:26px;font-weight:500}
.rules .bar{display:block;width:32px;height:4px;border-radius:2px;margin-bottom:14px}
@media (max-width:900px){
  .flow{grid-template-columns:1fr}
  .flow li+li{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.22)}
  .rules ul{grid-template-columns:1fr}
}

/* FAQ */
.faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.faq__side{position:sticky;top:calc(var(--header) + 24px)}
.tabs{margin-top:32px;display:inline-flex;padding:4px;border-radius:12px;background:var(--rmh-background)}
.tabs button{border:0;background:transparent;font:500 15px/1 var(--rmh-font);color:var(--ink);padding:12px 16px;border-radius:9px;cursor:pointer;min-height:44px}
.tabs button[aria-selected="true"]{background:#fff;font-weight:700;box-shadow:0 2px 8px -2px rgba(43,58,133,.25)}
.faq__ask{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font-size:16px;color:var(--muted)}
.faq__ask p{margin-bottom:10px}
.acc details{border-bottom:1px solid var(--line)}
.acc details:first-child{border-top:1px solid var(--line)}
.acc summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;font-size:19px;line-height:27px;font-weight:700;cursor:pointer}
.acc summary::-webkit-details-marker{display:none}
.acc summary svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--rmh-navy);stroke-width:2;stroke-linecap:round;transition:transform .2s}
.acc details[open] summary svg{transform:rotate(45deg)}
.acc details p{padding:0 48px 24px 0;color:var(--muted);font-size:17px;line-height:27px}
@media (max-width:900px){.faq{grid-template-columns:1fr;gap:32px}.faq__side{position:static}}

/* kontakt */
.contact{position:relative;overflow:hidden;background:var(--rmh-gradient);padding:clamp(56px,8vw,112px) 0}
.contact__lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.panel{position:relative;background:var(--rmh-navy);color:#fff;border-radius:20px;padding:clamp(28px,5vw,64px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,64px);align-items:start}
.panel .eyebrow{color:#FFB287}
.panel h2{font-size:clamp(30px,3.4vw,44px)}
.next{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.next li{display:flex;gap:14px;align-items:center;font-size:17px;line-height:25px;color:rgba(255,255,255,.88)}
.next span{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.12);font-size:13px;font-weight:700;color:#FFB287}
.panel dl{margin:36px 0 0;padding-top:28px;border-top:1px solid rgba(255,255,255,.2);display:flex;flex-direction:column;gap:18px}
.panel dt{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.panel dd{margin:4px 0 0;font-size:18px;font-weight:500}
.panel dd a{text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.panel dd a:hover{border-bottom-color:#fff}
@media (max-width:960px){.panel{grid-template-columns:1fr}}

/* formularz */
.form{background:#fff;color:var(--ink);border-radius:14px;padding:clamp(22px,3.5vw,40px)}
.fields{display:flex;flex-direction:column;gap:20px}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
@media (max-width:560px){.row2{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:8px}
.field label,.form legend{font-size:14px;font-weight:700;line-height:20px}
.opt{font-weight:400;color:var(--muted)}
.field input,.field textarea{font:inherit;font-size:16px;line-height:24px;color:var(--ink);background:var(--rmh-background);border:1.5px solid transparent;border-radius:10px;padding:12px 14px;min-height:48px;width:100%;transition:border-color .15s,background .15s}
.field textarea{min-height:120px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#7A82A6}
.field input:hover,.field textarea:hover{border-color:rgba(43,58,133,.25)}
.field input:focus,.field textarea:focus{outline:none;background:#fff;border-color:var(--rmh-navy);box-shadow:0 0 0 3px rgba(64,85,164,.18)}
.field.invalid input,.field.invalid textarea{border-color:#C2410C;background:#fff}
.err{font-size:13px;line-height:18px;color:#B4380A}
.form fieldset{border:0;margin:0;padding:0}
.form legend{padding:0;margin-bottom:10px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{position:relative}
.pill input{position:absolute;opacity:0;width:1px;height:1px}
.pill span{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid rgba(43,58,133,.22);font-size:15px;font-weight:500;cursor:pointer;transition:all .15s;user-select:none}
.pill span:hover{border-color:var(--rmh-navy)}
.pill input:checked+span{background:var(--rmh-navy);border-color:var(--rmh-navy);color:#fff}
.pill input:focus-visible+span{outline:3px solid var(--rmh-orange);outline-offset:2px}
.consent{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start;font-size:14px;line-height:21px;color:var(--muted)}
.consent input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--rmh-navy)}
.consent a{color:var(--ink);font-weight:500}
.consent.invalid{color:#B4380A}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.send{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.note{font-size:13px;color:var(--muted)}
.status{display:none;font-size:15px;line-height:22px;border-radius:10px;padding:14px 16px;background:#FDEEE6;color:#9A3412}
.status.show{display:block}
.done{display:none;flex-direction:column;align-items:flex-start;gap:14px;padding:12px 0}
.done__tick{width:52px;height:52px;border-radius:50%;background:var(--rmh-gradient);display:flex;align-items:center;justify-content:center}
.done__tick svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.done p{color:var(--muted)}
.form.sent .fields{display:none}
.form.sent .done{display:flex}

/* stopka */
.foot{background:var(--rmh-navy);color:#fff;padding:64px 0 32px}
.foot__grid{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap}
.foot img{width:180px;height:auto}
.foot__tag{margin-top:18px;font-size:15px;color:rgba(255,255,255,.8)}
.foot__nav{display:grid;grid-template-columns:repeat(2,auto);gap:10px 48px;font-size:15px}
.foot__nav a{text-decoration:none;color:rgba(255,255,255,.88)}
.foot__nav a:hover{color:#fff;text-decoration:underline}
.foot__bottom{margin-top:48px;padding-top:24px;border-top:1px solid rgba(255,255,255,.18);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14px;color:rgba(255,255,255,.7)}
.foot__legal{display:flex;gap:24px;flex-wrap:wrap}
.foot__legal a{text-decoration:none}
.foot__legal a:hover{color:#fff;text-decoration:underline}

/* przełącznik odbiorcy */
.switch-wrap{display:flex;justify-content:center;margin-bottom:clamp(40px,5vw,64px)}
.switch{display:inline-flex;padding:5px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px -22px rgba(43,58,133,.6)}
.switch a{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:10px;font-size:15px;font-weight:700;text-decoration:none;color:var(--ink)}
.switch a.is-on{background:var(--rmh-navy);color:#fff}
.switch a:not(.is-on):hover{background:var(--rmh-background)}
.acc--empty{padding:28px;border-radius:var(--r);background:var(--rmh-background);display:flex;flex-direction:column;align-items:flex-start;gap:16px;color:var(--muted)}
.faq__ask .btn{margin-top:4px}
.br-d{display:inline}
@media (max-width:700px){.br-d{display:none}}

.hero h1{font-size:clamp(36px,4.3vw,58px)}

/* ===== rytm tła i szlif kart ===== */
/* sekcja na granacie (partnerzy) */
.sec--navy{background:var(--rmh-navy);color:#fff}
.sec--navy .eyebrow{color:#FFB287}
.sec--navy .lead{color:rgba(255,255,255,.82)}
.sec--navy .pcard{background:rgba(255,255,255,.08)}
.sec--navy .pcard h4{color:#fff}
.sec--navy .pcard p{color:rgba(255,255,255,.78)}
.sec--navy .pcard .ico{background:rgba(255,255,255,.14);color:#fff}

/* karty na szarym tle: biel + miękki cień */
.steps li,.fcard,.bcard{transition:transform .2s,box-shadow .2s}
.sec--grey .steps li,.sec--grey .fcard,.sec--grey .bcard{background:#fff;border-color:transparent;box-shadow:0 16px 36px -28px rgba(43,58,133,.5)}
.sec--grey .bcard--cta{background:var(--rmh-navy)}
.fcard:hover,.steps li:hover{transform:translateY(-4px);box-shadow:0 24px 46px -28px rgba(43,58,133,.55)}
.fcard .ico{background:var(--rmh-navy);color:#fff}
.fcard h4{margin-top:2px}
.bcard .ico{background:var(--tint);color:var(--rmh-navy)}
.bcard--cta::before{content:"";width:40px;height:5px;border-radius:3px;background:var(--rmh-orange)}

/* zakładki FAQ na szarym tle */
.sec--grey .tabs{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.sec--grey .tabs button[aria-selected="true"]{background:var(--rmh-navy);color:#fff;box-shadow:none}
.sec--grey .acc--empty{background:#fff}

/* „Jak działamy" na jasnym tle */
.proc{background:#fff;color:var(--ink)}
.proc .eyebrow{color:var(--orange-ink)}
.proc .lead{color:var(--muted)}
.flow{border-top-color:var(--line)}
.flow li+li{border-left-color:var(--line)}
.flow .num{background:var(--tint);color:var(--orange-ink)}
.flow p{color:rgba(255,255,255,.82)}
.flow p{color:var(--muted)}
.rules{background:var(--rmh-background)}
.proc__lines path{stroke:#2B3A85;stroke-opacity:.1}
@media (max-width:900px){.flow li+li{border-top-color:var(--line)}}
@media (max-width:560px){
  .switch{width:100%}
  .switch a{flex:1;justify-content:center;text-align:center;padding:0 10px;font-size:14px}
}

/* przełącznik: większy, z ikonami, na styku sekcji */
#lokalizacje{padding-top:0}
.switch-wrap{margin:-33px 0 clamp(48px,6vw,72px)}
.switch{padding:7px;border-radius:16px;border:1px solid var(--line);box-shadow:0 20px 44px -24px rgba(43,58,133,.55)}
.switch a{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border-radius:11px;font-size:16px}
.switch a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media (max-width:560px){
  .switch a{min-height:48px;padding:0 10px;font-size:14px;white-space:nowrap}
  .switch a svg{display:none}
}

/* karty wyboru ścieżki (zamiast przełącznika) */
.paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 clamp(56px,7vw,80px);padding-top:clamp(48px,6vw,72px)}
.pathcard{display:flex;align-items:center;gap:20px;padding:22px 26px;background:#fff;border-radius:18px;border:1px solid var(--line);box-shadow:0 22px 48px -28px rgba(43,58,133,.5);text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s,border-color .2s}
.pathcard:hover{transform:translateY(-3px);border-color:var(--rmh-navy);box-shadow:0 28px 56px -28px rgba(43,58,133,.6)}
.pathcard__ico{flex:none;width:56px;height:56px;border-radius:14px;background:var(--rmh-navy);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.pathcard__ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.pathcard--o .pathcard__ico{background:var(--rmh-orange)}
.pathcard__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.pathcard__txt strong{font-size:19px;line-height:26px}
.pathcard__txt span{font-size:15px;line-height:22px;color:var(--muted)}
.pathcard__arr{flex:none;width:22px;height:22px;margin-left:auto;fill:none;stroke:var(--rmh-navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.pathcard:hover .pathcard__arr{transform:translateX(4px)}
@media (max-width:760px){
  .paths{grid-template-columns:1fr;gap:12px}
  .pathcard{padding:18px 20px;gap:14px}
  .pathcard__ico{width:48px;height:48px}
  .pathcard__txt strong{font-size:17px;line-height:24px}
}

/* stopka: kompaktowa */
.foot{padding:36px 0 22px}
.foot__row{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.foot__brand{display:flex;align-items:center;gap:20px}
.foot img{width:96px;height:auto}
.foot__tag{margin:0;font-size:14px;line-height:20px;color:rgba(255,255,255,.8);max-width:260px}
.foot__legal{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}
.foot__legal a{text-decoration:none;color:rgba(255,255,255,.85)}
.foot__legal a:hover{color:#fff;text-decoration:underline}
.foot__bottom{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:rgba(255,255,255,.6)}
@media (max-width:640px){.foot__row{align-items:flex-start}.foot__brand{align-items:flex-start}}
/* mniejszy pas gradientu pod panelem kontaktu */
.contact{padding:clamp(56px,7vw,96px) 0 clamp(36px,4vw,56px)}

/* ===== 1. interaktywna mapa punktu ===== */
.formats__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center}
.plan{background:#fff;border-radius:var(--r);padding:20px;box-shadow:0 16px 36px -28px rgba(43,58,133,.5)}
.plan svg{width:100%;height:auto;display:block}
.plan .ad{fill:#F8C9AE;transition:fill .25s,filter .25s}
.pl-el{transition:opacity .25s}
.plan.has-active .pl-el:not(.is-active){opacity:.45}
.pl-el.is-active .ad{fill:#F26F23;filter:drop-shadow(0 4px 10px rgba(242,111,35,.45))}
.hs{cursor:pointer;outline:none}
.hs__dot{fill:#F26F23;stroke:#fff;stroke-width:3;transition:transform .2s;transform-box:fill-box;transform-origin:center}
.hs__pulse{fill:#F26F23;fill-opacity:.35;transform-box:fill-box;transform-origin:center;animation:hsPulse 2.2s ease-out infinite}
.hs:nth-of-type(2) .hs__pulse{animation-delay:.5s}.hs:nth-of-type(3) .hs__pulse{animation-delay:1s}.hs:nth-of-type(4) .hs__pulse{animation-delay:1.5s}
.hs.is-active .hs__dot,.hs:focus-visible .hs__dot{transform:scale(1.35)}
.hs:focus-visible .hs__dot{stroke:#2B3A85}
@keyframes hsPulse{0%{transform:scale(.6);fill-opacity:.5}100%{transform:scale(2.4);fill-opacity:0}}
.cards4{grid-template-columns:repeat(2,minmax(0,1fr))}
.fcard{cursor:default;outline:none}
.fcard.is-active,.fcard:focus-visible{transform:translateY(-4px);box-shadow:0 24px 46px -26px rgba(43,58,133,.55),inset 0 0 0 2px var(--rmh-orange)}
.fcard.is-active .ico{background:var(--rmh-orange)}
@media (max-width:1000px){.formats__grid{grid-template-columns:1fr;gap:24px}}
@media (max-width:440px){.cards4{grid-template-columns:1fr}}

/* ===== 2. linia procesu ===== */
.flow{position:relative}
.flow__line{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.flow__path{fill:none;stroke:var(--rmh-navy);stroke-opacity:.9;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1)}
.flow.is-in .flow__path{stroke-dashoffset:0}
.flow__dot{fill:var(--rmh-orange);opacity:0}
.flow.is-in .flow__dot{animation:flowDot 1.6s cubic-bezier(.4,0,.2,1) .1s forwards}
@keyframes flowDot{0%{opacity:0;offset-distance:0%}10%{opacity:1}90%{opacity:1}100%{opacity:0;offset-distance:100%}}
.flow .num{position:relative;z-index:1;transition:background .4s,color .4s,box-shadow .4s}
.flow.is-in li:nth-child(1) .num{transition-delay:.3s}.flow.is-in li:nth-child(2) .num{transition-delay:.9s}.flow.is-in li:nth-child(3) .num{transition-delay:1.5s}
.flow.is-in .num{background:var(--rmh-navy);color:#fff;box-shadow:0 0 0 6px #fff}
@media (max-width:900px){.flow__line{display:none}}

/* ===== 3. animacje przy przewijaniu ===== */
[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.6,.2,1),transform .7s cubic-bezier(.2,.6,.2,1);transition-delay:calc(var(--i,0) * 90ms)}
[data-reveal].is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  [data-reveal]{opacity:1;transform:none;transition:none}
  .hs__pulse,.flow__dot{animation:none}
  .flow__path{stroke-dashoffset:0;transition:none}
}


/* ===== podstrony prawne ===== */
.legal{padding:clamp(40px,6vw,80px) 0 clamp(64px,8vw,112px);background:#fff}
.legal__wrap{max-width:760px}
.legal h1{font-size:clamp(30px,4vw,44px);line-height:1.1;margin:0 0 8px;letter-spacing:-.01em;text-wrap:balance}
.legal__meta{margin:0 0 36px;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.legal h2{font-size:19px;line-height:28px;font-weight:700;margin:36px 0 10px;color:var(--rmh-navy)}
.legal p,.legal li{font-size:16px;line-height:27px;color:#3A405C}
.legal p{margin:0 0 14px}
.legal ul{margin:0 0 14px;padding-left:20px}
.legal li{margin:0 0 6px}
.legal strong{color:var(--rmh-navy);font-weight:700}
.legal a{color:var(--rmh-blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.legal a:hover{color:var(--rmh-navy)}
.legal__back{display:inline-flex;align-items:center;gap:8px;margin-top:40px;font-size:15px;font-weight:700;color:var(--rmh-navy);text-decoration:none}
.legal__back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transform:rotate(180deg)}
.legal__back:hover{color:var(--rmh-blue)}
.foot__legal a[aria-current=page]{color:#fff}

/* ===== proces: wyśrodkowane kroki ===== */
@media (min-width:901px){
  .flow li{padding:32px 24px 8px;text-align:center}
  .flow li+li{padding-left:24px}
  .flow .num{margin-left:auto;margin-right:auto}
  .flow h3,.flow p{text-align:center}
  .rules li{text-align:center}
  .rules .bar{margin-left:auto;margin-right:auto}
}

.firm__ids{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:12px;font-size:14px;line-height:22px;font-weight:500;color:rgba(255,255,255,.7)}
.firm__ids>span{white-space:nowrap}
.firm__ids b{font-weight:500;color:#fff}
.firm__court{display:block;margin-top:6px;font-size:13px;line-height:20px;font-weight:500;color:rgba(255,255,255,.55);max-width:360px}
