:root{
  --blue:#326699; --blue-dark:#0c3158; --blue-mid:#174c7c; --sky:#eaf5ff;
  --ink:#102033; --muted:#657386; --line:#dce7f1; --paper:#fff; --soft:#f6f9fc;
  --shadow:0 22px 70px rgba(20,52,84,.14); --radius:28px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Play',system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f3f8fd,#fff 32%,#f7f9fc);font-size:16px}img{max-width:100%;display:block}a{color:inherit}.shell{width:min(95vw,1520px);margin-inline:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(50,102,153,.15)}.header-inner{min-height:86px;display:flex;align-items:center;gap:24px}.brand{width:250px;min-width:210px}.brand img{width:100%;height:auto}.site-nav{margin-left:auto;display:flex;align-items:center;gap:2px}.site-nav a{font:700 16px 'Play';text-transform:uppercase;letter-spacing:.16em;text-decoration:none;color:#20344d;padding:16px 18px;border-radius:999px}.site-nav a:hover{background:#eef6ff;color:var(--blue-dark)}.top-call{white-space:nowrap;text-decoration:none;background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;font-weight:800;border-radius:16px;padding:15px 20px;box-shadow:0 14px 32px rgba(12,49,88,.2)}.menu-toggle{display:none;margin-left:auto;width:48px;height:44px;border:0;border-radius:14px;background:var(--blue-dark);padding:11px;gap:5px;flex-direction:column;justify-content:center}.menu-toggle span{height:2px;background:white;border-radius:2px;display:block}.hero{padding:44px 0 62px;background:radial-gradient(circle at 14% 12%,rgba(151,205,248,.42),transparent 35%),linear-gradient(135deg,#f8fcff 0,#eff7ff 54%,#fff 100%)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}.hero-copy{border-radius:var(--radius);padding:clamp(30px,5vw,72px);background:linear-gradient(135deg,rgba(11,50,90,.96),rgba(50,102,153,.84));color:#fff;min-height:520px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero-copy:after{content:"";position:absolute;right:-160px;bottom:-180px;width:440px;height:440px;border-radius:50%;border:58px solid rgba(255,255,255,.08)}.eyebrow{font:800 14px 'Play';text-transform:uppercase;letter-spacing:.28em;color:var(--blue);margin:0 0 12px}.hero .eyebrow{color:#bfe5ff}.hero h1{font:700 clamp(46px,6vw,88px)/.93 'Play';margin:0 0 24px;letter-spacing:.015em;max-width:900px}.hero p:not(.eyebrow){font-size:clamp(18px,2vw,23px);line-height:1.6;color:rgba(255,255,255,.86);max-width:720px}.hero-info{display:flex;gap:26px;flex-wrap:wrap;margin:30px 0 6px;font-weight:700}.hero-info span,.hero-info a{padding-left:32px;position:relative;color:#fff;text-decoration:none}.hero-info span:before{content:"📍";position:absolute;left:0}.hero-info a:before{content:"☎";position:absolute;left:0}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;border-radius:999px;padding:0 24px;text-decoration:none;font-weight:900}.btn.primary{background:#fff;color:var(--blue-dark)}.btn.secondary{border:1px solid rgba(255,255,255,.5);color:#fff}.hero-photo{border-radius:var(--radius);overflow:hidden;min-height:520px;box-shadow:var(--shadow);border:1px solid rgba(50,102,153,.12);background:#dbeaf5}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.section-tight{padding:0 0 28px}.quick{margin-top:-38px;position:relative;z-index:2}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quick-card{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:26px;padding:28px;text-align:center;box-shadow:0 18px 60px rgba(22,52,82,.10)}.icon{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue-dark));display:grid;place-items:center;color:#fff}.icon:before{font-size:31px}.icon.tooth:before{content:"🦷"}.icon.braces:before{content:"⟂"}.icon.rtg:before{content:"▣"}.quick-card h2{font:700 34px 'Play';margin:8px 0 2px;color:var(--blue-dark)}.quick-card p{margin:0 0 18px;line-height:1.4}.quick-card small{color:var(--muted)}.mini-hours{display:grid;gap:4px;justify-items:center;background:#f2f7fc;border-radius:18px;padding:14px;margin:12px 0}.mini-hours strong{font-size:13px}.mini-hours span{font-weight:700}.quick-card a{display:inline-flex;margin-top:10px;text-decoration:none;background:#eaf3fc;color:var(--blue-dark);font-weight:900;border-radius:14px;padding:13px 18px}.section{padding:78px 0}.section-head{max-width:900px;margin-bottom:24px}.section-head h2{font:700 clamp(38px,5vw,68px)/1 'Play';margin:0;color:#243246}.cabinet-stack{display:grid;gap:24px}.cabinet-panel{scroll-margin-top:104px;background:#fff;border:1px solid var(--line);border-radius:30px;box-shadow:0 18px 55px rgba(15,44,72,.08);overflow:hidden}.cabinet-main{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;padding:34px}.cabinet-main h3{font:700 48px 'Play';color:var(--blue-dark);margin:0 0 8px}.cab-desc{color:var(--muted);line-height:1.7;font-size:18px}.doctor-hours{display:grid;grid-template-columns:1fr 1fr;gap:18px}.doctor-line,.hours-box{background:#f7fbff;border:1px solid var(--line);border-radius:22px;padding:22px}.doctor-line span{display:block;color:var(--muted);font-weight:700}.doctor-line strong{font:700 31px 'Play';color:var(--blue);display:block}.doctor-line em{font-style:normal;font-weight:800}.doctor-line p{color:var(--muted);margin:8px 0 0}.hours-box h4{font:700 27px 'Play';color:var(--blue);margin:0 0 10px}.hour-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px 0;border-top:1px solid var(--line)}.hour-row:first-of-type{border-top:0}.hour-row strong{white-space:nowrap}.hour-row small{grid-column:1/-1;color:var(--muted)}.price-box{border-top:1px solid var(--line);padding:26px 34px 30px}.price-heading{font:700 27px 'Play';color:var(--blue);margin:0 0 14px}.price-list{display:grid;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.price-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:baseline;padding:14px 18px;border-top:1px solid var(--line)}.price-row:first-child{border-top:0}.price-row strong{font-weight:900;white-space:nowrap;color:#243246}.price-row em{grid-column:1/-1;color:var(--muted);font-style:normal}.price-row.extra{display:none}.price-box.open .price-row.extra{display:grid}.show-more{display:inline-flex;align-items:center;justify-content:center;margin:14px auto 0;border:1px solid rgba(50,102,153,.35);background:#edf5fd;color:var(--blue-dark);border-radius:999px;padding:12px 22px;font-weight:900;cursor:pointer}.show-more:after{content:"⌄";font-size:18px;margin-left:10px;line-height:1;transition:.2s}.price-box.open .show-more:after{transform:rotate(180deg)}.location{background:#eef6fd}.map-layout{display:grid;grid-template-columns:.42fr .58fr;gap:22px;align-items:stretch}.location-card{background:#fff;border:1px solid var(--line);border-radius:30px;padding:38px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}.location-card h2{font:700 48px 'Play';color:var(--blue-dark);margin:0 0 16px}.location-card p{font-size:20px;line-height:1.7}.big-phone{font:800 45px 'Play';color:var(--blue);text-decoration:none}.map-card{min-height:460px;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);background:#ddd}.map-card iframe{width:100%;height:100%;min-height:460px;border:0}.footer{background:#1f2a36;color:#d7e2ee;padding:30px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer img{width:190px;filter:brightness(1.08)}.footer a{color:#fff;font-weight:900;text-decoration:none}.to-top{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:18px;background:var(--blue);color:#fff;display:grid;place-items:center;text-decoration:none;font-size:28px;box-shadow:var(--shadow)}.reveal{opacity:0;transform:translateY(18px);transition:.55s ease}.reveal.visible{opacity:1;transform:none}@media(max-width:1050px){.shell{width:min(94vw,900px)}.menu-toggle{display:flex}.site-nav{position:absolute;left:3vw;right:3vw;top:78px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);display:none;flex-direction:column;align-items:stretch;padding:8px}.site-nav.open{display:flex}.site-nav a{border-radius:14px}.top-call{display:none}.hero-grid,.cabinet-main,.map-layout{grid-template-columns:1fr}.hero-copy,.hero-photo{min-height:auto}.hero-photo{height:440px}.quick-grid{grid-template-columns:1fr 1fr}.doctor-hours{grid-template-columns:1fr}.price-box{padding:0 24px 24px}.cabinet-main{padding:26px}.footer-inner{justify-content:center;text-align:center}}@media(max-width:680px){body{font-size:15px}.header-inner{min-height:74px}.brand{width:190px;min-width:170px}.hero{padding:24px 0 42px}.hero-copy{border-radius:22px;padding:28px 22px}.hero h1{font-size:44px}.hero p:not(.eyebrow){font-size:17px}.hero-actions .btn{width:100%}.hero-photo{height:330px;border-radius:22px}.quick{margin-top:-18px}.quick-grid{grid-template-columns:1fr}.section{padding:54px 0}.cabinet-main h3,.location-card h2{font-size:40px}.doctor-line strong{font-size:27px}.price-heading{font-size:25px}.price-row{grid-template-columns:1fr;gap:5px}.price-row strong{white-space:normal}.map-card,.map-card iframe{min-height:360px}.big-phone{font-size:34px}.to-top{right:14px;bottom:14px;width:48px;height:48px}.shell{width:94vw}}@media(max-width:420px){.hero h1{font-size:39px}.brand{width:168px}.cabinet-main,.location-card{padding:22px}.price-box{padding:0 14px 20px}.footer img{width:170px}}



/* === Poprawki: hero jak w podglądzie + logo monochromatyczne + mobile cennik === */
:root{ --logo-navy:#092b4e; --pale:#f7fbff; }
.site-header{background:rgba(255,255,255,.94);box-shadow:0 10px 34px rgba(9,43,78,.08);border-bottom:1px solid rgba(9,43,78,.08)}
.header-inner{min-height:92px}.brand{width:265px;min-width:220px}.top-call{background:#064f9f;box-shadow:0 14px 30px rgba(6,79,159,.22)}
.hero{position:relative;isolation:isolate;padding:44px 0 64px;background:linear-gradient(180deg,#f7fbff,#eef7ff)}
.hero-grid{position:relative;display:grid;grid-template-columns:1fr;min-height:640px;border-radius:0;overflow:visible;align-items:center}.hero-photo{position:absolute;inset:0;z-index:-2;border-radius:0;min-height:640px;height:100%;box-shadow:none;border:0;background:#e8f4ff}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center right}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(248,252,255,.98) 0%,rgba(248,252,255,.90) 34%,rgba(248,252,255,.50) 58%,rgba(248,252,255,.10) 100%)}
.hero-copy{width:min(760px,58vw);min-height:auto;background:transparent;color:var(--ink);box-shadow:none;border-radius:0;padding:clamp(28px,4.8vw,78px) 0;overflow:visible}.hero-copy:after{display:none}.hero .eyebrow{color:#0c67bd;font-family:'Play';font-weight:800;letter-spacing:.16em}.hero h1{font-family:'Play',system-ui,sans-serif;font-weight:800;line-height:1.04;letter-spacing:-.04em;color:#132843;margin-bottom:22px}.hero h1::first-line{color:#132843}.hero p:not(.eyebrow){color:#34465d;font-size:clamp(18px,1.6vw,22px);line-height:1.55}.hero-info{display:grid;gap:14px;margin:28px 0 0;color:#132843;font-weight:700}.hero-info span,.hero-info a{color:#083f7a;padding-left:40px;font-size:20px}.hero-info span:before,.hero-info a:before{font-size:25px;top:-2px}.hero-actions{margin-top:28px}.btn.primary{background:#064f9f;color:#fff;box-shadow:0 14px 28px rgba(6,79,159,.18)}.btn.secondary{border:1px solid rgba(6,79,159,.22);color:#064f9f;background:rgba(255,255,255,.72)}
.quick{margin-top:-42px}.quick-card{text-align:left;display:grid;grid-template-columns:78px 1fr;column-gap:18px;align-items:center;padding:28px 30px}.quick-card .icon{grid-row:1/5;margin:0;width:68px;height:68px;background:#eaf5ff;color:#064f9f}.quick-card .icon:before{color:#064f9f}.quick-card h2{font-family:'Play';font-weight:800;font-size:28px;margin:0;color:#064f9f}.quick-card p{margin:4px 0 6px}.mini-hours{display:none}.quick-card a{background:transparent;padding:0;margin:6px 0 0;color:#064f9f}
.footer{background:#fff;color:#26384d;border-top:1px solid var(--line)}.footer a{color:#064f9f}.footer img{filter:none;width:220px}.price-box{background:#fff}.price-heading,.hours-box h4{font-family:'Play';font-weight:700;color:var(--blue);}
@media(max-width:1050px){.hero-grid{min-height:560px}.hero-photo{min-height:560px}.hero-copy{width:min(720px,70vw)}.hero:before{background:linear-gradient(90deg,rgba(248,252,255,.98),rgba(248,252,255,.88) 50%,rgba(248,252,255,.38))}.quick-grid{grid-template-columns:1fr}.quick-card{grid-template-columns:72px 1fr}.brand{width:220px;min-width:190px}}
@media(max-width:680px){.header-inner{min-height:78px}.brand{width:190px;min-width:168px}.hero{padding:20px 0 38px}.hero-grid{min-height:640px;align-items:start}.hero-photo{position:relative;min-height:310px;height:310px;order:-1;border-radius:22px;margin-bottom:18px}.hero-photo img{object-position:center top}.hero:before{display:none}.hero-copy{width:100%;background:linear-gradient(180deg,#ffffff,#f5fbff);border:1px solid var(--line);border-radius:22px;padding:24px 20px;box-shadow:0 18px 44px rgba(9,43,78,.10)}.hero h1{font-size:38px;line-height:1.06}.hero p:not(.eyebrow){font-size:16px}.hero-info span,.hero-info a{font-size:17px}.quick{margin-top:0}.quick-card{grid-template-columns:56px 1fr;border-radius:22px;padding:22px}.quick-card .icon{width:54px;height:54px}.quick-card h2{font-size:24px}.doctor-line,.hours-box,.price-box{background:var(--pale);border:1px solid var(--line);border-radius:22px}.price-box{margin:0 22px 22px;padding:22px;border-top:1px solid var(--line)}.price-heading{font-size:25px;margin:0 0 12px;color:var(--blue);line-height:1.15}.price-list{background:transparent;border:0;border-radius:0}.price-row{grid-template-columns:minmax(0,1fr) auto;padding:12px 0;border-top:1px solid var(--line)}.price-row:first-child{border-top:1px solid var(--line)}.show-more{width:100%;margin-top:14px;background:#fff}.footer img{width:190px}}
@media(max-width:420px){.hero h1{font-size:34px}.price-box{margin-left:22px;margin-right:22px}.brand{width:174px}.hero-photo{height:280px;min-height:280px}}


/* === Final hero visibility fix: desktop + mobile landscape === */
.hero{position:relative;isolation:isolate;padding:40px 0 64px;background:linear-gradient(180deg,#f7fbff 0%,#eef7ff 100%)}
.hero:before{display:none}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:28px;align-items:center;min-height:0}
.hero-copy{width:auto;min-height:auto;padding:clamp(28px,4vw,60px);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(245,251,255,.94));border:1px solid var(--line);border-radius:32px;box-shadow:var(--shadow)}
.hero-photo{position:relative;inset:auto;z-index:auto;min-height:560px;height:560px;border-radius:32px;overflow:hidden;border:1px solid rgba(9,43,78,.08);box-shadow:var(--shadow);background:#e8f4ff}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center center;opacity:1}
.hero h1{max-width:12ch}

@media (max-width:1200px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.88fr);gap:22px}
  .hero-photo{min-height:500px;height:500px}
}

@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .hero-photo{order:-1;min-height:360px;height:360px}
  .hero-copy{max-width:none}
}

@media (max-width:680px){
  .hero{padding:18px 0 38px}
  .hero-grid{gap:16px}
  .hero-photo{height:320px;min-height:320px;margin-bottom:0;border-radius:22px}
  .hero-photo img{object-position:center top}
  .hero-copy{padding:24px 20px;border-radius:22px}
}

@media (max-width:420px){
  .hero-photo{height:280px;min-height:280px}
}

/* landscape phones/tablets */
@media (max-height:500px) and (orientation:landscape){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);gap:18px;align-items:center}
  .hero-photo{order:0;height:340px;min-height:340px}
  .hero-copy{padding:24px 22px}
  .hero h1{font-size:42px}
  .hero p:not(.eyebrow){font-size:16px}
}


/* === Final desktop hero balance: smaller heading + equal columns === */
.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.hero-copy,.hero-photo{height:520px}
.hero-photo{min-height:520px}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:44px 42px}
.hero h1{font-size:clamp(44px,4.2vw,64px);line-height:1.02;max-width:11ch;margin-bottom:18px}
.hero p:not(.eyebrow){font-size:clamp(17px,1.35vw,20px)}
.hero-info{gap:12px;margin-top:24px}
.hero-actions{margin-top:24px}

@media (max-width:1200px){
  .hero-copy,.hero-photo{height:480px}
  .hero-photo{min-height:480px}
  .hero-copy{padding:38px 34px}
  .hero h1{font-size:clamp(40px,4vw,56px)}
}

@media (max-width:860px){
  .hero-copy,.hero-photo{height:auto}
  .hero-photo{min-height:360px}
}

@media (max-height:500px) and (orientation:landscape){
  .hero-copy,.hero-photo{height:340px}
  .hero-photo{min-height:340px}
  .hero h1{font-size:36px;max-width:12ch}
  .hero-copy{padding:22px 20px}
}



/* === Footer privacy update === */
.footer{
  background:linear-gradient(135deg,#092b4e 0%,#0f3f70 100%) !important;
  color:#eaf5ff !important;
  border-top:0 !important;
  padding:42px 0 46px !important;
}
.footer-privacy{
  max-width:1120px;
}
.footer-privacy h2{
  font:700 clamp(30px,4vw,46px)/1 'Play';
  margin:0 0 14px;
  color:#ffffff;
  letter-spacing:.01em;
}
.footer-privacy p{
  margin:0;
  max-width:980px;
  color:rgba(234,245,255,.88);
  line-height:1.75;
  font-size:16px;
}
.footer-privacy p + p{
  margin-top:12px;
}
@media(max-width:680px){
  .footer{padding:34px 0 38px !important;}
  .footer-privacy h2{font-size:30px;}
  .footer-privacy p{font-size:15px;line-height:1.65;}
}


/* === Final mobile hero stacking + 30% smaller headline === */
.hero h1{
  font-size: clamp(31px, 2.95vw, 45px);
  line-height: 1.06;
  max-width: 12ch;
}

@media (max-width: 860px){
  .hero-grid{
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:stretch;
  }
  .hero-photo{
    order:-1;
    width:100%;
    height:320px;
    min-height:320px;
    flex:none;
    margin:0;
  }
  .hero-copy{
    width:100%;
    max-width:none;
    height:auto;
    min-height:0;
  }
}

@media (max-width: 680px){
  .hero-photo{
    height:300px;
    min-height:300px;
  }
  .hero h1{
    font-size:29px;
    line-height:1.08;
  }
}

@media (max-width: 420px){
  .hero-photo{
    height:260px;
    min-height:260px;
  }
  .hero h1{
    font-size:27px;
  }
}


/* Hero: phone number as the only button */
.hero-phone-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border-radius:999px;background:#064f9f;color:#fff !important;text-decoration:none;font-weight:900;box-shadow:0 14px 28px rgba(6,79,159,.18);font-size:18px;line-height:1;white-space:nowrap}
.hero-info a.hero-phone-btn{padding-left:24px}
.hero-info a.hero-phone-btn:before{display:none}
@media (max-width:680px){.hero-phone-btn{width:100%;font-size:17px}}


/* === Monochromatic, bold icons across desktop and mobile === */
.icon{
  background:#edf5ff !important;
  border:1px solid rgba(6,79,159,.14);
}
.icon:before{
  content:"" !important;
  display:block;
  width:34px;
  height:34px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
}
.icon.tooth:before{background-image:url("icon-tooth.svg");}
.icon.braces:before{background-image:url("icon-braces.svg");}
.icon.rtg:before{background-image:url("icon-rtg.svg");}
.quick-card .icon,
.quick-card .icon:before,
.hero-info span:before,
.hero-info a:before,
.location-card [class*="icon"],
.to-top,
.menu-toggle{
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
.hero-info span:before,
.hero-info a:before{
  content:"";
  width:24px;
  height:24px;
  top:0;
  left:0;
  position:absolute;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
}
.hero-info span:before{background-image:url("icon-pin.svg");}
.hero-info a:before{background-image:url("icon-phone.svg");}
.hero-info a.hero-phone-btn:before{display:none;}
.to-top{
  background:#064f9f;
  color:#fff;
  font-weight:900;
}
@media (max-width:680px){
  .icon:before{width:28px;height:28px;}
  .hero-info span:before,
  .hero-info a:before{width:22px;height:22px;top:1px;}
}


/* === Extra mobile enforcement for monochromatic icons === */
@media (max-width: 1050px){
  .quick-card .icon,
  .icon{
    background:#edf5ff !important;
    border:1px solid rgba(6,79,159,.14) !important;
    color:transparent !important;
  }
  .quick-card .icon:before,
  .icon:before{
    content:"" !important;
    display:block !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:contain !important;
    color:transparent !important;
  }
  .icon.tooth:before{background-image:url("icon-tooth.svg") !important;}
  .icon.braces:before{background-image:url("icon-braces.svg") !important;}
  .icon.rtg:before{background-image:url("icon-rtg.svg") !important;}
  .hero-info span:before{background-image:url("icon-pin.svg") !important;}
  .hero-info a:before{background-image:url("icon-phone.svg") !important;}
}

@media (max-width: 680px){
  .quick-card .icon,
  .icon{
    width:54px !important;
    height:54px !important;
  }
  .quick-card .icon:before,
  .icon:before{
    width:28px !important;
    height:28px !important;
  }
}


/* === Public transport and parking section === */
.transport-wrap{margin-top:22px}
.transport-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.transport-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:0 18px 55px rgba(15,44,72,.08)}
.transport-icon{width:58px;height:58px;border-radius:18px;background:#edf5ff;border:1px solid rgba(6,79,159,.14);display:grid;place-items:center;margin-bottom:16px}
.transport-icon img{width:30px;height:30px}
.transport-card h3{margin:0 0 10px;font:700 28px 'Play';color:var(--blue-dark)}
.transport-card p{margin:0 0 12px;line-height:1.65;color:#304255}
.transport-card strong{color:#132843}
.transport-note{color:var(--muted)}
@media (max-width:1050px){.transport-grid{grid-template-columns:1fr;gap:16px}}
@media (max-width:680px){.transport-card{padding:22px;border-radius:22px}.transport-card h3{font-size:24px}.transport-icon{width:54px;height:54px}.transport-icon img{width:28px;height:28px}}


/* === Location section: map with nearby transport + parking === */
.location-side{display:grid;gap:20px;align-content:start}
.transport-wrap{display:none !important}
.transport-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.transport-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 18px 55px rgba(15,44,72,.08);height:100%}
.transport-icon{width:56px;height:56px;border-radius:18px;background:#edf5ff;border:1px solid rgba(6,79,159,.14);display:grid;place-items:center;margin-bottom:14px}
.transport-icon img{width:30px;height:30px}
.transport-card h3{margin:0 0 10px;font:700 28px 'Play';color:var(--blue-dark)}
.transport-card p{margin:0 0 12px;line-height:1.6;color:#304255}
.transport-card strong{color:#132843}
.transport-note{color:var(--muted)}
@media (max-width:1050px){
  .map-layout{grid-template-columns:1fr;gap:18px}
  .location-side{gap:18px}
  .transport-grid{grid-template-columns:1fr;gap:16px}
}
@media (max-width:680px){
  .transport-card{padding:20px;border-radius:22px}
  .transport-card h3{font-size:24px}
  .transport-icon{width:52px;height:52px}
  .transport-icon img{width:28px;height:28px}
}


/* === Fix mobile transport icons size === */
@media (max-width: 680px){
  .transport-card{
    display:block;
  }
  .transport-icon{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    max-width:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    flex:0 0 52px !important;
    overflow:hidden;
    margin:0 0 14px 0;
  }
  .transport-icon img{
    display:block !important;
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    max-width:28px !important;
    min-height:28px !important;
    max-height:28px !important;
    object-fit:contain;
    flex:0 0 28px !important;
  }
}


/* === Medica v05 header logo adjustment === */
.brand{width:clamp(230px, 20vw, 360px);min-width:220px;}
.brand img{width:100%;height:auto;object-fit:contain;}
@media(max-width:680px){.brand{width:210px;min-width:190px;}}
@media(max-width:420px){.brand{width:190px;min-width:170px;}}


/* === v07: light-blue phone icon on hero phone button (desktop + mobile) === */
.hero-phone-btn{
  position:relative;
  padding-left:56px !important;
}
.hero-info a.hero-phone-btn:before,
.hero-phone-btn:before{
  content:"" !important;
  display:block !important;
  position:absolute;
  left:22px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  min-width:20px;
  min-height:20px;
  background-image:url("icon-phone-light.svg") !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
}
@media (max-width:680px){
  .hero-phone-btn{
    padding-left:54px !important;
  }
  .hero-info a.hero-phone-btn:before,
  .hero-phone-btn:before{
    left:20px;
    width:19px;
    height:19px;
    min-width:19px;
    min-height:19px;
  }
}


/* === v08: hero redesign with full-width background image and right-side subject === */
.hero{
  padding:36px 0 56px !important;
  background:linear-gradient(180deg,#f7fbff 0%, #eef7ff 100%) !important;
}
.hero-grid{
  position:relative !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  align-items:center !important;
  min-height:620px !important;
  gap:0 !important;
  border-radius:34px !important;
  overflow:hidden !important;
  box-shadow:var(--shadow) !important;
  border:1px solid rgba(9,43,78,.08) !important;
  background:#eaf3fb !important;
}
.hero-grid::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(90deg,
    rgba(249,252,255,0.98) 0%,
    rgba(249,252,255,0.96) 18%,
    rgba(249,252,255,0.90) 34%,
    rgba(249,252,255,0.74) 48%,
    rgba(249,252,255,0.38) 60%,
    rgba(249,252,255,0.12) 72%,
    rgba(249,252,255,0.00) 100%);
}
.hero-photo{
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  width:100% !important;
  height:100% !important;
  min-height:620px !important;
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:#dfeaf3 !important;
}
.hero-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:right center !important;
}
.hero-copy{
  position:relative !important;
  z-index:2 !important;
  width:min(48%, 650px) !important;
  max-width:min(48%, 650px) !important;
  height:auto !important;
  min-height:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:52px 48px 52px 48px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
.hero .eyebrow{
  color:#0b66be !important;
  font-family:'Play',system-ui,sans-serif !important;
  font-weight:800 !important;
  letter-spacing:.16em !important;
}
.hero h1{
  color:#132843 !important;
  font-family:'Play',system-ui,sans-serif !important;
  font-weight:800 !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
  font-size:clamp(42px,4.4vw,68px) !important;
  max-width:10ch !important;
  margin:0 0 18px !important;
}
.hero p:not(.eyebrow){
  color:#32465b !important;
  font-size:clamp(17px,1.35vw,20px) !important;
  line-height:1.58 !important;
  max-width:34ch !important;
}
.hero-info{
  display:grid !important;
  gap:14px !important;
  margin:24px 0 0 !important;
}
.hero-info span,
.hero-info a{
  color:#10395f !important;
  font-weight:800 !important;
}
.hero-phone-btn{
  align-self:flex-start !important;
}

@media (max-width:1200px){
  .hero-grid{min-height:560px !important;}
  .hero-photo{min-height:560px !important;}
  .hero-copy{
    width:min(56%, 620px) !important;
    max-width:min(56%, 620px) !important;
    padding:42px 38px 42px 42px !important;
  }
  .hero h1{font-size:clamp(40px,4vw,58px) !important;}
}

@media (max-width:860px){
  .hero{padding:18px 0 38px !important;}
  .hero-grid{
    min-height:0 !important;
    border-radius:0 !important;
    overflow:visible !important;
    box-shadow:none !important;
    border:0 !important;
    background:transparent !important;
  }
  .hero-grid::before{display:none !important;}
  .hero-photo{
    position:relative !important;
    inset:auto !important;
    z-index:auto !important;
    height:360px !important;
    min-height:360px !important;
    border-radius:24px !important;
    overflow:hidden !important;
    border:1px solid rgba(9,43,78,.08) !important;
    box-shadow:var(--shadow) !important;
    margin-bottom:18px !important;
  }
  .hero-photo img{object-position:right top !important;}
  .hero-copy{
    width:100% !important;
    max-width:none !important;
    background:linear-gradient(180deg,#ffffff 0%, #f5fbff 100%) !important;
    border:1px solid var(--line) !important;
    border-radius:24px !important;
    box-shadow:0 18px 44px rgba(9,43,78,.10) !important;
    padding:26px 22px !important;
  }
  .hero h1{font-size:38px !important;max-width:12ch !important;}
  .hero p:not(.eyebrow){font-size:16px !important;max-width:none !important;}
  .hero-phone-btn{align-self:stretch !important;}
}

@media (max-width:420px){
  .hero-photo{height:300px !important; min-height:300px !important;}
  .hero h1{font-size:34px !important;}
}


/* === v09: subtler medical-blue emphasis on right side of hero === */
.hero-grid::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.00) 48%,
    rgba(163,214,246,0.08) 66%,
    rgba(123,193,234,0.14) 80%,
    rgba(88,164,215,0.18) 100%);
}
.hero-copy{z-index:2 !important;}
.hero-photo{z-index:0 !important;}
.hero-photo img{
  filter:saturate(1.05) contrast(1.04) brightness(0.98);
}

@media (max-width:860px){
  .hero-grid::after{display:none;}
  .hero-photo::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.00) 42%,
      rgba(163,214,246,0.10) 68%,
      rgba(88,164,215,0.16) 100%);
  }
}


/* === v10: larger white hero phone number + desktop quick cards in one row === */
.hero-phone-btn{
  color:#ffffff !important;
  font-size:36px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.01em;
  min-height:72px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.hero-phone-btn:hover,
.hero-phone-btn:visited{
  color:#ffffff !important;
}
@media (max-width: 860px){
  .hero-phone-btn{
    font-size:30px !important;
    min-height:66px !important;
  }
}
@media (max-width: 680px){
  .hero-phone-btn{
    font-size:28px !important;
    min-height:62px !important;
  }
}

.quick-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}
@media (max-width:1050px){
  .quick-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .quick-card{
    grid-template-columns:64px 1fr !important;
    padding:24px 22px !important;
  }
  .quick-card h2{
    font-size:24px !important;
  }
}
@media (max-width:860px){
  .quick-grid{
    grid-template-columns:1fr !important;
  }
}


/* === v11: force white hero phone text and larger closer icon === */
.hero-info a.hero-phone-btn,
.hero-info a.hero-phone-btn:hover,
.hero-info a.hero-phone-btn:visited,
.hero-info a.hero-phone-btn:active{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  padding:0 30px !important;
  font-size:36px !important;
  font-weight:900 !important;
  min-height:72px !important;
  line-height:1 !important;
}
.hero-info a.hero-phone-btn:before,
.hero-phone-btn:before{
  position:static !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  flex:0 0 30px !important;
  margin:0 !important;
  background-image:url("icon-phone-light.svg") !important;
}
@media (max-width:860px){
  .hero-info a.hero-phone-btn,
  .hero-info a.hero-phone-btn:hover,
  .hero-info a.hero-phone-btn:visited,
  .hero-info a.hero-phone-btn:active{
    font-size:30px !important;
    min-height:66px !important;
    gap:12px !important;
    padding:0 26px !important;
  }
  .hero-info a.hero-phone-btn:before,
  .hero-phone-btn:before{
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
    min-height:26px !important;
    flex-basis:26px !important;
  }
}
@media (max-width:680px){
  .hero-info a.hero-phone-btn,
  .hero-info a.hero-phone-btn:hover,
  .hero-info a.hero-phone-btn:visited,
  .hero-info a.hero-phone-btn:active{
    font-size:28px !important;
    min-height:62px !important;
    gap:10px !important;
    padding:0 22px !important;
  }
  .hero-info a.hero-phone-btn:before,
  .hero-phone-btn:before{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    min-height:24px !important;
    flex-basis:24px !important;
  }
}

/* === Professional animated mobile menu === */
@media (max-width:1050px){
  .menu-toggle{
    position:relative;
    display:flex;
    overflow:hidden;
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
    box-shadow:0 12px 26px rgba(9,43,78,.18);
  }
  .menu-toggle:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(9,43,78,.22)}
  .menu-toggle span{
    transform-origin:center;
    transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  .menu-toggle.active{background:#064f9f;}
  .menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .menu-toggle.active span:nth-child(2){opacity:0;transform:scaleX(.2);}
  .menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .site-nav{
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    overflow:hidden;
    max-height:0;
    padding:0 8px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-12px) scale(.98);
    transform-origin:top right;
    transition:
      max-height .42s cubic-bezier(.22,1,.36,1),
      opacity .28s ease,
      transform .34s cubic-bezier(.22,1,.36,1),
      padding .34s ease,
      visibility 0s linear .42s;
    will-change:max-height,opacity,transform;
  }
  .site-nav.open{
    max-height:420px;
    padding:10px;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0) scale(1);
    transition:
      max-height .46s cubic-bezier(.22,1,.36,1),
      opacity .24s ease,
      transform .34s cubic-bezier(.22,1,.36,1),
      padding .34s ease,
      visibility 0s linear 0s;
  }
  .site-nav a{
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .28s ease, transform .28s ease, background .2s ease, color .2s ease;
  }
  .site-nav.open a{opacity:1;transform:translateY(0);}
  .site-nav.open a:nth-child(1){transition-delay:.07s, .07s, 0s, 0s;}
  .site-nav.open a:nth-child(2){transition-delay:.12s, .12s, 0s, 0s;}
  .site-nav.open a:nth-child(3){transition-delay:.17s, .17s, 0s, 0s;}
  .site-nav.open a:nth-child(4){transition-delay:.22s, .22s, 0s, 0s;}
}

@media (prefers-reduced-motion: reduce){
  .site-nav,.site-nav a,.menu-toggle,.menu-toggle span{transition:none !important;}
}


/* === v14: enforce the same animated menu behavior on mobile === */
@media (max-width:680px){
  .site-nav{
    top:70px !important;
    left:3vw !important;
    right:3vw !important;
    border-radius:22px !important;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    max-height:0 !important;
    padding:0 8px !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-12px) scale(.98) !important;
    transform-origin:top center !important;
    transition:
      max-height .42s cubic-bezier(.22,1,.36,1),
      opacity .28s ease,
      transform .34s cubic-bezier(.22,1,.36,1),
      padding .34s ease,
      visibility 0s linear .42s !important;
  }
  .site-nav.open{
    max-height:420px !important;
    padding:10px !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) scale(1) !important;
    transition:
      max-height .46s cubic-bezier(.22,1,.36,1),
      opacity .24s ease,
      transform .34s cubic-bezier(.22,1,.36,1),
      padding .34s ease,
      visibility 0s linear 0s !important;
  }
  .site-nav a{
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .28s ease, transform .28s ease, background .2s ease, color .2s ease !important;
  }
  .site-nav.open a{opacity:1;transform:translateY(0);}
  .menu-toggle{
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease !important;
    box-shadow:0 12px 26px rgba(9,43,78,.18) !important;
  }
  .menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg) !important;}
  .menu-toggle.active span:nth-child(2){opacity:0 !important;transform:scaleX(.2) !important;}
  .menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg) !important;}
}


/* === v16: stronger left gradient + elegant glass panel for hero readability === */
.hero-grid::before{
  background:linear-gradient(90deg,
    rgba(250,253,255,0.99) 0%,
    rgba(250,253,255,0.97) 16%,
    rgba(250,253,255,0.93) 30%,
    rgba(246,250,254,0.86) 42%,
    rgba(240,247,253,0.68) 54%,
    rgba(233,243,251,0.36) 66%,
    rgba(233,243,251,0.10) 78%,
    rgba(233,243,251,0.00) 100%) !important;
}
.hero-copy{
  width:min(720px,52vw) !important;
  max-width:min(720px,52vw) !important;
  margin:34px 0 34px 34px !important;
  padding:34px 34px 36px 34px !important;
  background:linear-gradient(180deg,rgba(255,255,255,0.82),rgba(246,251,255,0.76)) !important;
  border:1px solid rgba(255,255,255,0.55) !important;
  border-radius:28px !important;
  box-shadow:0 22px 60px rgba(9,43,78,0.12) !important;
  backdrop-filter:blur(14px) saturate(1.08) !important;
  -webkit-backdrop-filter:blur(14px) saturate(1.08) !important;
}
.hero .eyebrow{color:#0c67bd !important;}
.hero h1{color:#122944 !important; text-shadow:0 1px 0 rgba(255,255,255,.35) !important;}
.hero p:not(.eyebrow){color:#31445a !important;}
.hero-info span{color:#16365a !important;}

@media (max-width:1200px){
  .hero-copy{
    width:min(700px,56vw) !important;
    max-width:min(700px,56vw) !important;
    margin:26px 0 26px 26px !important;
    padding:30px 30px 32px 30px !important;
  }
}

@media (max-width:860px){
  .hero-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:26px 22px !important;
    background:linear-gradient(180deg,rgba(255,255,255,0.96),rgba(245,251,255,0.94)) !important;
    border:1px solid var(--line) !important;
    border-radius:24px !important;
    box-shadow:0 18px 44px rgba(9,43,78,.10) !important;
    backdrop-filter:blur(10px) saturate(1.05) !important;
    -webkit-backdrop-filter:blur(10px) saturate(1.05) !important;
  }
}


/* === v17: reveal the dental patient better + switch to Google Font Play === */
body,
.site-nav a,
.top-call,
.menu-toggle,
.hero .eyebrow,
.hero h1,
.hero p,
.hero-info,
.hero-phone-btn,
.quick-card,
.quick-card h2,
.section-head h2,
.cabinet-main h3,
.doctor-line strong,
.hours-box h4,
.price-heading,
.location-card h2,
.big-phone,
.transport-card h3,
.show-more,
.footer,
.btn{
  font-family:'Play', Arial, sans-serif !important;
}

.hero-grid::before{
  background:linear-gradient(90deg,
    rgba(250,253,255,0.99) 0%,
    rgba(250,253,255,0.97) 14%,
    rgba(250,253,255,0.91) 26%,
    rgba(246,250,254,0.78) 36%,
    rgba(240,247,253,0.52) 46%,
    rgba(233,243,251,0.20) 58%,
    rgba(233,243,251,0.05) 68%,
    rgba(233,243,251,0.00) 100%) !important;
}
.hero-copy{
  width:min(560px,42vw) !important;
  max-width:min(560px,42vw) !important;
  margin:28px 0 28px 28px !important;
  padding:28px 28px 30px 28px !important;
}
.hero h1{
  font-size:clamp(36px,3.7vw,56px) !important;
  line-height:1.04 !important;
  max-width:11ch !important;
  margin-bottom:16px !important;
}
.hero p:not(.eyebrow){
  font-size:clamp(17px,1.2vw,19px) !important;
  max-width:31ch !important;
}
.hero-info span,
.hero-info a{
  font-size:18px !important;
}
.hero-info{
  gap:12px !important;
  margin-top:20px !important;
}
.hero-phone-btn,
.hero-info a.hero-phone-btn,
.hero-info a.hero-phone-btn:hover,
.hero-info a.hero-phone-btn:visited,
.hero-info a.hero-phone-btn:active{
  font-size:28px !important;
  min-height:60px !important;
  padding:0 22px !important;
  gap:10px !important;
  width:auto !important;
  max-width:100% !important;
  align-self:flex-start !important;
}
.hero-info a.hero-phone-btn:before,
.hero-phone-btn:before{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  flex-basis:24px !important;
}
.hero-photo img{
  object-position:58% center !important;
}

@media (max-width:1200px){
  .hero-copy{
    width:min(520px,45vw) !important;
    max-width:min(520px,45vw) !important;
    margin:22px 0 22px 22px !important;
    padding:24px 24px 26px 24px !important;
  }
  .hero-phone-btn,
  .hero-info a.hero-phone-btn,
  .hero-info a.hero-phone-btn:hover,
  .hero-info a.hero-phone-btn:visited,
  .hero-info a.hero-phone-btn:active{
    font-size:24px !important;
    min-height:56px !important;
    padding:0 20px !important;
  }
}

@media (max-width:860px){
  .hero-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:26px 22px !important;
  }
  .hero-phone-btn,
  .hero-info a.hero-phone-btn,
  .hero-info a.hero-phone-btn:hover,
  .hero-info a.hero-phone-btn:visited,
  .hero-info a.hero-phone-btn:active{
    font-size:24px !important;
    min-height:56px !important;
    width:100% !important;
    justify-content:center !important;
  }
}

@media (max-width:680px){
  .hero h1{font-size:34px !important;}
  .hero p:not(.eyebrow){font-size:16px !important;}
  .hero-info span,.hero-info a{font-size:17px !important;}
  .hero-phone-btn,
  .hero-info a.hero-phone-btn,
  .hero-info a.hero-phone-btn:hover,
  .hero-info a.hero-phone-btn:visited,
  .hero-info a.hero-phone-btn:active{
    font-size:22px !important;
    min-height:54px !important;
  }
}


/* === v19: redesigned location section === */
.location-head{
  max-width:980px;
  margin-bottom:28px;
}
.location-head .eyebrow{color:#0c67bd !important;}
.location-head h2{
  margin-bottom:14px;
}
.location-head p:last-child{
  margin:0;
  max-width:72ch;
  color:#4a5e73;
  line-height:1.7;
  font-size:18px;
}
.map-layout-alt{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr) !important;
  align-items:start !important;
}
.location-side{
  display:grid;
  gap:18px;
}
.transport-grid-vertical{
  grid-template-columns:1fr !important;
  gap:18px !important;
}
.transport-card{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  align-items:start;
  text-align:left;
}
.transport-icon{
  margin-bottom:0 !important;
}
.transport-copy h3{
  margin:0 0 10px;
}
.transport-copy p:last-child{
  margin-bottom:0;
}
@media (max-width:1050px){
  .map-layout-alt{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .location-head p:last-child{
    font-size:17px;
  }
}
@media (max-width:680px){
  .location-head{margin-bottom:20px;}
  .location-head h2{font-size:36px !important;}
  .location-head p:last-child{font-size:16px;}
  .transport-card{
    grid-template-columns:52px 1fr;
    gap:14px;
    padding:20px !important;
  }
}


/* === v20: equal map height with transport cards + CSS versioning === */
@media (min-width:1051px){
  .map-layout-alt{
    align-items:stretch !important;
  }
  .map-layout-alt > .map-card{
    height:100% !important;
    min-height:100% !important;
    align-self:stretch !important;
  }
  .map-layout-alt > .map-card iframe{
    height:100% !important;
    min-height:100% !important;
  }
  .map-layout-alt > .location-side{
    height:100% !important;
    align-self:stretch !important;
  }
  .transport-grid-vertical{
    height:100% !important;
    align-content:stretch !important;
  }
  .transport-grid-vertical .transport-card{
    min-height:0 !important;
  }
}


/* === v21: fixed desktop location layout height, stable on orientation change === */
@media (min-width:1051px){
  .map-layout-alt{
    align-items:stretch !important;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr) !important;
  }

  .map-layout-alt > .map-card,
  .map-layout-alt > .location-side,
  .transport-grid-vertical{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }

  .map-layout-alt > .map-card iframe{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }

  .transport-grid-vertical{
    display:grid !important;
    grid-template-rows:1fr 1fr 1fr !important;
    gap:18px !important;
    align-content:stretch !important;
  }

  .transport-grid-vertical .transport-card{
    height:100% !important;
    min-height:0 !important;
    overflow:hidden;
  }

  .transport-grid-vertical .transport-card p{
    line-height:1.45 !important;
  }
}

@media (min-width:1051px) and (max-width:1280px){
  .map-layout-alt > .map-card,
  .map-layout-alt > .location-side,
  .transport-grid-vertical{
    height:760px !important;
    min-height:760px !important;
    max-height:760px !important;
  }

  .map-layout-alt > .map-card iframe{
    height:760px !important;
    min-height:760px !important;
    max-height:760px !important;
  }
}


/* === v22: narrower page width + richer cabinets section heading === */
.shell{
  width:min(95vw,1380px) !important;
}

.cabinets-head{
  max-width:980px;
  margin-bottom:28px;
}

.cabinets-head .eyebrow{
  color:#0c67bd !important;
}

.cabinets-head h2{
  margin-bottom:14px;
}

.cabinets-head p:last-child{
  margin:0;
  max-width:72ch;
  color:#4a5e73;
  line-height:1.7;
  font-size:18px;
}

@media (max-width:1050px){
  .shell{
    width:min(94vw,900px) !important;
  }
  .cabinets-head p:last-child{
    font-size:17px;
  }
}

@media (max-width:680px){
  .shell{
    width:94vw !important;
  }
  .cabinets-head{
    margin-bottom:20px;
  }
  .cabinets-head h2{
    font-size:36px !important;
  }
  .cabinets-head p:last-child{
    font-size:16px;
  }
}


/* === v23: corrected cabinets/cenniki section heading styling === */
#cenniki > .section-head,
#cenniki .cabinets-head{
  max-width:980px !important;
  margin-bottom:32px !important;
}

#cenniki .cabinets-head .eyebrow{
  color:#0c67bd !important;
  font-size:14px !important;
  margin:0 0 12px !important;
}

#cenniki .cabinets-head h2{
  margin:0 0 14px !important;
  color:#243246 !important;
}

