/*
 Theme stylesheet for MUDr. Ondřej Malchar.
 Source: client-approved web version v34.
 The visual rules are scoped to #malchar-site to avoid collisions with WordPress plugins.
*/
html,body{margin:0;padding:0}
#malchar-site{position:relative;width:100%;max-width:none;isolation:isolate}
#malchar-site *,#malchar-site *::before,#malchar-site *::after{box-sizing:border-box}
#malchar-site{
  --ivory:#fbf6ef;--paper:#fffdf9;--paper2:#f7efe5;--teal:#075c67;--teal2:#0b6f7c;
  --deep:#054d56;--gold:#c89031;--gold2:#e6b85f;--ink:#173e45;--muted:#526b70;
  --line:rgba(7,92,103,.13);--shadow:0 22px 60px rgba(72,48,21,.10);--max:1320px;
}
#malchar-site *{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
#malchar-site{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--ivory);line-height:1.65;-webkit-font-smoothing:antialiased}
#malchar-site a{color:inherit;text-decoration:none}
#malchar-site img{display:block;max-width:100%}
#malchar-site button{font:inherit}
#malchar-site h1, #malchar-site h2, #malchar-site h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;margin:0;letter-spacing:-.025em}
#malchar-site p{margin:0}
#malchar-site .wrap{width:min(var(--max),calc(100% - 56px));margin-inline:auto}
#malchar-site .skip{position:absolute;left:-9999px}
#malchar-site .skip:focus{left:16px;top:16px;z-index:9999;background:white;padding:10px 14px;border-radius:10px}
#malchar-site .header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:.28s ease}
#malchar-site .header.scrolled{background:rgba(251,246,239,.94);backdrop-filter:blur(16px);box-shadow:0 8px 25px rgba(27,53,55,.07);border-bottom:1px solid rgba(7,92,103,.08)}
#malchar-site .nav{height:96px;display:grid;grid-template-columns:minmax(270px,390px) 1fr auto;align-items:center;gap:28px}
#malchar-site .brand img{width:360px;height:auto;max-height:78px;object-fit:contain}
#malchar-site .menu{display:flex;align-items:center;justify-content:flex-end;gap:28px;font-size:12px;font-weight:760;letter-spacing:.02em;white-space:nowrap}
#malchar-site .menu a{position:relative;padding:10px 0;transition:.2s}
#malchar-site .menu a:after{content:"";position:absolute;left:0;right:0;bottom:3px;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold2));transform:scaleX(0);transform-origin:left;transition:.22s}
#malchar-site .menu a:hover, #malchar-site .menu a.active{color:var(--teal2)}
#malchar-site .menu a:hover:after, #malchar-site .menu a.active:after{transform:scaleX(1)}
#malchar-site .mobile-toggle{display:none;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.75);color:var(--teal);align-items:center;justify-content:center}
#malchar-site .mobile-toggle span, #malchar-site .mobile-toggle:before, #malchar-site .mobile-toggle:after{content:"";display:block;width:19px;height:2px;background:currentColor;margin:4px 0;transition:.2s}
#malchar-site .hero{position:relative;min-height:860px;overflow:hidden;background-color:#fbf6ef}
#malchar-site .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0}
#malchar-site .hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(251,246,239,.96) 0%,rgba(251,246,239,.78) 37%,rgba(251,246,239,.10) 62%,rgba(251,246,239,0) 100%);pointer-events:none}
#malchar-site .hero-inner{position:relative;z-index:2;min-height:860px;padding-top:150px;padding-bottom:80px;display:flex;align-items:center}
#malchar-site .hero-copy{width:min(650px,53vw)}
#malchar-site .hero h1{font-size:clamp(45px,4.8vw,73px);line-height:1.075;text-wrap:balance}
#malchar-site .gold{color:var(--gold)}
#malchar-site .hero-rule{width:84px;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold2));margin:26px 0 22px}
#malchar-site .role{display:flex;align-items:flex-start;gap:14px;max-width:570px;font-size:15px;font-weight:680;color:var(--ink);margin-bottom:26px}
#malchar-site .role .mini-icon{width:38px;height:38px;flex:0 0 auto;color:var(--gold)}
#malchar-site .role svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#malchar-site .hero-quote{margin-top:28px;width:min(580px,48vw);padding:24px 28px;border-radius:22px;background:linear-gradient(135deg,rgba(4,77,86,.96),rgba(8,100,112,.92));color:white;box-shadow:0 24px 56px rgba(4,77,86,.22);border:1px solid rgba(255,255,255,.16)}
#malchar-site .hero-quote p{font-size:16px}
#malchar-site .hero-quote:before{content:"“";display:block;color:var(--gold2);font:700 42px/1 Georgia;margin-bottom:-6px}
#malchar-site .actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
#malchar-site .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;border:1px solid var(--gold);font-size:12px;font-weight:820;letter-spacing:.08em;text-transform:uppercase;transition:.2s}
#malchar-site .btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#malchar-site .btn.primary{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;box-shadow:0 14px 30px rgba(200,144,49,.23)}
#malchar-site .btn.secondary{background:rgba(255,255,255,.70);color:var(--teal)}
#malchar-site .btn:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(200,144,49,.22)}
#malchar-site .about{position:relative;overflow:hidden;min-height:780px;background-color:#fffaf4}
#malchar-site .about-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0}
#malchar-site .about-grid{position:relative;z-index:1}
#malchar-site .about-grid{min-height:780px;display:grid;grid-template-columns:.82fr 1.18fr;gap:68px;align-items:center;padding-block:86px}
#malchar-site .doctor-card{position:relative;max-width:480px;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(200,144,49,.18);background:#fff}
#malchar-site .doctor-card:before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);z-index:2;pointer-events:none}
#malchar-site .doctor-card img{width:100%;aspect-ratio:0.87;object-fit:cover;object-position:center 16%}
#malchar-site .section-kicker{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:800;margin-bottom:9px}
#malchar-site .section-title{font-size:clamp(38px,4vw,58px);line-height:1.1;color:var(--teal);text-wrap:balance}
#malchar-site .title-line{width:72px;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold2));margin:18px 0 24px}
#malchar-site .about-copy{max-width:720px}
#malchar-site .about-copy p{font-size:16px;color:var(--muted);margin-top:17px}
#malchar-site .about-copy p:first-of-type{margin-top:0}
#malchar-site .content-section{padding:94px 0;background:linear-gradient(180deg,#fbf6ef,#fffdf9)}
#malchar-site .content-section.alt{background:linear-gradient(180deg,#fffdf9,#f7efe5)}
#malchar-site .section-head{text-align:center;max-width:930px;margin:0 auto 48px}
#malchar-site .section-head .section-title{color:var(--gold);font-size:clamp(35px,3.5vw,50px)}
#malchar-site .section-head p{margin-top:16px;color:var(--muted)}
#malchar-site .head-line{width:54px;height:2px;background:var(--gold);margin:16px auto 0}
#malchar-site .reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#malchar-site .reason-card{display:grid;grid-template-columns:94px 1fr;gap:22px;align-items:start;min-height:270px;padding:30px;border:1px solid rgba(200,144,49,.15);border-radius:26px;background:rgba(255,255,255,.76);box-shadow:0 16px 42px rgba(65,45,22,.06);transition:.25s}
#malchar-site .reason-card:last-child{grid-column:1/-1;min-height:220px}
#malchar-site .reason-card:hover{transform:translateY(-6px);border-color:rgba(200,144,49,.38);box-shadow:0 24px 58px rgba(65,45,22,.11)}
#malchar-site .icon-badge{width:82px;height:82px;border-radius:22px;display:grid;place-items:center;color:var(--gold);background:linear-gradient(145deg,#fff,#f7efe4);border:1px solid rgba(200,144,49,.20);box-shadow:0 12px 25px rgba(200,144,49,.08)}
#malchar-site .icon-badge svg, #malchar-site .cert-icon svg, #malchar-site .step-icon svg{width:62px;height:62px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#malchar-site .reason-copy h3{font-family:Inter,system-ui,sans-serif;font-size:20px;font-weight:650;line-height:1.33;color:var(--ink);letter-spacing:-.01em}
#malchar-site .reason-copy p{font-size:14.5px;color:var(--muted);margin-top:13px}
#malchar-site .cert-intro{max-width:860px;margin:0 auto 36px;text-align:center;color:var(--muted)}
#malchar-site .cert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#malchar-site .cert-card{min-height:220px;padding:24px 23px 26px;border-radius:24px;background:rgba(255,255,255,.76);border:1px solid rgba(7,92,103,.10);box-shadow:0 15px 38px rgba(65,45,22,.055);display:flex;flex-direction:column;align-items:center;text-align:center;transition:.24s}
#malchar-site .cert-card:hover{transform:translateY(-5px);border-color:rgba(200,144,49,.32);box-shadow:0 23px 52px rgba(65,45,22,.10)}
#malchar-site .cert-icon{height:76px;color:var(--teal);display:flex;align-items:flex-start;justify-content:center;margin-bottom:8px}
#malchar-site .cert-icon svg{width:68px;height:68px}
#malchar-site .cert-card h3{font-family:Inter,system-ui,sans-serif;font-size:16px;font-weight:500;line-height:1.42;color:var(--ink);letter-spacing:0}
#malchar-site .steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
#malchar-site .step{position:relative;padding:24px 22px 28px;border-radius:24px;background:rgba(255,255,255,.62);border:1px solid rgba(7,92,103,.08);transition:.24s}
#malchar-site .step:not(:last-child):after{content:"→";position:absolute;right:-22px;top:67px;color:var(--gold);font-size:28px;z-index:2}
#malchar-site .step:hover{transform:translateY(-4px);background:#fff;border-color:rgba(200,144,49,.28);box-shadow:0 20px 45px rgba(65,45,22,.08)}
#malchar-site .step-top{display:flex;align-items:center;gap:12px}
#malchar-site .step-num{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold2));color:white;font-weight:800;flex:0 0 auto}
#malchar-site .step-icon{color:var(--teal);width:66px;height:66px;display:grid;place-items:center}
#malchar-site .step-icon svg{width:56px;height:56px}
#malchar-site .step h3{font-family:Inter,system-ui,sans-serif;font-size:18px;font-weight:650;letter-spacing:0;margin-top:17px}
#malchar-site .step p{font-size:14px;color:var(--muted);margin-top:11px}
#malchar-site .contact{background:#fffdf9}
#malchar-site .contact-shell{display:grid;grid-template-columns:1fr 1.05fr;min-height:470px;border-radius:34px;overflow:hidden;border:1px solid rgba(200,144,49,.15);box-shadow:var(--shadow);background:white}
#malchar-site .contact-copy{padding:50px}
#malchar-site .contact-copy .section-title{color:var(--gold)}
#malchar-site .contact-list{display:grid;gap:16px;margin-top:26px}
#malchar-site .contact-item{display:flex;gap:14px;align-items:flex-start;color:var(--muted)}
#malchar-site .contact-item .ci{width:34px;height:34px;color:var(--gold);flex:0 0 auto}
#malchar-site .contact-item svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#malchar-site .contact-item a{color:var(--teal);font-weight:700}
#malchar-site .contact-photo{min-height:470px;position:relative;overflow:hidden;background:#efe6dc}
#malchar-site .contact-photo img{width:100%;height:100%;object-fit:cover;object-position:78% center;position:absolute;inset:0}
#malchar-site .contact-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.7),transparent 26%)}
#malchar-site .footer{position:relative;overflow:hidden;color:rgba(255,255,255,.88);background-color:#064d54;min-height:430px}
#malchar-site .footer-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center right;z-index:0}
#malchar-site .footer:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,58,65,.93) 0%,rgba(3,70,77,.82) 66%,rgba(3,70,77,.15) 100%)}
#malchar-site .footer-inner{position:relative;z-index:2;padding:66px 0 28px}
#malchar-site .footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:65px;align-items:start}
#malchar-site .footer-brand{background:rgba(255,253,249,.94);border-radius:20px;padding:18px 20px;width:min(390px,100%);box-shadow:0 12px 35px rgba(0,0,0,.13)}
#malchar-site .footer-brand img{width:100%;height:auto}
#malchar-site .footer-title{margin:0 0 17px;color:var(--gold2);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;font-weight:700;line-height:1.65;letter-spacing:.12em;text-transform:uppercase}
#malchar-site .footer a, #malchar-site .footer p{display:block;margin:8px 0;color:rgba(255,255,255,.84);font-size:14px}
#malchar-site .footer a:hover{color:white;text-decoration:underline;text-underline-offset:4px}
#malchar-site .footer-bottom{margin-top:50px;padding-top:20px;border-top:1px solid rgba(255,255,255,.18);display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:12px;color:rgba(255,255,255,.65)}
#malchar-site .footer-bottom a{display:inline;color:white;border-bottom:1px solid rgba(255,255,255,.45)}
#malchar-site .reveal{opacity:1;transform:none}
#malchar-site .reveal.visible{opacity:1;transform:none}
@media (max-width:1180px){#malchar-site .nav{grid-template-columns:300px 1fr}
#malchar-site .brand img{width:300px}
#malchar-site .menu{gap:18px;font-size:11px}
#malchar-site .hero{min-height:780px}
#malchar-site .hero-bg{object-position:60% center}
#malchar-site .hero-inner{min-height:780px}
#malchar-site .hero-copy{width:54vw}
#malchar-site .reason-grid{grid-template-columns:1fr}
#malchar-site .reason-card:last-child{grid-column:auto}
#malchar-site .cert-grid{grid-template-columns:repeat(2,1fr)}
#malchar-site .steps-grid{grid-template-columns:repeat(2,1fr)}
#malchar-site .step:nth-child(2):after{display:none}
#malchar-site .footer-grid{grid-template-columns:1fr 1fr}
#malchar-site .footer-brand-wrap{grid-column:1/-1}}
@media (max-width:860px){html{scroll-padding-top:78px}
#malchar-site .wrap{width:min(100% - 32px,var(--max))}
#malchar-site .header{background:rgba(251,246,239,.94);backdrop-filter:blur(16px)}
#malchar-site .nav{height:78px;grid-template-columns:1fr auto}
#malchar-site .brand img{width:255px;max-height:64px}
#malchar-site .mobile-toggle{display:flex;flex-direction:column}
#malchar-site .menu{position:absolute;top:78px;left:16px;right:16px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:14px;background:rgba(255,253,249,.98);border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line)}
#malchar-site .menu.open{display:flex}
#malchar-site .menu a{padding:13px 10px}
#malchar-site .hero{min-height:990px}
#malchar-site .hero-bg{object-position:67% top}
#malchar-site .hero:after{background:linear-gradient(180deg,rgba(251,246,239,.98) 0%,rgba(251,246,239,.92) 40%,rgba(251,246,239,.16) 68%,rgba(251,246,239,0) 100%)}
#malchar-site .hero-inner{min-height:990px;padding-top:125px;align-items:flex-start}
#malchar-site .hero-copy{width:100%;max-width:650px}
#malchar-site .hero h1{font-size:clamp(40px,9.5vw,60px)}
#malchar-site .hero-quote{width:min(560px,92%);margin-top:24px}
#malchar-site .about-grid{grid-template-columns:1fr;gap:36px;padding-block:70px}
#malchar-site .doctor-card{max-width:430px}
#malchar-site .contact-shell{grid-template-columns:1fr}
#malchar-site .contact-photo{min-height:360px}
#malchar-site .footer{min-height:600px}
#malchar-site .footer-bg{object-position:70% center}
#malchar-site .footer-grid{grid-template-columns:1fr 1fr}
#malchar-site .footer-brand-wrap{grid-column:1/-1}}
@media (max-width:620px){#malchar-site .wrap{width:calc(100% - 24px)}
#malchar-site .brand img{width:225px}
#malchar-site .hero{min-height:1040px}
#malchar-site .hero-bg{object-position:70% bottom}
#malchar-site .hero-inner{min-height:1040px;padding-top:115px}
#malchar-site .hero h1{font-size:39px}
#malchar-site .role{font-size:13px}
#malchar-site .hero-quote{font-size:14px;padding:20px}
#malchar-site .actions{gap:10px}
#malchar-site .btn{padding:0 17px;font-size:11px}
#malchar-site .section-title{font-size:37px}
#malchar-site .about-grid{padding-block:56px}
#malchar-site .content-section{padding:70px 0}
#malchar-site .reason-card{grid-template-columns:1fr;gap:16px;padding:24px}
#malchar-site .reason-card, #malchar-site .reason-card:last-child{min-height:0}
#malchar-site .icon-badge{width:72px;height:72px}
#malchar-site .icon-badge svg{width:54px;height:54px}
#malchar-site .cert-grid, #malchar-site .steps-grid{grid-template-columns:1fr}
#malchar-site .step:after{display:none!important}
#malchar-site .contact-copy{padding:30px 24px}
#malchar-site .contact-photo{min-height:300px}
#malchar-site .footer{min-height:720px}
#malchar-site .footer-bg{object-position:68% center}
#malchar-site .footer-grid{grid-template-columns:1fr;gap:35px}
#malchar-site .footer-bottom{flex-direction:column;align-items:flex-start;margin-top:35px}
#malchar-site .footer-brand{width:100%}}
/* --- Finální úpravy v4 dle připomínek --- */
html{scroll-padding-top:118px}
#malchar-site .header.scrolled{background:rgba(251,246,239,.96)}
#malchar-site .nav{height:118px;grid-template-columns:minmax(360px,440px) 1fr;gap:34px}
#malchar-site .brand img{width:420px;max-height:96px;object-fit:contain}
#malchar-site .menu{justify-content:flex-start;margin-left:auto;margin-right:0;max-width:760px;gap:25px;font-size:14px;line-height:1.18;position:relative;z-index:5}
#malchar-site .menu a{padding:13px 0}
#malchar-site .hero-inner{padding-top:178px}
#malchar-site .hero-quote{width:min(540px,45vw);padding:22px 26px 20px}
#malchar-site .hero-quote p{font-size:14.5px;line-height:1.55}
#malchar-site .hero-quote:before{font-size:36px;margin-bottom:-8px}
#malchar-site .hero-quote:after{content:"”";display:block;text-align:right;color:var(--gold2);font:700 36px/1 Georgia;margin-top:-4px}
#malchar-site .btn.primary svg{stroke:#fff!important;color:#fff!important}
#malchar-site .btn.secondary:hover, #malchar-site .btn.secondary:focus{background:linear-gradient(135deg,var(--gold),var(--gold2));border-color:var(--gold);color:#fff;box-shadow:0 16px 34px rgba(200,144,49,.24)}
#malchar-site .icon-badge, #malchar-site .cert-icon{overflow:visible}
#malchar-site .png-icon{width:100%;height:100%;object-fit:contain;display:block}
#malchar-site .icon-badge .png-icon{width:72px;height:72px}
#malchar-site .cert-icon .png-icon{width:72px;height:72px}
#malchar-site .step-top{justify-content:flex-start}
#malchar-site .step-icon{margin-left:0}
#malchar-site .footer-brand{background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;width:min(410px,100%)}
#malchar-site .footer-brand img{filter:none!important;width:100%;height:auto;object-fit:contain}
#malchar-site .footer-grid{grid-template-columns:1.2fr .8fr .9fr}
#malchar-site .footer p, #malchar-site .footer a{font-size:15px;line-height:1.55}
@media (max-width:1260px){#malchar-site .nav{grid-template-columns:340px 1fr;gap:22px}
#malchar-site .brand img{width:340px}
#malchar-site .menu{font-size:12px;gap:18px;max-width:690px}}
@media (max-width:860px){html{scroll-padding-top:86px}
#malchar-site .nav{height:86px;grid-template-columns:1fr auto}
#malchar-site .brand img{width:285px;max-height:70px}
#malchar-site .menu{top:86px;max-width:none;font-size:13px}
#malchar-site .hero-inner{padding-top:135px}
#malchar-site .hero-quote{width:min(560px,94%)}}
@media (max-width:620px){#malchar-site .brand img{width:250px}
#malchar-site .hero-quote p{font-size:13.5px}
#malchar-site .footer-brand{width:320px}}
/* --- Verze v5: větší logo a menší headline --- */
@media (min-width:861px){#malchar-site .nav{
    height:126px;
    grid-template-columns:430px minmax(0,1fr) auto;
    gap:24px;
  }
#malchar-site .brand{
    display:flex;
    align-items:center;
    justify-self:start;
    margin:0;
  }
#malchar-site .brand img{
    width:410px !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
  }
#malchar-site .hero-inner{
    padding-top:178px;
  }
#malchar-site .hero h1{
    font-size:clamp(34px,3.3vw,50px) !important;
    line-height:1.09;
    max-width:660px;
  }}
@media (max-width:860px){#malchar-site .brand img{
    width:275px !important;
    height:auto !important;
    max-height:64px !important;
    object-fit:contain !important;
  }
#malchar-site .hero h1{
    font-size:clamp(35px,8.7vw,52px) !important;
    line-height:1.09;
  }}
