/* -------------------------------------------------------------------------
   Landing: bezplatne konsultacje RST (szablon konsultacje-rst.php)
   Ladowane tylko na tym szablonie (inc/konsultacje-rst.php).
   Kolory = paleta motywu ($pink, $lightBlue, $yellow, $green, $purple,
   $darkBlue, $black), font i .btn dziedziczone z dist/style.css.
   Wzorce sekcji: .rst-a (karty), .rst-b (pasek/zakres), .rst-c (idea/zapisy).
   ---------------------------------------------------------------------- */

/* ===== makieta: wspolne elementy (wszystkie kolory = paleta motywu) ===== */
.rst a.btn{ text-decoration:none; }
.rst .btn .rst-arrow{ display:inline-block; width:18px; height:18px; vertical-align:-3px; margin-left:8px; }
.rst .btn .rst-arrow svg{ width:100%; height:100%; }
.rst img{ max-width:100%; display:block; }
.rst h2{ line-height:1.1; }
.rst-eyebrow{ display:block; text-transform:uppercase; font-size:15px; line-height:1.4; margin-bottom:10px; }
@media (min-width:768px){ .rst-eyebrow{ font-size:20px; } }
.rst-free{ display:inline-flex; align-items:center; gap:10px; background:#F1A4B1; color:#3D3D3B; padding:8px 16px; font-size:18px; text-transform:uppercase; }
.rst-free strong{ font-weight:500; font-size:26px; line-height:1; white-space:nowrap; }
@media (max-width:767px){ .rst p{ font-size:17px !important; line-height:1.7 !important; } .rst-free{ font-size:15px; } .rst-free strong{ font-size:22px; } }
.rst-ph{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; width:100%; height:100%; min-height:160px;
  color:#3D3D3B; font-size:15px; text-align:center; padding:16px;
  background:repeating-linear-gradient(135deg,#E6EEF9 0 14px,#F7F8FA 14px 28px); border:2px dashed #C2D5EE; }
.rst-ph svg{ width:34px; height:34px; opacity:.6; }
.rst-partners{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px 26px; }
.rst-partners__g{ height:34px; width:auto; position:relative; top:4px; } /* top: kompensuje ogonki g/y, zeby linie bazowe sie zgadzaly */
.rst-partners__gt{ height:21px; width:auto; } /* ~190px szer. = szerokosc znaku gymnastic */
.rst-partners__rst{ width:auto; height:64px; }
.rst-x{ font-size:34px; line-height:1; color:#3D3D3B; }
.rst-avatar{ width:100%; height:100%; min-height:200px; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; background:#C2D5EE; color:#fff; }
.rst-avatar svg{ width:78%; height:auto; margin-bottom:-14%; stroke-width:1.2; }
.rst-spec:nth-child(3n+2) .rst-avatar{ background:#F1A4B1; } .rst-spec:nth-child(3n) .rst-avatar{ background:#F3D589; }
.rst-tag{ display:inline-block; font-size:14px; text-transform:uppercase; background:#C2D5EE; padding:4px 10px; margin-bottom:10px; }
.rst-spec__body ul{ padding-left:18px; font-size:16px; line-height:1.6; margin:0; }
.rst-spec__body p{ font-size:16px; line-height:1.6; margin:0 0 10px; }
.rst-spec__body h3{ font-size:24px; text-transform:none; margin:0 0 8px; }
.rst-spec__tytul{ display:block; font-size:15px; line-height:1.3; color:#6b6b6b; margin-bottom:2px; }
.rst-spec__link{ display:inline-flex; align-items:center; gap:7px; margin-top:14px; font-size:16px; color:#2D63AE; text-decoration:none; border-bottom:1px solid rgba(45,99,174,.35); padding-bottom:2px; }
.rst-spec__link:hover{ border-bottom-color:#2D63AE; }
.rst-spec__link svg{ width:16px; height:16px; flex:0 0 auto; }
/* informacja dla czytnikow ekranu — wzrokowo zastepuje ja ikona strzalki */
.rst-spec__ext{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
/* formularz — ramki i rytm z .op-form (oferta dla przedszkoli) */
.rst-form label{ display:block; font-size:16px; margin:0 0 6px; }
.rst-form label em, .rst-check em{ color:#b3261e; font-style:normal; }
.rst-opt{ opacity:.65; font-size:14px; }
.rst-form input[type=text],.rst-form input[type=tel],.rst-form input[type=email],.rst-form input[type=number],.rst-form select,.rst-form textarea{
  width:100%; border:2px solid #61256d; background:#fff; padding:12px 14px; font-size:17px; border-radius:0; margin-bottom:18px; font-family:inherit; color:#3D3D3B; }
.rst-form select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D3D3B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:18px; padding-right:40px; }
.rst-form textarea::placeholder{ font-size:15px; color:#797979; }
.rst-form :focus-visible{ outline:3px solid #2b76e2; outline-offset:1px; }
.rst-form .is-invalid{ border-color:#b3261e !important; }
.rst-form__row{ display:grid; gap:0 18px; grid-template-columns:1fr; }
@media (min-width:768px){ .rst-form__row{ grid-template-columns:1fr 140px; } .rst-form__row--half{ grid-template-columns:1fr 1fr; } }
.rst-check{ display:flex !important; gap:10px; align-items:flex-start; font-size:14px !important; line-height:1.5; margin-bottom:12px !important; }
.rst-check input{ width:20px; height:20px; flex:0 0 auto; margin-top:1px; accent-color:#2D63AE; }
.rst-check a{ color:inherit; }
.rst-form .btn{ width:100%; margin-top:10px; }
.rst-form__msg{ font-size:15px; line-height:1.5; margin:12px 0 0; }
.rst-form__msg.is-error{ color:#b3261e; }
/* sticky CTA mobile */
.rst-sticky{ position:fixed; left:0; right:0; bottom:0; z-index:1000; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:#fff;
  box-shadow:0 -4px 18px rgba(0,0,0,.08); transform:translateY(110%); transition:transform .25s ease; }
.rst-sticky.is-on{ transform:none; }
.rst-sticky .btn{ width:100%; font-size:17px; padding:12px 16px; }
@media (min-width:992px){ .rst-sticky{ display:none; } }
@media (prefers-reduced-motion:reduce){ .rst-sticky{ transition:none; } html{ scroll-behavior:auto !important; } }
html{ scroll-behavior:smooth; }

/* ===== rezerwacja slotow ===== */
.rst-step{ border:0; padding:0; margin:0 0 26px; min-width:0; }
.rst-step[disabled]{ opacity:.55; }
.rst-step__title{ display:flex; align-items:center; gap:10px; font-size:16px; text-transform:uppercase; margin:0 0 12px; float:none; width:auto; padding:0; }
.rst-step__num{ width:30px; height:30px; display:grid; place-items:center; background:#F3D589; font-size:15px; flex:0 0 auto; }
.rst-type{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.rst-booking .rst-type__opt{ display:flex; align-items:center; gap:12px; border:2px solid #3D3D3B; padding:14px; margin:0; cursor:pointer; background:#fff; transition:background-color .2s; }
.rst-type__opt input{ position:absolute; opacity:0; pointer-events:none; }
.rst-type__opt svg{ width:34px; height:34px; flex:0 0 auto; }
.rst-type__opt strong{ display:block; font-weight:500; font-size:19px; }
.rst-type__opt small{ display:block; font-size:13px; line-height:1.3; color:#525252; }
.rst-type__opt:hover{ background:#F7F8FA; }
.rst-booking .rst-type__opt.is-on{ background:#C2D5EE; }
.rst-type__opt:has(input:focus-visible){ outline:3px solid #2b76e2; outline-offset:1px; }
@media (max-width:575px){ .rst-booking .rst-type__opt{ flex-direction:column; align-items:flex-start; gap:6px; } }
.rst-days{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.rst-day{ border:2px solid #3D3D3B; background:#fff; padding:8px 14px; font-size:15px; cursor:pointer; font-family:inherit; color:#3D3D3B; }
.rst-day.is-on{ background:#3D3D3B; color:#fff; }
.rst-slots{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
@media (max-width:575px){ .rst-slots{ grid-template-columns:repeat(3,1fr); } }
.rst .rst-slots__empty{ grid-column:1/-1; margin:0; font-size:15px; line-height:1.5; background:#F7F8FA; padding:18px; text-align:center; }
.rst-booking .rst-slot{ position:relative; display:flex; flex-direction:column; align-items:center; gap:2px; margin:0; padding:9px 4px;
  border:2px solid #3D3D3B; background:#fff; cursor:pointer; text-align:center; transition:background-color .15s; }
.rst-slot input{ position:absolute; opacity:0; pointer-events:none; }
.rst-slot__t{ font-size:18px; line-height:1.1; }
.rst-slot__c{ font-size:12px; line-height:1.2; color:#525252; }
.rst-slot:hover{ background:#fef7ca; }
.rst-booking .rst-slot.is-sel{ background:#F3D589; }
.rst-slot.is-sel .rst-slot__c{ color:#3D3D3B; }
.rst-slot:has(input:focus-visible){ outline:3px solid #2b76e2; outline-offset:1px; }
.rst-booking .rst-slot.is-full{ background:#f2f2f2; border-color:#dcdcdc; color:#a1a1a1; cursor:not-allowed; }
.rst-slot.is-full .rst-slot__t{ text-decoration:line-through; }
.rst-slot.is-full .rst-slot__c{ color:#a1a1a1; }
.rst-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; margin-top:12px; color:#525252; }
.rst-legend span{ display:inline-flex; align-items:center; gap:6px; }
.rst-legend i{ width:14px; height:14px; border:2px solid #3D3D3B; background:#fff; }
.rst-legend i.is-sel{ background:#F3D589; }
.rst-legend i.is-full{ background:#f2f2f2; border-color:#dcdcdc; }
.rst-legend__demo{ margin-left:auto; background:#fef7ca; padding:2px 8px; }
.rst .rst-hint{ margin:16px 0 0; font-size:15px; line-height:1.5; color:#525252; }
/* Podpowiedzi w formularzu sa drugorzedne wobec tresci — na telefonie reguly
   .rst p ustawiaja 17px z !important, wiec tu tez trzeba !important. */
.rst .rst-step .rst-hint{ margin:-2px 0 14px; font-size:14px !important; line-height:1.5 !important; }
.rst-modal .rst-hint{ margin:8px 0 0; font-size:14px; line-height:1.5; color:#525252; }
/* ===== popup rezerwacji (modal Bootstrap z motywu, kanciasty jak reszta UI) ===== */
.rst-modal .modal-content{ border:0; border-radius:0; color:#3D3D3B; }
.rst-modal .modal-header{ background:#C2D5EE; border:0; border-radius:0; padding:18px 24px; }
.rst-modal .modal-title{ color:#3D3D3B !important; font-size:24px; line-height:1.2; text-transform:none; text-align:left; margin:0; }
.rst-modal .modal-body{ padding:24px; }
@media (min-width:768px){ .rst-modal .modal-body{ padding:30px 36px 34px; } }
.rst-sum{ background:#fef7ca; padding:16px 18px; margin-bottom:24px; display:flex; flex-wrap:wrap; gap:12px 20px; align-items:flex-end; justify-content:space-between; }
.rst-sum dl{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 22px; margin:0; flex:1 1 380px; }
@media (min-width:768px){ .rst-sum dl{ grid-template-columns:repeat(4,auto); justify-content:start; gap:10px 36px; } }
.rst-sum dt{ font-size:12px; text-transform:uppercase; font-weight:400; color:#525252; }
.rst-sum dd{ font-size:17px; margin:0; line-height:1.3; }
.rst-sum .is-free dd{ background:#F1A4B1; display:inline-block; padding:0 6px; white-space:nowrap; }
.rst-sum__change{ display:block; margin-top:4px; border:0; background:none; padding:0; font:inherit; font-size:14px; color:#3D3D3B; text-decoration:underline; cursor:pointer; }
.rst-modal .rst-form input[type=text],.rst-modal .rst-form input[type=tel],.rst-modal .rst-form input[type=email],.rst-modal .rst-form input[type=number],.rst-modal .rst-form textarea{
  width:100%; border:2px solid #61256d; background:#fff; padding:12px 14px; font-size:17px; border-radius:0; margin-bottom:18px; font-family:inherit; color:#3D3D3B; }
.rst-modal .rst-form label{ display:block; font-size:16px; margin:0 0 6px; }
.rst-modal .rst-form label em,.rst-modal .rst-check em{ color:#b3261e; font-style:normal; }
.rst-modal .rst-opt{ opacity:.65; font-size:14px; }
.rst-modal .rst-form .is-invalid{ border-color:#b3261e !important; }
.rst-modal .rst-form__row{ display:grid; gap:0 18px; grid-template-columns:1fr; }
@media (min-width:768px){ .rst-modal .rst-form__row{ grid-template-columns:1fr 140px; } .rst-modal .rst-form__row--half{ grid-template-columns:1fr 1fr; } }
.rst-modal .rst-check{ display:flex !important; gap:10px; align-items:flex-start; font-size:14px !important; line-height:1.5; margin-bottom:12px !important; }
.rst-modal .rst-check input{ width:20px; height:20px; flex:0 0 auto; margin-top:1px; accent-color:#2D63AE; }
.rst-modal .rst-check a{ color:inherit; }
.rst-modal .rst-form .btn{ width:100%; margin-top:10px; }
.rst-modal .rst-form__msg{ font-size:15px; line-height:1.5; margin:12px 0 0; }
.rst-modal .rst-form__msg.is-error{ color:#b3261e; }
.rst-modal .rst-modal .rst-form :focus-visible{ outline:3px solid #2b76e2; outline-offset:1px; }

.rst-a .a-hero{ background:#C2D5EE; padding:50px 0 60px; position:relative; overflow:hidden; }
@media (min-width:768px){ .rst-a .a-hero{ padding:80px 0 90px; } }
.rst-a .a-hero .deco{ position:absolute; width:460px; top:-120px; left:-160px; transform:rotate(-135deg); display:none; }
.rst-a .a-hero .deco path{ fill:#A19FD2; opacity:.55; }
@media (min-width:992px){ .rst-a .a-hero .deco{ display:block; } }
.rst-a .a-hero .container{ position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr); gap:40px; }
.rst-a .a-hero .container > *{ min-width:0; }
@media (min-width:992px){ .rst-a .a-hero .container{ grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); align-items:center; gap:60px; } }
.rst-a .a-hero h1{ color:#3D3D3B; text-align:left; font-size:38px; line-height:1.08; margin:18px 0 0; }
@media (min-width:768px){ .rst-a .a-hero h1{ font-size:58px; } }
.rst-a .a-hero .lead{ font-size:22px; line-height:1.5; margin:22px 0 0; }
.rst-a .a-hero .extra{ font-size:17px; line-height:1.7; margin:14px 0 30px; max-width:560px; }
.rst-a .a-hero__img{ position:relative; aspect-ratio:4/3.4; }
.rst-a .a-hero__img .rst-ph{ background:repeating-linear-gradient(135deg,#fff 0 14px,#F7F8FA 14px 28px); border-color:#fff; }
.rst-a .a-hero__badge{ position:absolute; left:-18px; bottom:28px; background:#F1A4B1; padding:18px 24px; line-height:1; }
.rst-a .a-hero__badge strong{ display:block; font-size:34px; font-weight:400; white-space:nowrap; }
.rst-a .a-hero__badge em{ display:block; font-style:normal; font-size:24px; margin:6px 0 10px; white-space:nowrap; }
@media (max-width:575px){ .rst-a .a-hero__badge strong{ font-size:26px; } .rst-a .a-hero__badge em{ font-size:19px; } }
.rst-a .a-hero__badge span{ font-size:15px; text-transform:uppercase; }
.rst-a .a-for{ padding-bottom:90px; }
.rst-a .a-for__grid{ display:grid; gap:24px; grid-template-columns:1fr; }
/* Trzy grupy odbiorcow: dwie kolumny zostawialyby sierote w drugim rzedzie,
   wiec do 992px karty ida jedna pod druga, powyzej staja w jednym rzedzie. */
@media (min-width:992px){ .rst-a .a-for__grid{ grid-template-columns:repeat(3,1fr); } }
.rst-a .a-card{ background:#fff; display:flex; flex-direction:column; }
.rst-a .a-card__img{ aspect-ratio:4/3; overflow:hidden; }
.rst-a .a-card__img img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.rst-a .a-card:hover .a-card__img img{ transform:scale(1.04); }
.rst-a .a-card__body{ padding:22px 22px 26px; flex:1; border-top:8px solid; }
.rst-a .a-card:nth-child(1) .a-card__body{ background:#C2D5EE; border-color:#2D63AE; }
.rst-a .a-card:nth-child(2) .a-card__body{ background:#F1A4B1; border-color:#A19FD2; }
.rst-a .a-card:nth-child(3) .a-card__body{ background:#F3D589; border-color:#7AC17E; }
.rst-a .a-card:nth-child(4) .a-card__body{ background:#7AC17E; border-color:#2D63AE; }
.rst-a .a-card h3{ font-size:22px; text-transform:none; margin:0 0 10px; line-height:1.2; }
.rst-a .a-card p{ font-size:16px; line-height:1.6; margin:0; }
.rst-a .a-spec{ padding-bottom:90px; }
.rst-a .a-spec__grid{ display:grid; gap:24px; grid-template-columns:1fr; }
@media (min-width:768px){ .rst-a .a-spec__grid{ grid-template-columns:repeat(3,1fr); } }
.rst-a .rst-spec{ background:#F7F8FA; }
.rst-a .rst-spec__img{ aspect-ratio:1/1; }
.rst-a .rst-spec__body{ padding:22px; }
.rst-a .a-foot{ background:#fff; border-top:1px solid #E3E6EB; padding:50px 0; text-align:center; }
.rst-a .a-foot h2{ font-size:26px; letter-spacing:4px; margin-bottom:6px; }
@media (min-width:768px){ .rst-a .a-foot h2{ font-size:34px; } }
.rst-a .a-foot p{ font-size:18px; margin:0 0 30px; }

.rst-b .b-stripe{ background:#2D63AE; color:#fff; }
.rst-b .b-stripe .container{ display:grid; grid-template-columns:1fr 1fr; }
@media (min-width:992px){ .rst-b .b-stripe .container{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:575px){ .rst-b .b-stripe .container{ grid-template-columns:1fr; padding-top:10px; padding-bottom:10px; } .rst-b .b-stripe .container div{ padding:10px 4px !important; } }
.rst-b .b-stripe div{ padding:22px 10px; display:flex; gap:12px; align-items:center; font-size:17px; line-height:1.3; }
.rst-b .b-stripe svg{ width:30px; height:30px; flex:0 0 auto; }
.rst-b .b-scope{ background:#F1A4B1; padding:0 0 90px; }
.rst-b .b-scope .section-header{ margin-top:0; padding-top:90px; }
.rst-b .b-scope__grid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:768px){ .rst-b .b-scope__grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1200px){ .rst-b .b-scope__grid{ grid-template-columns:repeat(4,1fr); } }
.rst-b .b-scope__grid > div:not(.b-other){ background:#fff; padding:26px 22px; display:flex; gap:16px; align-items:flex-start; font-size:18px; line-height:1.4; min-height:110px; }
.rst-b .b-scope__grid > div:not(.b-other) > svg{ width:44px; height:44px; padding:9px; background:#C2D5EE; flex:0 0 auto; }
.rst-b .b-scope__grid > div.b-other{ background:#3D3D3B; color:#fff; grid-column:1/-1; display:block; padding:30px; }
@media (min-width:992px){ .rst-b .b-scope__grid > div.b-other{ display:flex; align-items:center; justify-content:space-between; gap:40px; } }
.rst-b .b-other h3{ color:#F3D589; text-transform:none; font-size:26px; margin:0 0 6px; }
.rst-b .b-other p{ margin:0 0 18px; font-size:17px; line-height:1.6; max-width:640px; }
@media (min-width:992px){ .rst-b .b-other p{ margin:0; } }
.rst-b .b-other .btn{ flex:0 0 auto; }

.rst-c .c-idea{ padding:100px 0; }
.rst-c .c-idea .container{ display:grid; gap:30px; }
@media (min-width:992px){ .rst-c .c-idea .container{ grid-template-columns:5fr 7fr; gap:80px; } }
.rst-c .c-idea h2{ text-align:left; font-size:40px; }
@media (min-width:768px){ .rst-c .c-idea h2{ font-size:52px; } }
.rst-c .c-idea p{ font-size:19px; line-height:1.85; }
.rst-c .c-book{ padding:90px 0 100px; }
.rst-c .c-book__box{ display:grid; grid-template-columns:minmax(0,1fr); }
.rst-c .c-book__box > *{ min-width:0; }
@media (min-width:992px){ .rst-c .c-book__box{ grid-template-columns:minmax(0,5fr) minmax(0,7fr); } }
.rst-c .c-book__info{ background:#C2D5EE; padding:36px 28px; }
@media (min-width:768px){ .rst-c .c-book__info{ padding:50px 46px; } }
.rst-c .c-book__info h2,.rst-c .c-book__form h2{ text-align:left; font-size:36px; }
@media (min-width:768px){ .rst-c .c-book__info h2,.rst-c .c-book__form h2{ font-size:44px; } }
.rst-c .rst-info{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:28px; }
.rst-c .rst-info__item{ background:rgba(255,255,255,.55); padding:18px 16px; display:flex; flex-direction:column; gap:4px; }
.rst-c .rst-info__item svg{ width:30px; height:30px; margin-bottom:6px; }
.rst-c .rst-info__item span{ font-size:14px; text-transform:uppercase; }
.rst-c .rst-info__item strong{ font-weight:400; font-size:18px; color:#525252; }
.rst-c .rst-info__item.is-free{ background:#fff; } .rst-c .rst-info__item.is-free strong{ color:#3D3D3B; font-size:22px; }
.rst-c .c-book__info p{ font-size:17px; line-height:1.7; margin:26px 0 0; }
.rst-c .c-book__form{ padding:36px 24px; background:#fff; }
@media (min-width:768px){ .rst-c .c-book__form{ padding:50px 50px; } }

.rst-c .c-idea .rst-partners{ justify-content:flex-start; margin-top:34px; padding-top:30px; border-top:1px solid #E3E6EB; }
.rst-c .c-idea{ padding-bottom:60px; }
/* honeypot */
.rst-hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* potwierdzenie w popupie */
.rst-done{ text-align:center; padding:10px 0 6px; }
.rst-done h3{ text-transform:none; font-size:28px; margin:0 0 12px; }
.rst-done p{ font-size:18px; line-height:1.6; margin:0 0 24px; }
.rst-done .btn{ min-width:200px; }
.rst .rst-ph span{ font-size:14px; }
.rst-spec__img img{ width:100%; height:100%; object-fit:cover; }
.rst .a-hero__img img{ width:100%; height:100%; object-fit:cover; }

/* preloader zapisu rezerwacji — przykrywa cały popup */
.rst-modal .modal-content{ position:relative; }
.rst-loader{ position:absolute; inset:0; z-index:50; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  background:rgba(255,255,255,.96); cursor:progress; }
.rst-loader[hidden]{ display:none; }
.rst-loader p{ margin:0; font-size:19px; color:#3D3D3B; }
.rst-loader__spin{ width:54px; height:54px; border:5px solid #C2D5EE; border-top-color:#2D63AE; border-right-color:#F3D589; border-radius:50%;
  animation:rst-spin .8s linear infinite; }
@keyframes rst-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .rst-loader__spin{ animation-duration:2.4s; } }
.rst-modal .modal-content.is-busy .btn-close{ opacity:.3; }

/* jednakowa wysokość pól — motyw dokłada .form-control (inne paddingi) tylko do text/email */
.rst-modal .rst-form input[type=text],
.rst-modal .rst-form input[type=email],
.rst-modal .rst-form input[type=tel],
.rst-modal .rst-form input[type=number]{ box-sizing:border-box; height:52px; padding:0 14px !important; font-size:17px; line-height:1.3; }

/* pola w wierszach po równo 1/2 (imię | wiek, telefon | e-mail) */
@media (min-width:768px){ .rst-modal .rst-form__row{ grid-template-columns:1fr 1fr; } }

/* podsumowanie terminu: trzy kolumny po 1/3 (konsultacja | godzina | miejsce) */
.rst-sum dl{ flex:1 1 100%; }
@media (min-width:768px){ .rst-sum dl{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 24px; } }

/* przewijanie do #zapisy: odstęp na przyklejony nagłówek (wysokość ustawia JS w --rst-header) */
.rst #zapisy{ scroll-margin-top:var(--rst-header, 120px); }

/* zdjęcie hero zawsze wypełnia ramkę (WP dokłada atrybuty width/height) */
.rst .a-hero__img > img{ position:absolute; inset:0; width:100%; height:100% !important; object-fit:cover; }
@media (max-width:575px){ .rst-a .a-hero__badge{ left:0; bottom:0; padding:14px 18px; } }

/* pasek korzyści: trzy pozycje */
@media (min-width:992px){ .rst-b .b-stripe .container{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:576px) and (max-width:991px){ .rst-b .b-stripe .container{ grid-template-columns:repeat(3,1fr); } }

/* plakietka z terminem: zaczepiona o lewy dolny róg zdjęcia, równo wysunięta */
.rst-a .a-hero__img{ position:relative; aspect-ratio:4/3; }
.rst-a .a-hero__badge{ left:-24px; bottom:-24px; padding:20px 26px; z-index:2; box-shadow:0 10px 24px rgba(45,99,174,.12); }
@media (max-width:991px){ .rst-a .a-hero__img{ margin-bottom:24px; } }
@media (max-width:575px){ .rst-a .a-hero__badge{ left:0; bottom:-24px; padding:14px 18px; } }

/* karty "Dla kogo" bez zdjęć — sam kolorowy blok, akcent u góry */
.rst-a .a-card__body{ border-top-width:8px; }

/* Mobile: loga partnerów w jednej linii, skalowane do szerokości ekranu */
@media (max-width:575px){
	.rst-partners{ flex-wrap:nowrap; gap:0 2.2vw; }
	.rst-partners__g{ height:4.6vw; top:.5vw; }
	.rst-partners__gt{ height:2.9vw; }
	.rst-partners__rst{ height:9.5vw; }
	.rst-x{ font-size:4.4vw; }
}

/* Karta „Zaplanuj konsultację” jest błękitna, a nie różowa: róż niesie już pas
   „Zakres konsultacji” tuż nad nią i oba pola zlewały się w jedną plamę.
   Błękit wraca tu za ikonkami w sekcji zakresu, więc wiąże stronę zamiast
   dokładać nowy kolor. Kafle w obu siatkach rozdzielały wcześniej 2 px
   prześwitującego tła i czytały się jak tabela — stąd realne przerwy między
   nimi i odstęp oddzielający pas od boksu zapisów. Kafelki zostają
   półprzezroczyste: na błękicie dają spokojny, jaśniejszy odcień tła,
   a wyróżniony „Bezpłatnie · 0 zł” trzyma pełną biel i odcina się od reszty. */

/* Wąskie telefony: mniejsze wewnętrzne marginesy sekcji zapisów, kafelki informacji jeden pod drugim */
@media (max-width:575px){
	.rst-c .c-book__info{ padding:30px 20px; }
	.rst-c .c-book__form{ padding:30px 18px; }
	.rst-c .rst-info{ grid-template-columns:minmax(0,1fr); }
	.rst-c .rst-info__item{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:4px 12px; }
	.rst-c .rst-info__item svg{ margin-bottom:0; }
	.rst-c .rst-info__item strong{ flex-basis:100%; }
}

/* Elementy siatek nie mogą rozpychać kolumn ponad szerokość ekranu (domyślne min-width:auto w gridzie). */
.rst .a-for__grid > *, .rst .a-spec__grid > *, .rst .b-scope__grid > *, .rst .b-stripe .container > *,
.rst .c-idea .container > *, .rst .rst-form__row > *, .rst .rst-type > *, .rst .rst-slots > *, .rst .rst-info > *{ min-width:0; }
@media (max-width:991px){ .rst-c .c-idea .container{ grid-template-columns:minmax(0,1fr); } }
