/* text pages, about, contacts, blog, 404, account — the warm look of the home page (tokens: .kv in home.css).
   Pictures keep their own proportions everywhere here: width 100%, height auto, never object-fit:cover. */
.kpg{padding:0 0 80px}
.kpg__wrap{max-width:1240px;margin:0 auto;padding:24px 24px 0}
.kpg .crumbs{margin:0 0 16px;font-size:13px;color:#888}
.kpg .crumbs a:hover{color:#111;text-decoration:none}
.kpg__title{margin:0 0 24px;font:600 clamp(30px,3.2vw,44px)/1.12 var(--fs);letter-spacing:-.3px;color:#111}
.kpg__lead{max-width:720px;margin:-12px 0 28px;font-size:17px;line-height:1.65;color:#555}
.kpg__grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.kpg__grid.is-wide{grid-template-columns:minmax(0,1fr)}
.kpg__card{padding:36px 40px;border:1px solid #e6e6e6;border-radius:24px;background:#fff}

/* typography of the editor text */
.kpg-text{font-size:16.5px;line-height:1.75;color:#333}
.kpg-text>*:first-child{margin-top:0}
.kpg-text>*:last-child{margin-bottom:0}
.kpg-text p{margin:0 0 14px}
.kpg-text h2,.kpg-text .rp-wrap h2{margin:34px 0 12px;padding:0;border:0;font:600 24px/1.3 var(--fs);color:#111}
.kpg-text h3{margin:26px 0 10px;font:600 20px/1.35 var(--fs);color:#111}
.kpg-text a{color:#111;text-decoration:underline;text-decoration-color:rgba(243,188,35,.35);text-underline-offset:3px}
.kpg-text a:hover{text-decoration-color:currentColor}
.kpg-text strong,.kpg-text b{color:#111}
.kpg-text ul{list-style:none;margin:0 0 16px;padding:0}
.kpg-text ul li{position:relative;margin:8px 0;padding-left:26px}
.kpg-text ul li::before{content:"";position:absolute;left:4px;top:.72em;width:8px;height:8px;border-radius:50%;background:#ecc759}
.kpg-text ol{list-style:none;counter-reset:k;margin:0 0 18px;padding:0}
.kpg-text ol li{position:relative;counter-increment:k;margin:12px 0;padding-left:44px}
.kpg-text ol li::before{content:counter(k);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:#fdeaa8;color:#111;font:700 14px/30px var(--f);text-align:center}
.kpg-text table{width:100%;border-collapse:separate;border-spacing:0;margin:8px 0 22px;border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;font-size:15.5px}
.kpg-text th,.kpg-text td{padding:13px 16px;border-bottom:1px solid #ececec;text-align:left;vertical-align:top}
.kpg-text tr:last-child td{border-bottom:0}
.kpg-text th,.kpg-text thead td{background:#f7f7f7;font-weight:700;color:#111}
.kpg-text blockquote,.kpg-text .rp-note,.kpg-text .note{margin:20px 0;padding:16px 20px;border:0;border-radius:16px;background:#f7f7f7;font-size:15px;line-height:1.65;color:#444}
.kpg-text blockquote p{margin:0}
.kpg-text img{display:block;max-width:100%;height:auto;margin:18px auto;border-radius:16px}
.kpg-text figure{margin:18px 0}
.kpg-text iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:16px}
.kpg-text .rp-wrap{max-width:none}
.kpg-text .rp-wrap ul,.kpg-text .rp-wrap ol{padding-left:0}

/* «Є питання?» */
.kpg-help{position:sticky;top:20px;display:flex;flex-direction:column;gap:12px;padding:26px;border-radius:24px;background:#111;color:#e6e6e6}
.kpg-help__title{font:600 22px/1.2 var(--fs);color:#fff}
.kpg-help__text{margin:0;font-size:14.5px;line-height:1.55;color:#ccc}
.kpg-help__phone{display:flex;align-items:center;gap:10px;margin-top:4px;font-size:19px;font-weight:700;color:#fff}
.kv .kpg-help__phone:hover{color:#ffe08a}
.kpg-help__phone .licon{width:22px;height:22px;color:#ffd45c}
.kpg-help__links{display:flex;flex-wrap:wrap;gap:8px}
.kpg-help__links a{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:14px;font-weight:600;color:#fff;transition:background .2s}
.kv .kpg-help__links a:hover{background:#f3bc23;color:#111}
.kpg-help__hours{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:6px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);font-size:14px}
.kpg-help__hours dt{color:#999}
.kpg-help__hours dd{margin:0;color:#fff}
.kpg-help__more{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:14px;font-weight:600;color:#ffe08a}
.kpg-help__more .licon{width:16px;height:16px}

/* buttons shared by about / 404 */
.kab__btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 28px;border-radius:16px;background:#f3bc23;color:#111;font:700 16px/1 var(--f);box-shadow:0 12px 28px rgba(243,188,35,.24);transition:background .2s,transform .2s}
.kv .kab__btn:hover{background:#e5ab12;color:#111;transform:translateY(-1px)}
.kab__btn.is-light{background:#fff;color:#111;border:1px solid #e6e6e6;box-shadow:none}
.kv .kab__btn.is-light:hover{background:#111;border-color:#111;color:#fff}
.kab__btn .licon{width:20px;height:20px}
.kab__eyebrow{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;background:#fdeaa8;color:#111;font-size:13px;font-weight:700;letter-spacing:.2px}
.kab__h2{margin:12px 0 0;font:600 clamp(26px,2.6vw,36px)/1.18 var(--fs);letter-spacing:-.2px;color:#111}
.kab__link{font-weight:600;color:#111;text-decoration:underline;text-decoration-color:#ecc759;text-underline-offset:4px}

/* ---------- about ---------- */
.kab-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;padding:12px 0 40px}
.kab-hero__title{margin:16px 0 18px;font:600 clamp(36px,4vw,58px)/1.08 var(--fs);letter-spacing:-.5px;color:#111}
.kab-hero__title em{font-style:italic;color:#111}
.kab-hero__lead{margin:0 0 28px;max-width:560px;font-size:18px;line-height:1.7;color:#444}
.kab-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.kab-hero__pics{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:16px;align-items:center}
.kab-hero__pic{margin:0;border-radius:24px;overflow:hidden;background:#f2f2f2;box-shadow:0 24px 50px rgba(0,0,0,.14)}
.kab-hero__pic img{display:block;width:100%;height:auto}
.kab-hero__pic-main{grid-row:span 2}
.kab-hero__pic-b{transform:translateX(-10px) rotate(-2deg)}
.kab-hero__pic-a{transform:rotate(2deg)}

.kab-nums{list-style:none;margin:0 0 72px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kab-nums li{display:flex;flex-direction:column;gap:6px;padding:22px 24px;border:1px solid #e6e6e6;border-radius:22px;background:#fff}
.kab-nums li::before{content:none}
.kab-nums b{font:700 34px/1 var(--fs);color:#a60101}
.kab-nums span{font-size:14.5px;line-height:1.4;color:#666}

.kab-sec{margin:0 0 80px}
.kab-sec__head{margin-bottom:28px}
.kab-cats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.kab-cats li::before{content:none}
.kab-cat{display:flex;flex-direction:column;gap:4px;height:100%;padding:10px 10px 16px;border:1px solid #e6e6e6;border-radius:22px;background:#fff;color:#111;transition:border-color .2s,box-shadow .2s,transform .2s}
.kv .kab-cat:hover{color:#111;border-color:#d2d2d2;box-shadow:0 14px 30px rgba(0,0,0,.1);transform:translateY(-3px)}
.kab-cat__pic{position:relative;display:block;aspect-ratio:4/5;margin-bottom:10px;border-radius:16px;overflow:hidden;background:#f2f2f2}
/* the whole photo (contain) on a blurred copy of itself — tidy tiles without cropping */
.kab-cat__pic::before{content:"";position:absolute;inset:-30px;background:var(--bg) center/cover no-repeat;filter:blur(22px);opacity:.55}
.kab-cat__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.kab-cat b{padding:0 6px;font-size:16.5px;line-height:1.3}
.kab-cat small{padding:0 6px;font-size:14px;color:#111;font-weight:600}

.kab-ba{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;margin:0 0 80px;padding:48px;border-radius:32px;background:#f4f4f4}
.kab-ba p{margin:16px 0;font-size:17px;line-height:1.7;color:#444}
.kab-ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.kab-ticks li{position:relative;padding-left:34px;font-size:16px;color:#111}
.kab-ticks li::before{content:"";position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:#f3bc23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center}
.kab-ba__pics{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}
.kab-ba__pics figure{position:relative;margin:0;padding:44px 18px 0;border-radius:24px;background:#fff}
.kab-ba__pics img{display:block;width:100%;height:auto}
.kab-ba__tag{position:absolute;left:14px;top:12px;padding:5px 14px;border-radius:999px;background:#f2f2f2;font-size:13px;font-weight:700;color:#555}
.kab-ba__tag.is-after{background:#fdeaa8;color:#111}

.kab-fab{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:56px;align-items:center;margin:0 0 80px}
.kab-fab__pic{margin:0;border-radius:28px;overflow:hidden;background:#f2f2f2;box-shadow:0 24px 50px rgba(0,0,0,.12)}
.kab-fab__pic img{display:block;width:100%;height:auto}
.kab-fab p{margin:16px 0 0;font-size:17px;line-height:1.7;color:#444}

.kab-why{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kab-why li{display:flex;flex-direction:column;gap:8px;padding:26px;border:1px solid #e6e6e6;border-radius:22px;background:#fff}
.kab-why li::before{content:none}
.kab-why .kadv__icon{width:42px;height:42px;margin-bottom:6px;color:#111}
.kab-why b{font-size:17px;color:#111}
.kab-why span{font-size:15px;line-height:1.55;color:#666}

.kab-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.kab-photos figure{margin:0;border-radius:20px;overflow:hidden;background:#f2f2f2}
.kab-photos img{display:block;width:100%;height:auto;transition:transform .5s}
.kab-photos figure:hover img{transform:scale(1.03)}

.kab-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:44px 48px;border-radius:32px;background:#111;color:#e6e6e6}
.kab-cta .kab__h2{margin:0;color:#fff}
.kab-cta p{margin:10px 0 0;font-size:16.5px;color:#ccc}
.kab-cta__actions{display:flex;flex-wrap:wrap;gap:10px;flex:none}
.kab-cta .kab__btn.is-light{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}

/* ---------- contacts ---------- */
.kct{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kct li::before{content:none}
.kct__card{display:flex;flex-direction:column;gap:4px;height:100%;padding:24px;border:1px solid #e6e6e6;border-radius:22px;background:#fff;color:#111;transition:border-color .2s,box-shadow .2s,transform .2s}
.kv .kct__card:hover{color:#111;border-color:#d2d2d2;box-shadow:0 14px 30px rgba(0,0,0,.1);transform:translateY(-3px)}
.kct__card.is-main{background:#f3bc23;border-color:#f3bc23;color:#111}
.kv .kct__card.is-main:hover{color:#111;background:#e5ab12}
.kct__ico{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:10px;border-radius:14px;background:#fff7dc;color:#111}
.kct__card.is-main .kct__ico{background:rgba(255,255,255,.16);color:#fff}
.kct__ico .licon{width:24px;height:24px}
.kct__card small{font-size:13.5px;color:#777}
.kct__card.is-main small,.kct__card.is-main em{color:rgba(17,17,17,.72)}
.kct__card b{font-size:17px;overflow-wrap:anywhere}
.kct__card em{margin-top:auto;padding-top:8px;font-style:normal;font-size:14px;font-weight:600;color:#111}
.kct-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.kct-box{padding:30px 32px}
.kct-box__h{display:flex;align-items:center;gap:10px;margin:0 0 16px;font:600 21px/1.2 var(--fs);color:#111}
.kct-box__h .licon{width:22px;height:22px;color:#111}
.kct-box__h-2{margin-top:26px}
.kct-hours{display:grid;grid-template-columns:1fr auto;gap:0;margin:0;font-size:16px}
.kct-hours dt,.kct-hours dd{margin:0;padding:12px 0;border-bottom:1px solid #ececec}
.kct-hours dt{color:#444}
.kct-hours dd{font-weight:700;color:#111;text-align:right}
.kct-box__note{margin:16px 0 0;font-size:14.5px;line-height:1.6;color:#777}
.kct-box__addr,.kct-box__req{margin:0;font-size:16.5px;line-height:1.6;color:#111}
.kct-box__link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-weight:600;color:#111}
.kct-box__link .licon{width:16px;height:16px}

/* ---------- blog ---------- */
.kblog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.kblog__item{display:flex;flex-direction:column;border:1px solid #e6e6e6;border-radius:24px;background:#fff;overflow:hidden;color:#111;transition:border-color .2s,box-shadow .2s,transform .2s}
.kv .kblog__item:hover{color:#111;border-color:#d2d2d2;box-shadow:0 16px 34px rgba(0,0,0,.1);transform:translateY(-3px)}
.kblog__img{display:block;background:#f2f2f2}
.kblog__img img{display:block;width:100%;height:auto}
.kblog__body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px}
.kblog__date{font-size:13px;color:#888}
.kblog__name{font:600 20px/1.3 var(--fs);transition:color .2s}
.kblog__item:hover .kblog__name{color:#111}
.kblog__excerpt{font-size:15px;line-height:1.55;color:#666}
.kblog__more{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:14.5px;font-weight:600;color:#111}
.kblog__more .licon{width:16px;height:16px}
.kpost{max-width:820px;margin:0 auto}
.kpost__date{display:block;margin-bottom:10px;font-size:14px;color:#888}
.kpost__cover{margin:0 0 24px;border-radius:24px;overflow:hidden;background:#f2f2f2}
.kpost__cover img{display:block;width:100%;height:auto}
.kpost__more{margin-top:64px}
.kpost__more .kab__h2{margin-bottom:22px}
.kpg .nav-links{display:flex;justify-content:center;gap:8px;margin-top:36px}
.kpg .page-numbers{display:flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 14px;border-radius:999px;border:1px solid #e6e6e6;background:#fff;font-weight:600;color:#111}
.kpg .page-numbers.current{background:#111;border-color:#111;color:#fff}

/* ---------- 404 ---------- */
.k404__box{max-width:760px;margin:40px auto 0;padding:56px 48px;border-radius:32px;background:#fff;border:1px solid #e6e6e6;text-align:center}
.k404__code{display:block;margin-bottom:8px;font:700 96px/1 var(--fs);color:#f3df9c}
.k404 .kpg__lead{margin:0 auto 26px}
.k404__search{display:flex;gap:8px;max-width:520px;margin:0 auto 22px}
.k404__search input{flex:1;min-width:0;height:54px;padding:0 18px;border:1px solid #ddd;border-radius:16px;background:#fff;font:400 16px var(--f);color:#111}
.k404__search input:focus{outline:0;border-color:#f3bc23;box-shadow:0 0 0 3px rgba(243,188,35,.14)}
.k404__search button{height:54px;padding:0 26px;border:0;border-radius:16px;background:#f3bc23;color:#111;font:700 15px var(--f);cursor:pointer}
.k404__search button:hover{background:#e5ab12;color:#111}
.k404__chips{justify-content:center;margin-bottom:28px}
.k404__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}

/* ---------- account (login / dashboard) ---------- */
.kpg .woocommerce-form-login,.kpg .woocommerce-form-register,.kpg .woocommerce-ResetPassword{max-width:460px;margin:0;padding:0;border:0}
.kpg .woocommerce h2{margin:0 0 18px;font:600 24px/1.3 var(--fs);color:#111}
.kpg .woocommerce-form-row,.kpg .form-row{margin:0 0 16px}
.kpg .woocommerce label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#111}
.kpg .woocommerce .input-text,.kpg .woocommerce input[type=password],.kpg .woocommerce input[type=email]{width:100%;height:50px;padding:0 14px;border:1px solid #ddd;border-radius:14px;background:#fff;font:400 16px var(--f);color:#111}
.kpg .woocommerce .input-text:focus{outline:0;border-color:#f3bc23;box-shadow:0 0 0 3px rgba(243,188,35,.14)}
.kpg .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:8px;margin:4px 0 16px!important;font-weight:400!important}
.kpg .woocommerce-form-login__rememberme input{accent-color:#f3bc23}
.kpg .woocommerce .button,.kpg .woocommerce button[type=submit]{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 30px;border:0;border-radius:14px;background:#f3bc23;color:#111!important;font:700 16px/1 var(--f);cursor:pointer;transition:background .2s}
.kpg .woocommerce .button:hover,.kpg .woocommerce button[type=submit]:hover{background:#e5ab12;color:#111}
.kpg .woocommerce-LostPassword{margin:16px 0 0}
.kpg .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kpg .woocommerce-MyAccount-navigation li::before{content:none}
.kpg .woocommerce-MyAccount-navigation a{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;border:1px solid #e6e6e6;background:#fff;font-size:14.5px;font-weight:500;color:#333}
.kpg .woocommerce-MyAccount-navigation .is-active a{background:#111;border-color:#111;color:#fff}

@media (max-width:1100px){
  .kpg__grid{grid-template-columns:minmax(0,1fr) 280px}
  .kab-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kab-why{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kct{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kblog{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kab-cta{flex-direction:column;align-items:flex-start}
  .kab-photos{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .kpg__wrap{padding:16px 16px 0}
  .kpg__grid{grid-template-columns:1fr}
  .kpg-help{position:static}
  .kpg__card{padding:24px 20px;border-radius:20px}
  .kpg-text{font-size:16px}
  .kab-hero,.kab-ba,.kab-fab{grid-template-columns:1fr;gap:28px}
  .kab-hero{padding-bottom:28px}
  .kab-nums{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:56px}
  .kab-nums li{padding:18px}
  .kab-nums b{font-size:28px}
  .kab-sec,.kab-ba,.kab-fab{margin-bottom:56px}
  .kab-ba{padding:26px 18px;border-radius:24px}
  .kab-cta{padding:30px 22px;border-radius:24px}
  .kct-row{grid-template-columns:1fr}
  .kct-box{padding:24px 20px}
  .k404__box{margin-top:16px;padding:36px 20px;border-radius:24px}
  .k404__code{font-size:72px}
}
@media (max-width:600px){
  .kab-cats{gap:10px}
  .kab-cat{padding:6px 6px 12px;border-radius:18px}
  .kab-cat b{font-size:14.5px}
  .kab-why{grid-template-columns:1fr}
  .kab-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .kab-photos figure{border-radius:14px}
  .kct{grid-template-columns:1fr;gap:8px}
  .kct__card{display:grid;grid-template-columns:46px 1fr auto;column-gap:14px;align-items:center;padding:14px 16px;border-radius:18px}
  .kct__ico{grid-row:span 2;margin:0}
  .kct__card small{grid-column:2}
  .kct__card b{grid-column:2;font-size:16px;overflow-wrap:normal;word-break:normal}
  .kct__card em{font-size:13.5px}
  .kct__card em{grid-column:3;grid-row:1/3;margin:0;padding:0}
  .kblog{grid-template-columns:1fr}
  .kab__btn{flex:1 1 auto}
  .k404__search{flex-direction:column}
}

/* old posts start with their own <h1> = the title already shown above */
.kpost .kpg-text>h1:first-child{display:none}
.kpost .kpg-text>h1:first-child+*{margin-top:0}
