/*
Theme Name: RK Landingi
Theme URI: https://kucharskirobert.pl/
Author: RK Landingi
Description: Responsywny, edytowalny motyw blokowy: landing + Oferta + O kancelarii + Blog + Kontakt. Osobne widoki telefon/tablet/desktop, okrągłe zdjęcia i globalne kolory.
Version: 0.4.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rk-landingi
Tags: full-site-editing, blog, custom-colors, custom-logo
*/

/* RK Landingi 0.4 — edytowalny motyw blokowy. Paleta jest w theme.json/Edytorze → Style. */
:root {
 --rk-radius:22px;
 --rk-shadow:0 20px 65px rgba(26,56,43,.12);
 --rk-line:color-mix(in srgb,var(--wp--preset--color--primary) 13%,transparent);
}
*,*::before,*::after {box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;overflow-wrap:break-word;overflow-x:clip}
button,input,textarea,select{font:inherit}
img,video{max-width:100%;height:auto}
.wp-site-blocks{overflow-x:clip}
a{text-underline-offset:.18em}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--wp--preset--color--accent);outline-offset:4px}
/* Logo / menu — logo jest blokiem WordPressa, bez wpisywania na sztywno w PHP. */
.rk-header{position:relative;z-index:20;background:rgba(252,251,248,.98);border-bottom:1px solid var(--rk-line)}
.rk-header-inner{min-height:94px;gap:clamp(12px,2.4vw,28px);padding-block:12px}
.rk-brand{gap:14px;min-width:0;flex-shrink:0}
.rk-brand .wp-block-site-logo{flex-shrink:0}
.rk-brand .wp-block-site-logo img{width:62px;height:62px;object-fit:contain;border-radius:50%}
.rk-brand .wp-block-site-title{margin:0!important;max-width:250px;line-height:1.15!important}
.rk-brand .wp-block-site-title a{font-family:var(--wp--preset--font-family--heading);color:var(--wp--preset--color--contrast)!important;text-decoration:none!important;text-transform:uppercase;font-size:clamp(.95rem,1.45vw,1.32rem);line-height:1.15;letter-spacing:.035em;font-weight:700}
/* Domyślny emblemat RK, który znika po wgraniu własnego logo. */
.rk-brand .wp-block-site-title::before{content:'RK';width:62px;height:62px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:var(--wp--preset--color--primary);color:white;font-family:Georgia,serif;font-weight:600;font-size:1.4rem;letter-spacing:.04em}
.rk-brand .wp-block-site-title{display:flex;align-items:center;gap:14px}
.rk-brand:has(.wp-block-site-logo img) .wp-block-site-title::before{display:none}
.rk-nav{flex-shrink:0}
.rk-nav .wp-block-navigation-item__content{font-size:.92rem;font-weight:600;text-decoration:none!important;white-space:nowrap}
.rk-nav .wp-block-navigation-item__content:hover,.rk-nav .current-menu-item>a{color:var(--wp--preset--color--primary)!important}
.rk-header-cta{flex-shrink:0}
.rk-header-cta .wp-block-button__link{white-space:nowrap}
.rk-btn .wp-block-button__link,.wp-block-button__link{border-radius:999px;padding:.84em 1.55em;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-weight:650;text-decoration:none!important;transition:transform .2s ease,filter .2s ease}
.wp-block-button__link:hover{transform:translateY(-2px);filter:brightness(1.05)}
.wp-block-button.is-style-outline .wp-block-button__link{border-width:1.5px!important}
/* Pierwszy ekran: typografia, miękkie koła, duże okrągłe zdjęcie. */
.rk-hero{position:relative;isolation:isolate;overflow-x:clip;background:radial-gradient(circle at 91% 7%,rgba(177,138,85,.10) 0 15%,transparent 15.15%),linear-gradient(130deg,#fcfbf8 0%,#f8f6f0 72%,#f4f7f3 100%);padding-block:clamp(48px,6.5vw,100px)}
.rk-hero::before{content:'';position:absolute;width:min(45vw,550px);aspect-ratio:1;right:-15%;top:-36%;background:color-mix(in srgb,var(--wp--preset--color--accent) 9%,transparent);border-radius:50%;z-index:-1;pointer-events:none}
.rk-hero-grid{gap:clamp(26px,5vw,82px)!important;align-items:center!important}
.rk-eyebrow{color:var(--wp--preset--color--primary);font-size:.78rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase}
.rk-display{font-family:var(--wp--preset--font-family--heading);font-size:clamp(2.65rem,5.1vw,5rem)!important;line-height:1.06!important;letter-spacing:-.045em;font-weight:600}
.rk-display em{font-style:normal;color:#817765}
.rk-lead{font-size:clamp(1.04rem,1.35vw,1.23rem);line-height:1.68;color:#526058;max-width:610px}
.rk-hero .wp-block-buttons{gap:12px;margin-top:28px}
.rk-photo-column{display:flex;align-items:center;justify-content:center;min-width:0}
.rk-photo-slot{width:min(100%,520px);aspect-ratio:1/1;min-height:0!important;border-radius:50%!important;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:visible;padding:0!important;margin-inline:auto!important;border:8px solid rgba(255,255,255,.95);outline:1px solid rgba(177,138,85,.32);box-shadow:var(--rk-shadow);background:radial-gradient(circle at 33% 24%,color-mix(in srgb,var(--wp--preset--color--primary) 65%,#ffffff),var(--wp--preset--color--primary) 64%,color-mix(in srgb,var(--wp--preset--color--primary) 80%,#101010));text-align:center}
.rk-photo-slot::after{content:'';position:absolute;z-index:-1;width:41%;aspect-ratio:1;right:-7%;bottom:-5%;border-radius:50%;background:rgba(177,138,85,.18);outline:1px solid rgba(177,138,85,.3);pointer-events:none}
.rk-photo-slot>p{color:#fff!important;max-width:235px;padding:18px;font-size:clamp(.8rem,1vw,1rem);line-height:1.65;letter-spacing:.08em;text-transform:uppercase}
.rk-photo-slot>p small{letter-spacing:0;text-transform:none;opacity:.88;font-size:.8em}
.rk-photo-slot:has(.wp-block-image){overflow:hidden}
.rk-photo-slot:has(.wp-block-image)::after{display:none}
.rk-photo-slot>.wp-block-image,.rk-photo-slot>.wp-block-cover{position:absolute;inset:0;width:100%;height:100%;margin:0!important;overflow:hidden;border-radius:50%}
.rk-photo-slot .wp-block-image img,.rk-photo-slot .wp-block-cover img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:50%!important}
/* Zaufanie — delikatne, okrągłe ikony; nie ma obietnic wyniku sprawy. */
.rk-hero-trust{gap:clamp(12px,2vw,30px)!important;margin-top:40px!important;flex-wrap:wrap}
.rk-hero-trust p{font-size:.88rem;line-height:1.35;color:#526058}
.rk-icon-disc{width:54px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:#e8ece6;border-radius:50%;color:var(--wp--preset--color--primary);font-size:1.32rem;flex-shrink:0}
/* Sekcje, oferta, blog. */
.rk-section{padding-block:clamp(55px,6.7vw,90px)}
.rk-section-heading{max-width:780px;margin-bottom:38px!important}
.rk-section-heading h2{font-size:clamp(2rem,3.3vw,3.35rem)!important;letter-spacing:-.028em;line-height:1.15}
.rk-cards{gap:20px}
.rk-card{background:#fff;border:1px solid var(--rk-line);border-radius:var(--rk-radius);padding:clamp(24px,2.2vw,34px);height:100%;box-shadow:0 8px 25px rgba(13,43,29,.035)}
.rk-card h3{font-size:1.28rem;line-height:1.25;margin-top:0!important}
.rk-card p{color:#57655e;line-height:1.7}
.rk-steps .rk-card{border-top:3px solid var(--wp--preset--color--accent)}
.rk-soft{background:var(--wp--preset--color--muted)}
.rk-about{gap:clamp(24px,4vw,55px);align-items:center}
.rk-image-note{width:min(100%,390px);aspect-ratio:1/1;min-height:0!important;padding:30px;border-radius:50%!important;margin-inline:auto;background:linear-gradient(145deg,color-mix(in srgb,var(--wp--preset--color--primary) 7%,white),color-mix(in srgb,var(--wp--preset--color--primary) 20%,white));outline:1px solid rgba(36,71,60,.15);border:8px solid #fff;display:flex;align-items:center;justify-content:center;text-align:center;color:#345448}
.rk-image-note p{text-align:center}
.rk-image-note:has(.wp-block-image){padding:0;overflow:hidden}
.rk-image-note .wp-block-image{margin:0;width:100%;height:100%}
.rk-image-note img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.rk-faq details{background:#fff;border:1px solid var(--rk-line);border-radius:16px;padding:18px 24px;margin:0 0 12px}
.rk-faq summary{font-weight:700;cursor:pointer;list-style-position:outside}
.rk-faq details p{line-height:1.7;color:#526058;margin-top:14px}
.rk-cta{background:var(--wp--preset--color--primary);color:#fff;border-radius:var(--rk-radius);padding:clamp(28px,5vw,65px)}
.rk-cta h2,.rk-cta p{color:#fff!important}
.rk-post-card{background:#fff;border:1px solid #e5eae5;border-radius:18px;overflow:hidden;padding:clamp(18px,2vw,28px);box-shadow:0 4px 16px rgba(0,0,0,.025)}
.rk-post-card .wp-block-post-title{font-size:clamp(1.24rem,1.6vw,1.6rem)!important;margin-top:10px!important}
.rk-post-card a{text-decoration:none}
.rk-post-card .wp-block-post-date{font-size:.82rem;color:#68756c}
.rk-post-card .wp-block-post-excerpt__excerpt{line-height:1.65}
.rk-footer{background:color-mix(in srgb,var(--wp--preset--color--primary) 65%,#071511);color:#e4ebe4;padding-top:55px;padding-bottom:26px}
.rk-footer a,.rk-footer p,.rk-footer h3{color:#e4ebe4!important}
.rk-footer a:hover{color:#d1b17a!important}
.rk-footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding-top:20px;margin-top:32px!important;font-size:.88rem;color:#bbc7bd}
.rk-page-top{padding-block:clamp(42px,5vw,72px) 34px;background:var(--wp--preset--color--muted)}
.rk-page-top h1,.rk-single-title{font-size:clamp(2.1rem,4vw,3.6rem)!important;letter-spacing:-.03em;line-height:1.15!important}
.rk-page-body{padding-block:45px 85px;min-height:35vh}
.rk-text-width{max-width:760px}
.rk-blog-intro{padding-block:60px 30px}
.rk-blog-layout{padding-bottom:85px}
.rk-contact-info{border-left:3px solid var(--wp--preset--color--accent);padding-left:22px}
/* Urządzenia: tablet poziomo/pionowo -> menu hamburger, później układ jednej kolumny. */
@media (max-width:1060px){
 .rk-header-inner{min-height:78px;gap:18px}
 .rk-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
 .rk-nav .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .rk-nav .wp-block-navigation__responsive-container.is-menu-open{display:flex!important;position:fixed;inset:0;overflow-y:auto;z-index:100001;background:var(--wp--preset--color--base);color:var(--wp--preset--color--contrast);padding:20px}
 .rk-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-size:1.15rem;padding-block:7px}
 .rk-brand .wp-block-site-title a{font-size:1.07rem}
}
@media (max-width:781px){
 html{scroll-padding-top:75px}
 .rk-header-inner{padding-block:9px;min-height:74px}
 .rk-hero{padding-block:46px 58px}
 .rk-hero-grid{gap:35px!important}
 .rk-hero-grid>.wp-block-column{flex-basis:100%!important;min-width:0}
 .rk-hero-grid>.wp-block-column.rk-photo-column{margin-block-start:15px}
 .rk-photo-slot{width:min(100%,460px)}
 .rk-about>.wp-block-column{flex-basis:100%!important}
 .rk-image-note{width:min(100%,330px)}
 .rk-section{padding-block:56px}
 .rk-section-heading{margin-bottom:30px!important}
 .rk-post-card{min-width:0}
 .rk-post-card .wp-block-post-title{overflow-wrap:anywhere}
}
@media (max-width:600px){
 .rk-brand{gap:9px}
 .rk-brand .wp-block-site-title{max-width:175px;gap:9px}
 .rk-brand .wp-block-site-title::before,.rk-brand .wp-block-site-logo img{width:48px;height:48px;font-size:1rem}
 .rk-brand .wp-block-site-title a{font-size:clamp(.83rem,3.4vw,1.05rem);line-height:1.1}
 .rk-header-inner{gap:8px}
 .rk-header-cta .wp-block-button__link{width:44px;height:44px;padding:0;font-size:0!important;white-space:nowrap}
 .rk-header-cta .wp-block-button__link::before{content:'☎';font-size:1.2rem}
 .rk-nav .wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px}
 .rk-hero{padding-block:32px 48px}
 .rk-display{font-size:clamp(2.25rem,10.3vw,3.15rem)!important;line-height:1.08!important}
 .rk-lead{font-size:1.04rem;line-height:1.6}
 .rk-photo-slot{width:min(100%,355px)}
 .rk-hero .wp-block-buttons{gap:10px}
 .rk-hero .wp-block-button{width:100%}
 .rk-hero .wp-block-button__link{width:100%;text-align:center}
 .rk-section{padding-block:50px}
 .rk-card{padding:22px}
 .rk-cta{padding:32px 24px}
 .rk-footer{padding-top:45px}
 .rk-footer .wp-block-columns{gap:22px}
 .rk-faq details{padding:16px 18px}
 .rk-post-card .wp-block-post-title{font-size:1.25rem!important}
}
@media (max-width:360px){
 .rk-brand .wp-block-site-title{max-width:160px}
 .rk-brand .wp-block-site-title a{font-size:.8rem}
 .rk-brand .wp-block-site-title::before{width:40px;height:40px}
 .rk-photo-slot{width:min(100%,290px)}
 .rk-header-inner{gap:4px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wp-block-button__link{transition:none}}



/* RK v0.3 — typografia, koła i dopracowane detale. */
body,button,input,textarea,select,.wp-block-navigation a{font-family:var(--wp--preset--font-family--body)}
body{font-size:clamp(1rem,1.08vw,1.075rem);line-height:1.7}
h1,h2,h3,h4,h5,h6{font-family:var(--wp--preset--font-family--heading);text-wrap:balance}
.wp-block-heading{font-weight:600}
.rk-hero{background:radial-gradient(circle at 95% 6%,rgba(177,138,85,.09) 0 14%,transparent 14.15%),radial-gradient(circle at -5% 84%,rgba(36,71,60,.045) 0 16%,transparent 16.15%),linear-gradient(130deg,#fcfbf8 0%,#f8f6f0 72%,#f4f7f3 100%)}
.rk-display{font-weight:500!important;letter-spacing:-.025em;line-height:1.06!important;text-wrap:balance}
.rk-display em{color:#897a66}
.rk-hero .rk-eyebrow{letter-spacing:.18em}
.rk-hero .rk-lead{max-width:620px}
.rk-hero-trust p{font-size:.87rem}
.rk-photo-column{position:relative;isolation:isolate}
.rk-photo-slot{outline-offset:4px;box-shadow:0 24px 75px rgba(21,49,37,.14);z-index:1}
.rk-photo-slot::before{content:'';position:absolute;inset:-18px;border-radius:50%;border:1px solid color-mix(in srgb,var(--wp--preset--color--accent) 65%, transparent);z-index:-1;pointer-events:none}
.rk-photo-slot::after{z-index:0}
.rk-photo-badge{position:absolute;z-index:3;right:-4%;bottom:1%;width:clamp(112px,12vw,160px);aspect-ratio:1;border-radius:50%;padding:18px;background:var(--wp--preset--color--muted);border:5px solid var(--wp--preset--color--base);display:flex;justify-content:center;align-items:center;box-shadow:0 12px 35px rgba(20,55,42,.08)}
.rk-photo-badge p{font-size:.71rem;letter-spacing:.055em;text-transform:uppercase;color:var(--wp--preset--color--primary);line-height:1.55;text-align:center;margin:0}
.rk-photo-slot>p{font-size:.84rem}
.rk-card{transition:transform .18s ease,box-shadow .18s ease}
@media (hover:hover){.rk-card:hover{transform:translateY(-3px);box-shadow:0 12px 38px rgba(13,43,29,.07)}}
.rk-icon-service{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--wp--preset--color--primary) 12%,#fff);color:var(--wp--preset--color--primary);font-family:var(--wp--preset--font-family--heading);font-size:1.6rem;margin:0 0 14px}
.rk-contact-info a{overflow-wrap:anywhere}
.rk-footer .wp-block-heading{font-size:1.36rem}
.rk-brand .wp-block-site-title::before{font-family:var(--wp--preset--font-family--heading)}
.rk-nav .wp-block-navigation-item__content{font-size:.91rem}
.wp-block-navigation__responsive-container.is-menu-open{padding-top:28px}
@media(max-width:781px){.rk-photo-badge{width:116px;right:4%;bottom:0}.rk-hero .rk-hero-trust{margin-top:28px!important}}
@media(max-width:600px){.rk-photo-badge{width:95px;right:1%;bottom:2%;padding:9px;border-width:3px}.rk-photo-badge p{font-size:.56rem}.rk-photo-slot::before{inset:-10px}}
@media(max-width:360px){.rk-photo-badge{right:0;bottom:0;width:86px}}
@media(prefers-reduced-motion:reduce){.rk-card{transition:none}}


/* RK Landingi 0.4.0 — poprawki responsywności po teście na żywej witrynie.
   1. Stałe, płynne marginesy na tabletach i w wąskich oknach.
   2. Okrągły badge z jednakową wysokością i szerokością.
   3. Wcześniejsze przejście hero do pojedynczej kolumny. */
:root { --rk-edge-space:clamp(20px,3.6vw,52px); }
.rk-header,.rk-hero,.rk-section,.rk-footer,.rk-page-top,.rk-page-body,.rk-blog-intro,.rk-blog-layout {
  padding-left:var(--rk-edge-space);
  padding-right:var(--rk-edge-space);
}
.rk-header > .rk-header-inner,
.rk-hero > .rk-hero-grid,
.rk-section > .alignwide,
.rk-footer > .alignwide {
  max-width:1140px;
  margin-left:auto!important;
  margin-right:auto!important;
}
.rk-hero-grid > .wp-block-column {min-width:0}
@media (min-width:1081px) {
  .rk-hero-grid > .wp-block-column:first-child {flex:1 1 0%!important}
  .rk-hero-grid > .wp-block-column.rk-photo-column {flex:0 1 44%!important}
}
.rk-photo-column {position:relative;min-width:0;max-width:100%;}
.rk-photo-column > .rk-photo-badge,
.rk-photo-badge {
  --rk-badge-size:clamp(124px,11.5vw,160px);
  position:absolute;
  left:auto!important;
  right:0!important;
  bottom:0!important;
  box-sizing:border-box;
  width:var(--rk-badge-size)!important;
  height:var(--rk-badge-size)!important;
  min-width:var(--rk-badge-size)!important;
  min-height:var(--rk-badge-size)!important;
  max-width:var(--rk-badge-size)!important;
  max-height:var(--rk-badge-size)!important;
  aspect-ratio:1 / 1!important;
  border-radius:50%!important;
  padding:clamp(10px,1.3vw,18px)!important;
  display:flex!important;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.rk-photo-badge > p {
  width:100%!important;
  min-width:0;
  max-width:100%!important;
  margin:0!important;
  font-size:clamp(.55rem,.85vw,.67rem)!important;
  line-height:1.32!important;
  letter-spacing:.012em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none;
}
@media(max-width:1080px) {
  .rk-hero-grid {flex-wrap:wrap!important;gap:clamp(30px,4vw,48px)!important}
  .rk-hero-grid > .wp-block-column,
  .rk-hero-grid > .wp-block-column.rk-photo-column {
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .rk-hero-grid > .wp-block-column.rk-photo-column {
    max-width:560px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .rk-photo-slot {width:min(100%,450px)}
  .rk-photo-badge {--rk-badge-size:132px;right:3%!important;}
}
@media(max-width:600px) {
  :root{--rk-edge-space:clamp(18px,5.4vw,25px)}
  .rk-photo-badge {--rk-badge-size:104px;right:0!important;bottom:1%!important;padding:9px!important;}
  .rk-photo-badge > p {font-size:.54rem!important;line-height:1.28!important;letter-spacing:0!important;}
}
@media(max-width:360px) {
  :root{--rk-edge-space:18px}
  .rk-photo-badge {--rk-badge-size:92px;}
  .rk-photo-badge > p {font-size:.49rem!important;}
}


/* RK Landingi 0.4.0 — hero i header bliższe zaakceptowanej wizualce premium. */

:root{
  --rk-edge-space:clamp(26px,4.5vw,72px);
  --rk-primary-deep:#163c35;
  --rk-text-strong:#142823;
  --rk-accent-strong:#b6925d;
  --rk-cream:#fbf8f2;
  --rk-soft-circle:rgba(232,223,206,.42);
  --rk-soft-green:rgba(27,69,59,.045);
  --rk-gold-line:rgba(182,146,93,.72);
  --rk-shadow-soft:0 24px 70px rgba(22,60,53,.10);
}
.rk-header,.rk-hero,.rk-section,.rk-footer,.rk-page-top,.rk-page-body,.rk-blog-intro,.rk-blog-layout{padding-left:var(--rk-edge-space);padding-right:var(--rk-edge-space)}
.rk-header{background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(20,40,35,.08)}
.rk-header>.rk-header-inner,.rk-hero>.rk-hero-grid,.rk-section>.alignwide,.rk-footer>.alignwide{max-width:1280px;margin-left:auto!important;margin-right:auto!important}
.rk-header-inner{min-height:112px;padding-block:14px;gap:30px}
.rk-brand{gap:20px;flex:0 1 auto}
.rk-brand .wp-block-site-logo img{width:auto;height:72px;max-width:136px;object-fit:contain;border-radius:0}
.rk-brand .wp-block-site-title{display:flex;align-items:center;gap:18px;max-width:390px;margin:0!important}
.rk-brand .wp-block-site-title::before{content:'RK';display:inline-flex;align-items:center;justify-content:center;min-width:auto;width:auto;height:auto;padding:0;background:none;color:var(--rk-primary-deep);font-family:var(--wp--preset--font-family--heading);font-size:clamp(3.65rem,5vw,5.4rem);font-weight:500;line-height:.78;letter-spacing:-.09em;border-radius:0}
.rk-brand .wp-block-site-title::after{content:'';width:1px;align-self:stretch;background:var(--rk-gold-line);margin-right:4px}
.rk-brand:has(.wp-block-site-logo img) .wp-block-site-title::before,
.rk-brand:has(.wp-block-site-logo img) .wp-block-site-title::after{display:none}
.rk-brand .wp-block-site-title a{font-size:clamp(1.18rem,1.38vw,1.55rem);font-weight:600;line-height:1.16;letter-spacing:.15em;color:var(--rk-text-strong)!important;text-transform:uppercase}
.rk-nav{margin-left:auto}
.rk-nav .wp-block-navigation__container{gap:clamp(18px,2.1vw,38px)}
.rk-nav .wp-block-navigation-item__content{font-size:1.02rem;font-weight:600;color:var(--rk-text-strong)!important}
.rk-nav .wp-block-navigation-item__content:hover,.rk-nav .current-menu-item>a{color:var(--rk-primary-deep)!important}
.rk-header-cta .wp-block-button__link{position:relative;padding:.98em 1.8em .98em 3.15em;min-height:58px;border:none!important;background:linear-gradient(130deg,var(--rk-primary-deep) 0%,#1a4d42 58%,#173d36 100%)!important;box-shadow:0 10px 28px rgba(22,60,53,.18)}
.rk-header-cta .wp-block-button__link::before{content:'✆';position:absolute;left:1.3em;top:50%;transform:translateY(-50%);font-size:1.06rem;color:#e4c48f}
.rk-hero{position:relative;isolation:isolate;overflow:hidden;background:
  radial-gradient(circle at 92% 12%, rgba(237,229,216,.82) 0 14%, transparent 14.2%),
  radial-gradient(circle at 102% 52%, rgba(239,232,221,.88) 0 15%, transparent 15.2%),
  radial-gradient(circle at 0% 90%, rgba(32,74,64,.05) 0 10%, transparent 10.2%),
  linear-gradient(180deg,#fffdfa 0%, #fcfaf6 44%, #fbf8f3 100%);
  padding-block:68px 62px}
.rk-hero::before{content:'';position:absolute;inset:auto auto -12% -8%;width:min(28vw,360px);aspect-ratio:1;border-radius:50%;background:var(--rk-soft-green);z-index:-2}
.rk-hero::after{content:'';position:absolute;right:-8%;top:18%;width:min(44vw,620px);aspect-ratio:1;border-radius:50%;background:rgba(240,232,221,.34);z-index:-2}
.rk-hero-grid{position:relative;gap:clamp(40px,6vw,88px)!important;align-items:center!important}
.rk-hero-grid>.wp-block-column{min-width:0}
.rk-hero-grid>.wp-block-column:first-child{flex-basis:53%!important}
.rk-hero-grid>.wp-block-column.rk-photo-column{flex-basis:47%!important}
.rk-eyebrow{display:flex;align-items:center;gap:26px;margin-bottom:24px!important;color:var(--rk-primary-deep);font-size:.86rem;font-weight:700;letter-spacing:.28em;text-transform:uppercase}
.rk-eyebrow::before{content:'';width:54px;height:2px;background:var(--rk-accent-strong);border-radius:999px;flex:0 0 auto}
.rk-display{font-size:clamp(4rem,6vw,5.85rem)!important;line-height:.96!important;letter-spacing:-.04em!important;color:var(--rk-primary-deep);max-width:700px;text-wrap:pretty;margin-bottom:22px!important}
.rk-display em{display:block;font-style:normal;color:var(--rk-accent-strong)}
.rk-lead{max-width:640px;font-size:clamp(1.12rem,1.38vw,1.34rem);line-height:1.7;color:#3e4d49;margin-bottom:0!important}
.rk-hero .wp-block-buttons{gap:18px;margin-top:34px!important}
.rk-hero .wp-block-button>.wp-block-button__link{min-height:58px;padding:1em 1.8em}
.rk-hero .wp-block-button:first-child .wp-block-button__link{position:relative;padding-left:3.2em;background:linear-gradient(130deg,var(--rk-primary-deep) 0%,#1c4f43 100%)!important;box-shadow:0 14px 32px rgba(21,59,52,.16)}
.rk-hero .wp-block-button:first-child .wp-block-button__link::before{content:'✆';position:absolute;left:1.35em;top:50%;transform:translateY(-50%);font-size:1rem;color:#e2c089}
.rk-hero .wp-block-button.is-style-outline .wp-block-button__link,
.rk-hero .rk-outline-cta .wp-block-button__link{background:#fff!important;border:2px solid rgba(20,60,53,.7)!important;color:var(--rk-primary-deep)!important;padding-right:3.4em;box-shadow:0 10px 25px rgba(21,59,52,.05)}
.rk-hero .wp-block-button.is-style-outline .wp-block-button__link::after,
.rk-hero .rk-outline-cta .wp-block-button__link::after{content:'→';position:absolute;right:1.35em;top:50%;transform:translateY(-50%);font-size:1.22rem}
.rk-hero-trust{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:48px!important;max-width:660px;width:100%}
.rk-hero-trust p,.rk-hero-trust .rk-trust-item{position:relative;min-height:138px;margin:0!important;padding:86px 16px 0 0;font-size:.82rem;line-height:1.32;color:#20312c}
.rk-hero-trust p:not(:first-child),.rk-hero-trust .rk-trust-item:not(:first-child){padding-left:26px;border-left:1px solid rgba(21,59,52,.10)}
.rk-hero-trust p::before,.rk-hero-trust .rk-trust-item::before{content:'';position:absolute;left:0;top:0;width:52px;height:52px;border-radius:50%;background:#f2eee5;border:1px solid rgba(21,59,52,.08)}
.rk-hero-trust p:not(:first-child)::before,.rk-hero-trust .rk-trust-item:not(:first-child)::before{left:26px}
.rk-hero-trust p::after,.rk-hero-trust .rk-trust-item::after{content:'';position:absolute;top:14px;left:14px;width:24px;height:24px;background-repeat:no-repeat;background-position:center;background-size:contain;opacity:.9}
.rk-hero-trust p:not(:first-child)::after,.rk-hero-trust .rk-trust-item:not(:first-child)::after{left:40px}
.rk-hero-trust p:nth-child(1)::after,.rk-hero-trust .rk-trust-item:nth-child(1)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163c35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.5a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3.5V8h4'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E")}
.rk-hero-trust p:nth-child(2)::after,.rk-hero-trust .rk-trust-item:nth-child(2)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163c35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v5c0 4.5-2.8 7.8-7 10-4.2-2.2-7-5.5-7-10V6l7-3Z'/%3E%3Cpath d='m9.2 11.8 1.8 1.8 4-4'/%3E%3C/svg%3E")}
.rk-hero-trust p:nth-child(3)::after,.rk-hero-trust .rk-trust-item:nth-child(3)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163c35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.4c0 4.4-4 8-9 8-1 0-2-.1-2.9-.4L4 21l1.3-3.5C4.5 16 4 13.8 4 11.4c0-4.4 4-8 9-8s7 3.6 7 8Z'/%3E%3C/svg%3E")}
.rk-photo-column{position:relative;display:flex;align-items:center;justify-content:center;padding:14px 26px 26px 0;isolation:isolate}
.rk-photo-column::before{content:'';position:absolute;top:-86px;right:54px;width:min(22vw,300px);aspect-ratio:1;border-radius:50%;background:rgba(241,235,225,.7);z-index:0}
.rk-photo-column::after{content:'';position:absolute;right:-72px;bottom:-18px;width:min(28vw,380px);aspect-ratio:1;border-radius:50%;border:1px solid rgba(182,146,93,.65);z-index:0}
.rk-photo-slot{width:min(100%,560px);aspect-ratio:1/1;border-radius:50%!important;position:relative;z-index:2;overflow:hidden;padding:0!important;margin-inline:auto!important;border:10px solid rgba(255,255,255,.98);outline:1.3px solid rgba(182,146,93,.75);outline-offset:10px;background:
  linear-gradient(0deg,rgba(18,57,48,.58),rgba(18,57,48,.58)),
  radial-gradient(circle at 18% 18%,rgba(255,255,255,.07),transparent 30%),
  linear-gradient(90deg,rgba(255,255,255,.02) 0 18%,transparent 18% 24%,rgba(255,255,255,.04) 24% 26%,transparent 26% 42%,rgba(255,255,255,.03) 42% 48%,transparent 48% 68%,rgba(255,255,255,.02) 68% 74%,transparent 74% 100%),
  linear-gradient(140deg,#36594c 0%,#20473d 62%,#1a3d35 100%);
  box-shadow:var(--rk-shadow-soft)}
.rk-photo-slot::before{content:'';position:absolute;inset:-18px;border-radius:50%;border:1px solid rgba(182,146,93,.75);z-index:0;pointer-events:none}
.rk-photo-slot::after{content:'';position:absolute;right:-8%;bottom:-8%;width:38%;aspect-ratio:1;border-radius:50%;background:rgba(236,228,214,.45);z-index:0;pointer-events:none}
.rk-photo-slot>p{position:relative;z-index:1;max-width:290px;padding:18px;color:#fff!important;text-align:center;font-size:1.02rem;line-height:1.52;letter-spacing:.03em;text-transform:uppercase}
.rk-photo-slot>p small{display:block;margin-top:14px;font-size:.7em;line-height:1.6;letter-spacing:0;text-transform:none;opacity:.92}
.rk-photo-slot:has(.wp-block-image),.rk-photo-slot:has(.wp-block-cover){background:none}
.rk-photo-slot>.wp-block-image,.rk-photo-slot>.wp-block-cover{position:absolute;inset:0;width:100%;height:100%;margin:0!important;overflow:hidden;border-radius:50%}
.rk-photo-slot .wp-block-image::after,.rk-photo-slot .wp-block-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,45,38,.08),rgba(17,45,38,.18));pointer-events:none}
.rk-photo-slot .wp-block-image img,.rk-photo-slot .wp-block-cover img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:50%!important}
.rk-photo-badge{--rk-badge-size:clamp(132px,14vw,172px);position:absolute;right:-6px!important;bottom:38px!important;z-index:3;width:var(--rk-badge-size)!important;height:var(--rk-badge-size)!important;min-width:var(--rk-badge-size)!important;min-height:var(--rk-badge-size)!important;max-width:var(--rk-badge-size)!important;max-height:var(--rk-badge-size)!important;aspect-ratio:1/1!important;border-radius:50%!important;padding:18px!important;background:rgba(250,246,238,.96);border:1px solid rgba(182,146,93,.48);box-shadow:0 16px 40px rgba(20,55,42,.08);display:flex!important;align-items:center;justify-content:center;overflow:hidden}
.rk-photo-badge::before{content:'';position:absolute;inset:10px;border-radius:50%;border:1px solid rgba(182,146,93,.22)}
.rk-photo-badge p{position:relative;z-index:1;width:100%!important;max-width:100%!important;margin:0!important;color:var(--rk-primary-deep);font-size:.9rem!important;line-height:1.35!important;letter-spacing:.12em!important;text-transform:uppercase;text-align:center}
.rk-section{padding-block:70px}
.rk-section-heading{margin-bottom:42px!important}
.rk-section-heading h2{font-size:clamp(2.4rem,3.3vw,3.7rem)!important;line-height:1.12;letter-spacing:-.03em;color:var(--rk-primary-deep)}
.rk-card{background:#fff;border:1px solid rgba(22,60,53,.08);border-radius:28px;padding:30px;box-shadow:0 12px 32px rgba(21,59,52,.04)}
.rk-card h3{font-size:1.45rem;color:var(--rk-primary-deep)}
.rk-card p{color:#4d5a56}
.rk-faq details{border-radius:20px}
.rk-footer{background:linear-gradient(135deg,#173e37 0%,#102b24 100%)}
@media (max-width:1220px){
  .rk-header-inner{gap:24px}
  .rk-display{font-size:clamp(3.6rem,5.5vw,5rem)!important}
  .rk-photo-slot{width:min(100%,500px)}
}
@media (max-width:1100px){
  .rk-hero-grid{flex-wrap:wrap!important;gap:38px!important}
  .rk-hero-grid>.wp-block-column:first-child,.rk-hero-grid>.wp-block-column.rk-photo-column{flex-basis:100%!important}
  .rk-photo-column{padding:18px 18px 10px 0;max-width:640px;margin-inline:auto}
  .rk-hero-trust{max-width:760px}
  .rk-display{max-width:760px}
}
@media (max-width:980px){
  .rk-header-inner{min-height:86px;gap:18px}
  .rk-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .rk-nav .wp-block-navigation__responsive-container-open{display:inline-flex!important;min-width:46px;min-height:46px;border:1px solid rgba(20,40,35,.08);border-radius:50%;padding:10px}
  .rk-brand .wp-block-site-logo img{height:58px;max-width:104px}
  .rk-brand .wp-block-site-title::before{font-size:3.7rem}
  .rk-brand .wp-block-site-title a{font-size:1.02rem;letter-spacing:.12em}
  .rk-header-cta .wp-block-button__link{min-height:52px;padding-left:3em;padding-right:1.4em}
  .rk-hero{padding-block:48px 56px}
  .rk-display{font-size:clamp(3.05rem,8.2vw,4.5rem)!important}
  .rk-photo-column::before{right:40px;top:-34px;width:180px}
  .rk-photo-column::after{right:-20px;bottom:-16px;width:220px}
  .rk-photo-badge{bottom:22px!important;right:10px!important}
}
@media (max-width:720px){
  .rk-header,.rk-hero,.rk-section,.rk-footer,.rk-page-top,.rk-page-body,.rk-blog-intro,.rk-blog-layout{padding-left:22px;padding-right:22px}
  .rk-brand{gap:10px}
  .rk-brand .wp-block-site-title{gap:12px;max-width:220px}
  .rk-brand .wp-block-site-title::before{font-size:3rem}
  .rk-brand .wp-block-site-title a{font-size:.92rem;letter-spacing:.11em}
  .rk-header-inner{gap:10px}
  .rk-header-cta .wp-block-button__link{width:48px;height:48px;min-height:48px;padding:0!important;font-size:0!important;border-radius:50%!important}
  .rk-header-cta .wp-block-button__link::before{left:50%;transform:translate(-50%,-50%);font-size:1.12rem}
  .rk-eyebrow{gap:14px;letter-spacing:.18em}
  .rk-eyebrow::before{width:34px}
  .rk-display{font-size:clamp(2.6rem,11vw,3.8rem)!important;line-height:1.01!important}
  .rk-lead{font-size:1.03rem}
  .rk-hero .wp-block-buttons{gap:12px}
  .rk-hero .wp-block-button{width:100%}
  .rk-hero .wp-block-button__link{width:100%;justify-content:center}
  .rk-hero-trust{grid-template-columns:1fr;gap:18px;margin-top:38px!important}
  .rk-hero-trust p,.rk-hero-trust .rk-trust-item{min-height:auto;padding:0 0 0 76px!important;border-left:none!important}
  .rk-hero-trust p::before,.rk-hero-trust .rk-trust-item::before{left:0!important;top:0}
  .rk-hero-trust p::after,.rk-hero-trust .rk-trust-item::after{left:14px!important;top:14px}
  .rk-photo-column{padding:10px 8px 18px}
  .rk-photo-slot{width:min(100%,430px);outline-offset:6px;border-width:8px}
  .rk-photo-slot::before{inset:-10px}
  .rk-photo-badge{--rk-badge-size:112px;bottom:8px!important;right:6px!important;padding:12px!important}
  .rk-photo-badge p{font-size:.68rem!important;letter-spacing:.08em!important}
  .rk-section{padding-block:56px}
}
@media (max-width:420px){
  .rk-brand .wp-block-site-title{max-width:176px}
  .rk-brand .wp-block-site-title::before{font-size:2.55rem}
  .rk-brand .wp-block-site-title a{font-size:.82rem;letter-spacing:.1em}
  .rk-display{font-size:2.35rem!important}
  .rk-photo-slot{width:min(100%,315px)}
  .rk-photo-badge{--rk-badge-size:92px;bottom:2px!important;right:0!important}
  .rk-photo-badge p{font-size:.56rem!important}
}

/* RK Landingi v0.4.1 — prawdziwy monogram SVG jako logo domyślne.
 * Nie wymaga uploadu SVG do Biblioteki mediów: CSS maska używa
 * pliku lokalnego z motywu. Kolor pobierany z globalnej palety.
 * Po ustawieniu własnego Logo witryny w edytorze, znak automatycznie znika. */
.rk-brand .wp-block-site-title {
  display:flex;
  align-items:center;
  gap:clamp(10px,1.1vw,17px);
}
.rk-brand .wp-block-site-title::before {
  content:"" !important;
  display:block;
  width:clamp(64px,6.0vw,91px);
  height:clamp(59px,5.6vw,84px);
  min-width:clamp(64px,6.0vw,91px);
  border-radius:0;
  background:var(--wp--preset--color--primary, #24473c);
  -webkit-mask-image:url('assets/rk-monogram-mark.svg');
  mask-image:url('assets/rk-monogram-mark.svg');
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  flex:0 0 auto;
  order:1;
}
.rk-brand .wp-block-site-title::after {
  content:"";
  display:block;
  width:1px;
  height:clamp(48px,4.5vw,66px);
  background:var(--wp--preset--color--accent, #b18a55);
  align-self:center;
  margin-right:0;
  order:2;
  flex-shrink:0;
}
.rk-brand .wp-block-site-title > a {order:3;}
.rk-brand:has(.wp-block-site-logo img) .wp-block-site-title::before,
.rk-brand:has(.wp-block-site-logo img) .wp-block-site-title::after {
  display:none;
}
@media(max-width:980px){
  .rk-brand .wp-block-site-title::before {
    width:65px;
    height:58px;
    min-width:65px;
  }
  .rk-brand .wp-block-site-title::after {height:49px;}
}
@media(max-width:720px){
  .rk-brand .wp-block-site-title::before {
    width:clamp(40px,9vw,53px);
    min-width:clamp(40px,9vw,53px);
    height:clamp(41px,9vw,50px);
  }
  .rk-brand .wp-block-site-title::after {height:41px;}
  .rk-brand .wp-block-site-title {gap:9px;}
}
@media(max-width:420px){
  .rk-brand .wp-block-site-title::before {width:40px;height:39px;min-width:40px;}
  .rk-brand .wp-block-site-title::after {height:36px;}
  .rk-brand .wp-block-site-title {gap:7px;}
}