#cenniki .cabinets-head p:last-child{
  margin:0 !important;
  max-width:72ch !important;
  color:#4a5e73 !important;
  line-height:1.7 !important;
  font-size:18px !important;
}

@media (max-width:1050px){
  #cenniki .cabinets-head p:last-child{
    font-size:17px !important;
  }
}

@media (max-width:680px){
  #cenniki .cabinets-head{
    margin-bottom:22px !important;
  }
  #cenniki .cabinets-head h2{
    font-size:36px !important;
  }
  #cenniki .cabinets-head p:last-child{
    font-size:16px !important;
  }
}


/* === v25: unified Google Font Play across the whole site === */
html,
body,
button,
input,
select,
textarea,
a,
p,
span,
strong,
em,
small,
li,
h1,
h2,
h3,
h4,
h5,
h6,
.site-nav a,
.menu-toggle,
.hero,
.hero *,
.quick-card,
.quick-card *,
.section-head,
.section-head *,
.cabinet-panel,
.cabinet-panel *,
.price-box,
.price-box *,
.location,
.location *,
.footer,
.footer *,
.btn,
.show-more{
  font-family:'Play', Arial, sans-serif !important;
}


/* === v26: hero/top anchor target for logo and back-to-top button === */
#hero{
  scroll-margin-top:0 !important;
}


