
.specialist-section{
  width:100%;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:38px;
  padding:48px 16px;
  background:#fff;
}

.specialist-card{
  max-width:260px;
  text-align:center;
  background:#f5f7fa;
  border-radius:16px;
  box-shadow:0 2px 16px rgba(28,43,58,.06);
  padding:26px 18px 22px;
}
/* LEGACY: global bottom-slider spacing disabled; current HOME uses .home-sticky. */
/*
.has-bottom-slider{
  padding-bottom: 86px;
}
*/
@media (max-width: 700px){
  /*
  .has-bottom-slider{
    padding-bottom: 70px;
  }
  */
}

.specialist-photo{
  width:200px;
  height:200px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:16px;
  border:3px solid #e2e8f0;
}

.specialist-card h3{
  font-weight:800;
  font-size:1.15rem;
  margin:0;
  color:#183541;
}
.specialist-card .desc{ font-size:1rem; color:#7c8892; margin-bottom:2px; }
.specialist-card .place{ font-size:.98rem; color:#6f7b84; margin-bottom:12px; }

.hero-btn{
  display:inline-block;
  background:rgba(13, 79, 133, 0.93);
  color:#fff !important;
  border:none;
  border-radius:8px;
  font-weight:700;
  font-size:.95rem;
  padding:.5rem .75rem;
  text-decoration:none;
  transition:.13s;
}
.hero-btn:hover{ background:#cf7314; }

.specialist-left{ max-width: 620px; color:#385b63; margin-bottom: 50px !important;}
.specialist-left h2{ font-size: 2rem;
font-weight: 800;
color: #295760;
margin: 0 0 15px;
align-content: center;
text-align: center;
font-family: "Libre Baskerville", serif;
}
.specialist-left p{ text-align:justify ; font-size:1.05rem; line-height:1.5; margin:0 0 10px; letter-spacing: 0.1px; font-family: "Libre Baskerville", serif;}

/* Trainings */
.trainings{ margin: 10px 0 0; }
.trainings-toggle{
  display:inline-flex; align-items:center; gap:10px;
  background: #f5f7fa;
  border:1.5px solid #8bb2ec;
 color: #385b63;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
  cursor:pointer;
  font-family: "Libre Baskerville", serif;
}
.trainings-panel{
  overflow:hidden;
  transition: grid-template-rows .28s ease, padding .2s ease;
  display:grid;
  grid-template-rows: 0fr;
  padding:0 2px;
}
.trainings-panel.open{ grid-template-rows: 1fr; padding:8px 2px 0; }
.trainings-panel > *{ min-height:0; }
.trainings-list{ margin:0; padding-left:1.2rem; color:#385b63; font-family: "Libre Baskerville", serif; }
.trainings-list li{ margin-bottom:6px; }

@media (max-width: 900px){
  .specialist-section{ flex-direction:column; align-items:center; }
  .specialist-left{ max-width: 96vw; }
}

/* LEGACY: disabled global body padding; current HOME reserves space via body.home-sticky-open. */
/* body{ padding-bottom: 74px; } */

@media (max-width: 520px){
  .bottom-cta__text{ font-size: 13px; }
  .bottom-cta__btn{ padding: 9px 14px; }
}
  /* BOTTOM SLIDER (HOME) */
  .bottom-slider{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: #0f2430;
    color: #fff;
    padding: 14px 16px;
    box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  }
  .bottom-slider__inner{
    max-width: 1120px;
    margin: 0 auto;
    display:flex;
    align-items:center;
    gap: 14px;
  }
  .bottom-slider__text{
    font-weight: 700;
    color: rgba(255,255,255,.92);
    font-size: 14px;
  }
  .bottom-slider__text small{
    display:block;
    font-weight: 500;
    color: rgba(255,255,255,.70);
    margin-top: 2px;
    font-size: 12px;
  }
  .bottom-slider__spacer{ flex: 1; }

  .bottom-slider__btn{
    border: none;
    background: #f6c7ab;
    color: #1b2a33;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:10px;
    white-space: nowrap;
  }

  .bottom-slider__close{
    border:none;
    background: transparent;
    color: rgba(255,255,255,.75);
    font-size: 22px;
    line-height: 1;
    padding: 6px 10px;
    cursor:pointer;
  }
  .bottom-slider__close:hover{ color:#fff; }

  /* żeby treść nie chowała się pod sliderem */
  /* body.has-bottom-slider{ padding-bottom: 74px; } */

  @media (max-width: 720px){
    .bottom-slider__inner{ flex-wrap: wrap; }
    .bottom-slider__spacer{ display:none; }
    /* body.has-bottom-slider{ padding-bottom: 98px; } */
  }
  .bottom-slider{
  display:block;
  visibility:visible;
  opacity:1;
}
.hero-title{
font-family: "Libre Baskerville", serif;
font-size: clamp(22px, 2.6vw, 38px);
font-weight: 400;
letter-spacing: .2px;
margin: 0 0 12px 0;
text-shadow: 0 10px 30px rgba(0,0,0,.35);
color: white;
}

:root{
  --nav-h: 148px;
  --page-max: 1380px;
  --gutter: 42px;
  --gutter-m: 18px;

  --logo-col: 145px;
  --logo-offset:131px;


  --bg: #f5f5f3;
  --ink: #111111;
  --muted: #222222;
  --line: rgba(0,0,0,.75);

  --cta: #111111;
  --cta-hover: #2b2b2b;
  --brand-purple: #4112c7;
  --brand-orange: #f8a13a;
  --brand-teal: #2b5c63;
  --font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --top-row-h: 66px;
  --bottom-row-h: 66px;
}
  *, *::before, *::after{ box-sizing: border-box; }
  html, body{ height:100%; }

  body{
    margin:0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    padding-top: var(--nav-h);
  }

  main{
    background: white;
    color: var(--ink);
    position: relative;
    z-index: 1;
  }

  .site-container{
    max-width: var(--page-max);
    margin: 0 auto;
    padding-inline: var(--gutter);
  }

  @media (max-width: 900px){
    .site-container{ padding-inline: var(--gutter-m); }
  }

  .page-top{
    padding-top: 30px;
    padding-bottom: 48px;
  }

  /* =========================
     HEADER
     ========================= */
  .topnav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    padding-top: env(safe-area-inset-top, 0px);
  }

.topnav__layout{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  column-gap: 18px;
  width: 100%;
}


.brand-panel{
display: flex;
align-items: center;
justify-content: end;
min-height: calc(var(--top-row-h) + var(--bottom-row-h));
padding-right: 10px;
text-decoration: none;
overflow: visible;


}

.brand-logo{
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}
/* PRAWA KOLUMNA */
.topnav__right{
  display: grid;
  grid-template-rows: var(--top-row-h) var(--bottom-row-h);
  min-width: 0;
  width: 100%;
  position: relative;
}

.topnav__top{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding-top: 4px;
  padding-left: 0;
}

.nav-login-top{
  font-size: 16px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s ease, color .15s ease;
}

.nav-login-top:hover{
  color: #000;
  opacity: .78;
}

.topnav__divider{
  position: absolute;
  top: var(--top-row-h);
  left: 16px;
  right: 0;
  border-top: 1px solid var(--line);
  pointer-events: none;
}

.topnav__bottom{
  display: flex;
  justify-content:center;
  align-items: center;
  width: 100%;
  padding-bottom: 4px;
}
.navlinks{
  display:flex;
  align-items:center;
  justify-content: space-between; /* zamiast center */
  gap: 26px;
  width: 100%;
  max-width: 860px; /* opcjonalnie kontrola */
}

  .navlinks a,
  .navdrop__toggle,
  .nav-cta-inline{
    font-size: 21px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s ease, color .15s ease;
  }

  .navlinks a:hover,
  .navdrop__toggle:hover,
  .nav-cta-inline:hover{
    color: #000;
    opacity: .78;
  }

  .nav-cta-inline{
    font-weight: 400;
  }

  /* dropdown */
  .navdrop{
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .navdrop__toggle{
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .navdrop__caret{
    font-size: 12px;
    transform: translateY(-1px);
  }

  .navdrop__menu{
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 10000;
  }

  .navdrop__menu::before{
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }

  .navdrop:hover .navdrop__menu,
  .navdrop:focus-within .navdrop__menu{
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .navdrop__item{
    display:block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration:none;
    font-size: 15px;
    font-weight: 400;
  }

  .navdrop__item:hover{
    background: rgba(17,24,39,.06);
    color: #111;
  }

  /* MOBILE BUTTON */
  .nav-actions-mobile{
    display:none;
    margin-left:auto;
    align-items:center;
    gap:12px;
  }

  .hamburger{
    display:none;
    width:44px;
    height:44px;
    border: 1px solid rgba(17,24,39,.16);
    background: transparent;
    border-radius: 10px;
    align-items:center;
    justify-content:center;
    padding:0;
  }
.topnav__inner{
  padding-inline: 0;
}

@media (max-width: 900px){
  .topnav__inner{
    padding-inline: 18px;
  }
}
  .hamburger svg{ width:22px; height:22px; }

  .hamburger .line{
    stroke: rgba(17,24,39,.92);
    stroke-width: 2.2;
    stroke-linecap: square;
    transition: transform .22s ease, opacity .18s ease;
    transform-origin: 11px 11px;
  }

  .hamburger.is-open .line--top{ transform: translateY(4px) rotate(45deg); }
  .hamburger.is-open .line--mid{ opacity: 0; }
  .hamburger.is-open .line--bot{ transform: translateY(-4px) rotate(-45deg); }

  @media (max-width: 1100px){
    :root{
      --logo-col: 210px;
    }

    .navlinks{
      gap: 20px;
    }

    .navlinks a,
    .navdrop__toggle,
    .nav-cta-inline{
      font-size: 16px;
    }
  }

  @media (max-width: 820px){
    :root{
      --nav-h: 98px;
      --logo-col: auto;
      --top-row-h: 66px;
      --bottom-row-h: 0px;
    }
.brand-panel{
  min-height: 66px;
  border-right: 0;
  padding: 0;
  padding-right: 0;
  justify-content: flex-start;
  transform: translateX(0);
}


    .topnav__layout{
      grid-template-columns: 1fr auto;
      align-items: center;
      column-gap: 12px;
      min-height: 66px;
    }
    .brand-logo{
      width: auto;
      height: 56px;
      max-width: 160px;
    }

    .topnav__right{
      display: block;
    }

    .topnav__top{
      min-height: 66px;
      padding-left: 0;
      justify-content: flex-end;
    }

    .nav-login-top{
      display: none;
    }

    .topnav__divider{
      display: none;
    }

    .topnav__bottom{
      display:none;
    }

    .nav-actions-mobile{
      display:flex;
    }

    .hamburger{
      display:inline-flex;
    }
  }

  /* OFFCANVAS */
  #mobileNav.offcanvas{
    top: var(--nav-h) !important;
    height: calc(100dvh - var(--nav-h)) !important;
    background: rgba(255,255,255,.97) !important;
    color:#111827 !important;
    border-left: 1px solid rgba(17,24,39,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    --bs-offcanvas-padding-y: 0;
  }

  #mobileNav .offcanvas-body{
    padding: 14px !important;
    margin: 0 !important;
  }

  .mobile-nav .list-group{
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-nav .list-group-item{
    background: rgba(255,255,255,.78);
    border-color: rgba(17,24,39,.10);
    border-radius: 12px;
    padding: 12px 14px;
    color:#111827;
    font-size: 15px;
    font-family: "Montserrat", system-ui, sans-serif;
  }

  .mobile-nav .list-group-item:hover{
    background: rgba(17,24,39,.06);
    color:#111827;
  }

  .mobile-nav a{
    color:#111827;
    text-decoration:none;
  }

  .mobile-terapie-link{
    color: inherit;
    display: block;
  }

  .mobile-terapie-toggle{
    color: inherit;
    background: transparent;
    border: 0;
    line-height: 1;
  }

  .mobile-terapie-toggle:focus{
    box-shadow: none;
  }

  #mobileNav .btn{
    border-radius: 12px;
    padding: 12px 14px;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 15px;
  }

  #mobileNav .btn-light{
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
  }

  #mobileNav .btn-outline-light{
    background: #ffffff !important;
    border-color: rgba(17,24,39,.20) !important;
    color: #111827 !important;
  }

  #mobileNav .btn-outline-light:hover{
    background: rgba(17,24,39,.06) !important;
  }

  /* FOOTER */
  .site-footer{
    background:#ffffff;
    color:#4b5563;
    border-top:1px solid rgba(0,0,0,.06);
    position: relative;
    z-index: 1;
  }

  .site-footer__inner{
    width:min(100%,1216px);
    margin:0 auto;
    padding:36px 28px 18px;
  }

  .site-footer__grid{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,.8fr));
    gap:32px;
  }

  .site-footer__brand{
    width: 100%;
  }

  .site-footer__brandmark,
  .site-footer__heading{
    margin:0 0 14px;
    color:#2b5c63;
    font-size:15px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
  }

  .site-footer__description{
margin: 0 0 5px;
color: #46525e;
font-size: 14px;
line-height: 1.7;
  }

  .site-footer__person{
    display:grid;
    gap:4px;
  }

  .site-footer__person strong{
    color:#1f1f1f;
    font-size:15px;
    font-weight:700;
  }

  .site-footer__person span{
    color:#5f6772;
    font-size:14px;
    line-height:1.5;
  }

  .site-footer__links{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:4px;
  }

  .site-footer__links a{
    color:#2e0d8e;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
    text-decoration:none;
    transition:color .18s ease,opacity .18s ease;
  }

  .site-footer__links a:hover{
    color:#f8a13a;
    opacity:1;
    text-decoration:none;
  }

  .site-footer__bar{
    margin-top:28px;
    padding-top:16px;
    border-top:1px solid rgba(0,0,0,.08);
    color:#66707b;
    font-size:13px;
    line-height:1.6;
  }

  @media (max-width: 900px){
    .site-footer__inner{
      padding:32px 18px 18px;
    }

    .site-footer__grid{
      grid-template-columns:1fr;
      gap:24px;
    }
  }

  @media (max-width: 640px){
    .site-footer__brandmark,
    .site-footer__heading{
      font-size:14px;
    }

    .site-footer__description,
    .site-footer__person span,
    .site-footer__links a{
      font-size:13px;
    }
  }

  .site-footer .footer-title{
    font-size:12px;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:#6b7280;
    margin-bottom:6px;
  }

  .site-footer .footer-sub{
    font-size:12px;
    color:#6b7280;
    margin:0;
  }

  .site-footer a{
    color:inherit;
  }

  .site-footer a:hover{
    text-decoration:none;
  }

  @media (max-width: 900px){
    .site-footer{
      text-align:left;
    }
  }

  @media (max-width: 768px){
    .site-footer__inner{
      padding:30px 18px 18px;
    }

    .site-footer__grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px 16px;
    }

    .site-footer__brand,
    .site-footer__bar{
      grid-column:1 / -1;
    }

    .site-footer__brandmark,
    .site-footer__heading{
      margin-bottom:10px;
      font-size:14px;
    }

    .site-footer__description,
    .site-footer__person span,
    .site-footer__links a,
    .site-footer__bar{
      font-size:13px;
      line-height:1.45;
    }

    .site-footer__person{
      gap:3px;
    }

    .site-footer__bar{
      margin-top:20px;
      padding-top:14px;
    }
  }
  #jak-wyglada-spotkanie{
    scroll-margin-top: 180px;
  }