#malchar-site .cert-icon img{width:72px;height:72px;object-fit:contain;display:block}
/* v11 cert icon sizing + transparent icon presentation */
#malchar-site .cert-icon{height:118px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:transparent}
#malchar-site .cert-icon img{width:112px;height:112px;max-width:100%;object-fit:contain;display:block;background:transparent;box-shadow:none;border-radius:0}
@media (max-width:1180px){#malchar-site .cert-icon{height:108px}
#malchar-site .cert-icon img{width:102px;height:102px}}
@media (max-width:820px){#malchar-site .cert-icon{height:92px;margin-bottom:10px}
#malchar-site .cert-icon img{width:86px;height:86px}}
/* ===== v13 — sjednocený grafický průchod po klientských připomínkách ===== */
#malchar-site{--header-desktop:176px;--header-mobile:118px;--section-gap-desktop:48px;--section-gap-mobile:34px}
html{scroll-padding-top:188px}
#malchar-site{font-size:17px}
#malchar-site .header, #malchar-site .header.scrolled{height:var(--header-desktop);background:rgba(251,246,239,.94);backdrop-filter:blur(16px);transition:background .28s ease,box-shadow .28s ease,border-color .28s ease}
#malchar-site .header:not(.scrolled){background:rgba(251,246,239,.25);box-shadow:none;border-bottom:1px solid transparent}
#malchar-site .nav{position:relative;height:var(--header-desktop);grid-template-columns:minmax(370px,410px) minmax(0,1fr);gap:24px;padding-block:8px}
#malchar-site .brand{height:100%;display:flex;align-items:center;justify-self:start;min-width:0;margin:0}
#malchar-site .brand img, #malchar-site .header.scrolled .brand img{display:block;width:410px!important;height:auto!important;max-width:100%;max-height:160px!important;object-fit:contain!important;transform:none!important;transition:none!important}
#malchar-site .menu{justify-content:flex-end;margin:0;max-width:none;gap:20px;font-size:15px;font-weight:720;line-height:1.25;letter-spacing:0;white-space:nowrap}
#malchar-site .menu a{padding:14px 0}
#malchar-site .hero-inner{padding-top:208px}
#malchar-site .hero h1{font-size:clamp(40px,3.55vw,53px)!important;line-height:1.1;max-width:680px}
#malchar-site .role{font-size:17px;line-height:1.55;max-width:620px;margin-bottom:28px}
#malchar-site .hero-quote{width:min(570px,47vw);padding:24px 28px 22px}
#malchar-site .hero-quote p{font-size:16.5px;line-height:1.62}
#malchar-site .btn{font-size:13px;min-height:50px;padding-inline:25px}
#malchar-site .about-grid{min-height:auto;padding:88px 0 0;gap:70px}
#malchar-site .about-copy p{font-size:17px;line-height:1.75;margin-top:18px}
#malchar-site .about-copy strong{font-weight:760;color:var(--ink)}
#malchar-site .section-title{font-size:clamp(40px,3.7vw,54px)}
#malchar-site .section-head .section-title{font-size:clamp(38px,3.45vw,51px)}
#malchar-site .section-transition-wrap{margin-top:var(--section-gap-desktop)}
#malchar-site .section-transition-head{margin-bottom:0}
#malchar-site .section-transition-head .head-line{margin-top:18px}
#malchar-site .content-section.has-transition-content{padding-top:var(--section-gap-desktop)}
#malchar-site .content-section.has-transition-content.has-transition-heading{padding-bottom:0}
#malchar-site .content-section.contact-content-only{padding:var(--section-gap-desktop) 0 88px}
#malchar-site .reason-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
#malchar-site .reason-card{height:100%;min-height:285px;padding:31px;grid-template-columns:96px 1fr;gap:23px}
#malchar-site .reason-card:first-child{grid-column:1/-1;min-height:225px;grid-template-columns:112px 1fr;padding:34px 36px}
#malchar-site .reason-card:last-child{grid-column:auto;min-height:285px}
#malchar-site .reason-copy h3{font-size:20px;line-height:1.36}
#malchar-site .reason-copy p{font-size:15.5px;line-height:1.68;margin-top:14px}
#malchar-site .icon-badge{width:86px;height:86px}
#malchar-site .reason-card:first-child .icon-badge{width:100px;height:100px}
#malchar-site .cert-intro{font-size:17px;line-height:1.7;margin-bottom:38px}
#malchar-site .cert-card{min-height:245px;padding:27px 24px 28px}
#malchar-site .cert-icon{height:106px;margin-bottom:13px;color:inherit}
#malchar-site .cert-icon svg{width:98px!important;height:98px!important;overflow:visible;fill:none;stroke:none}
#malchar-site .cert-card h3{font-size:16.5px;line-height:1.46}
#malchar-site .step p{font-size:15.5px;line-height:1.66}
#malchar-site .contact-item, #malchar-site .contact-copy p{font-size:16px;line-height:1.65}
@media (max-width:1280px) and (min-width:1081px){#malchar-site .nav{grid-template-columns:380px minmax(0,1fr);gap:18px}
#malchar-site .brand img, #malchar-site .header.scrolled .brand img{width:380px!important;max-height:152px!important}
#malchar-site .menu{font-size:13.5px;gap:15px}}
@media (max-width:1080px){#malchar-site{--section-gap-desktop:42px}
html{scroll-padding-top:128px}
#malchar-site .header, #malchar-site .header.scrolled{height:var(--header-mobile)}
#malchar-site .nav{height:var(--header-mobile);grid-template-columns:minmax(0,1fr) 48px;gap:10px;padding-block:5px}
#malchar-site .brand{height:100%;min-width:0;overflow:visible}
#malchar-site .brand img, #malchar-site .header.scrolled .brand img{width:clamp(250px,70vw,290px)!important;max-width:100%!important;max-height:108px!important;height:auto!important}
#malchar-site .mobile-toggle{display:flex;flex-direction:column;justify-self:end;position:relative;z-index:1002;width:46px;height:46px}
#malchar-site .menu{position:absolute;top:calc(100% - 1px);left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:10px;background:rgba(255,253,249,.99);border:1px solid var(--line);border-radius:0 0 18px 18px;box-shadow:0 22px 44px rgba(27,53,55,.15);font-size:15px;white-space:normal;z-index:1001}
#malchar-site .menu.open{display:flex}
#malchar-site .menu a{display:block;padding:13px 14px;text-align:left;border-bottom:1px solid rgba(7,92,103,.08)}
#malchar-site .menu a:last-child{border-bottom:0}
#malchar-site .menu a:after{left:14px;right:auto;width:42px;bottom:7px}
#malchar-site .hero-inner{padding-top:150px}
#malchar-site .hero-quote{width:min(590px,94%)}
#malchar-site .reason-grid{grid-template-columns:1fr}
#malchar-site .reason-card:first-child, #malchar-site .reason-card:last-child{grid-column:auto}
#malchar-site .reason-card, #malchar-site .reason-card:first-child, #malchar-site .reason-card:last-child{min-height:0}}
@media (max-width:620px){#malchar-site{--section-gap-mobile:34px}
html{scroll-padding-top:126px}
#malchar-site{font-size:16px}
#malchar-site .wrap{width:calc(100% - 24px)}
#malchar-site .nav{padding-block:4px}
#malchar-site .brand img, #malchar-site .header.scrolled .brand img{width:clamp(245px,70vw,276px)!important;max-height:108px!important}
#malchar-site .hero{min-height:1020px}
#malchar-site .hero-inner{min-height:1020px;padding-top:142px}
#malchar-site .hero h1{font-size:clamp(35px,9.5vw,42px)!important}
#malchar-site .role{font-size:15px;line-height:1.55}
#malchar-site .hero-quote p{font-size:15px}
#malchar-site .btn{font-size:11.5px;padding-inline:18px}
#malchar-site .about-grid{padding:64px 0 0;gap:32px}
#malchar-site .about-copy p{font-size:16px;line-height:1.7}
#malchar-site .section-title, #malchar-site .section-head .section-title{font-size:clamp(33px,9vw,39px)}
#malchar-site .section-transition-wrap{margin-top:var(--section-gap-mobile)}
#malchar-site .section-transition-head .head-line{margin-top:14px}
#malchar-site .content-section.has-transition-content{padding-top:var(--section-gap-mobile)}
#malchar-site .content-section.has-transition-content.has-transition-heading{padding-bottom:0}
#malchar-site .content-section.contact-content-only{padding:var(--section-gap-mobile) 0 64px}
#malchar-site .reason-card, #malchar-site .reason-card:first-child{grid-template-columns:1fr;gap:16px;padding:25px}
#malchar-site .reason-copy p{font-size:15px}
#malchar-site .cert-intro{font-size:16px;margin-bottom:30px}
#malchar-site .cert-card{min-height:0;padding:25px 22px}
#malchar-site .cert-icon{height:98px;margin-bottom:10px}
#malchar-site .cert-icon svg{width:90px!important;height:90px!important}
#malchar-site .cert-card h3{font-size:16px}
#malchar-site .step p{font-size:15px}}
/* ===== v14 — větší logo + nové certifikační ikony bez šachovnicového pozadí ===== */
#malchar-site{--header-desktop:182px;--header-mobile:132px}
html{scroll-padding-top:194px}
#malchar-site .header, #malchar-site .header.scrolled{height:var(--header-desktop)!important;overflow:hidden}
#malchar-site .nav{height:var(--header-desktop)!important;grid-template-columns:minmax(430px,520px) minmax(0,1fr)!important;gap:24px!important;padding-block:10px!important;align-items:center!important}
#malchar-site .brand{height:100%!important;display:flex!important;align-items:center!important;overflow:hidden!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{display:block!important;width:500px!important;max-width:100%!important;height:auto!important;max-height:168px!important;object-fit:contain!important;object-position:left center!important;transform:none!important;transition:none!important;filter:none!important}
#malchar-site .header.scrolled .brand .brand-logo-full{height:auto!important}
#malchar-site .hero-inner{padding-top:214px!important}
#malchar-site .cert-card{min-height:252px!important}
#malchar-site .cert-icon{height:132px!important;margin-bottom:14px!important;display:flex!important;align-items:center!important;justify-content:center!important}
#malchar-site .cert-icon img, #malchar-site .cert-icon .cert-icon-img{width:122px!important;height:122px!important;max-width:none!important;object-fit:contain!important;display:block!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
@media (max-width:1260px){#malchar-site .nav{grid-template-columns:minmax(350px,440px) minmax(0,1fr)!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{width:430px!important;max-height:158px!important}}
@media (max-width:1080px){html{scroll-padding-top:142px}
#malchar-site .header, #malchar-site .header.scrolled{height:var(--header-mobile)!important;overflow:hidden}
#malchar-site .nav{height:var(--header-mobile)!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding-block:8px!important}
#malchar-site .brand{width:min(310px,calc(100vw - 92px))!important;height:100%!important;align-items:center!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{width:min(310px,calc(100vw - 92px))!important;max-height:108px!important;height:auto!important}
#malchar-site .hero-inner{padding-top:166px!important}}
@media (max-width:820px){#malchar-site .cert-card{min-height:224px!important}
#malchar-site .cert-icon{height:116px!important;margin-bottom:12px!important}
#malchar-site .cert-icon img, #malchar-site .cert-icon .cert-icon-img{width:104px!important;height:104px!important}}
@media (max-width:560px){html{scroll-padding-top:136px}
#malchar-site .brand{width:min(300px,calc(100vw - 86px))!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{width:min(300px,calc(100vw - 86px))!important;max-height:100px!important}
#malchar-site .hero-inner{padding-top:160px!important}}
/* ===== v15 — větší neřezané logo, klidnější hero headline, vyvážené certifikace ===== */
#malchar-site{
  --header-desktop:220px;
  --header-mobile:144px;
}
html{scroll-padding-top:232px}
/* Header and logo: full SVG is visible, does not change size after scroll. */
#malchar-site .header, #malchar-site .header.scrolled{
  height:var(--header-desktop)!important;
  overflow:visible!important;
}
#malchar-site .nav{
  height:var(--header-desktop)!important;
  grid-template-columns:minmax(500px,540px) minmax(0,1fr)!important;
  gap:22px!important;
  padding:3px 0 5px!important;
  align-items:center!important;
}
#malchar-site .brand{
  width:540px!important;
  height:100%!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  padding-top:3px!important;
  overflow:visible!important;
}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
  display:block!important;
  width:530px!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:left top!important;
  transform:none!important;
  transition:none!important;
  filter:none!important;
}
#malchar-site .header.scrolled .brand .brand-logo-full{height:auto!important}
#malchar-site .menu{align-self:center!important}
#malchar-site .hero-inner{padding-top:248px!important}
/* Slightly calmer opening headline while keeping a clear hierarchy. */
#malchar-site .hero h1{
  font-size:clamp(37px,3vw,48px)!important;
  line-height:1.12!important;
  max-width:670px!important;
}
/* Certification cards: more air above icons and a slightly larger icon-to-text gap. */
#malchar-site .cert-card{
  min-height:262px!important;
  padding:34px 24px 20px!important;
  justify-content:flex-start!important;
}
#malchar-site .cert-icon{
  height:126px!important;
  margin-bottom:20px!important;
  flex:0 0 126px!important;
}
#malchar-site .cert-icon img, #malchar-site .cert-icon .cert-icon-img{
  width:116px!important;
  height:116px!important;
}
#malchar-site .cert-card h3{
  margin-top:0!important;
  line-height:1.45!important;
}
@media (max-width:1260px){#malchar-site{--header-desktop:206px}
html{scroll-padding-top:218px}
#malchar-site .nav{
    height:var(--header-desktop)!important;
    grid-template-columns:minmax(445px,475px) minmax(0,1fr)!important;
    gap:18px!important;
  }
