/* Navigation and restrained visual refresh. Original photos and copy are retained. */
:root{--bg-ink:#302b29;--bg-brown:#80513e;--bg-paper:#faf7f3;--bg-line:#e7ddd5}
body{color:var(--bg-ink);background:#fff;font-family:Georgia,'Times New Roman',serif;margin-top:100px!important}
a:focus-visible,button:focus-visible{outline:3px solid #b47a38;outline-offset:4px}
.expert-header{position:fixed;inset:0 0 auto;z-index:1030;background:#fff;border-bottom:1px solid var(--bg-line);box-shadow:0 4px 24px #302b2908;font-family:Arial,sans-serif}
.expert-header-inner{max-width:1440px;margin:auto;padding:16px 28px;display:flex;align-items:center;gap:24px;min-height:100px}
.expert-brand{flex:0 0 auto}.expert-brand img{width:auto;max-width:200px;max-height:64px;display:block}
.expert-navigation{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex:1;min-width:0}
.expert-menu{display:flex;align-items:center;flex-wrap:wrap;gap:2px;list-style:none;margin:0;padding:0}
.expert-menu li{position:relative;list-style:none;padding:0;font-size:13px}
.expert-menu a{display:block;padding:12px 9px;color:var(--bg-ink);font-weight:600;line-height:1.4;border-radius:5px}
.expert-menu a:hover,.expert-menu .current-menu-item>a,.expert-menu .current-menu-ancestor>a{color:var(--bg-brown);background:var(--bg-paper)}
.expert-menu .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:240px;background:white;border:1px solid var(--bg-line);box-shadow:0 14px 30px #302b2912;padding:8px;z-index:3;border-radius:8px}
.expert-menu li:hover>.sub-menu,.expert-menu li:focus-within>.sub-menu{display:block}
.expert-menu .sub-menu .sub-menu{left:100%;top:0}
.expert-submenu-toggle{border:0;background:transparent;color:var(--bg-brown);min-width:32px;min-height:32px;cursor:pointer}
.expert-menu li:has(>.expert-submenu-toggle)>a{padding-right:32px}
.expert-submenu-toggle{position:absolute;right:0;top:5px}
.expert-nav-contact{display:flex;align-items:center;gap:18px;flex-shrink:0}
.expert-phone{color:var(--bg-ink);font-weight:700;font-size:15px;white-space:nowrap}.expert-phone span{display:block;text-transform:uppercase;font-size:10px;letter-spacing:1.5px;font-weight:400;margin-bottom:4px}
.expert-quote{display:flex;gap:20px;align-items:center;background:var(--bg-brown);color:#fff!important;padding:14px 18px;border-radius:6px;font-size:13px;font-weight:600}
.expert-quote:hover{background:#633c2e}.expert-menu-toggle,.expert-panel-heading{display:none}
body.admin-bar .expert-header{top:32px}
body.home #section1{border:0;background:#eee6df}
body.home #section1 .item{min-height:260px}
body.home #section1 img{max-width:100%;height:auto}
body.home .cztery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1170px;margin:26px auto;padding:0 20px}
body.home .cztery:before,body.home .cztery:after{display:none}
body.home .cztery .col{width:auto;float:none;min-width:0}
body.home .cztery .col a{position:relative;border-radius:8px;text-align:left;padding:24px 28px;background:#faf7f3;border:1px solid var(--bg-line);color:var(--bg-brown);font-size:22px;line-height:1.35;transition:background .2s,transform .2s}
body.home .cztery .col a:after{content:'↗';position:absolute;top:24px;right:18px;font:20px Arial,sans-serif}
body.home .cztery .col a:hover{background:#f1e8df;transform:translateY(-3px)}
body.home .head-col{padding:38px 20px!important}
body.home .head-col h3{font-size:25px;line-height:1.5;max-width:850px;margin:0 auto 16px}
body.home .head-col h4{font-size:17px;line-height:1.6;color:#714833}
body.home .opis{padding-top:30px;padding-bottom:30px}
body.home .opis h1{font-size:clamp(38px,5vw,60px);line-height:1.15;margin:0 0 12px}
body.home .opis h2{font-size:clamp(24px,3vw,32px);line-height:1.3;margin-bottom:28px}
body.home .opis h3{font-size:25px;line-height:1.45;margin-top:30px;margin-bottom:20px}
body.home p,body.home .opis li{font-size:17px;line-height:1.85}
body.home .opis p{max-width:1000px}
body.home .opis ul{padding-left:24px}
body.home .opis li{list-style-position:outside;text-align:left;padding-left:8px;margin-bottom:18px}
body.home .table{font:15px/1.65 Arial,sans-serif;border:1px solid var(--bg-line)}
body.home .table th{background:#f4ede7;color:#674331;padding:16px}
body.home .table td{padding:12px 16px;border-color:var(--bg-line)}
body.home .table tr:nth-child(even){background:#faf8f5}
.footer_s{background:var(--bg-paper);border-color:var(--bg-line)}.footer{background:#674331;padding:36px 0;line-height:1.8}.autor{padding-top:20px;padding-bottom:20px;font-size:12px;line-height:1.7}
@media(max-width:1399px){
body{margin-top:82px!important}.expert-header-inner{min-height:82px;padding:12px 20px;justify-content:space-between}.expert-brand img{max-height:56px;max-width:190px}
.expert-menu-toggle{display:none;align-items:center;gap:12px;background:var(--bg-paper);border:1px solid var(--bg-line);border-radius:6px;padding:12px 16px;font-weight:600;color:var(--bg-ink);font-size:15px;min-height:46px;cursor:pointer}
.expert-menu-icon,.expert-menu-icon:before,.expert-menu-icon:after{display:block;width:20px;height:2px;background:currentColor;position:relative}.expert-menu-icon:before,.expert-menu-icon:after{content:'';position:absolute;left:0}.expert-menu-icon:before{top:-6px}.expert-menu-icon:after{top:6px}
.expert-header-inner{flex-wrap:wrap}.expert-navigation{flex-basis:100%;display:block}.expert-menu{display:block}.expert-menu a{padding:14px 12px;font-size:16px}.expert-menu>li{border-bottom:1px solid var(--bg-line)}
.expert-menu .sub-menu{position:static;box-shadow:none;border:0;border-left:2px solid var(--bg-line);margin:0 0 12px 12px;min-width:0;display:block;background:var(--bg-paper)}
.expert-nav-contact{margin-top:28px;align-items:stretch;flex-direction:column;gap:20px}.expert-phone{font-size:23px}.expert-quote{justify-content:space-between;font-size:16px;padding:17px}
.expert-nav-ready .expert-menu-toggle{display:flex}
.expert-nav-ready .expert-navigation{position:fixed;inset:0 0 0 auto;width:min(90vw,420px);height:100dvh;flex-basis:auto;padding:24px;overflow-y:auto;overscroll-behavior:contain;background:#fff;visibility:hidden;transform:translateX(100%);transition:transform .25s,visibility .25s;z-index:1050}
.expert-nav-ready .expert-navigation.is-open{visibility:visible;transform:translateX(0)}
.expert-panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:1.7px;color:#80513e;border-bottom:1px solid var(--bg-line);padding-bottom:18px;margin-bottom:12px}
.expert-menu-close{border:1px solid var(--bg-line);background:var(--bg-paper);color:var(--bg-ink);border-radius:50%;width:44px;height:44px;font-size:30px;line-height:1;cursor:pointer}
.expert-nav-ready .expert-menu .sub-menu{display:none}.expert-nav-ready .expert-menu li.submenu-open>.sub-menu{display:block}
.expert-submenu-toggle{min-width:44px;min-height:44px;top:2px;font-size:20px}.expert-menu li:has(>.expert-submenu-toggle)>a{padding-right:48px}
.expert-menu-backdrop:not([hidden]){position:fixed;inset:0;display:block;background:#241b17a6;z-index:1029;backdrop-filter:blur(3px)}
body.expert-menu-open{overflow:hidden}
body.admin-bar .expert-navigation{top:32px;height:calc(100dvh - 32px)}
}
@media(max-width:767px){
body.home .container{padding-left:20px;padding-right:20px;width:auto}
body.home #section1 .item{min-height:175px}
body.home .cztery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px auto;padding:0 16px}
body.home .cztery .col a{padding:20px 15px;font-size:19px}.cztery .col a:after{display:none}
body.home .head-col h3{font-size:21px}body.home .head-col h4{font-size:16px}
body.home .opis{padding-top:22px;padding-bottom:22px}body.home .opis h3{font-size:23px}
body.home p,body.home .opis li{font-size:16px;line-height:1.75;text-align:left!important}
body.home .table{font-size:13px;overflow-wrap:anywhere}.footer img{max-width:100%;height:auto}
}
@media(max-width:782px){body.admin-bar .expert-header{top:46px}body.admin-bar .expert-navigation{top:46px;height:calc(100dvh - 46px)}}
@media(prefers-reduced-motion:reduce){.expert-nav-ready .expert-navigation,body.home .cztery .col a{transition:none}}
/* Keep navigation usable when JavaScript is unavailable. */
.expert-submenu-toggle{display:none}
@media(max-width:1399px){
.expert-nav-ready .expert-submenu-toggle{display:block}
html:not(.expert-nav-ready) .expert-header{position:static}
html:not(.expert-nav-ready) body{margin-top:0!important}
}
@media(max-width:1399px){.expert-nav-ready .expert-menu li:not(.submenu-open)>.sub-menu{display:none}}