/* === v27: top anchor for logo and back-to-top button === */
#top{
  scroll-margin-top:0 !important;
}


/* === v28: align section headings closer to the left edge of page content === */
#cenniki > .section-head,
#cenniki .cabinets-head,
.location-head{
  margin-left:0 !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  max-width:980px !important;
}

#cenniki > .section-head .eyebrow,
#cenniki > .section-head h2,
#cenniki > .section-head p,
.location-head .eyebrow,
.location-head h2,
.location-head p{
  margin-left:0 !important;
}

@media (min-width:1051px){
  #cenniki > .section-head,
  .location-head{
    width:95vw !important;
    max-width:1380px !important;
  }

  #cenniki > .section-head > *,
  .location-head > *{
    max-width:980px !important;
  }
}


/* === v29: align section headings with containers below them === */
@media (min-width:1051px){
  #cenniki > .section-head,
  #cenniki .cabinets-head,
  .location-head{
    width:min(95vw,1380px) !important;
    max-width:1380px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  #cenniki > .section-head > *,
  #cenniki .cabinets-head > *,
  .location-head > *{
    max-width:980px !important;
    margin-left:0 !important;
  }
}

@media (max-width:1050px){
  #cenniki > .section-head,
  #cenniki .cabinets-head,
  .location-head{
    width:min(94vw,900px) !important;
    max-width:900px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

@media (max-width:680px){
  #cenniki > .section-head,
  #cenniki .cabinets-head,
  .location-head{
    width:94vw !important;
  }
}


/* === v30: MySQL data rendering helpers === */
.price-group-title{
  padding:16px 18px;
  font-weight:900;
  color:var(--blue-dark);
  background:#f2f8ff;
  border-top:1px solid var(--line);
  letter-spacing:.02em;
}
.price-group-title:first-child{
  border-top:0;
}
.price-group-title.extra{
  display:none;
}
.price-box.open .price-group-title.extra{
  display:block;
}


/* === v37: nowa baza gabinety -> lekarze -> godziny + prosty cennik === */
.doctor-stack{
  grid-template-columns:1fr;
}
.doctor-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.doctor-card .doctor-line,
.doctor-card .hours-box{
  min-height:100%;
}
.price-list .price-row:first-child{
  border-top:0;
}
@media(max-width:1050px){
  .doctor-card{
    grid-template-columns:1fr;
  }
}


/* === v39: Telefon osobno, kafelki dojazdu jak w v36 === */
.location-phone-strip{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  align-items:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:0 18px 55px rgba(15,44,72,.08);
  margin:0 auto 22px;
}
.location-phone-strip .transport-icon{margin-bottom:0 !important}
.location-phone-strip h3{
  margin:0 0 10px;
  font:700 28px 'Play';
  color:var(--blue-dark);
}
.location-phone-strip p{
  margin:0;
  line-height:1.55;
  color:#304255;
}
.location-phone-strip a{
  color:var(--blue-dark);
  font-weight:900;
  text-decoration:none;
}
@media (min-width:1051px){
  .transport-grid-vertical{
    grid-template-rows:1fr 1fr 1fr !important;
  }
}
@media (max-width:680px){
  .location-phone-strip{
    grid-template-columns:52px 1fr;
    gap:14px;
    padding:20px;
    border-radius:22px;
    margin-bottom:18px;
  }
  .location-phone-strip h3{font-size:24px}
}


/* === v40: prawa kolumna przy mapie dokładnie w logice v36 === */
/* Telefon zostaje osobno, a obok mapy są tylko: Autobusy, Tramwaje, Parking. */
@media (min-width:1051px){
  .map-layout-alt{
    align-items:stretch !important;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr) !important;
  }

  .map-layout-alt > .map-card,
  .map-layout-alt > .location-side,
  .transport-grid-vertical{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }

  .map-layout-alt > .map-card iframe{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }

  .transport-grid-vertical{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:1fr 1fr 1fr !important;
    gap:18px !important;
    align-content:stretch !important;
  }

  .transport-grid-vertical .transport-card{
    height:100% !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  .transport-grid-vertical .transport-card p{
    line-height:1.45 !important;
    font-size:15px !important;
  }
}

@media (min-width:1051px) and (max-width:1280px){
  .map-layout-alt > .map-card,
  .map-layout-alt > .location-side,
  .transport-grid-vertical{
    height:760px !important;
    min-height:760px !important;
    max-height:760px !important;
  }

  .map-layout-alt > .map-card iframe{
    height:760px !important;
    min-height:760px !important;
    max-height:760px !important;
  }

  .transport-grid-vertical .transport-card p{
    line-height:1.38 !important;
    font-size:14.5px !important;
  }
}


/* === v41: spójna szerokość sekcji + zabezpieczenie przed rozpychaniem strony === */
/* Poprawka dotyczy głównie małych desktopów/tabletów, gdzie hero/cenniki potrafiły wizualnie wyjść szerzej niż belka i stopka. */
:root{
  --medica-content-width: min(94vw, 1180px);
}

html,
body{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}

.site-header,
.hero,
.quick,
.section,
.location,
.footer,
main{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}

.shell,
.site-header .shell,
.hero > .shell,
.quick > .shell,
#cenniki > .shell,
#cenniki .cabinet-stack,
.location > .shell,
.footer > .shell,
.footer-privacy{
  width:var(--medica-content-width) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.hero-grid,
.quick-grid,
.cabinet-stack,
.cabinet-panel,
.cabinet-main,
.doctor-hours,
.doctor-card,
.price-box,
.price-list,
.price-row,
.map-layout,
.map-layout-alt,
.location-phone-strip,
.transport-grid,
.transport-card,
.footer-privacy{
  max-width:100% !important;
  min-width:0 !important;
}

.cabinet-main > *,
.doctor-card > *,
.price-row > *,
.transport-card > *,
.hero-grid > *,
.hero-copy,
.hero-photo{
  min-width:0 !important;
}

.cabinet-main{
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important;
}

.doctor-card{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
}

.price-row{
  grid-template-columns:minmax(0,1fr) max-content !important;
}

.price-row span{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
}

.price-row strong{
  white-space:normal !important;
  text-align:right;
}

img,
iframe{
  max-width:100% !important;
}

@media (max-width:1050px){
  :root{
    --medica-content-width:min(94vw,900px);
  }

  .cabinet-main,
  .doctor-card,
  .map-layout,
  .map-layout-alt{
    grid-template-columns:1fr !important;
  }

  .price-row{
    grid-template-columns:minmax(0,1fr) auto !important;
  }
}

@media (max-width:760px){
  .price-row{
    grid-template-columns:1fr !important;
  }

  .price-row strong{
    text-align:left !important;
  }
}

@media (max-width:680px){
  :root{
    --medica-content-width:94vw;
  }

  .hero-copy,
  .price-box{
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* === v42: dwa górne kafelki nad mapą — adres + telefon === */
.location-top-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:22px;
  margin:0 auto 22px;
  max-width:100%;
}

.location-info-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:18px;
  align-items:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:0 18px 55px rgba(15,44,72,.08);
  min-width:0;
}

.location-info-card .transport-icon{
  margin-bottom:0 !important;
}

.location-info-card h3{
  margin:0 0 10px;
  font:700 26px 'Play';
  color:var(--blue-dark);
}

.location-info-card p{
  margin:0;
  line-height:1.55;
  color:#304255;
}

.location-big-phone{
  display:inline-flex;
  color:var(--blue-dark);
  font:700 clamp(30px,3.2vw,46px) 'Play';
  line-height:1.05;
  text-decoration:none;
  letter-spacing:.02em;
  margin:0 0 8px;
}

.location-call-card{
  background:linear-gradient(135deg,#ffffff 0%,#eef7ff 100%);
}

.location-call-card .transport-icon{
  background:#e8f3ff;
}

@media (max-width:1050px){
  .location-top-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
}

@media (max-width:680px){
  .location-info-card{
    grid-template-columns:52px minmax(0,1fr);
    gap:14px;
    padding:20px;
    border-radius:22px;
  }

  .location-info-card h3{
    font-size:23px;
  }

  .location-big-phone{
    font-size:32px;
  }
}


/* === v43: cennik — cena tak samo czytelna jak nazwa usługi, waluta przy kwocie === */
.price-row{
  column-gap:18px !important;
  align-items:baseline !important;
}

.price-row span{
  font-size:clamp(16px, 1.02vw, 18px) !important;
  line-height:1.35 !important;
}

.price-row strong{
  display:inline-block !important;
  font-size:clamp(16px, 1.02vw, 18px) !important;
  line-height:1.35 !important;
  font-weight:900 !important;
  color:var(--blue-dark) !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  text-align:right !important;
}

/* Nie rozdzielaj samej kwoty od zł, ale pozwól zakresowi cenowemu złamać się w bezpiecznych miejscach. */
.price-row strong .currency,
.price-row strong nobr{
  white-space:nowrap !important;
}

@media (min-width:761px){
  .price-row{
    grid-template-columns:minmax(0,1fr) minmax(150px, max-content) !important;
  }
}

@media (max-width:760px){
  .price-row strong{
    text-align:left !important;
    font-size:clamp(16px, 4.3vw, 18px) !important;
  }
}


/* === v46: belka górna na stałe, 120px, logo 80px, subtelny gradient === */
:root{
  --medica-header-height:120px;
}

html{
  scroll-padding-top:calc(var(--medica-header-height) + 24px) !important;
}

body{
  padding-top:var(--medica-header-height) !important;
}

.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:9999 !important;
  height:var(--medica-header-height) !important;
  min-height:var(--medica-header-height) !important;
  max-height:var(--medica-header-height) !important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.98) 0%,
      rgba(247,251,255,.96) 55%,
      rgba(238,247,255,.94) 100%) !important;
  border-bottom:1px solid rgba(50,102,153,.16) !important;
  box-shadow:0 10px 34px rgba(12,49,88,.08) !important;
  backdrop-filter:blur(18px) !important;
  -webkit-backdrop-filter:blur(18px) !important;
}

.site-header .shell,
.header-inner{
  height:var(--medica-header-height) !important;
  min-height:var(--medica-header-height) !important;
  max-height:var(--medica-header-height) !important;
}

.header-inner{
  display:flex !important;
  align-items:center !important;
}

.brand{
  width:auto !important;
  min-width:0 !important;
  height:80px !important;
  display:flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
}

.brand img{
  width:auto !important;
  height:80px !important;
  max-height:80px !important;
  max-width:min(320px,42vw) !important;
  object-fit:contain !important;
  display:block !important;
}

.site-nav{
  align-items:center !important;
}

.site-nav a{
  white-space:nowrap !important;
}

#top,
#hero,
#cenniki,
#lokalizacja,
#polityka-prywatnosci,
.cabinet-panel{
  scroll-margin-top:calc(var(--medica-header-height) + 24px) !important;
}

.hero{
  margin-top:0 !important;
}

@media (max-width:1050px){
  .site-header,
  .site-header .shell,
  .header-inner{
    height:var(--medica-header-height) !important;
    min-height:var(--medica-header-height) !important;
    max-height:var(--medica-header-height) !important;
  }

  .brand{
    height:80px !important;
  }

  .brand img{
    height:80px !important;
    max-height:80px !important;
    max-width:min(300px,62vw) !important;
  }

  .site-nav{
    top:var(--medica-header-height) !important;
  }
}

@media (max-width:680px){
  .site-nav{
    top:var(--medica-header-height) !important;
  }

  .brand img{
    max-width:min(270px,64vw) !important;
  }
}


/* === v47: usunięcie paska w belce + subtelny glow przy dolnej krawędzi === */
.site-header,
.site-header *,
.site-header *::before,
.site-header *::after{
  box-sizing:border-box !important;
}

.site-header{
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}

.site-header::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

/* Glow pod belką — delikatny, w niebieskiej kolorystyce strony */
.site-header::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:-12px !important;
  height:12px !important;
  pointer-events:none !important;
  background:
    linear-gradient(180deg,
      rgba(50,102,153,.18) 0%,
      rgba(102,153,204,.10) 45%,
      rgba(102,153,204,0) 100%) !important;
  filter:blur(1px) !important;
}

/* Na desktopie belka nie ma prawa pokazać własnego scrollbara nawet przy różnicy kilku pikseli. */
@media (min-width:1051px){
  .site-header{
    overflow:hidden !important;
  }

  .site-header .shell,
  .header-inner{
    overflow:hidden !important;
  }

  .header-inner{
    min-width:0 !important;
  }

  .site-nav{
    min-width:0 !important;
    flex:1 1 auto !important;
    justify-content:flex-end !important;
    overflow:hidden !important;
  }

  .site-nav a{
    flex:0 1 auto !important;
  }

  .top-call{
    flex:0 0 auto !important;
  }
}

/* Mały desktop: lekko odchudzamy odstępy, żeby menu nie robiło milimetrowego przepełnienia. */
@media (min-width:1051px) and (max-width:1280px){
  .site-nav a{
    padding-left:12px !important;
    padding-right:12px !important;
    letter-spacing:.12em !important;
    font-size:14px !important;
  }

  .top-call{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .brand img{
    max-width:min(280px,34vw) !important;
  }
}

/* Na mobile menu musi móc wysunąć się poza wysokość belki. */
@media (max-width:1050px){
  .site-header{
    overflow:visible !important;
  }

  .site-header .shell,
  .header-inner{
    overflow:visible !important;
  }
}


/* === v48: zamiast glow — subtelny blur przy dolnej krawędzi belki === */
/* Nadpisuje niebieskawy glow z v47. Efekt ma być miękki i neutralny. */
.site-header{
  box-shadow:0 8px 24px rgba(12,49,88,.045) !important;
}

.site-header::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:22px !important;
  pointer-events:none !important;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(248,252,255,.30) 52%,
    rgba(248,252,255,.58) 100%
  ) !important;
  backdrop-filter:blur(7px) !important;
  -webkit-backdrop-filter:blur(7px) !important;
  filter:none !important;
  opacity:.72 !important;
}