#malchar-site .brand{width:475px!important;padding-top:4px!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:465px!important;
  }
#malchar-site .menu{font-size:14px!important;gap:16px!important}
#malchar-site .hero-inner{padding-top:232px!important}}
@media (max-width:1080px){html{scroll-padding-top:154px}
#malchar-site .header, #malchar-site .header.scrolled{
    height:var(--header-mobile)!important;
    overflow:visible!important;
  }
#malchar-site .nav{
    height:var(--header-mobile)!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    padding:3px 0 5px!important;
  }
#malchar-site .brand{
    width:min(322px,calc(100vw - 82px))!important;
    height:100%!important;
    padding-top:3px!important;
    align-items:flex-start!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(322px,calc(100vw - 82px))!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
  }
#malchar-site .hero-inner{padding-top:178px!important}
#malchar-site .hero h1{font-size:clamp(33px,9vw,40px)!important;line-height:1.11!important}}
@media (max-width:820px){#malchar-site .cert-card{
    min-height:236px!important;
    padding:29px 22px 18px!important;
  }
#malchar-site .cert-icon{
    height:108px!important;
    flex-basis:108px!important;
    margin-bottom:17px!important;
  }
#malchar-site .cert-icon img, #malchar-site .cert-icon .cert-icon-img{
    width:100px!important;
    height:100px!important;
  }}
