:root{
  --bg: #0b1220;
  --bg2:#070b14;

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.14);

  /* Brand palette */
  --yellow: #fba534; /* accent (2nd level) */
  --navy:   #004b8e; /* brand depth */
  --cyan:   #52beec; /* action / links */

  --radius: 18px;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 12% 10%, rgba(82,190,236,.16), transparent 55%),
    radial-gradient(900px 600px at 88% 18%, rgba(0,75,142,.18), transparent 50%),
    radial-gradient(700px 500px at 70% 85%, rgba(251,165,52,.10), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg) 40%, var(--bg2));
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
.container{ max-width: var(--max); margin: 0 auto; padding: 18px 16px 64px; }

/* Sticky header */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,18,32,.88), rgba(11,18,32,.55));
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.brand{ display:flex; align-items:center; gap: 12px; min-width: 150px; }
.brand img{
  height: 52px;   
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.25));
}


.nav{
  display:flex; gap: 10px; flex-wrap:wrap; justify-content:flex-end; align-items:center;
}
.nav a{
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 14px;
  white-space:nowrap;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-color: rgba(82,190,236,.40);
}

.actions{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }

.tel{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(82,190,236,.40);
  background: rgba(82,190,236,.10);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing: .2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;

  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);

  background: rgba(255,255,255,.04);
  color: var(--text);

  font-weight: 700;
  font-size: 15px;          
  line-height: 1.2;

  cursor:pointer;
  white-space:nowrap;

  transition:
    transform .06s ease,
    background .2s ease,
    filter .2s ease,
    border-color .2s ease;
}

.btn:hover{
  background: rgba(255,255,255,.08);
}

.btn:active{
  transform: translateY(1px);
}

/* PRIMARY CTA */
.btn.primary{
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(82,190,236,.95),
    rgba(0,75,142,.92)
  );
  color: #061018;
}

.btn.primary:hover{
  filter: brightness(1.04);
}

/* SECONDARY CTA */
.btn.secondary{
  border-color: rgba(251,165,52,.45);
  background: rgba(251,165,52,.08);
}

.btn.secondary:hover{
  background: rgba(251,165,52,.12);
}

/* FORM CTA – */
#contactForm .btn.primary{
  font-size: 16px;
  padding: 13px 16px;
}