/* cienka miękka granica na samym dole, bez poświaty */
.site-header::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:1px !important;
  pointer-events:none !important;
  background:rgba(50,102,153,.13) !important;
}


/* === v49: czytelniejszy hover menu na subtelnym gradiencie belki === */
.site-nav a{
  position:relative !important;
  border-radius:12px !important;
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    border-color .22s ease !important;
}

.site-nav a:hover,
.site-nav a:focus-visible{
  color:var(--blue-dark) !important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.72) 0%,
      rgba(226,241,255,.92) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(50,102,153,.26),
    0 8px 22px rgba(12,49,88,.08) !important;
  border-radius:12px !important;
  outline:none !important;
}

.site-nav a:active{
  background:
    linear-gradient(180deg,
      rgba(214,235,255,.96) 0%,
      rgba(199,226,250,.96) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(50,102,153,.32),
    inset 0 2px 6px rgba(12,49,88,.08) !important;
}

/* Na telefonie hover/focus ma ten sam radius, żeby menu było spójne wizualnie. */
@media (max-width:1050px){
  .site-nav a{
    border-radius:12px !important;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.78) 0%,
        rgba(226,241,255,.96) 100%) !important;
  }
}


/* === v50: lokalizacja bez dublowania adresu i telefonu === */
/* Kafelki Adres gabinetu / Zadzwoń do nas zostały usunięte z HTML.
   Zostaje: tekst z adresem pod nagłówkiem, mapa oraz trzy kafelki dojazdu. */