@media (max-width:560px){#malchar-site{--header-mobile:140px}
html{scroll-padding-top:150px}
#malchar-site .brand{width:min(315px,calc(100vw - 80px))!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(315px,calc(100vw - 80px))!important;
  }
#malchar-site .hero-inner{padding-top:172px!important}}
/* ===== v16 — hlavička a logo podle velikostního vzoru v7 ===== */
/* SVG má pouze odstraněný průhledný okraj; kresba a oba spodní ocásky jsou zachované celé. */
@media (min-width:1261px){#malchar-site{--header-desktop:156px}
html{scroll-padding-top:168px}
#malchar-site .header, #malchar-site .header.scrolled{
    height:156px!important;
    overflow:hidden!important;
  }
#malchar-site .nav{
    height:156px!important;
    grid-template-columns:430px minmax(0,1fr)!important;
    gap:24px!important;
    padding:0!important;
    align-items:center!important;
  }
#malchar-site .brand{
    width:430px!important;
    height:156px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    overflow:visible!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:410px!important;
    height:auto!important;
    max-width:none!important;
    max-height:154px!important;
    margin-top:1px!important;
    object-fit:contain!important;
    object-position:left top!important;
    transform:none!important;
    transition:none!important;
    filter:none!important;
  }
#malchar-site .menu{align-self:center!important}
#malchar-site .hero-inner{padding-top:188px!important}}
@media (min-width:1081px) and (max-width:1260px){#malchar-site{--header-desktop:150px}
html{scroll-padding-top:162px}
#malchar-site .header, #malchar-site .header.scrolled{
    height:150px!important;
    overflow:hidden!important;
  }