.link{
  color: rgba(255,255,255,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(82,190,236,.70);
}
.link:hover{
  text-decoration-color: rgba(251,165,52,.85);
}

/* Facebook sticky */
.fb-sticky{
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 70;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 12px 10px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(82,190,236,.35);
  border-right: none;
  background: rgba(0,75,142,.28);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing: .3px;
}
.fb-sticky:hover{
  background: rgba(0,75,142,.40);
  border-color: rgba(251,165,52,.45);
}
@media (max-width: 820px){
  .hero{ grid-template-columns: 1fr; }
  .hero-right{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-right .info:nth-child(3){ grid-column: 1 / -1; }
}
@media (max-width: 520px){
  .hero-right{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .fb-sticky{ top: 36%; padding: 11px 9px; }
}

/* Cards */
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 18px;
  box-shadow: var(--shadow);
}
.h3{ margin:0 0 10px; font-size: 16px; }
.muted{ margin:0; color: var(--muted); }
.urgent-label{
  color: #fba534;
  font-weight: 700;
  margin-right: 4px;
}
.strong{ color: rgba(255,255,255,.90); }
.underline{ text-decoration: underline; text-underline-offset: 3px; }
.help{ color: var(--muted); font-size: 13px; margin: 10px 0 0; }

.section{ margin-top: 22px; }
.section-title{
  display:flex; align-items: baseline; justify-content:space-between; gap: 10px;
  margin: 0 0 12px;
}
.section-title h2{
  margin:0;
  font-size: 18px;
  letter-spacing: -.2px;
}
.section-title h2::after{
  content:"";
  display:inline-block;
  width: 56px;
  height: 3px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(251,165,52,.95);
  vertical-align: middle;
}
.section-title span{ color: var(--muted); font-size: 14px; }

/* Hero */
.hero{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  align-items: stretch;
}

/* left card */
.hero-left{
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* photo */
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/hero.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-implant{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/implant1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-endodoncja{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/endodoncja1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-wybielanie{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/wybielanie1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-dzieci{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/dzieci1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-protetyka{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/protetyka1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-chirugria{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/chirurgia1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-cennik{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/cennik1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}
.hero-media-praca{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../../img/hero/praca1.jpg") center/cover no-repeat;
  transform: scale(1.02) translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}

/* soft overlay*/
.hero-left::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    /* bottom fade for CTA */
    linear-gradient(
      to top,
      rgba(7,11,20,.62) 0%,
      rgba(7,11,20,.30) 34%,
      rgba(7,11,20,.12) 56%,
      rgba(7,11,20,0) 78%
    ),
    /* left readability */
    linear-gradient(
      90deg,
      rgba(7,11,20,.72) 0%,
      rgba(7,11,20,.32) 52%,
      rgba(7,11,20,.08) 78%,
      rgba(7,11,20,0) 100%
    );
}

/* content */
.hero-content{
  position: relative;
  z-index: 2;

  padding: 20px;
  min-height: 330px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.badge{
  display: inline-flex;
  align-items: center;

  border: 1px solid rgba(251,165,52,.40);
  padding: 6px 10px;
  border-radius: 999px;

  font-size: 13px;
  color: rgba(255,255,255,.90);
  background: rgba(251,165,52,.10);
  width: fit-content;
}

.hero h1{
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.hero p{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  max-width: 62ch;
}

/* CTA pinned bottom */
.hero-actions{
  position: absolute;
  z-index: 2;

  left: 20px;
  right: 20px;
  bottom: 20px;

  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin-top: 0;
}

/* right column */
.hero-right{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 16px;
  position: relative;
}

.info h3{
  margin: 0 0 6px;
  font-size: 15px;
}

.info p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.info-icon{
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  display: block;
  opacity: .9;
}

/* Trust tiles */
.trust{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust .tile{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.trust .tile strong{
  display:block;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: .1px;
}
.trust .tile strong::before{
  content:"";
  display:inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(82,190,236,.95);
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(82,190,236,.12);
  vertical-align: middle;
}
.trust .tile p{ margin:0; color: var(--muted); font-size: 13px; }

/* Services */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
  gap: 10px;
  min-height: 170px;
}
.service h3{ margin:0; font-size: 16px; }
.service p{ margin:0; color: var(--muted); font-size: 14px; }
.service .cta{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.linkbtn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(82,190,236,.10);
  border: 1px solid rgba(82,190,236,.35);
  font-weight:800;
  font-size: 14px;
}
.linkbtn:hover{
  background: rgba(82,190,236,.14);
  border-color: rgba(251,165,52,.45);
}
.small{ color: var(--muted); font-size: 13px; }

/* Doctors mini */
.team-mini{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.doc{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.doc:hover{ background: rgba(255,255,255,.06); border-color: rgba(82,190,236,.35); }
.avatar{
  width:56px;
  height:56px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.18);
}
.doc-name{ font-weight:900; font-size: 13px; line-height: 1.15; }
.doc-role{ color: var(--muted); font-size: 12px; margin-top: 2px; }
.team-actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Clinic media */
.media-row{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items:stretch;
}
.photo{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  min-height: 210px;
}
.photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.02);
}
.photo.map{
  margin-top: 14px;
  background: rgba(251,165,52,.06);
}
.photo.map img{
  object-fit: contain;
  padding: 12px;
  filter: none;
}

/* Bullets */
.bullets{ margin-top: 12px; display:grid; gap:8px; }
.bullet{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  font-size: 14px;
}
.bullet::before{
  content:"";
  display:inline-block;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(251,165,52,.95);
  margin-right: 10px;
  vertical-align: middle;
}
.actions-row{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Reviews */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quote{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 16px;
}
.quote-head{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom: 10px;
}
.pavatar{
  width:42px; height:42px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 950;
  letter-spacing: .2px;
  color: rgba(0,0,0,.85);
  border:1px solid rgba(251,165,52,.55);
  background: radial-gradient(18px 18px at 30% 30%, rgba(251,165,52,.95), rgba(255,255,255,.25));
}
.who{ margin:0; font-weight: 900; font-size: 13px; }
.meta{ margin:0; color: var(--muted); font-size: 12px; }
.q{ margin:0; color: rgba(255,255,255,.86); }
.review-cta{ display:flex; flex-direction:column; gap:10px; }

/* Contact */
.contact-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form{ display:grid; gap: 10px; }
label{ font-size: 13px; color: var(--muted); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
  font-size: 15px;
}
textarea{ min-height: 110px; resize: vertical; }
input:focus, textarea:focus{ border-color: rgba(82,190,236,.65); }
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkbox{
  display:flex; gap:10px; align-items:flex-start;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.checkbox input{ width: 18px; height: 18px; margin-top: 2px; }

.status{
  display:none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167,243,208,.35);
  background: rgba(167,243,208,.08);
  color: rgba(255,255,255,.9);
  font-size: 14px;
}
.contact-photo{
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
}

.contact-photo img{
  width: 100%;
  height: auto;
  display: block;
}

/* Payments */
.pay{ padding: 16px; }
.pay-head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 12px;
}
.pay-note{ color: var(--muted); font-size: 14px; }
.pay-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items:stretch;
}
.cards{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.cards img{
  height: 46px;
  width: auto;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}

.cards img:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.mediraty{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(251,165,52,.28);
  background: rgba(251,165,52,.06);
}
.mediraty-title{
  font-weight: 950;
  letter-spacing: .2px;
}
@media (max-width: 980px){
  .pay-grid{ grid-template-columns: 1fr; }
}

/* Footer */
footer{
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  justify-content:space-between;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 16px;
}
.footer-links{ display:flex; gap:14px; flex-wrap:wrap; }
footer a{ text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1100px){
  .team-mini{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .media-row{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .team-mini{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .trust{ grid-template-columns: 1fr; }
}

/* Mobile CTA bar */
.mobile-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(7,11,20,.86);
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  display:none;
}
.mobile-cta .wrap{
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 980px){
  .mobile-cta{ display:block; }
  body{ padding-bottom: 72px; }
}
/* Hamburger */
.burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  align-items:center;
  justify-content:center;
  gap: 6px;
  flex-direction: column;
}
.burger span{
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.86);
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu{
  position: fixed;
  top: 70px; 
  right: 16px;
  left: 16px;
  z-index: 80;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(11,18,32,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  padding: 14px;
}
.mobile-nav{
  display:grid;
  gap: 10px;
}
.mobile-nav a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  font-weight: 700;
}
.mobile-nav a:hover{
  border-color: rgba(82,190,236,.40);
  background: rgba(255,255,255,.06);
}

/* Backdrop */
.backdrop{
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(0,0,0,.55);
}

/* Breakpoint: nav znika, burger się pojawia */
@media (max-width: 980px){
  .burger{ display:flex; }
}

/* =========================
   Podstrony usług (np. Implanty)
   ========================= */
.hero-service{
position: relative;
overflow: hidden;
padding: 0;
}
.hero-service .cover{
position:absolute; inset:0;
background:
linear-gradient(90deg, rgba(7,11,20,.86), rgba(7,11,20,.46) 55%, rgba(7,11,20,.22)),
url("img/implant1.jpg") center/cover no-repeat;
transform: scale(1.02);
}
.hero-service .inner{
position: relative;
padding: 20px;
min-height: 320px;
display:flex;
flex-direction:column;
gap: 12px;
}
.kpi{
display:grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
margin-top: 6px;
}
.kpi .tile{
border:1px solid rgba(255,255,255,.12);
border-radius: 16px;
background: rgba(255,255,255,.04);
padding: 12px;
}
.kpi .n{
font-weight: 950;
letter-spacing: -.2px;
font-size: 16px;
margin:0 0 2px;
}
.kpi .t{
margin:0;
color: rgba(255,255,255,.72);
font-size: 13px;
}
@media (max-width: 980px){
.kpi{ grid-template-columns: 1fr; }
}

.steps{
display:grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
}
.step{
border:1px solid rgba(255,255,255,.12);
border-radius: 18px;
background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
padding: 14px;
box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.step .no{
display:inline-flex;
align-items:center;
justify-content:center;
width: 34px;
height: 34px;
border-radius: 999px;
background: rgba(251,165,52,.95);
color: rgba(0,0,0,.82);
font-weight: 950;
margin-bottom: 8px;
box-shadow: 0 0 0 4px rgba(251,165,52,.12);
}
.step h3{
margin:0 0 6px;
font-size: 14px;
}
.step p{
margin:0;
color: rgba(255,255,255,.72);
font-size: 13px;
}
@media (max-width: 1100px){
.steps{ grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 780px){
.steps{ grid-template-columns: 1fr; }
}

.compare{
display:grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
@media (max-width: 980px){
.compare{ grid-template-columns: 1fr; }
}
.compare .card h3{ margin:0 0 10px; }
.list{
display:grid;
gap: 8px;
margin-top: 10px;
}
.li{
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,.12);
background: rgba(255,255,255,.03);
color: rgba(255,255,255,.86);
font-size: 14px;
}
.li::before{
content:"";
display:inline-block;
width: 10px; height: 10px;
border-radius: 999px;
background: rgba(251,165,52,.95);
margin-right: 10px;
vertical-align: middle;
}

.inline-photo{
border-radius: var(--radius);
border: 1px solid rgba(255,255,255,.12);
overflow: hidden;
background: rgba(255,255,255,.03);
min-height: 220px;
}
.inline-photo img{
width:100%;
height:100%;
object-fit: cover;
filter: saturate(1.02);
}
/* Implanty – odsunięcie kafelków KPI od hero */
.hero-service .kpi{
  margin-top: 32px;
}
/* === Before/After (płynny before/after bez skalowania) === */
.compare-slider.compare--range{
  --pos: 50%;
  position: relative;
  margin-top: 10px;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  user-select: none;
  touch-action: none;
}

/* Obie grafiki są nieruchome i mają identyczny rozmiar/kadr */
.compare-slider.compare--range > img,
.compare-slider.compare--range .compare-after img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
}

/* Warstwa "PO" */
.compare-slider.compare--range .compare-after{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}

/* Etykiety BEFORE / AFTER */
.compare-slider.compare--range .labels{
  position:absolute;
  inset: 10px 10px auto 10px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 4;
  pointer-events:none;
}
.compare-slider.compare--range .lab{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

/* Pionowa linia + uchwyt */
.compare-slider.compare--range .handle{
  position:absolute;
  top:0;
  left: var(--pos);
  width:2px;
  height:100%;
  background: rgba(255,255,255,.92);
  z-index: 3;
  pointer-events:none;
}
.compare-slider.compare--range .handle::before{
  content:"↔";
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 16px;
  color: rgba(0,0,0,.85);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* Prawdziwy suwak (range) */
.compare-slider.compare--range .compare-range{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 5;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
/* === PERSONEL: lekarze – korekta odstępów (desktop) === */
@media (min-width: 900px){

  /* Układ pionowy kart lekarzy */
  .doc--stack{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Nazwisko – lekki oddech od specjalizacji */
  .doc--stack .doc-name{
    margin-bottom: 6px;
  }

  /* Specjalizacja */
  .doc--stack .doc-role{
    line-height: 1.3;
    margin: 0;
  }

  /* Uczelnia – ciaśniej i wizualnie lżej */
  .doc--stack small{
    display: block;
    line-height: 1.2;
    margin-top: 2px;
    opacity: 0.5;
  }

}
/* Żółte bullet'y */
.bullets--yellow .bullet::before {
  background: #f5c400; 
}

/* =========================
   FORM VALIDATION (SAFE)
   ========================= */

/* Premium invalid highlight (used by JS: .is-invalid) */
.is-invalid {
  outline: 2px solid rgba(255, 180, 180, .75);
  outline-offset: 2px;
}

/* Focus styles */
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #f5c400; 
  box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.2);
}

/* Native required validity (only when fields have required="required") */
#contactForm input:required:invalid,
#contactForm textarea:required:invalid {
  border-color: #d9534f;
}

#contactForm input:required:valid,
#contactForm textarea:required:valid {
  border-color: #4caf50;
}

/* checkbox RODO */
#contactForm input[type="checkbox"]:required:invalid + label {
  color: #d9534f;
}

#contactForm input[type="checkbox"]:required:valid + label {
  color: inherit;
}

/* Status message (used by JS: #status.status + data-type) */
#contactForm .status {
  margin-top: 10px;
  font-size: 14px;
  display: none; 
}

/* pokaż, gdy JS ustawi data-type (albo jeśli kiedyś zrobisz to tylko CSS-em) */
#contactForm .status[data-type] {
  display: block;
}

#contactForm .status[data-type="success"] { color: #b7f5c2; }
#contactForm .status[data-type="error"]   { color: #ffb4b4; }
#contactForm .status[data-type="info"]    { color: rgba(255,255,255,.75); }

/* =========================================================
   CENNIK – BD
   ========================================================= */

.card .price-table {
  margin-top: 6px;
}

/* tabela */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  border-radius: 14px; 
}

/* wiersze */
.price-table tr {
  background: transparent;
}

/* delikatny separator między wierszami */
.price-table tr + tr td {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* zebra striping – subtelny */
.price-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

/* hover – bardzo dyskretny */
.price-table tr:hover td {
  background: rgba(255,255,255,0.06);
}

/* komórki */
.price-table td {
  padding: 12px 14px;
  vertical-align: middle;
}

/* kolumna: usługa (80%) */
.price-table td:first-child {
  width: 80%;
  color: rgba(255,255,255,0.92);
}

/* kolumna: cena (20%) */
.price-table td:last-child {
  width: 20%;
  text-align: right;
  font-weight: 650;
  color: #f5c451;            
  white-space: nowrap;
  letter-spacing: 0.1px;
}

/* jeśli w nazwie usługi masz wypunktowania/średniki i wiersz robi się długi */
.price-table td:first-child strong {
  font-weight: 650;
}

/* =========================================================
   Nagłówki sekcji na stronie cennika 
   ========================================================= */

.section-title h2 {
  letter-spacing: 0.2px;
}

/* =========================================================
   MOBILE – dopracowanie: mniej paddingu, cena git
   ========================================================= */

@media (max-width: 640px) {
  .price-table {
    font-size: 14.5px;
  }

  .price-table td {
    padding: 11px 12px;
  }

  .price-table td:last-child {
    font-size: 14px;
  }
}

/* =========================================================
   EXTRA (opcjonalne, ale robi robotę):
   gdy cena to zakres "100–200 zł", wyrównanie wygląda lepiej
   ========================================================= */
.price-table td:last-child {
  font-variant-numeric: tabular-nums;
}
/* ==========================
   CENNIK — PRO: 2 kolumny 
   ========================== */

.price-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;                 
}

/* każdy blok to: tytuł + card */
.price-block{
  display: grid;
  gap: 10px;
}

/* dociskamy section-title w ramach price-block */
.price-block > .section-title{
  margin: 0;
  padding: 0;
}

/* jeśli w Twoim CSS section-title ma duże odstępy – to je ucinamy tutaj */
.price-block > .section-title h2{
  margin: 0 0 6px 0;
}

/* Desktop: 2 kolumny */
@media (min-width: 1024px){
  .price-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
}
/* DESKTOP: masonry bez dziur */
@media (min-width: 1024px){
  .price-grid{
    display: block;
    column-count: 2;
    column-gap: 32px;
  }

  .price-grid > *{
    break-inside: avoid;
    margin: 0 0 22px;
  }
}
.actions .tel{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.actions .tel .icon{
  width: 16px;
  height: 16px;
  fill: #fff;  
  flex-shrink: 0;
}
/* PRACA – oferty: 2 równe kolumny na desktopie */
.jobs-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 1024px){
  .jobs-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
}
/* OPINIE – 3 równe kolumny na desktopie */
@media (min-width: 1024px){
  .reviews-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
}
/* OPINIE – gwiazdki */
.stars{
  display: flex;
  gap: 2px;
  margin: 6px 0 8px;
  line-height: 1;
}

.stars span{
  font-size: 14px;
  color: #f5c451; /* ten sam „premium gold” co ceny */
}
.stars span{
  opacity: 0.9;
}
/* =========================================================
   LIGHT MODE – GLOBALNIE 
   ========================================================= */
@media (prefers-color-scheme: light){
  :root{
    --bg:  #f6f7f9;
    --bg2: #ffffff;

    /* grafit zamiast czerni */
    --text:  #1f2933;
    --muted: #556372;

    --line:  rgba(0,0,0,.12);
    --shadow: 0 12px 30px rgba(0,0,0,.10);
  }

  body{
    color: var(--text);
    background:
      radial-gradient(1200px 800px at 12% 10%, rgba(82,190,236,.10), transparent 55%),
      radial-gradient(900px 600px at 88% 18%, rgba(0,75,142,.08), transparent 50%),
      radial-gradient(700px 500px at 70% 85%, rgba(251,165,52,.08), transparent 55%),
      linear-gradient(180deg, var(--bg2), var(--bg) 40%, var(--bg2));
  }

  .topbar{
    background: rgba(255,255,255,.85);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }

  .nav a{
    background: rgba(0,0,0,.02);
    color: var(--muted);
    border-color: var(--line);
  }
  .nav a:hover{
    background: rgba(0,0,0,.04);
    color: var(--text);
    border-color: rgba(82,190,236,.35);
  }

  .card,
  .quote,
  .service,
  .info,
  .tile,
  .doc,
  .bullet,
  .li,
  .photo,
  .inline-photo,
  .mediraty,
  .cards{
    background: #fff !important;
    border-color: var(--line) !important;
    box-shadow: var(--shadow);
  }

  /* krytyczne: kończymy z “opacity-wash” w light */
  .muted,
  .meta,
  .help,
  .small,
  .info p,
  .service p,
  .trust .tile p,
  .doc-role{
    color: var(--muted) !important;
    opacity: 1 !important;
  }

  .q{
    color: var(--text) !important;
  }

  h1, h2, h3, .h3{
    color: var(--text);
  }

  input, textarea{
    background: rgba(0,0,0,.03);
    border-color: var(--line);
    color: var(--text);
  }

  /* tekst na zdjęciu w hero ma zostać biały */
  .hero .hero-left,
  .hero .hero-left *{
    color: #fff !important;
  }

  .badge{
    background: rgba(0,0,0,.45);
    border-color: rgba(255,255,255,.22);
    color: #fff !important;
  }

  .burger{
    background: rgba(0,0,0,.02);
    border-color: var(--line);
  }
  .burger span{
    background: rgba(0,0,0,.75);
  }

  .mobile-menu{
    background: rgba(255,255,255,.92);
    border-color: var(--line);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
  }
  .mobile-nav a{
    background: rgba(0,0,0,.02);
    border-color: var(--line);
    color: var(--text);
  }

  .backdrop{
    background: rgba(0,0,0,.35);
  }

  footer{
    border-top: 1px solid var(--line);
    color: var(--muted);
  }
  footer a{ color: inherit; }

  .mobile-cta{
    background: rgba(255,255,255,.92);
    border-top: 1px solid var(--line);
  }

  /* gwiazdki */
  .stars span{ color:#f5c451; }
}
/* =========================================================
   FIX: w light mode .muted nie może zostawać biały
   (działa globalnie i nie psuje day/night)
   ========================================================= */
@media (prefers-color-scheme: light){
  .muted,
  .muted *{
    color: var(--muted) !important;
    opacity: 1 !important;
  }
}
/* =========================================================
   CENNIK – LIGHT MODE: widoczne separatory + zebra
   (kolor cen zostaje jak w dark)
   ========================================================= */
@media (prefers-color-scheme: light){

  /* delikatne tło co drugi wiersz */
  .price-table tr:nth-child(even) td{
    background: rgba(0,0,0,0.025);
  }

  /* hover */
  .price-table tr:hover td{
    background: rgba(0,0,0,0.045);
  }

  /* separatory między wierszami */
  .price-table tr + tr td{
    border-top: 1px solid rgba(0,0,0,0.12);
  }

  /* tekst usługi */
  .price-table td:first-child{
    color: var(--text);
  }

  /* CENA – zostaje Twoje pomarańczowe */
  .price-table td:last-child{
    color: #e0a312;
    font-weight: 700;
  }
}
/* =========================================================
   KPI – LIGHT MODE: ten sam „lekki czarny” co reszta strony
   ========================================================= */
@media (prefers-color-scheme: light){

  .kpi .tile{
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  /* nagłówek KPI – lekki grafit */
  .kpi .tile .n{
    color: var(--text) !important;
    font-weight: 600;
    opacity: 1 !important;
  }

  /* opis KPI – ten sam muted co wszędzie */
  .kpi .tile .t{
    color: var(--muted) !important;
    opacity: 1 !important;
  }
}
/* =========================================================
   BULLETS – FIX pod LIGHT MODE (żeby nie robiły białej plamy)
   ========================================================= */
@media (prefers-color-scheme: light){

  /* kontener listy */
  .bullets{
    background: transparent;
  }

  /* pojedynczy bullet */
  .bullet{
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--line);
    color: var(--text);
  }

  /* opcjonalnie: hover delikatniejszy */
  .bullet:hover{
    background: rgba(0,0,0,0.04);
  }
}
/* =========================================================
   GLOBAL TEXT COLOR NORMALIZATION
   Wszystkie „czarne” teksty → grafit
   ========================================================= */

/* domyślny tekst */
body{
  color: var(--text);
}

/* nagłówki */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3{
  color: var(--text);
}

/* akapity i typografia */
p, li, span, label, strong, em{
  color: inherit;
}

/* elementy pomocnicze */
.muted,
.meta,
.help,
.small,
.caption{
  color: var(--muted) !important;
  opacity: 1 !important;
}

/* karty, sekcje, bloki – nigdy białe / czarne na sztywno */
.card,
.section,
.tile,
.quote,
.bullet,
.service,
.doc{
  color: var(--text);
}
/* =========================================================
   Telefon – ikona zawsze w kolorze tekstu przycisku
   ========================================================= */
.btn.tel svg path{
  fill: currentColor;
}
/* INFO (clock/pin) – ikona obok tekstu */
.info{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-icon{
  width: 20px;
  height: 20px;
  margin-top: 2px; /* optyczne wyrównanie do nagłówka */
  flex: 0 0 auto;
}

/* opcjonalnie, żeby nagłówki i p nie rozjeżdżały się pionowo */
.info-text h3{
  margin: 0 0 6px 0;
}
.info-text p{
  margin: 0;
}
/* =========================================================
   LINKI TEKSTOWE – fix pod LIGHT MODE
   ========================================================= */
@media (prefers-color-scheme: light){

  a,
  .link{
    color: var(--navy);
  }

  a:hover,
  .link:hover{
    color: var(--cyan);
  }
}
/* =========================================================
   URGENT – delikatne żółte tło (LIGHT + DARK)
   ========================================================= */

/* baza – działa w obu trybach */
.info.urgent{
  position: relative;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(251,165,52,.35);
  background: rgba(251,165,52,.10);
}

/* akcentowa kreska */
.info.urgent::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--yellow);
}

/* label */
.urgent-label{
  color: var(--yellow);
  font-weight: 700;
  font-size: larger;
}

/* =========================================================
   Dopasowanie kontrastu w LIGHT MODE
   ========================================================= */
@media (prefers-color-scheme: light){
  .info.urgent{
    background: rgba(251,165,52,.14); /* ciut mocniej niż w dark */
    border-color: rgba(251,165,52,.45);
  }
}
/* =========================================================
   URGENT – FIX: light mode przebija białe tła
   ========================================================= */
@media (prefers-color-scheme: light){

  .info.urgent{
    background: rgba(251,165,52,.14) !important;
    border-color: rgba(251,165,52,.45) !important;
  }
}

/* Kontakt – submit nie full width (przebija grid/flex/block) */
#contactForm .btn.primary{
  width: fit-content !important;
  display: inline-flex !important;
  justify-self: start !important;
  align-self: start !important;
  flex: 0 0 auto !important;
}
/* LIGHT MODE – biały tekst na przyciskach primary */
@media (prefers-color-scheme: light){
  .btn.primary{
    color: #ffffff !important;
  }
}
/* Płynne przewijanie + offset pod sticky header */
html{
  scroll-behavior: smooth;
  scroll-padding-top: 42px; 
}

/* Dodatkowo: każdy anchor/sekcja nie będzie wchodzić pod nagłówek */
:where(section, [id]){
  scroll-margin-top: 42px; 
}
/* =========================================
   FORM – focus subtelny + brak czerwieni na starcie
   ========================================= */

/* 1) Domyślnie: nie pokazuj natywnego "invalid" (ALE nie zabijaj focusu) */
#contactForm :is(input, textarea, select):invalid:not(:focus){
  border-color: var(--line) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Firefox potrafi świecić własnym invalid */
#contactForm :is(input, textarea, select):-moz-ui-invalid:not(:focus){
  border-color: var(--line) !important;
  box-shadow: none !important;
}

/* 2) Focus: zawsze widać (również gdy pole jest required i puste) */
#contactForm :is(input, textarea, select):focus{
  outline: none !important;
  border-color: rgba(251,165,52,.55) !important;        /* --yellow, subtelnie */
  box-shadow: 0 0 0 3px rgba(251,165,52,.12) !important;/* miękki ring */
}

/* 3) Dopiero po próbie wysłania (JS dodaje .was-validated) pokazuj błąd */
#contactForm.was-validated :is(input, textarea, select):invalid{
  border-color: #e24a4a !important;
  box-shadow: 0 0 0 3px rgba(226,74,74,.16) !important;
}

/* 4) Checkbox RODO – błąd tylko po submit */
#contactForm.was-validated input[type="checkbox"]:invalid + label{
  color: #e24a4a !important;
}
#contactForm input[type="checkbox"]:invalid + label{
  color: inherit !important;
}
/* ======================================
   MOBILE CTA – ukrywanie przy formularzu
   ====================================== */

/* stan ukryty */
.mobile-cta.is-hidden{
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .2s ease;
}

/* normalny stan (żeby animacja była płynna) */
.mobile-cta{
  transition: transform .25s ease, opacity .2s ease;
}
/* ======================================
   MOBILE – logotypy kart: 4 w jednym rzędzie
   ====================================== */
@media (max-width: 768px){

  /* wymuszamy 4 równe kolumny */
  .cards,
  .pay .cards,
  .pay-grid .cards{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: center;
  }

  /* obrazki realnie mniejsze (a nie tylko "wizualnie") */
  .cards img,
  .pay .cards img,
  .pay-grid .cards img{
    width: 100%;
    max-width: 60px;     /* ~10% mniejsze, możesz dać 52–60 */
    height: auto;
    justify-self: center;
  }
}
/* ======================================
   RATY – iframe: skalowanie na mobile (70%)
   ====================================== */

.mediraty-embed{
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

/* Mobile: skalowanie całości do ~70% */
@media (max-width: 768px){

  /* wysokość widoczna po skali (1050px * 0.7 ≈ 735px) */
  .mediraty-embed{
    height: 740px;
  }

  .mediraty-embed iframe{
    /* kompensacja szerokości: 100 / 0.7 ≈ 143% */
    width: 143% !important;

    /* kompensacja wysokości: 1050 / 0.7 ≈ 1500px */
    height: 1500px !important;

    transform: scale(0.7);
    transform-origin: 0 0;

    border: 0;
    display: block;
    background: #fff;
  }
}
/* ======================================
   TOPBAR CTA – telefon ważniejszy na mobile,
   ale w landscape na iPhonie przycisk ma wrócić
   ====================================== */

/* Domyślnie: przycisk widoczny */
.topbar .actions .btn.primary{
  display: inline-flex;
}

/* Mobile PORTRAIT: chowamy "Umów wizytę" (żeby nie gryzł się z tel) */
@media (max-width: 820px) and (orientation: portrait){
  .topbar .actions .btn.primary{
    display: none !important;
  }
}

/* Mobile LANDSCAPE: przycisk ZAWSZE wraca (np. iPhone 15 Pro po obrocie) */
@media (max-width: 920px) and (orientation: landscape){
  .topbar .actions .btn.primary{
    display: inline-flex !important;
  }
}
/* ======================================
   LIGHT MODE – listy (fix biały tekst)
   ====================================== */
@media (prefers-color-scheme: light){
  .list,
  .list .li{
    color: #374151; /* grafit – spójny z resztą */
  }

  .list .strong,
  .list strong{
    color: #111827;
  }
}