.location-top-grid,
.location-info-card,
.location-call-card{
  display:none !important;
}

.location .map-layout{
  margin-top:22px !important;
}


/* === v51: precyzyjne punkty docelowe scrollowania/kotwic === */
:root{
  --medica-anchor-offset:calc(var(--medica-header-height, 120px) + 24px);
}

html{
  scroll-padding-top:var(--medica-anchor-offset) !important;
}

#hero,
#cenniki,
#lokalizacja,
#polityka-prywatnosci,
.cabinet-panel{
  scroll-margin-top:var(--medica-anchor-offset) !important;
}


/* === v52: szerokość strony ustawiona na ok. 90% viewportu === */
:root{
  --medica-content-width:90vw !important;
  --medica-content-max:1520px !important;
}

.shell,
.site-header .shell,
.hero > .shell,
.quick > .shell,
#cenniki > .shell,
#cenniki .cabinet-stack,
.location > .shell,
.footer > .shell,
.footer-privacy{
  width:min(var(--medica-content-width), var(--medica-content-max)) !important;
  max-width:var(--medica-content-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Żeby nagłówki sekcji trzymały tę samą szerokość co reszta treści. */
#cenniki > .section-head,
.location-head{
  width:min(var(--medica-content-width), var(--medica-content-max)) !important;
  max-width:var(--medica-content-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Na bardzo małych ekranach zostawiamy więcej oddechu, żeby strona nie była zbyt ściśnięta. */
@media (max-width:680px){
  :root{
    --medica-content-width:94vw !important;
  }
}


/* === v53: reklama / link do strony Pracowni RTG === */
#pracownia-rtg{
  scroll-margin-top:var(--medica-anchor-offset, 144px) !important;
}

.rtg-promo-section{
  padding-top:42px !important;
  padding-bottom:42px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(194,151,76,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%) !important;
}

.rtg-promo-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.94fr) minmax(420px,1.06fr);
  min-height:540px;
  overflow:hidden;
  border-radius:30px;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.94) 42%,
      rgba(245,251,248,.80) 64%,
      rgba(245,251,248,.55) 100%);
  border:1px solid rgba(50,102,153,.14);
  box-shadow:0 24px 80px rgba(16,54,86,.13);
}