#malchar-site .nav{
    height:150px!important;
    grid-template-columns:400px minmax(0,1fr)!important;
    gap:18px!important;
    padding:0!important;
    align-items:center!important;
  }
#malchar-site .brand{
    width:400px!important;
    height:150px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    overflow:visible!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:390px!important;
    height:auto!important;
    max-width:none!important;
    max-height:148px!important;
    margin-top:1px!important;
    object-fit:contain!important;
    object-position:left top!important;
    transform:none!important;
    transition:none!important;
    filter:none!important;
  }
#malchar-site .menu{font-size:13px!important;gap:14px!important;align-self:center!important}
#malchar-site .hero-inner{padding-top:182px!important}}
/* ===== v17 — větší logo při zachování celých spodních ocásků ===== */
@media (min-width:1261px){#malchar-site{--header-desktop:164px}
html{scroll-padding-top:176px}
#malchar-site .header, #malchar-site .header.scrolled{height:164px!important;overflow:hidden!important}
#malchar-site .nav{
    height:164px!important;
    grid-template-columns:450px minmax(0,1fr)!important;
    gap:24px!important;
    padding:0!important;
  }
#malchar-site .brand{
    width:450px!important;
    height:164px!important;
    align-items:flex-start!important;
    overflow:visible!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:430px!important;
    height:auto!important;
    max-width:none!important;
    max-height:162px!important;
    margin-top:1px!important;
    object-fit:contain!important;
    object-position:left top!important;
    transform:none!important;
    transition:none!important;
  }
#malchar-site .hero-inner{padding-top:196px!important}}
@media (min-width:1081px) and (max-width:1260px){#malchar-site{--header-desktop:158px}
html{scroll-padding-top:170px}
#malchar-site .header, #malchar-site .header.scrolled{height:158px!important;overflow:hidden!important}
#malchar-site .nav{
    height:158px!important;
    grid-template-columns:420px minmax(0,1fr)!important;
    gap:18px!important;
    padding:0!important;
  }
#malchar-site .brand{
    width:420px!important;
    height:158px!important;
    align-items:flex-start!important;
    overflow:visible!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:410px!important;
    height:auto!important;
    max-width:none!important;
    max-height:156px!important;
    margin-top:1px!important;
    object-fit:contain!important;
    object-position:left top!important;
    transform:none!important;
    transition:none!important;
  }
#malchar-site .hero-inner{padding-top:190px!important}}
@media (max-width:1080px){#malchar-site .brand{width:min(320px,calc(100vw - 92px))!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(320px,calc(100vw - 92px))!important;
    max-height:120px!important;
    object-position:left center!important;
  }}
@media (max-width:620px){#malchar-site .brand{width:min(300px,calc(100vw - 84px))!important}
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(300px,calc(100vw - 84px))!important;
    max-height:113px!important;
  }}
/* ===== v20 — sjednocená šířka ozdobných linek pod hlavními nadpisy ===== */
#malchar-site{--heading-rule-width:72px}
#malchar-site .hero-rule, #malchar-site .title-line, #malchar-site .head-line{
  width:var(--heading-rule-width)!important;
  height:2px!important;
  background:linear-gradient(90deg,var(--gold),var(--gold2))!important;
  flex:0 0 var(--heading-rule-width);
}
#malchar-site .hero-rule, #malchar-site .title-line{margin-left:0!important;margin-right:0!important}
#malchar-site .head-line{margin-left:auto!important;margin-right:auto!important}
/* v22 — čistší, méně žíhané textové části loga; symbol beze změny */
/* ===== v23 — finální opravy přechodů sekcí, mobilního menu a symetrických mezer ===== */
/* Každý hlavní nadpis je součástí sekce, kterou skutečně uvádí. */
#malchar-site .about{padding-bottom:0!important}
#malchar-site .about-grid{padding-bottom:72px!important}
#malchar-site .content-section.section-with-heading{
  padding:0 0 82px!important;
}
#malchar-site .content-section.section-with-heading.contact-content-only{
  padding:0 0 72px!important;
}
#malchar-site .section-heading-block{
  position:relative!important;
  z-index:3!important;
  margin:0 auto!important;
  padding:64px 0 0!important;
  scroll-margin-top:calc(var(--header-h) + 12px)!important;
}
#malchar-site .section-heading-block .section-transition-head{
  margin:0 auto!important;
  max-width:980px!important;
  text-align:center!important;
}
#malchar-site .section-heading-block .head-line{
  width:72px!important;
  height:2px!important;
  margin:16px auto 0!important;
}
#malchar-site .section-heading-block + .section-body-wrap{
  margin-top:64px!important;
}
/* Nadpis „Proč se objednat…“ už nezačíná v balónkovém pozadí sekce O mně. */
#malchar-site #proc{background:transparent!important}
/* Mobilní menu se nesmí oříznout vyšší mobilní hlavičkou. */
@media (max-width:1080px){#malchar-site .header, #malchar-site .header.scrolled, #malchar-site .nav{
    overflow:visible!important;
    clip-path:none!important;
  }
#malchar-site .menu{
    position:fixed!important;
    top:var(--header-h)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:1100!important;
  }
#malchar-site .menu:not(.open){display:none!important}
#malchar-site .menu.open{display:flex!important}
#malchar-site .about-grid{padding-bottom:52px!important}
#malchar-site .content-section.section-with-heading, #malchar-site .content-section.section-with-heading.contact-content-only{
    padding:0 0 58px!important;
  }
/* Stejná mezera nad zlatým nadpisem a pod zlatou linkou. */
#malchar-site .section-heading-block{
    margin:0 auto!important;
    padding:44px 0 0!important;
  }
#malchar-site .section-heading-block .section-transition-head{
    margin:0 auto!important;
  }
#malchar-site .section-heading-block .head-line{
    margin:14px auto 0!important;
  }
#malchar-site .section-heading-block + .section-body-wrap{
    margin-top:44px!important;
  }}
@media (max-width:620px){#malchar-site .about-grid{padding-bottom:46px!important}
#malchar-site .content-section.section-with-heading, #malchar-site .content-section.section-with-heading.contact-content-only{
    padding-bottom:52px!important;
  }
#malchar-site .section-heading-block{
    padding-top:40px!important;
  }
#malchar-site .section-heading-block + .section-body-wrap{
    margin-top:40px!important;
  }
