/*
Theme Name: Pesukratid
Theme URI: https://pesukratid.ee/
Description: Kerge kohandatud teema Pesukratid autopesulale. Ei vaja lehekoostajat.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 8.0
Author: Medico Baltic OÜ
Text Domain: pesukratid
License: Proprietary
*/

/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Tokens ---------- */
:root{
  --blue:#0796D3; --blue-mid:#40B2E4; --blue-light:#A9DDF2; --blue-tint:#EAF5FB;
  --link:#0A6FA8; --link-hover:#08557F; --logo-blue:#0B5E93;
  --ink:#10202E; --text:#3A4A58; --muted:#4A5A68;
  --navy:#1E2433; --cream:#F4F1EC; --line:#D5E3EC; --line-soft:#E3ECF2; --ghost-line:#C9D6E0;
  --wrap:1240px; --gutter:24px; --radius:10px;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--link)}a:hover{color:var(--link-hover)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
h1,h2,h3{line-height:1.15;margin:0;color:var(--ink)}
p{margin:0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:100;background:#fff;padding:10px 14px;clip:auto;width:auto;height:auto}
.pk-wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.pk-wrap--narrow{max-width:1040px}
.pk-wrap--text{max-width:900px}

/* ---------- Buttons ---------- */
.pk-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 24px;border-radius:8px;font-weight:600;font-size:16px;text-decoration:none;border:1.5px solid transparent;background:var(--navy);color:#fff;cursor:pointer;font-family:inherit}
.pk-btn:hover{color:#fff;background:#2B3347}
.pk-btn--lg{font-size:17px;padding:15px 28px}
.pk-btn--ghost{background:#fff;color:var(--ink);border-color:var(--ghost-line)}
.pk-btn--ghost:hover{background:#F6F9FB;color:var(--ink)}
.pk-btn--blue{background:var(--blue);color:var(--ink);font-weight:700}
.pk-btn--blue:hover{background:#0A88BF;color:var(--ink)}
.pk-btn svg{flex:0 0 auto}

/* ---------- Header ---------- */
.pk-header{position:relative;height:190px}
.pk-header__wave{position:absolute;inset:0;width:100%;height:190px;display:block}
.pk-header__bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px}
.pk-logo{display:flex;flex-direction:column;align-items:center;text-decoration:none}
.pk-logo img{width:210px;height:auto}
.pk-logo__sub{margin-top:-4px;font-size:13px;font-weight:800;font-style:italic;letter-spacing:6px;color:var(--logo-blue)}
.pk-logo__text{font-size:30px;font-weight:800;font-style:italic;color:var(--ink)}
.pk-nav{display:flex;align-items:center;gap:28px;font-size:16px;font-weight:500}
.pk-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:28px}
.pk-nav a{color:var(--ink);text-decoration:none}
.pk-nav a:hover{color:var(--link)}
.pk-nav .current-menu-item>a,.pk-nav .current_page_item>a{color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.pk-nav .menu-item-type-custom.current-menu-item>a{font-weight:500;text-decoration:none}
.pk-nav .pk-btn,.pk-nav .pk-btn:hover{color:#fff}
.pk-nav .sub-menu{display:none}
.pk-lang{display:flex;gap:2px;font-size:13px;font-weight:600;background:rgba(255,255,255,.75);border-radius:6px;padding:3px;list-style:none;margin:0}
.pk-lang a{display:block;padding:5px 8px;border-radius:4px;color:var(--ink);text-decoration:none}
.pk-lang a[aria-current]{background:var(--ink);color:#fff}
.pk-menu-btn{display:none;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:8px;background:var(--navy);color:#fff;cursor:pointer}
@media (max-width:960px){
  .pk-menu-btn{display:inline-flex}
  .pk-nav{display:none;position:absolute;top:100%;right:var(--gutter);left:var(--gutter);z-index:30;flex-direction:column;align-items:stretch;gap:16px;background:#fff;border-radius:12px;padding:20px;box-shadow:0 10px 30px rgba(16,32,46,.18)}
  .pk-nav.is-open{display:flex}
  .pk-nav ul{flex-direction:column;gap:0}
  .pk-nav ul a{display:block;padding:12px 4px;border-bottom:1px solid var(--line-soft)}
  .pk-lang{align-self:flex-start}
  .pk-logo img{width:170px}
}

/* ---------- Sections ---------- */
.pk-sec{padding:88px 0}
.pk-sec--alt{background:var(--cream);padding:80px 0}
.pk-sec--tight{padding-top:0}
.pk-sec__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px}
.pk-h2{font-size:38px;font-weight:800;letter-spacing:-.5px}
.pk-h2--md{font-size:32px}
.pk-h2--sm{font-size:28px}
.pk-lead{margin-top:10px;font-size:17px;color:var(--text)}
.pk-more{font-weight:600;font-size:16px}
@media (max-width:640px){.pk-sec{padding:64px 0}.pk-sec--alt{padding:56px 0}.pk-h2{font-size:30px}.pk-h2--md{font-size:27px}}

/* ---------- Hero ---------- */
.pk-hero{padding:48px 0 72px}
.pk-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:center}
.pk-hero__copy{display:flex;flex-direction:column;gap:22px}
.pk-eyebrow{font-size:15px;font-weight:700;color:var(--link)}
.pk-h1{font-size:clamp(34px,5vw,56px);line-height:1.08;font-weight:800;letter-spacing:-1px}
.pk-hero__text{font-size:19px;line-height:1.6;color:var(--text);max-width:560px}
.pk-actions{display:flex;flex-wrap:wrap;gap:12px}
.pk-facts{display:flex;flex-wrap:wrap;gap:10px 26px;font-size:15px;color:var(--text);list-style:none;margin:6px 0 0;padding:0}
.pk-facts li{display:inline-flex;align-items:center;gap:8px}
@media (max-width:960px){.pk-hero__grid{grid-template-columns:minmax(0,1fr)}.pk-hero{padding:24px 0 56px}}

/* ---------- Service cards ---------- */
.pk-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}
.pk-card{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 1px 2px rgba(16,32,46,.06),0 4px 16px rgba(16,32,46,.06)}
.pk-card:hover{color:var(--ink);box-shadow:0 2px 4px rgba(16,32,46,.08),0 8px 24px rgba(16,32,46,.1)}
.pk-card img,.pk-card__noimg{width:100%;aspect-ratio:4/3;object-fit:cover}
.pk-card__noimg{background:#DCEAF2}
.pk-card__body{padding:22px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.pk-card__title{font-size:21px;font-weight:700}
.pk-card__text{font-size:15px;line-height:1.55;color:var(--text);flex-grow:1}
.pk-card__price{margin-top:6px;font-size:15px;color:var(--text)}
.pk-card__price strong{font-size:22px;color:var(--ink)}

/* ---------- Vehicle toggle ---------- */
.pk-toggle{display:inline-flex;background:var(--blue-tint);border-radius:10px;padding:4px;gap:4px}
.pk-toggle--white{background:#fff}
.pk-toggle button{min-height:44px;padding:0 22px;border:0;border-radius:7px;background:transparent;color:var(--ink);font:600 15px Inter,system-ui,sans-serif;cursor:pointer}
.pk-toggle button[aria-pressed="true"]{background:var(--navy);color:#fff}
.pk-toggle[hidden]{display:none}

/* ---------- Packages ---------- */
.pk-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.pk-package{display:flex;flex-direction:column;gap:16px;border:1.5px solid var(--line);border-radius:12px;padding:30px}
.pk-package__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.pk-package__name{font-size:22px;font-weight:800;letter-spacing:.5px}
.pk-package__dur{font-size:14px;color:var(--text);text-align:right}
.pk-package__price{font-size:42px;font-weight:800}
.pk-package__desc{font-size:15px;line-height:1.6;color:var(--text);flex-grow:1}
.pk-note{margin-top:24px;font-size:15px;color:var(--text)}

/* ---------- Banner ---------- */
.pk-banner{background:var(--blue);border-radius:14px;padding:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;color:#0B1A26}
.pk-banner h2{font-size:32px;font-weight:800;letter-spacing:-.3px;color:#0B1A26}
.pk-banner p{margin-top:12px;font-size:17px;line-height:1.6;max-width:680px}
.pk-banner--sm{padding:36px 40px}
.pk-banner--sm h2{font-size:26px}
@media (max-width:640px){.pk-banner{padding:28px}.pk-banner h2{font-size:25px}}

/* ---------- Two columns / panels ---------- */
.pk-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.pk-two--wide{gap:48px;align-items:start}
@media (max-width:960px){.pk-two{grid-template-columns:minmax(0,1fr)}}
.pk-panel{background:#fff;border-radius:12px;padding:36px;display:flex;flex-direction:column;gap:14px}
.pk-panel__label{font-size:15px;font-weight:700;color:var(--link)}
.pk-panel h2{font-size:30px;font-weight:800}
.pk-panel p{font-size:16px;line-height:1.6;color:var(--text)}
.pk-panel .pk-panel__grow{flex-grow:1}
.pk-panel .pk-btn{align-self:flex-start}

/* ---------- Gallery strip ---------- */
.pk-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.pk-gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}

/* ---------- Directions / map ---------- */
.pk-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.pk-steps li{display:flex;gap:14px;align-items:flex-start;font-size:16px;line-height:1.55}
.pk-steps__n{flex:0 0 32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.pk-map{position:relative;height:300px;border-radius:12px;overflow:hidden;background:#DCEAF2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:20px}
.pk-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pk-map__note{font-size:13px;color:var(--muted);max-width:320px}

/* ---------- FAQ ---------- */
.pk-faq{display:flex;flex-direction:column;gap:12px}
.pk-faq details{background:#fff;border-radius:10px;padding:0 22px}
.pk-sec:not(.pk-sec--alt) .pk-faq details{border:1.5px solid var(--line)}
.pk-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;font-size:17px;font-weight:600;cursor:pointer;list-style:none}
.pk-faq summary::-webkit-details-marker{display:none}
.pk-faq__plus{font-size:24px;font-weight:400;color:var(--link);transition:transform .2s}
.pk-faq details[open] .pk-faq__plus{transform:rotate(45deg)}
.pk-faq__a{padding:0 0 20px;font-size:16px;line-height:1.6;color:var(--text)}

/* ---------- Breadcrumbs ---------- */
.pk-crumbs{padding-top:20px;font-size:14px;color:var(--muted)}
.pk-crumbs a{color:var(--muted)}
.pk-crumbs .last,.pk-crumbs [aria-current]{color:var(--ink);font-weight:600}

/* ---------- Service page ---------- */
.pk-pricebox{display:flex;flex-direction:column;gap:16px;background:var(--cream);border-radius:12px;padding:24px;max-width:540px}
.pk-pricebox__row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px}
.pk-pricebox__price{font-size:46px;font-weight:800}
.pk-pricebox__meta{font-size:15px;line-height:1.5;color:var(--text)}
.pk-hero__img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.pk-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.pk-check li{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.5}
.pk-check svg{flex:0 0 22px;margin-top:1px}
.pk-addons{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.pk-addon{border:1.5px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
a.pk-addon{background:var(--blue-tint);border-color:transparent}
a.pk-addon:hover{color:var(--ink);background:#DDEFF8}
.pk-addon__name{font-size:19px;font-weight:700}
.pk-addon__text{font-size:15px;line-height:1.55;color:var(--text);flex-grow:1}
.pk-addon__price{font-size:22px;font-weight:800}
.pk-related{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.pk-related a{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1.5px solid var(--line);border-radius:10px;padding:20px 22px;text-decoration:none;color:var(--ink);font-weight:600;font-size:17px}
.pk-related a:hover{border-color:var(--blue)}
.pk-related span{color:var(--text);font-weight:500;font-size:15px;white-space:nowrap}

/* ---------- Content (editor) ---------- */
.pk-content{font-size:17px;line-height:1.65}
.pk-content>*+*{margin-top:1em}
.pk-content h2{font-size:32px;font-weight:800;letter-spacing:-.5px;margin-top:1.6em}
.pk-content h3{font-size:22px;font-weight:700;margin-top:1.4em}
.pk-content h2:first-child,.pk-content h3:first-child{margin-top:0}
.pk-content ul,.pk-content ol{padding-left:1.3em}
.pk-content li+li{margin-top:.4em}
.pk-content .wp-block-table{overflow-x:auto;border:1.5px solid var(--line);border-radius:12px}
.pk-content table{width:100%;min-width:560px;border-collapse:collapse;font-size:16px}
.pk-content thead{background:var(--blue);color:#0B1A26;border:0}
.pk-content th,.pk-content td{padding:14px 20px;text-align:center;border:0;border-top:1px solid var(--line-soft)}
.pk-content th:first-child,.pk-content td:first-child{text-align:left}
.pk-content tbody tr:nth-child(even){background:#FAFCFD}
.pk-content .wp-block-gallery img{border-radius:8px}

/* ---------- Price list ---------- */
.pk-plbar{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line-soft)}
.pk-plbar__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.pk-plnav{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;font-weight:600}
.pk-plnav a{color:var(--ink);text-decoration:none}
.pk-plnav a:hover{color:var(--link)}
.pk-plgroups{display:flex;flex-direction:column;gap:48px;padding-top:28px;padding-bottom:40px}
.pk-plgroup{scroll-margin-top:90px}
.pk-plgroup h2{font-size:28px;font-weight:800;letter-spacing:-.3px;margin-bottom:16px}
.pk-pltable{border:1.5px solid var(--line);border-radius:12px;overflow:hidden}
.pk-plrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 24px;padding:20px 24px}
.pk-plrow+.pk-plrow{border-top:1px solid var(--line-soft)}
.pk-plrow__main{flex:1 1 420px;min-width:0}
.pk-plrow__name{font-size:18px;font-weight:700}
.pk-plrow__dur{font-size:14px;font-weight:500;color:var(--muted);margin-left:6px}
.pk-plrow__inc{margin-top:6px;font-size:15px;line-height:1.55;color:var(--text)}
.pk-plrow__price{font-size:22px;font-weight:800;white-space:nowrap}
.pk-loyal{background:var(--cream);border-radius:12px;padding:28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.pk-loyal strong{display:block;font-size:20px}
.pk-loyal p{margin-top:6px;font-size:15px;color:var(--text)}

/* ---------- Forms ---------- */
.pk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:720px}
.pk-form .full{grid-column:1/-1}
.pk-form label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.pk-form input,.pk-form textarea,.pk-form select{width:100%;min-height:48px;padding:12px 14px;border:1.5px solid var(--ghost-line);border-radius:8px;font:inherit;color:var(--ink);background:#fff}
.pk-form textarea{min-height:130px}
.pk-form .pk-consent{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.pk-form .pk-consent input{width:20px;min-height:20px;margin-top:3px}
.pk-form .pk-hp{position:absolute;left:-9999px}
.pk-msg{padding:14px 18px;border-radius:8px;background:#E3F4E8;color:#14532D;margin-bottom:20px;max-width:720px}
.pk-msg--err{background:#FDE8E8;color:#7F1D1D}
@media (max-width:640px){.pk-form{grid-template-columns:minmax(0,1fr)}}

/* ---------- Footer ---------- */
.pk-footer{background:var(--navy);color:#E6ECF1;padding:64px 0 40px}
.pk-footer a{color:#E6ECF1}
.pk-footer a:hover{color:#fff}
.pk-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:36px}
.pk-footer__col{display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.6}
.pk-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pk-footer__title{font-weight:700;color:#fff;margin-bottom:4px}
.pk-footer__brand{font-size:22px;font-weight:800;font-style:italic;color:#fff}
.pk-footer__muted{color:#B9C6D1}
.pk-footer__bottom{margin-top:40px;padding-top:24px;border-top:1px solid #36405A;font-size:13px;color:#9FAEBC;display:flex;flex-wrap:wrap;gap:8px 20px}
@media (max-width:640px){.pk-footer{padding-bottom:110px}}

/* ---------- Mobile bar ---------- */
.pk-mbar{display:none}
@media (max-width:640px){
  .pk-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 16px rgba(16,32,46,.12)}
  .pk-mbar a{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-weight:600;text-decoration:none}
  .pk-mbar__call{flex:1;border:1.5px solid var(--ghost-line);color:var(--ink)}
  .pk-mbar__book{flex:2;background:var(--navy);color:#fff}
}

/* ---------- Consent ---------- */
.pk-consent-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:560px;margin:0 auto;background:#fff;border-radius:12px;padding:20px;box-shadow:0 10px 40px rgba(16,32,46,.25);font-size:15px;line-height:1.5}
.pk-consent-bar[hidden]{display:none}
.pk-consent-bar__actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
@media (max-width:640px){.pk-consent-bar{bottom:84px}}

/* ---------- 404 / generic page ---------- */
.pk-page{padding:40px 0 88px}
.pk-page .pk-h1{margin-bottom:28px}