.rtg-promo-card::after{
  content:"";
  position:absolute;
  left:-4%;
  right:-4%;
  bottom:-48px;
  height:124px;
  background:
    linear-gradient(175deg, transparent 36%, rgba(194,151,76,.92) 37%, rgba(194,151,76,.92) 39%, transparent 40%),
    linear-gradient(172deg, transparent 43%, #06472f 44%, #063e2a 100%);
  pointer-events:none;
  z-index:2;
}

.rtg-promo-copy{
  position:relative;
  z-index:3;
  padding:clamp(34px,4.5vw,70px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.rtg-promo-logo{
  width:min(520px,100%);
  height:auto;
  max-height:116px;
  object-fit:contain;
  object-position:left center;
  margin:0 0 28px;
}

.rtg-promo-accent{
  width:104px;
  height:3px;
  border-radius:999px;
  background:#c2974c;
  margin-bottom:30px;
}

.rtg-promo-copy h2{
  margin:0 0 18px;
  color:#073f2d;
  font:700 clamp(36px,4.6vw,68px)/.96 'Play', Arial, sans-serif;
  letter-spacing:.01em;
  max-width:720px;
}

.rtg-promo-lead{
  margin:0;
  color:#243246;
  font-size:clamp(18px,1.55vw,24px);
  line-height:1.45;
  max-width:660px;
}

.rtg-promo-features{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:30px 0 34px;
}

.rtg-promo-features span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:48px;
  padding:10px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(50,102,153,.13);
  color:#2f4052;
  box-shadow:0 12px 30px rgba(15,44,72,.05);
}

.rtg-promo-features strong{
  color:#073f2d;
}

.rtg-promo-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:max-content;
  max-width:100%;
  min-height:64px;
  padding:18px 26px;
  border-radius:18px;
  background:linear-gradient(135deg,#075337 0%,#063f2c 100%);
  color:#fff;
  text-decoration:none;
  font:700 clamp(17px,1.45vw,22px) 'Play', Arial, sans-serif;
  box-shadow:0 20px 42px rgba(7,63,44,.22);
  border:1px solid rgba(194,151,76,.75);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rtg-promo-button:hover,
.rtg-promo-button:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 24px 50px rgba(7,63,44,.28);
  background:linear-gradient(135deg,#08603f 0%,#06452f 100%);
  outline:none;
}

.rtg-promo-button span{
  color:#d0a45a;
  font-size:1.35em;
  line-height:1;
}

.rtg-promo-visual{
  position:relative;
  z-index:1;
  min-width:0;
  min-height:540px;
}

.rtg-promo-visual::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.35) 27%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  pointer-events:none;
}

.rtg-promo-visual img{
  width:100%;
  height:100%;
  min-height:540px;
  object-fit:cover;
  object-position:center right;
}

@media (max-width:1050px){
  .rtg-promo-card{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .rtg-promo-visual{
    order:-1;
    min-height:340px;
    max-height:420px;
  }

  .rtg-promo-visual img{
    min-height:340px;
    max-height:420px;
  }

  .rtg-promo-visual::before{
    background:linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.92) 100%);
  }

  .rtg-promo-logo{
    max-width:540px;
  }
}