#malchar-site .menu{top:138px!important}}
/* ===== v25 mobile menu fix + bubble cleanup ===== */
@media (max-width:1080px){#malchar-site .header.menu-open{overflow:visible!important}
#malchar-site .header.menu-open .menu{display:flex!important}
#malchar-site .menu{max-height:calc(100vh - 150px);overflow:auto;-webkit-overflow-scrolling:touch}}
@media (max-width:620px){#malchar-site .header.menu-open{overflow:visible!important}
#malchar-site .menu{max-height:calc(100vh - 138px)}}
/* ===== v31 — hero, ikona vedoucího lékaře a přesná kotva O mně ===== */
#malchar-site .role .mini-icon{width:42px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
#malchar-site .role .mini-icon .role-icon-img{width:42px!important;height:42px!important;object-fit:contain!important;display:block!important;background:transparent!important}
#malchar-site #o-mne{scroll-margin-top:0!important}
@media (max-width:620px){#malchar-site .role .mini-icon{width:40px!important;height:40px!important}
#malchar-site .role .mini-icon .role-icon-img{width:40px!important;height:40px!important}}
/* ===== v32 — původní velikost ikony a individuální kotva O mně ===== */
#malchar-site .role .mini-icon{width:38px!important;height:38px!important;flex:0 0 38px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
#malchar-site .role .mini-icon svg{width:38px!important;height:38px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#malchar-site #o-mne{scroll-margin-top:0!important}
@media (max-width:620px){#malchar-site .role .mini-icon{width:38px!important;height:38px!important;flex-basis:38px!important}
#malchar-site .role .mini-icon svg{width:38px!important;height:38px!important}}
/* ===== v33 — individuální kotva sekce Jak postupuji ===== */
#malchar-site #postup{scroll-margin-top:0!important}
/* =========================================================
   Verze v8 – klientské připomínky 24. 7. 2026
   ========================================================= */
#malchar-site{--header-h:108px}
html{scroll-padding-top:var(--header-h)}
#malchar-site{font-size:16.5px}
#malchar-site .wrap{width:min(var(--max),calc(100% - 64px))}
/* Header and solid-colour logo wording */
#malchar-site .nav{height:var(--header-h);grid-template-columns:minmax(405px,455px) minmax(0,1fr);gap:28px}
#malchar-site .brand{height:92px;display:flex;align-items:center;justify-self:start;gap:13px;min-width:0;overflow:hidden}
#malchar-site .brand .brand-mark{display:block;width:auto!important;height:86px!important;max-height:86px!important;object-fit:contain!important;flex:0 0 auto}
#malchar-site .brand-lockup{display:flex;flex-direction:column;justify-content:center;min-width:0;width:365px;line-height:1}
#malchar-site .brand-name{display:block;white-space:nowrap;font-family:Georgia,"Times New Roman",serif;font-size:30px;letter-spacing:-.035em}
#malchar-site .brand-name-gold{color:var(--gold);font-weight:600}
#malchar-site .brand-name-teal{color:#075c67;font-weight:600}
#malchar-site .brand-line{display:block;height:2px;margin:9px 0 8px;background:var(--gold);width:100%}
#malchar-site .brand-claim{display:block;text-align:center;white-space:nowrap;color:#075c67;font-family:Georgia,"Times New Roman",serif;font-size:16px;letter-spacing:-.01em}
#malchar-site .header.scrolled .brand{height:92px}
#malchar-site .menu{font-size:14.5px;line-height:1.25;gap:22px;font-weight:730;max-width:none}
#malchar-site .menu a{padding:12px 0}
/* More balanced typography */
#malchar-site .hero{min-height:800px}
#malchar-site .hero-inner{min-height:800px;padding-top:150px;padding-bottom:68px}
#malchar-site .hero h1{font-size:clamp(37px,3.35vw,51px)!important;line-height:1.1}
#malchar-site .role{font-size:16px;line-height:1.55}
#malchar-site .hero-quote p{font-size:15.5px}
#malchar-site .section-title{font-size:clamp(40px,3.6vw,55px)}
#malchar-site .about-copy p{font-size:17px;line-height:1.72;margin-top:15px}
#malchar-site .about-copy strong{font-weight:760;color:var(--ink)}
#malchar-site .section-head p, #malchar-site .cert-intro{font-size:16.5px;line-height:1.7}
#malchar-site .reason-copy h3{font-size:20px}
#malchar-site .reason-copy p{font-size:15.5px;line-height:1.67}
#malchar-site .cert-card h3{font-size:16.5px;line-height:1.46}
#malchar-site .step h3{font-size:18.5px}
#malchar-site .step p{font-size:15px;line-height:1.65}
#malchar-site .contact-item{font-size:16px;line-height:1.6}
#malchar-site .footer p, #malchar-site .footer a{font-size:15px}
/* More consistent section spacing */
#malchar-site .about, #malchar-site .about-grid{min-height:680px}
#malchar-site .about-grid{padding-block:66px;gap:62px}
#malchar-site .content-section{padding:74px 0}
#malchar-site .section-head{margin-bottom:38px}
#malchar-site .cert-intro{margin-bottom:30px}
#malchar-site .contact-shell{min-height:440px}
#malchar-site .contact-photo{min-height:440px}
#malchar-site .footer-inner{padding-top:58px}
/* First reason card across the full row, remaining cards in the grid */
#malchar-site .reason-grid{gap:22px}
#malchar-site .reason-card{min-height:255px;padding:28px}
#malchar-site .reason-card:first-child{grid-column:1/-1;min-height:215px}
#malchar-site .reason-card:last-child{grid-column:auto;min-height:255px}
/* Clearer certification pictograms */
#malchar-site .cert-icon svg{width:70px;height:70px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Arrows centered precisely in the gap */
#malchar-site .steps-grid{gap:42px}
#malchar-site .step:not(:last-child):after{right:-30px;top:50%;width:18px;text-align:center;transform:translateY(-50%);font-size:27px;line-height:1}
@media (max-width:1260px) and (min-width:1081px){#malchar-site .nav{grid-template-columns:minmax(365px,395px) minmax(0,1fr);gap:20px}
#malchar-site .brand .brand-mark{height:80px!important;max-height:80px!important}
#malchar-site .brand-lockup{width:325px}
#malchar-site .brand-name{font-size:26px}
#malchar-site .brand-claim{font-size:14px}
#malchar-site .menu{font-size:13.5px;gap:15px}}
/* Use the mobile menu before the desktop navigation becomes cramped. */
@media (max-width:1080px){#malchar-site{--header-h:90px}
html{scroll-padding-top:var(--header-h)}
#malchar-site .header{background:rgba(251,246,239,.96);backdrop-filter:blur(16px)}
#malchar-site .nav{height:var(--header-h);grid-template-columns:minmax(0,1fr) auto;gap:12px}
#malchar-site .brand{height:80px;gap:11px;overflow:hidden}
#malchar-site .brand .brand-mark{height:74px!important;max-height:74px!important}
#malchar-site .brand-lockup{width:315px}
#malchar-site .brand-name{font-size:25px}
#malchar-site .brand-claim{font-size:13.5px}
#malchar-site .mobile-toggle{display:flex;flex-direction:column}
#malchar-site .menu{position:absolute;top:var(--header-h);left:20px;right:20px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:14px;background:rgba(255,253,249,.99);border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line);font-size:14px}
#malchar-site .menu.open{display:flex}
#malchar-site .menu a{padding:13px 10px}}
@media (max-width:860px){#malchar-site .wrap{width:calc(100% - 30px)}
#malchar-site .hero{min-height:960px;background:#fbf6ef}
#malchar-site .hero-bg{inset:auto 0 0;height:470px;object-fit:cover;object-position:76% center}
#malchar-site .hero:after{background:linear-gradient(180deg,#fbf6ef 0%,#fbf6ef 48%,rgba(251,246,239,.98) 56%,rgba(251,246,239,.36) 78%,rgba(251,246,239,0) 100%)}
#malchar-site .hero-inner{min-height:960px;padding-top:118px;padding-bottom:350px;align-items:flex-start}
#malchar-site .hero-copy{width:100%;max-width:690px}
#malchar-site .hero h1{font-size:clamp(37px,8vw,50px)!important}
#malchar-site .hero-quote{width:min(590px,96%)}
#malchar-site .about-grid{padding-block:56px;gap:34px}
#malchar-site .content-section{padding:60px 0}
#malchar-site .section-head{margin-bottom:32px}
#malchar-site .steps-grid{gap:24px}
#malchar-site .step:not(:last-child):after{right:-21px}
#malchar-site .footer{min-height:0}
#malchar-site .footer-inner{padding:48px 0 24px}
#malchar-site .footer-grid{grid-template-columns:1fr;gap:28px}
#malchar-site .footer-grid>div, #malchar-site .footer-brand-wrap{width:100%;min-width:0;max-width:none}
#malchar-site .footer-brand{width:min(390px,100%)}
#malchar-site .footer-title{margin-bottom:12px}
#malchar-site .footer a, #malchar-site .footer p{width:100%;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.55}
#malchar-site .footer-bottom{margin-top:30px;padding-top:18px}}
@media (max-width:620px){#malchar-site{--header-h:86px}
#malchar-site .wrap{width:calc(100% - 24px)}
#malchar-site .nav{height:var(--header-h);gap:8px}
#malchar-site .brand{height:78px;gap:8px;overflow:hidden}
#malchar-site .brand .brand-mark{height:69px!important;max-height:69px!important}
#malchar-site .brand-lockup{width:min(260px,calc(100vw - 108px))}
#malchar-site .brand-name{font-size:20px;letter-spacing:-.035em}
#malchar-site .brand-line{margin:6px 0 6px;height:1.5px}
#malchar-site .brand-claim{font-size:11.5px}
#malchar-site .mobile-toggle{width:44px;height:44px}
#malchar-site .menu{top:var(--header-h);left:12px;right:12px}
#malchar-site .hero{min-height:930px}
#malchar-site .hero-bg{height:420px;object-position:76% center}
#malchar-site .hero-inner{min-height:930px;padding-top:108px;padding-bottom:325px}
#malchar-site .hero h1{font-size:36px!important;line-height:1.1}
#malchar-site .role{font-size:14px}
#malchar-site .hero-quote{padding:19px 20px}
#malchar-site .hero-quote p{font-size:14px}
#malchar-site .about, #malchar-site .about-grid{min-height:0}
#malchar-site .about-grid{padding-block:50px}
#malchar-site .about-copy p{font-size:16.5px}
#malchar-site .content-section{padding:52px 0}
#malchar-site .section-title{font-size:36px}
#malchar-site .section-head{margin-bottom:28px}
#malchar-site .reason-card:first-child, #malchar-site .reason-card:last-child, #malchar-site .reason-card{grid-column:auto;min-height:0}
#malchar-site .cert-card{min-height:205px}
#malchar-site .contact-copy{padding:28px 22px}
#malchar-site .footer{min-height:0}
#malchar-site .footer-inner{padding-top:42px}
#malchar-site .footer-grid{gap:25px}
#malchar-site .footer-brand{width:min(330px,100%)}
#malchar-site .footer-bottom{align-items:stretch;gap:12px}
#malchar-site .footer-bottom>*{width:100%;max-width:100%;white-space:normal}}
/* === Verze v9: klientské úpravy desktopu === */
#malchar-site{--header-h:116px}
html{scroll-padding-top:calc(var(--header-h) + 8px)}
#malchar-site .header, #malchar-site .header.scrolled{height:var(--header-h)!important;min-height:var(--header-h)!important}
/* Exact supplied logo, no reconstructed typography. */
#malchar-site .nav{height:var(--header-h);grid-template-columns:300px minmax(0,1fr);gap:24px}
#malchar-site .brand{height:var(--header-h)!important;width:300px;display:flex;align-items:center;justify-content:flex-start;overflow:hidden!important;gap:0!important;padding:9px 0}
#malchar-site .brand .brand-logo-full{display:block;width:auto!important;height:96px!important;max-height:calc(var(--header-h) - 20px)!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
#malchar-site .header.scrolled .brand .brand-logo-full{height:92px!important;max-height:calc(var(--header-h) - 24px)!important}
#malchar-site .menu{font-size:14px;gap:24px}
/* “O mně” now follows the same gold H2 language as the rest of the site. */
#malchar-site #o-mne .about-copy .section-title{color:var(--gold)!important}
#malchar-site #o-mne .about-copy{align-self:center}
/* Headings form a visual bridge to the next content section. */
#malchar-site .section-transition-wrap{position:relative;z-index:3;padding:18px 0 24px;scroll-margin-top:calc(var(--header-h) + 10px)}
#malchar-site .section-transition-head{margin:0 auto!important;text-align:center;max-width:980px}
#malchar-site .section-transition-head .section-title{color:var(--gold)!important;font-size:clamp(38px,3.35vw,50px)}
#malchar-site .section-transition-head .head-line{margin-top:15px}
#malchar-site .about-grid{min-height:0!important;padding:60px 0 26px!important}
#malchar-site .about.has-transition-heading{min-height:0!important;padding-bottom:0}
#malchar-site .content-section.has-transition-heading{padding:34px 0 0!important}
#malchar-site .content-section.has-transition-heading .section-transition-wrap{padding-top:30px}
#malchar-site .contact-content-only{padding:48px 0 66px!important}
#malchar-site .contact-content-only .contact-copy{padding-top:46px}
/* Unified certification icon system. */
#malchar-site .cert-icon{height:78px;margin-bottom:9px;color:var(--teal);display:flex;align-items:center;justify-content:center}
#malchar-site .cert-icon svg{width:68px!important;height:68px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible}
#malchar-site .cert-card{min-height:218px;padding-top:25px}
/* Active menu follows the relocated anchor headings. */
#malchar-site [data-nav-anchor]{scroll-margin-top:calc(var(--header-h) + 8px)}
@media (max-width:1260px) and (min-width:1081px){#malchar-site{--header-h:108px}
#malchar-site .nav{grid-template-columns:276px minmax(0,1fr);gap:18px}
#malchar-site .brand{width:276px;height:var(--header-h)!important;padding:8px 0}
#malchar-site .brand .brand-logo-full{height:88px!important;max-height:calc(var(--header-h) - 18px)!important}
#malchar-site .header.scrolled .brand .brand-logo-full{height:85px!important}
#malchar-site .menu{font-size:13px;gap:16px}}
@media (max-width:1080px){#malchar-site{--header-h:92px}
#malchar-site .nav{height:var(--header-h);grid-template-columns:minmax(0,1fr) auto;gap:12px}
#malchar-site .brand{width:min(270px,calc(100vw - 94px));height:var(--header-h)!important;padding:7px 0}
#malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand .brand-logo-full{height:76px!important;max-height:calc(var(--header-h) - 16px)!important}
#malchar-site .menu{top:var(--header-h)}
#malchar-site .section-transition-wrap{padding:14px 0 22px;scroll-margin-top:calc(var(--header-h) + 8px)}
#malchar-site .content-section.has-transition-heading{padding-top:32px!important}
#malchar-site .content-section.has-transition-heading .section-transition-wrap{padding-top:30px}}
@media (max-width:620px){#malchar-site{--header-h:88px}
#malchar-site .brand{width:min(248px,calc(100vw - 88px));height:var(--header-h)!important;padding:7px 0}
#malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand .brand-logo-full{height:72px!important;max-height:calc(var(--header-h) - 16px)!important}
#malchar-site .section-transition-head .section-title{font-size:35px}
#malchar-site .about-grid{padding:48px 0 22px!important}
#malchar-site .content-section.has-transition-heading{padding:30px 0 0!important}
#malchar-site .content-section.has-transition-heading .section-transition-wrap{padding:28px 0 22px}
#malchar-site .contact-content-only{padding:42px 0 56px!important}}
/* === Verze v12: stabilní mobilní záhlaví a přirozené rozbalovací menu === */
@media (max-width:1080px){#malchar-site .header, #malchar-site .header.scrolled{overflow:visible!important}
#malchar-site .nav{
    position:relative!important;
    align-items:center!important;
    overflow:visible!important;
  }
#malchar-site .brand{
    justify-self:start!important;
    align-self:center!important;
    margin:0!important;
    transform:none!important;
    flex-shrink:1!important;
    min-width:0!important;
    position:relative!important;
    z-index:1003!important;
  }
#malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand .brand-logo-full{
    display:block!important;
    margin:0!important;
    transform:none!important;
  }
#malchar-site .mobile-toggle{
    justify-self:end!important;
    align-self:center!important;
    margin:0!important;
    position:relative!important;
    z-index:1004!important;
    flex:0 0 auto!important;
  }
#malchar-site .menu{
    position:fixed!important;
    top:var(--header-h)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:8px 12px 14px!important;
    border:0!important;
    border-top:1px solid rgba(7,92,103,.12)!important;
    border-radius:0 0 18px 18px!important;
    background:rgba(255,253,249,.985)!important;
    box-shadow:0 18px 34px rgba(23,62,69,.13)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    z-index:1002!important;
  }
#malchar-site .menu.open{display:flex!important}
#malchar-site .menu a{
    display:block!important;
    width:100%!important;
    max-width:720px!important;
    margin:0 auto!important;
    padding:13px 14px!important;
    text-align:left!important;
    white-space:normal!important;
    line-height:1.35!important;
    border-bottom:1px solid rgba(7,92,103,.08)!important;
  }
#malchar-site .menu a:last-child{border-bottom:0!important}
#malchar-site .menu a:after{display:none!important}
#malchar-site .menu a:hover, #malchar-site .menu a.active{
    color:var(--teal)!important;
    background:rgba(200,144,49,.08)!important;
    border-radius:10px!important;
  }
#malchar-site .mobile-toggle[aria-expanded="true"] span{background:transparent!important}
#malchar-site .mobile-toggle[aria-expanded="true"]:before{transform:translateY(6px) rotate(45deg)!important}
#malchar-site .mobile-toggle[aria-expanded="true"]:after{transform:translateY(-6px) rotate(-45deg)!important}}
@media (max-width:620px){#malchar-site .menu{padding:7px 10px 12px!important;border-radius:0 0 16px 16px!important}
#malchar-site .menu a{padding:12px 12px!important;font-size:14px!important}}
/* ===== v18 — rozměry loga v hlavičce převzaté z loga v patičce ===== */
@media (min-width:1081px){#malchar-site{--header-desktop:164px}
html{scroll-padding-top:176px!important}
#malchar-site .header, #malchar-site .header.scrolled{
    height:164px!important;
    min-height:164px!important;
    overflow:hidden!important;
  }
#malchar-site .nav{
    height:164px!important;
    grid-template-columns:430px minmax(0,1fr)!important;
    gap:22px!important;
    padding:0!important;
    align-items:center!important;
  }
#malchar-site .brand{
    width:410px!important;
    height:164px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:410px!important;
    height:auto!important;
    max-width:410px!important;
    max-height:none!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
    transition:none!important;
    filter:none!important;
  }
#malchar-site .hero-inner{padding-top:196px!important}}
@media (max-width:1080px) and (min-width:621px){#malchar-site .brand{
    width:min(390px,calc(100vw - 92px))!important;
    overflow:hidden!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(390px,calc(100vw - 92px))!important;
    height:auto!important;
    max-width:none!important;
    max-height:120px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
  }}
@media (max-width:620px){#malchar-site .brand{
    width:min(330px,calc(100vw - 84px))!important;
    overflow:hidden!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(330px,calc(100vw - 84px))!important;
    height:auto!important;
    max-width:none!important;
    max-height:113px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
  }}
/* ===== v19 — zmenšení hlavního hero headline ===== */
@media (min-width:1081px){#malchar-site .hero h1{
    font-size:clamp(34px,2.8vw,45px)!important;
    line-height:1.12!important;
    max-width:640px!important;
  }}
@media (max-width:1080px) and (min-width:621px){#malchar-site .hero h1{
    font-size:clamp(33px,7.2vw,42px)!important;
    line-height:1.12!important;
  }}
@media (max-width:620px){#malchar-site .hero h1{
    font-size:34px!important;
    line-height:1.12!important;
  }}
/* ===== v21 — vyšší mobilní hlavička a celé logo včetně claimu a spodních ocásků ===== */
@media (max-width:1080px) and (min-width:621px){#malchar-site{--header-h:154px!important}
html{scroll-padding-top:166px!important}
#malchar-site .header, #malchar-site .header.scrolled{
    height:154px!important;
    min-height:154px!important;
    overflow:hidden!important;
  }
#malchar-site .nav{
    height:154px!important;
    min-height:154px!important;
    padding:0!important;
    align-items:center!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }
#malchar-site .brand{
    width:min(390px,calc(100vw - 92px))!important;
    height:150px!important;
    min-height:150px!important;
    display:flex!important;
    align-items:center!important;
    overflow:visible!important;
    margin:0!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(390px,calc(100vw - 92px))!important;
    height:auto!important;
    max-width:none!important;
    max-height:148px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
    transition:none!important;
  }
#malchar-site .mobile-toggle{align-self:center!important}
#malchar-site .menu{top:154px!important}
#malchar-site .hero-inner{padding-top:184px!important}}
@media (max-width:620px){#malchar-site{--header-h:138px!important}
html{scroll-padding-top:150px!important}
#malchar-site .header, #malchar-site .header.scrolled{
    height:138px!important;
    min-height:138px!important;
    overflow:hidden!important;
  }
#malchar-site .nav{
    height:138px!important;
    min-height:138px!important;
    padding:0!important;
    align-items:center!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
  }