@media (max-width:680px){
  .rtg-promo-section{
    padding-top:34px !important;
    padding-bottom:34px !important;
  }

  .rtg-promo-card{
    border-radius:24px;
  }

  .rtg-promo-copy{
    padding:28px 22px 54px;
  }

  .rtg-promo-logo{
    width:100%;
    max-height:88px;
    margin-bottom:22px;
  }

  .rtg-promo-accent{
    margin-bottom:24px;
  }

  .rtg-promo-features{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:24px 0 28px;
  }

  .rtg-promo-features span{
    justify-content:flex-start;
  }

  .rtg-promo-button{
    width:100%;
    min-height:60px;
    padding:16px 18px;
  }
}


/* === v54: Pracownia RTG — wizual bardziej wyraźny + link docelowy rtg1maja.pl === */
/* Zmniejszamy zasięg białej mgiełki po lewej stronie zdjęcia, żeby nie rozmywała postaci. */
.rtg-promo-visual::before{
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.58) 0%,
      rgba(255,255,255,.30) 10%,
      rgba(255,255,255,.10) 21%,
      rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)) !important;
}

.rtg-promo-visual img{
  object-position:center right !important;
  filter:none !important;
}

@media (max-width:1050px){
  .rtg-promo-visual::before{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0) 48%,
        rgba(255,255,255,.78) 100%) !important;
  }
}


/* === v55: sekcja Pracownia RTG z nowym tłem bez gradientów i mgiełek === */
.rtg-promo-card{
  grid-template-columns:1fr !important;
  min-height:580px !important;
  background:
    url('rtg-promo-background.png') center right / cover no-repeat !important;
  overflow:hidden !important;
}

.rtg-promo-card::after{
  display:none !important;
}

.rtg-promo-copy{
  position:relative !important;
  z-index:3 !important;
  max-width:min(48%, 640px) !important;
  padding:clamp(34px,4.5vw,70px) !important;
  background:none !important;
}

.rtg-promo-copy::before,
.rtg-promo-copy::after{
  display:none !important;
}

.rtg-promo-logo{
  max-height:118px !important;
  margin-bottom:26px !important;
}

.rtg-promo-copy h2{
  max-width:560px !important;
}

.rtg-promo-lead{
  max-width:500px !important;
}

.rtg-promo-features{
  max-width:520px !important;
}

.rtg-promo-features span{
  background:rgba(255,255,255,.86) !important;
}

.rtg-promo-button{
  position:relative !important;
  z-index:4 !important;
}

.rtg-promo-visual{
  display:none !important;
}

@media (max-width:1050px){
  .rtg-promo-card{
    min-height:520px !important;
    background-position:68% center !important;
  }

  .rtg-promo-copy{
    max-width:min(56%, 560px) !important;
  }
}

@media (max-width:860px){
  .rtg-promo-card{
    min-height:480px !important;
    background-position:74% center !important;
  }

  .rtg-promo-copy{
    max-width:min(64%, 520px) !important;
  }
}

@media (max-width:680px){
  .rtg-promo-card{
    min-height:620px !important;
    background-position:76% center !important;
    background-size:cover !important;
    border-radius:24px !important;
  }

  .rtg-promo-copy{
    max-width:100% !important;
    padding:28px 22px 34px !important;
  }

  .rtg-promo-logo{
    max-height:88px !important;
  }

  .rtg-promo-features span{
    background:rgba(255,255,255,.9) !important;
  }
}


/* === v57: stałe kafelki pod Hero — zdrowie jamy ustnej zamiast dynamicznych gabinetów === */
.health-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

.health-card{
  display:block !important;
  text-align:left !important;
  min-width:0 !important;
}

.health-card .icon{
  margin:0 0 16px !important;
}

.health-card h2{
  font-size:clamp(25px,2.1vw,34px) !important;
  line-height:1.05 !important;
  margin:8px 0 10px !important;
}

.health-card p{
  margin:0 !important;
  color:#44566a !important;
  line-height:1.5 !important;
  font-size:16px !important;
}

.icon.health-smile:before{content:"😊";}
.icon.health-shield:before{content:"✓";}
.icon.health-comfort:before{content:"☘";}
.icon.health-care:before{content:"🦷";}

@media (min-width:1051px) and (max-width:1280px){
  .health-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
  }
  .health-card{
    padding:24px 20px !important;
  }
  .health-card h2{
    font-size:25px !important;
  }
  .health-card p{
    font-size:15px !important;
  }
}

@media (max-width:1050px){
  .health-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .health-card{
    text-align:left !important;
  }
}

@media (max-width:680px){
  .health-grid{
    grid-template-columns:1fr !important;
  }
  .health-card{
    display:grid !important;
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:14px !important;
    align-items:start !important;
  }
  .health-card .icon{
    margin:0 !important;
    width:56px !important;
    height:56px !important;
  }
  .health-card h2,
  .health-card p{
    grid-column:2 !important;
  }
  .health-card h2{
    margin:0 0 8px !important;
  }
}


/* === v58: kafelki pod Hero — prawdziwe SVG zamiast emoji z pseudo-elementów === */
.health-card .icon::before{
  content:none !important;
  display:none !important;
}

.health-card .icon{
  background:linear-gradient(135deg,var(--blue),var(--blue-dark)) !important;
  overflow:hidden !important;
}

.health-card .icon img{
  width:34px !important;
  height:34px !important;
  display:block !important;
  object-fit:contain !important;
  margin:auto !important;
}

.health-card .icon.health-shield,
.health-card .icon.health-comfort{
  background:linear-gradient(135deg,#0c8a67,#064f37) !important;
}

.health-card .icon.health-care{
  background:linear-gradient(135deg,var(--blue),#083e70) !important;
}

@media (max-width:680px){
  .health-card .icon img{
    width:30px !important;
    height:30px !important;
  }
}


/* === v59: mniejsze logo w sekcji Pracownia RTG === */
.rtg-promo-logo{
  max-height:80px !important;
  width:auto !important;
  max-width:min(440px,100%) !important;
  object-fit:contain !important;
}

@media (max-width:680px){
  .rtg-promo-logo{
    max-height:70px !important;
    max-width:100% !important;
  }
}


/* === v60: numer telefonu jako rejestracja przy godzinach przyjęć === */
.doctor-line p{
  display:none !important;
}

.appointment-phone{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(50,102,153,.14);
  display:grid;
  gap:4px;
}

.appointment-phone span{
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.appointment-phone a{
  color:var(--blue-dark);
  text-decoration:none;
  font:700 clamp(24px,2vw,32px)/1 'Play', Arial, sans-serif;
  letter-spacing:.02em;
}

.appointment-phone a:hover,
.appointment-phone a:focus-visible{
  text-decoration:underline;
  outline:none;
}

.hour-row.no-hours span{
  font-weight:800;
  color:#34465b;
}

@media (max-width:680px){
  .appointment-phone a{
    font-size:26px;
  }
}


/* === v62: Pracownia RTG bez zewnętrznego, pełnoszerokościowego tła === */
/* Sekcja #pracownia-rtg zostaje tylko kotwicą i odstępem.
   Widoczny jest wyłącznie wewnętrzny kontener .rtg-promo-card z obrazem jako tłem. */
.rtg-promo-section{
  width:100% !important;
  max-width:100% !important;
  padding:42px 0 !important;
  margin:0 !important;
  background:transparent !important;
  overflow:visible !important;
}

.rtg-promo-section::before,
.rtg-promo-section::after{
  content:none !important;
  display:none !important;
  background:none !important;
}

.rtg-promo-section > .shell{
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Sam kafel/baner RTG pozostaje jedynym widocznym kontenerem tej sekcji. */
.rtg-promo-card{
  background:
    url('rtg-promo-background.png') center right / cover no-repeat !important;
}

@media (max-width:680px){
  .rtg-promo-section{
    padding:34px 0 !important;
  }
}


/* === v63: kotwica Pracowni RTG na właściwym kontenerze === */
/* Kliknięcie w menu przewija teraz do górnej krawędzi samego kafla RTG,
   a nie do zewnętrznej sekcji z paddingiem. Dzięki temu odstęp pod belką
   jest taki jak przy Stomatologii i Ortodoncji. */
.rtg-promo-card#pracownia-rtg{
  scroll-margin-top:var(--medica-anchor-offset, 144px) !important;
}


/* === v64: jednolity kolor ikon w kafelkach pod Hero === */
.health-card .icon,
.health-card .icon.health-smile,
.health-card .icon.health-shield,
.health-card .icon.health-comfort,
.health-card .icon.health-care{
  background:linear-gradient(135deg,var(--blue),var(--blue-dark)) !important;
}


/* === v67: bezpieczne ujednolicenie szerokości bez psucia Hero === */
/*
  v66 zawijała cały <main> w szerokość 90vw, co potrafiło namieszać w sekcji Hero.
  Teraz wracamy do stabilnej struktury:
  - sekcje strony technicznie zostają pełnoszerokościowe,
  - treść wewnątrz main trzyma konsekwentnie 90vw,
  - header i footer/polityka są pełnoszerokościowe.
*/

html,
body{
  max-width:100%;
  overflow-x:hidden !important;
}

:root{
  --medica-content-width:90vw !important;
  --medica-content-max:1520px !important;
}

/* Główne kontenery treści w środku strony — jedna szerokość na desktopie i małym desktopie. */
main .shell,
.hero > .shell,
.quick > .shell,
#cenniki > .shell,
#cenniki .cabinet-stack,
.rtg-promo-section > .shell,
.location > .shell{
  width:min(var(--medica-content-width), var(--medica-content-max)) !important;
  max-width:var(--medica-content-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Na małym desktopie nie przechodzimy na 94vw — to powodowało wrażenie rozjeżdżania. */
@media (min-width:681px) and (max-width:1050px){
  :root{
    --medica-content-width:90vw !important;
  }

  .shell,
  main .shell,
  .hero > .shell,
  .quick > .shell,
  #cenniki > .shell,
  #cenniki .cabinet-stack,
  .rtg-promo-section > .shell,
  .location > .shell{
    width:min(var(--medica-content-width), var(--medica-content-max)) !important;
    max-width:var(--medica-content-max) !important;
  }
}

/* Telefon: zostawiamy dawny, wygodniejszy oddech. */
@media (max-width:680px){
  :root{
    --medica-content-width:94vw !important;
  }
}

/* Header poza główną szerokością strony — pełna szerokość viewportu. */
.site-header,
.site-header .shell,
.site-header .header-inner{
  width:100% !important;
  max-width:none !important;
}

.site-header .shell{
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:clamp(18px,3vw,44px) !important;
  padding-right:clamp(18px,3vw,44px) !important;
}

/* Footer i polityka prywatności poza główną szerokością strony — pełna szerokość viewportu. */
.footer,
.footer .shell,
.footer > .shell,
.footer-inner,
.footer-privacy{
  width:100% !important;
  max-width:none !important;
}

.footer .shell,
.footer > .shell,
.footer-privacy{
  margin-left:0 !important;
  margin-right:0 !important;
}

.footer-inner,
.footer-privacy{
  padding-left:clamp(18px,5vw,72px) !important;
  padding-right:clamp(18px,5vw,72px) !important;
}

/* Ochrona przed poziomym wypychaniem przez gridy/karty na małym desktopie. */
.hero-grid,
.quick-grid,
.cabinet-main,
.doctor-hours,
.map-layout,
.rtg-promo-card,
.price-row,
.transport-grid,
.transport-card,
.doctor-card,
.doctor-line,
.hours-box,
.price-box{
  min-width:0 !important;
  max-width:100% !important;
}

.hero-grid > *,
.quick-grid > *,
.cabinet-main > *,
.doctor-hours > *,
.map-layout > *,
.rtg-promo-card > *{
  min-width:0 !important;
}


/* === v70 TEST: main 100vw, dzieci 90vw, Hero i Pracownia RTG pełna szerokość === */
/*
  Założenie testowe:
  - główny kontener strony ma 100% szerokości viewportu,
  - standardowe sekcje/ich .shell mają 90vw,
  - Hero oraz Pracownia RTG mają 100vw,
  - w Hero i Pracowni RTG usuwamy zaokrąglenia narożników.
*/

html,
body{
  max-width:100%;
  overflow-x:hidden !important;
}

main{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  overflow:hidden !important;
}

/* Domyślnie wszystkie kontenery treści wewnątrz main mają 90vw. */
main .shell,
main .section > .shell,
main .quick > .shell,
main #cenniki > .shell,
main .location > .shell,
main #cenniki .cabinet-stack{
  width:90vw !important;
  max-width:90vw !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Sekcja Hero pełna szerokość viewportu. */
main .hero,
main .hero > .shell,
main .hero-grid{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

main .hero{
  padding-left:0 !important;
  padding-right:0 !important;
}

main .hero-grid{
  border-radius:0 !important;
}

/* Usuwamy zaokrąglenia widocznych bloków Hero. */
main .hero-copy,
main .hero-photo{
  border-radius:0 !important;
}

/* Na desktopie zachowujemy dotychczasową logikę tekstu po lewej,
   ale sam układ rozciąga się na pełną szerokość. */
@media (min-width:1051px){
  main .hero-copy{
    margin-left:5vw !important;
  }
}

/* Pracownia RTG pełna szerokość viewportu. */
main .rtg-promo-section,
main .rtg-promo-section > .shell,
main .rtg-promo-card{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

main .rtg-promo-section{
  padding-left:0 !important;
  padding-right:0 !important;
  overflow:hidden !important;
}

main .rtg-promo-card{
  border-radius:0 !important;
}

/* Wewnętrzna treść w RTG zostaje czytelnie odsunięta od lewej krawędzi viewportu. */
main .rtg-promo-copy{
  margin-left:5vw !important;
}

/* Header i stopka zostają pełnoszerokościowe. */
.site-header,
.site-header .shell,
.site-header .header-inner,
.footer,
.footer .shell,
.footer > .shell,
.footer-inner,
.footer-privacy{
  width:100% !important;
  max-width:none !important;
}

.site-header .shell,
.footer .shell,
.footer > .shell,
.footer-privacy{
  margin-left:0 !important;
  margin-right:0 !important;
}

.site-header .shell{
  padding-left:clamp(18px,3vw,44px) !important;
  padding-right:clamp(18px,3vw,44px) !important;
}

.footer-inner,
.footer-privacy{
  padding-left:clamp(18px,5vw,72px) !important;
  padding-right:clamp(18px,5vw,72px) !important;
}

/* Zabezpieczenie przed rozpychaniem na małym desktopie. */
.hero-grid,
.quick-grid,
.cabinet-main,
.doctor-hours,
.map-layout,
.rtg-promo-card,
.price-row,
.transport-grid,
.transport-card,
.doctor-card,
.doctor-line,
.hours-box,
.price-box{
  min-width:0 !important;
  max-width:100% !important;
}

.hero-grid > *,
.quick-grid > *,
.cabinet-main > *,
.doctor-hours > *,
.map-layout > *,
.rtg-promo-card > *{
  min-width:0 !important;
}

/* Mobile: pełnoszerokościowe Hero/RTG też bez zaokrągleń, tekst ma własny oddech. */
@media (max-width:680px){
  main .shell,
  main .section > .shell,
  main .quick > .shell,
  main #cenniki > .shell,
  main .location > .shell,
  main #cenniki .cabinet-stack{
    width:94vw !important;
    max-width:94vw !important;
  }

  main .hero,
  main .hero > .shell,
  main .hero-grid,
  main .rtg-promo-section,
  main .rtg-promo-section > .shell,
  main .rtg-promo-card{
    width:100vw !important;
    max-width:100vw !important;
  }

  main .hero-copy,
  main .rtg-promo-copy{
    margin-left:0 !important;
  }

  main .hero-copy{
    padding-left:22px !important;
    padding-right:22px !important;
  }

  main .rtg-promo-copy{
    padding-left:22px !important;
    padding-right:22px !important;
  }
}


/* === v71 TEST: porządek po stałej belce 120px — hero i kotwice === */
/*
  Belka .site-header jest fixed i ma 120px.
  Rezygnujemy z globalnego padding-top na body, a dystans pod belką dajemy
  bezpośrednio na Hero. Dzięki temu pełnoszerokościowe Hero startuje równo
  pod headerem, bez podwójnego odsunięcia.
*/

:root{
  --medica-header-height:120px !important;
  --medica-anchor-gap:24px !important;
}

html{
  scroll-padding-top:calc(var(--medica-header-height) + var(--medica-anchor-gap)) !important;
}

body{
  padding-top:0 !important;
}

main{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* Hero jest pierwszą sekcją pod fixed headerem. */
main .hero{
  margin-top:var(--medica-header-height) !important;
}

/* Standardowy offset kotwic — spójny z JS i wysokością belki. */
#cenniki,
#lokalizacja,
.cabinet-panel,
.rtg-promo-card#pracownia-rtg{
  scroll-margin-top:calc(var(--medica-header-height) + var(--medica-anchor-gap)) !important;
}

/* Dla kotwicy RTG przewijamy do samego baneru, bez dodatkowego paddingu sekcji. */
.rtg-promo-section{
  scroll-margin-top:0 !important;
}

/* Jeżeli link do góry używa #top, niech ma stabilny punkt. */
#top{
  scroll-margin-top:0 !important;
}

@media (max-width:680px){
  :root{
    --medica-anchor-gap:18px !important;
  }
}


/* === v72 TEST: odstęp pod belką przeniesiony z Hero na main === */
/*
  Header ma 120px i jest poza main.
  Odstęp pod belką daje teraz główny kontener strony:
  - main: margin-top 120px,
  - main: padding-top 0,
  - hero: margin-top 0.
*/

body{
  padding-top:0 !important;
}

main{
  margin-top:var(--medica-header-height, 120px) !important;
  padding-top:0 !important;
}

/* Hero jako pierwsze dziecko main nie dokłada już własnego odstępu. */
main .hero{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* Kotwice dalej liczą wysokość stałej belki + oddech. */
#cenniki,
#lokalizacja,
.cabinet-panel,
.rtg-promo-card#pracownia-rtg{
  scroll-margin-top:calc(var(--medica-header-height, 120px) + var(--medica-anchor-gap, 24px)) !important;
}