#malchar-site .brand{
    width:min(330px,calc(100vw - 84px))!important;
    height:134px!important;
    min-height:134px!important;
    display:flex!important;
    align-items:center!important;
    overflow:visible!important;
    margin:0!important;
  }
#malchar-site .brand img, #malchar-site .brand .brand-logo-full, #malchar-site .header.scrolled .brand img, #malchar-site .header.scrolled .brand .brand-logo-full{
    width:min(330px,calc(100vw - 84px))!important;
    height:auto!important;
    max-width:none!important;
    max-height:130px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
    transition:none!important;
  }
#malchar-site .mobile-toggle{align-self:center!important;margin:0!important}
#malchar-site .menu{top:138px!important}
#malchar-site .hero-inner{padding-top:168px!important}}
/* ===== v24 — jemné zakončení bublin a kompaktnější rytmus sekcí ===== */
/* Pravá horní bublina v podkladu je zjemněná do barvy sekce, takže nepůsobí useknutě. */
@media (min-width:861px){#malchar-site .about::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:210px;
    height:48%;
    z-index:0;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(255,250,244,0) 0%,rgba(255,250,244,.58) 48%,rgba(255,250,244,.97) 100%);
  }
#malchar-site .about-grid{position:relative;z-index:1}}
/* Menší, stále symetrické mezery okolo hlavních nadpisů. */
#malchar-site .section-heading-block{
  padding-top:48px!important;
}
#malchar-site .section-heading-block + .section-body-wrap{
  margin-top:48px!important;
}
#malchar-site .content-section.section-with-heading{
  padding-bottom:68px!important;
}
#malchar-site .content-section.section-with-heading.contact-content-only{
  padding-bottom:62px!important;
}
#malchar-site .about-grid{
  padding-bottom:58px!important;
}
@media (max-width:1080px){#malchar-site .section-heading-block{
    padding-top:34px!important;
  }
#malchar-site .section-heading-block + .section-body-wrap{
    margin-top:34px!important;
  }
#malchar-site .content-section.section-with-heading, #malchar-site .content-section.section-with-heading.contact-content-only{
    padding-bottom:50px!important;
  }
#malchar-site .about-grid{
    padding-bottom:44px!important;
  }}
@media (max-width:620px){#malchar-site .section-heading-block{
    padding-top:30px!important;
  }
#malchar-site .section-heading-block + .section-body-wrap{
    margin-top:30px!important;
  }
#malchar-site .content-section.section-with-heading, #malchar-site .content-section.section-with-heading.contact-content-only{
    padding-bottom:46px!important;
  }
#malchar-site .about-grid{
    padding-bottom:40px!important;
  }}
/* ===== v26 — odstranění prázdného prostoru v mobilní kontaktní kartě ===== */
@media (max-width:860px){#malchar-site .contact-content-only .contact-copy{
    padding-top:24px!important;
  }
#malchar-site .contact-content-only .contact-list{
    margin-top:0!important;
  }}
@media (max-width:620px){#malchar-site .contact-content-only .contact-copy{
    padding:22px 22px 26px!important;
  }}
/* ===== v27 — klientské připomínky: kotvy, text, adresa, logo, motto, menu a fotografie ===== */
/* Kotvy vždy umístí nadpis těsně pod pevnou hlavičku, nikoli doprostřed obrazovky. */
#malchar-site .section-heading-block, #malchar-site [data-nav-anchor]{scroll-margin-top:calc(var(--header-h) + 24px)!important}
/* Odbornost: záměrné zalomení na desktopu, přirozené zalamování na mobilu. */
#malchar-site .cert-intro span{display:inline}
#malchar-site .cert-intro-break{display:block}
/* Ostré vektorové logo v patičce. */
#malchar-site .footer-brand{
  width:min(410px,100%)!important;
  padding:14px 18px!important;
  border-radius:18px!important;
  background:rgba(255,253,249,.96)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.12)!important;
}
#malchar-site .footer-brand .footer-logo-svg{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;filter:none!important}
/* Prozatímní skutečná fotografie – bez deformace. */
#malchar-site .doctor-card img{object-fit:cover!important;object-position:center center!important}
@media (max-width:1080px){#malchar-site .cert-intro-break{display:none}
/* Mobilní nabídka je portálově připojena přímo k body, takže funguje i po scrollování. */
body>.malchar-menu-portal{
    position:fixed!important;
    top:var(--menu-top,154px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    margin:0!important;
    padding:12px!important;
    max-height:calc(100vh - var(--menu-top,154px) - 12px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    background:rgba(255,253,249,.995)!important;
    border:1px solid var(--line)!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 24px 52px rgba(27,53,55,.20)!important;
    z-index:9999!important;
  }
body>.malchar-menu-portal.open{display:flex!important}
body>.malchar-menu-portal a{display:block!important;padding:14px 14px!important;text-align:left!important;border-bottom:1px solid rgba(7,92,103,.08)!important}
body>.malchar-menu-portal a:last-child{border-bottom:0!important}}
@media (max-width:620px){#malchar-site .hero-quote:after{margin-top:8px!important;transform:translateY(3px)!important}
body>.malchar-menu-portal{top:var(--menu-top,138px)!important;max-height:calc(100vh - var(--menu-top,138px) - 10px)!important}
#malchar-site .footer-brand{width:100%!important;padding:12px 14px!important}}
/* === v29: logo v patičce přímo na petrolejovém pozadí === */
#malchar-site .footer-brand{
  background:transparent!important;
  box-shadow:none!important;
  border:none!important;
  border-radius:0!important;
  padding:0!important;
  width:min(410px,100%)!important;
}
#malchar-site .footer-brand .footer-logo-svg, #malchar-site .footer-brand img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  background:transparent!important;
  filter:none!important;
}
@media (max-width:620px){#malchar-site .footer-brand{
    width:min(330px,100%)!important;
    padding:0!important;
  }}
/* WordPress admin toolbar compatibility */
body.admin-bar #malchar-site .header{top:32px}
@media (max-width:782px){body.admin-bar #malchar-site .header{top:46px}}

/* ===== WordPress compatibility hardening v2.1 ===== */
/* Preserve the approved v34 image geometry when image dimensions are supplied by WordPress or optimization plugins. */
#malchar-site img{height:auto}
#malchar-site .hero-bg,
#malchar-site .about-bg,
#malchar-site .footer-bg,
#malchar-site .contact-photo img{height:100%}

/* The mobile menu is temporarily moved outside #malchar-site. Restate inherited visual properties there. */
@media (max-width:1080px){
  body>.malchar-menu-portal{
    --line:rgba(7,92,103,.13);
    box-sizing:border-box!important;
    color:#173e45!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    font-weight:730!important;
    line-height:1.25!important;
    letter-spacing:0!important;
  }
  body>.malchar-menu-portal *,body>.malchar-menu-portal *::before,body>.malchar-menu-portal *::after{box-sizing:border-box}
  body>.malchar-menu-portal a{
    position:relative!important;
    color:inherit!important;
    text-decoration:none!important;
    white-space:normal!important;
  }
body>.malchar-menu-portal a:hover,body>.malchar-menu-portal a.active{color:#0b6f7c!important}
}

/* ===== v3.1: klientské korektury ===== */
#malchar-site .step-icon .step-icon-img{display:block;width:56px;height:56px;object-fit:contain}
#malchar-site .contact-list{gap:20px!important}
#malchar-site .contact-item,#malchar-site .contact-item p{margin:0!important}
#malchar-site .contact-item-centered{align-items:center!important;min-height:34px}
#malchar-site .contact-item-centered p{line-height:1.4!important}
#malchar-site .contact-photo picture{display:block;position:absolute;inset:0;width:100%;height:100%}
#malchar-site .contact-fn-mobile{display:none}
@media (min-width:1181px){#malchar-site .hero-bg{object-position:center top}}
@media (min-width:861px){#malchar-site .contact-photo img{object-position:center center!important}}
@media (max-width:860px){
  #malchar-site .hero-bg{height: 32% !important;object-position: 79% center !important;}
  #malchar-site .contact-fn-desktop{display:none}
  #malchar-site .contact-fn-mobile{display:inline}
}

/* CookieYes: vzhled odpovídající nové vizuální identitě. */
.cky-btn-revisit-wrapper{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;background-color:#075C67!important;box-shadow:0 5px 16px rgba(7,92,103,.24)!important;transition:background-color .2s ease,transform .2s ease!important}
.cky-btn-revisit-wrapper:hover{background-color:#C89031!important;transform:translateY(-1px)!important}
.cky-btn-revisit-wrapper:hover::before{color:#fff!important;background-color:#075C67!important}
.cky-btn-revisit-wrapper:hover::after{border-right-color:#075C67!important}
.cky-btn-revisit-wrapper .cky-btn-revisit{background:transparent!important}
.cky-btn-revisit-wrapper img{width:21px!important;height:21px!important;filter:brightness(0) invert(1)!important}
.cky-consent-container,.cky-modal{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
.cky-btn-accept{color:#fff!important;border-color:#075C67!important;background-color:#075C67!important}
.cky-btn-accept:hover{border-color:#C89031!important;background-color:#C89031!important}
.cky-btn-reject,.cky-btn-customize{color:#075C67!important;border-color:#075C67!important;background-color:transparent!important}
.cky-btn-reject:hover,.cky-btn-customize:hover{color:#fff!important;border-color:#C89031!important;background-color:#C89031!important}
