/*
Theme Name: CM Judyta
*/

:root {
  --green: #b1ca27;
  --blue:  #2364ac;
}

.accordion-body h2, .accordion-body h3{
	font-size:19px
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  color: #494949;
  font-size:16px;
  line-height:26px
}

.wow {
  visibility: hidden;
}

.nav-container {
  padding-left: 100px;
  padding-right: 100px;
}


.navbar-main {
  background: #fff;
  padding: 24px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-main.scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.13);
}

.nav-logo {
  height: 52px;
  width: auto;
  transition:.3s
}

.scrolled .nav-logo {
  height: 50px;
  width: auto;
}

.navbar-main .nav-link {
  color: #232323;
  font-weight: 500;
  padding: 8px 18px !important;
  position: relative;
  transition: color 0.25s;
}

.ssplayer_txt_wrapper {
    color: #555 !important;
    text-shadow: none !important;
}

.rht_banner_wrapper.ss_rht_b_opened {
    transform: translateX(0);
    opacity: 0.75;
    display: none !Important;
}

.sstemplate_1.rht_view_2.ssplayer_rht .ssplayer_content, .sstemplate_1.rht_view_2.ssplayer_rht .ssplayer_icon_pp_wrapper, .sstemplate_1.ssplayer_rht .ssplay_icon_bg_holder, .sstemplate_1.rht_view_1.ssplayer_rht .ssplayer_lang_wrapper, .sstemplate_1.rht_view_1.ssplayer_rht .ssplayer_text_wrapper, .sstemplate_1 .sslang_sel, .sstemplate_1 .ssvoice_sel, .sstemplate_1 .ssspeed_sel, .sstemplate_1.ssplayer_button, .sstemplate_1 .rht_speaker_wrapper, .sstemplate_1 .rht_icon_speaker_wrapper, .sstemplate_1 .rht_icon_speaker_wrapper, .sstemplate_1.ssplayer_full .ssplayer_pause .ssplayer_icon_pp, .sstemplate_1.sscontext_player .ssplayer_pause .ssplayer_icon_pp, .sstemplate_1 .ssplayer_wave, .sstemplate_1.ssplayer_circle .ssplayyer_icon_bg_holder, .sstemplate_1 .sstimeline_active, .sstemplate_1 .ss_title_vertical {
    background: none !important;
    border: 1px solid #555;
}

.sstemplate_9.ssplayer_wrapper.ssplayer_rht .ssplayer_icon_bg svg, .sstemplate_9.ssplayer_wrapper.ssplayer_rht .ssplayer_lang_wrapper svg, .sstemplate_9.ssplayer_wrapper.ssplayer_rht .ssplayer_text_wrapper svg, .sstemplate_9.ssplayer_wrapper.ssplayer_circle .ssplayer_icon_bg svg, .sstemplate_9.ssplayer_button .ssplayer_icon_pp_wrapper svg {
    color: #a2a2a2 !important;
}

.ssplayer_pause svg {
    color: #555 !important;
}

.ssplayer_button svg {
    color: #555 !important;
}

.ssplayer_wrapper.ssplayer_button .ssplayer_icon_pp {
    background-color: #555 !important;
}

.rht_icon_wrapper_element.gsp_ic_l.ss_rht_b_i_opened {
    display: none !important;
}

a {
  color:#2364ac
}

.navbar-main .nav-link:hover {
  color: var(--blue);
}

.navbar-main .nav-link.active {
  color: var(--green);
  font-weight: 600;
}

/* Podkreślenie aktywnej pozycji siedzi na ::before, bo ::after należy do
   strzałki rozwijanego menu (.dropdown-toggle Bootstrapa). Wcześniej oba
   trafiały na ten sam pseudoelement i przy aktywnej pozycji nadrzędnej
   strzałka znikała. */
.navbar-main .nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* Phone in navbar */
.nav-phone {
text-decoration: none;
    color: #232323;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 16px;
    font-weight: 400 !important;
    white-space: nowrap;
    transition: color 0.25s;
}

.nav-phone:hover {
  color: var(--green);
}

.nav-phone-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-phone-address {
  color: #6f7782;
  font-size: 12px;
  font-weight: 500;
  margin-top: 3px;
}

.nav-phone:hover {
  color: var(--green);
}

.nav-phone-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

/* Facebook w nawigacji */
.nav-social {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-social:hover,
.nav-social:focus {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.fupi_buttons button {
    border: 0px !important;
}

/* Language switcher */
.lang-btn {
  border: 0px solid #ccc;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.88rem;
  color: #333;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  transition: border-color 0.25s;
}

.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active {
  border-color: var(--green);
  background: #fff;
  color: #333;
  box-shadow: none;
}

.lang-switcher .dropdown-menu {
  min-width: 160px;
}

.lang-switcher .dropdown-item {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.lang-switcher .dropdown-menu {
  min-width: 160px;
}

.lang-switcher .dropdown-item {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.lang-switcher .dropdown-item:hover {
  color: var(--green);
  background: #f5f9e8;
}

/* Nav dropdown styled */
.nav-dropdown {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13) !important;
  padding: 14px 8px !important;
  min-width: 280px;
}

.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 8px 16px !important;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #2a2a2a !important;
  transition: background 0.18s, color 0.18s;
  font-weight:500
}

.nav-dropdown-item:hover {
  background: #f5f9e6 !important;
  color: #2a2a2a !important;
}

.nav-dd-ic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e0e8c0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  background: #fff;
  transition: background 0.18s, border-color 0.18s;
}

.nav-dropdown-item:hover .nav-dd-ic {
  background: #eef5cc;
  border-color: var(--green);
}

/* ---- Oznaczenie NFZ przy pozycji menu ---- */
.nav-nfz {
  width: 30px;
  height: auto;
  flex: 0 0 auto;
  margin-left: 7px;
  vertical-align: middle;
}

/* Pozycja trzeciego poziomu ma między ikoną a nazwą odstęp „gap”,
   znaczek NFZ ma trzymać się nazwy – stąd ujemna korekta. */
.nav-dd-nazwa {
  flex: 0 1 auto;
}

.nav-dropdown-item .nav-nfz {
  margin-left: -2px;
}

/* ---- Trzeci poziom menu ---- */
.nav-dd-has-sub {
  position: relative;
}

/* Strzałka rysowana przez .dropdown-toggle Bootstrapa – „auto” dosuwa ją
   do prawej krawędzi pozycji, bo .nav-dropdown-item jest flexem. */
.nav-dropdown-toggle::after {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dd-tekst {
  flex: 1 1 auto;
}

/* Ze znaczkiem NFZ nazwa nie rozpycha się – strzałkę i tak dosuwa
   „margin-left: auto” na ::after. */
.nav-dropdown-toggle:has(.nav-nfz) .nav-dd-tekst {
  flex: 0 1 auto;
}

.nav-dropdown--sub {
  margin: 0;
}

/* Pozycje trzeciego poziomu – nieco ciaśniej niż w menu nadrzędnym. */
.nav-dropdown--sub .nav-dropdown-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  gap: 9px;
}

/* Delikatna strzałka przed każdą pozycją trzeciego poziomu. */
.nav-dropdown--sub .nav-dropdown-item::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  flex: 0 0 auto;
  color: #c9d2da;
  transition: color 0.18s, transform 0.18s;
}

.nav-dropdown--sub .nav-dropdown-item:hover::before {
  color: var(--green);
  transform: translateX(2px);
}

@media (min-width: 992px) {
  .nav-dropdown--sub {
    /* -14px wyrównuje górę wysuwanej listy z górą menu nadrzędnego,
       które ma padding 14px. */
    top: -14px;
    left: 100%;
    right: auto;
  }

  .nav-dd-has-sub:hover > .nav-dropdown--sub,
  .nav-dd-has-sub:focus-within > .nav-dropdown--sub {
    display: block;
  }

  /* Brakuje miejsca po prawej – lista wysuwa się w drugą stronę. */
  .nav-dd-has-sub--lewo > .nav-dropdown--sub {
    left: auto;
    right: 100%;
  }
}

/* Rozwinięcie kliknięciem (mobile) */
.nav-dd-has-sub.is-open > .nav-dropdown--sub {
  display: block;
}

.nav-dd-has-sub.is-open > .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
  /* Podwójna klasa, bo dalsze reguły dla .nav-dropdown też mają !important
     i przy równej wadze wygrałyby jako późniejsze w pliku. */
  .nav-dropdown.nav-dropdown--sub {
    box-shadow: none !important;
    border-radius: 0 !important;
    border-left: 2px solid #eef1f6 !important;
    padding: 2px 0 2px 12px !important;
    margin: 2px 0 8px 18px;
    min-width: 0;
  }

  /* ---- Przewijanie rozwiniętego menu ----
     Navbar jest przypięty do góry ekranu (fixed-top), więc po rozwinięciu
     kilku podmenu dalsze pozycje wychodziły poza ekran i nie dało się do
     nich dojechać. Ograniczamy wysokość rozwinięcia do wolnego miejsca pod
     paskiem z logo i włączamy własne przewijanie.
     --cmj-nav-h (wysokość paska) ustawia skrypt z inc/nav-menu.php. */
  .navbar-main .navbar-collapse {
    max-height: calc(100vh - var(--cmj-nav-h, 70px) - 8px);
    max-height: calc(100dvh - var(--cmj-nav-h, 70px) - 8px);
  }

  /* Tylko po rozwinięciu – w trakcie animacji Bootstrap sam pilnuje
     overflow i suwak zdążyłby mrugnąć. */
  .navbar-main .navbar-collapse.show {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d7dee6 transparent;
  }

  .navbar-main .navbar-collapse.show::-webkit-scrollbar {
    width: 4px;
  }

  .navbar-main .navbar-collapse.show::-webkit-scrollbar-thumb {
    background: #d7dee6;
    border-radius: 4px;
  }
}

.nav-dd-footer {
  border-top: 1px solid #eeeeee;
  margin-top: 8px;
  padding-top: 8px;
}

.nav-dd-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s;
}

.nav-dd-footer a:hover {
  background: #f0f5ff;
}

/* ===================================================
   HERO SECTION
=================================================== */
.hero-section {
  display: flex;
  height: 100vh;
  background: #fff;
  position: relative;
  z-index: 1;
}

.subpage-intro-row p {
  padding-right:50px
}

.hero-left {
  width: 50%;
  display: flex;
  align-items: center;
  padding-top: 76px; /* navbar offset */
  flex-shrink: 0;
}

.hero-left-inner {
  padding: 40px 0px 40px 100px;
  width: 100%;
}

.hero-right {
  width: 50%;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
}

.hero-right img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Przenikające się zdjęcia hero – wszystkie w jednej komórce siatki,
   dzięki czemu wysokość wynika ze zdjęcia i nie trzeba jej podawać. */
.hero-slideshow {
  display: grid;
}

.hero-slideshow img {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slideshow img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img {
    transition: none;
  }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  display: block;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 80px;
  font-weight: 500;
  color: #343434;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-text {
  color: #555;
  max-width: 560px;
  margin-bottom: 44px;
}

/* Hero buttons */
.btn-hero-green,
.btn-hero-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn-hero-green {
  background: var(--green);
  color: #fff;
}

.btn-hero-green:hover {
  background: #7aa310;
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-blue {
  background: var(--blue);
  color: #fff;
}

.btn-hero-blue:hover {
  background: #142d59;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ic {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
}

/* Info bar */
.hero-info-bar {
  display: grid;
  grid-template-columns: 2fr auto 2fr auto 1fr;
  align-items: center;
  background: #f1f2f7;
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 44px;
}

.info-phone {
  display: flex;
  align-items: center;
  gap: 18px;
}

a {
  text-decoration:none
}

.info-phone-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 26px;
  flex-shrink: 0;
  background: none;
  width: auto;
  height: auto;
}

.info-phone-text small {
  display: block;
  font-size: 14px;
  font-weight:500;
  margin-bottom: 2px;
}

.info-phone-text strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
}

.info-address {
  display: block;
  font-size: 13px;
  color: #7a8494;
  margin-top: 2px;
}

.info-divider {
  width: 1px;
  height: 68px;
  background: #c2c9d1;
  margin: 0 24px;
  flex-shrink: 0;
}

.info-social small {
  display: block;
  font-size: 14px;
  font-weight:500;
  margin-bottom: 0px;
}

.social-ic {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aa310;
  background: transparent;
  text-decoration: none;
  font-size: 20px;
  transition: transform 0.2s, color 0.2s;
}

.social-ic:hover {
  color: #1260c4;
  transform: scale(1.15);
}

.social-ic.fb { color: var(--green); }
.social-ic.ig { color: #1877f2; }
.social-ic.yt { color: #1877f2; }

.wp-block-list li {
  margin-bottom:12px
}

.wp-block-list li ul.wp-block-list {
  margin-top:15px
}


/* ===================================================
   AKTUALNOŚCI
=================================================== */
section:not(.hero-section) {
  padding: 100px 0;
}

.news-section {
  background: #f4f6f9;
}

.news-container {
  padding-left: 100px !important;
  padding-right: 100px !important;
}

/* Header */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.news-header-left {
  flex: 1;
}

.news-eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.news-main-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a2233;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-line {
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 26px;
}

.news-lead {
  margin: 0;
}

.news-header-right {
  flex-shrink: 0;
  padding-bottom: 4px;
}

.btn-news-all {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 30px;
  padding: 11px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-news-all:hover {
  background: var(--blue);
  color: #fff;
}

/* Cards */
.news-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  color: inherit;
}

.news-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 600;
  color: #1a2233;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-date .fa-calendar-alt {
  color: var(--green);
  font-size: 12px;
}

.news-card-body {
  padding: 24px 20px 20px;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 8px;
  line-height: 1.45;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-more {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  transition: gap 0.2s;
}

.news-more .fa-arrow-right {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.2s;
}

.news-card:hover .news-more .fa-arrow-right {
  transform: translateX(4px);
}

.news-arrow-btn {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.news-card:hover .news-arrow-btn {
  background: var(--blue);
  transform: scale(1.1);
}

/* ===================================================
   LICZBY / STATYSTYKI
=================================================== */
.stats-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 50px !important;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(155, 180, 19, 0.91);
  z-index: 0;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 1;
  padding-left: 100px !important;
  padding-right: 100px !important;
}

.stat-item {
  text-align: center;
  padding: 20px 30px;
  border-right: 1px solid rgba(255,255,255,0.35);
  height: 100%;
}

.col-lg-3:last-child .stat-item {
  border-right: none;
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--green);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.subpage-content-text .wp-block-heading{
margin-bottom:25px;
color:#2364ac;
line-height:1.5
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.stat-desc {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  font-weight:500
}

/* ===================================================
   WYBRANE USŁUGI – kafelki na zdjęciu w paralaksie
   (tło i przyciemnienie jak w sekcji „Liczby”)
=================================================== */
.services-section {
  position: relative;
  background-image: url('img/cm-judyta-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(155, 180, 19, 0.91);
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
  padding-left: 100px !important;
  padding-right: 100px !important;
}

.services-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.services-eyebrow {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.services-title {
  color: #fff;
  font-size: 2.15rem;
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 22px;
}

/* Zielona kreska zniknęłaby na zielonym tle. */
.services-header .section-line {
  background: #fff;
}

.services-lead {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin: 0;
  font-weight: 500;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 34px 28px 30px;
  box-shadow: 0 18px 44px rgba(15, 35, 10, 0.16);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 35, 10, 0.22);
}

.service-card-ic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8e6;
  color: var(--green);
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: background 0.25s, color 0.25s;
}

.service-card:hover .service-card-ic {
  background: var(--green);
  color: #fff;
}

.service-card-title {
  color: #14214a;
  font-size: 1.16rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.service-card-desc {
  color: #505b68;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* „auto” wyrównuje przyciski w rzędzie, mimo różnej długości opisów. */
.service-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--blue);
  border-radius: 30px;
  padding: 10px 22px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.service-card-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* ===================================================
   DLACZEGO MY / FEATURES
=================================================== */
.features-section {
  background: #f3f6f9;
}

.features-container {
  padding-left: 100px !important;
  padding-right: 100px !important;
}

.features-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.features-header-left {
  flex: 1;
}

.features-header-right {
  flex-shrink: 0;
  padding-bottom: 4px;
}

.features-eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.features-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a2233;
  line-height: 1.2;
  margin-bottom: 24px;
}

.features-lead {
  margin-top: 24px;
  margin-bottom: 0;
}

.feature-card {
  background: #fff;
  border: 0px;
  border-radius: 16px;
  padding: 28px 24px 22px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.feature-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}

.feature-icon-wrap {
  width: 100px;
  height: 100px;
  background: #f3f7e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2.4rem;
  color: var(--blue);
  flex-shrink: 0;
}

.feature-body {
  flex: 1;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2233;
  line-height: 1.35;
}

.feature-sub {
  color: #444444;
  margin-top: 2px;
}

.feature-line {
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 18px;
}

/* ===================================================
   PARTNERZY
=================================================== */
.partners-section {
  background: #fff;
}

.partners-container {
  padding-left: 100px !important;
  padding-right: 100px !important;
}

.partners-header {
  text-align: center;
  margin-bottom: 48px;
}

.partners-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 14px;
}

.partners-header .section-line {
  margin: 0 auto;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.partner-item:hover {
  opacity: 1;
}

.partner-item img {
  max-height: 125px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s;
}

.partner-item:hover img {
  filter: grayscale(0%);
}

/* ===================================================
   PODSTRONA
=================================================== */
.nav-phone-icon-blue {
  background: var(--blue);
}

.subpage-main {
  background: #fff;
  overflow: hidden;
}

.subpage-container {
  padding-left: 100px !important;
  padding-right: 100px !important;
}

section.subpage-hero {
  box-sizing: border-box;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 110px 0 0px !important;
  background: #f4f9ff;
  position: relative;
  overflow: hidden;
}

/* Koło w lewym dolnym rogu nagłówka. */
.subpage-hero::after {
  content: '';
  position: absolute;
  left: -90px;
  bottom: -150px;
  width: 300px;
  height: 300px;
  background: #e3edfa;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Siatka kropek – przed łukiem zdjęcia, mniej więcej w połowie nagłówka. */
.subpage-hero::before {
  content: '';
  position: absolute;
  left: 40%;
  right: auto;
  top: 128px;
  width: 160px;
  height: 100px;
  opacity: 0.34;
  background-image: radial-gradient(#b8d2ed 1.6px, transparent 1.6px);
  background-size: 13px 13px;
  pointer-events: none;
  z-index:99
}



.subpage-hero-content {
  max-width: 760px;
  position: relative;
  z-index: 22;
}

.subpage-eyebrow,
.section-kicker {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.subpage-hero h1 {
  color: #14214a;
  font-size: 3.35rem;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 18px;
}

.subpage-hero p {
  max-width: 640px;
  color: #5d6a7d;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.subpage-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.subpage-hero-visual {
  position: relative;
  z-index: 2;
}

.subpage-hero-visual img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: 60% 30%;
  border-radius: 22px;
}

@media (min-width: 992px) {
  /* Zdjęcie wypełnia prawą część nagłówka i dochodzi do krawędzi ekranu.
     Kolumna, w której leży, zwija się do zera – szerokość tekstu wyznacza
     nadal col-md-6. Górne 80px to wysokość przyklejonego menu. */
  .subpage-hero-visual {
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 0;
    width: 52%;
  }

  /* Duży łuk po lewej stronie zdjęcia: promień poziomy to 34% szerokości,
     pionowy – cała wysokość, więc lewa krawędź jest jednym gładkim łukiem. */
  .subpage-hero-visual img,
  .subpage-hero-visual::after {
    border-radius: 34% 0 0 0 / 100% 0 0 0;
  }

  .subpage-hero-visual img {
    position: relative;
    z-index: 2;
    height: 100%;
  }

  /* Zielony brzeg łuku – ta sama figura przesunięta o 5px w lewo,
     spod zdjęcia wystaje tylko wąski pasek wzdłuż krzywizny. */
  .subpage-hero-visual::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -5px;
    right: 5px;
    background: var(--green);
    z-index: 1;
  }

  /* Koło na górze, na środku nagłówka – częściowo schowane za zdjęciem. */
  .subpage-hero-visual::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: #e3edfa;
    z-index: 0;
  }
}

.subpage-content-section,
.subpage-table-section,
.subpage-team-section {
  padding: 96px 0;
}

.subpage-table-section-light,
.subpage-team-section {
  background: #f4f6f9;
}

.subpage-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 58px;
  align-items: start;
}

.subpage-intro-text h2,
.subpage-section-header h2 {
  color: #1a2233;
  font-size: 2.15rem;
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 22px;
}

.subpage-intro-text p {
  max-width: 760px;
  color: #505b68;
  line-height: 1.75;
  margin-bottom: 18px;
}

.subpage-info-list {
  display: grid;
  gap: 16px;
}

.subpage-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(20,45,89,0.06);
}

.subpage-info-item > span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f3f7e8;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.subpage-info-item strong {
  display: block;
  color: #1a2233;
  font-size: 1rem;
  margin-bottom: 4px;
}

.subpage-info-item p {
  margin: 0;
  color: #566171;
  font-size: 0.9rem;
  line-height: 1.55;
}

.subpage-section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.subpage-table-wrap {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(20,45,89,0.07);
}

.subpage-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  margin: 0;
}

.subpage-table th,
.subpage-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #e8edf4;
  color: #343434;
  vertical-align: middle;
}

.subpage-table th {
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-table tbody tr:last-child td {
  border-bottom: 0;
}

.subpage-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.subpage-table td:first-child {
  font-weight: 700;
  color: #1a2233;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  min-width: 230px;
}

/* Custom premium table-pricing styling as requested */
#cennik {
  position: relative;
  overflow: hidden;
}

#cennik .subpage-container {
  position: relative;
  z-index: 2;
}

#cennik::after {
  content: '';
  position: absolute;
  top: 45px;
  right: 5%;
  width: 300px;
  height: 300px;
  background-image: url('img/sign.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.subpage-section-desc {
  max-width: 760px;
  color: #5d6a7d;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: -10px;
  margin-bottom: 40px;
}

.cennik-custom-container {
  margin: 0 auto;
}

.cennik-header-row {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #104ba1 0%, #1c5ba9 64%, #accb29 100%);
  border-radius: 12px;
  padding: 16px 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(16,75,161,0.08);
}

.cennik-header-row .cennik-col-divider {
  width: 1px;
  height: 28px;
  border-right: 1.5px dotted rgba(255, 255, 255, 0.35);
  margin: 0 20px;
  flex-shrink: 0;
}

.cennik-col-service {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
}

.cennik-header-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  margin-right: 14px;
  font-size: 16px;
  color: #fff;
}

.cennik-col-price {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
}

.cennik-col-price i {
  font-size: 1rem;
  opacity: 0.95;
  transform: rotate(90deg);
  margin-right: 6px;
}

.cennik-col-patient {
  flex: 0 0 26%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cennik-col-patient > i {
  font-size: 1.15rem;
}

.cennik-patient-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cennik-patient-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.cennik-patient-subtitle {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.cennik-item-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 28px;
  box-shadow: 0 8px 24px rgba(20, 45, 89, 0.03);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cennik-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 45, 89, 0.06);
}

.cennik-item-card .cennik-col-divider {
  width: 1px;
  height: 40px;
  border-right: 1.5px dotted #e1e9f0;
  margin: 0 20px;
  flex-shrink: 0;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f7e0; /* light lime-green background */
  color: #92b82c; /* custom theme green */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(146, 184, 44, 0.08);
}

.service-info {
  display: flex;
  flex-direction: column;
}

.service-info strong {
  color: #14214a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-info span {
  color: #798696;
  font-size: 0.86rem;
  margin-top: 3px;
}

.price-val-norm {
  font-size: 1.15rem;
  font-weight: 800;
  color: #14214a;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-val-pref {
  font-size: 1.25rem;
  font-weight: 800;
  color: #92b82c; /* theme green */
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.badge-taniej {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #8da411;
  background-color: #f1f6d3;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.doctor-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(20,45,89,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

/* Custom grafik table styling as requested (matching provided screen) */
#harmonogram {
  position: relative;
  overflow: hidden;
      background-color: #f4f9ff;
}


#harmonogram .subpage-container {
  position: relative;
  z-index: 2;
}

#harmonogram::after {
  content: '';
  position: absolute;
  top: 60px;
  right: 5%;
  width: 260px;
  height: 250px;
  background-image: url('img/kropeczki.png');
  background-size: 13px 13px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}



.grafik-table-wrap {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(20, 45, 89, 0.05);
  border: 1px solid #e2e8f0;
  overflow-x: auto; /* Zapewnia suwak poziomy przy szerokiej tabeli */
  margin-top: 10px;
}

.grafik-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  margin: 0;
}

.grafik-table th {
  background: #f8faf5; /* very soft ivory-green background for headers */
  color: #14214a;
  padding: 18px 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid #edf2f7;
  text-align: left;
}

.grafik-header-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.grafik-header-cell i {
  font-size: 0.95rem;
  color: #accb29; /* Light green calendar & user icons */
}

.grafik-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  color: #4a5568;
}

.grafik-table tbody tr:last-child td {
  border-bottom: none;
}

/* Doctors styling inside table */
.grafik-doctor-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.grafik-doctor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #edf2f7;
}

.grafik-doctor-info {
  display: flex;
  flex-direction: column;
}

.grafik-doctor-info strong {
  color: #14214a;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
}

.grafik-doctor-info span {
  font-size: 0.78rem;
  color: #718096;
  margin-top: 3px;
  font-weight: 500;
}

/* Hour tag badges */
.schedule-hour-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.schedule-hour-badge.color-lime {
  background-color: #f7faf0; /* very light lime */
  color: #7d9e18; /* medical green text */
}

.schedule-hour-badge.color-blue {
  background-color: #f0f7ff; /* very light blue */
  color: #1459b5; /* medical blue text */
}

.schedule-empty-hour {
  font-size: 1.15rem;
  font-weight: 500;
  color: #cbd5e0; /* light gray hyphen */
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 110px;
}

.doctor-card {
  height: 100%;
  background: #fff;
  border: 0px solid #e3e9f1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(20,45,89,0.12);
}

.doctor-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.doctor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.doctor-card:hover img {
  transform: scale(1.05);
}

.doctor-card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 83, 161, 0.78); /* Semi-transparent company blue */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

.doctor-card:hover .doctor-card-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(177, 202, 39, 0.3);
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.2s;
}

.doctor-card:hover .btn-read-more {
  transform: translateY(0);
}

.btn-read-more:hover {
  background: #9ab31c;
  color: #fff;
}

.doctor-card-body {
  padding: 24px;
}

.doctor-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.doctor-card p {
  color: var(--blue);
  font-size: 14px;
  line-height:23px;
  font-weight: 600;
  margin: 0;
}

/* ===================================================
   FUNDUSZE EUROPEJSKIE
=================================================== */
.eu-funds-section {
  padding:0px !important
}

.eu-funds-container {
padding:0px
}

.eu-funds-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #add6f4;
  border-top: 1px solid #e8ecf2;
  overflow: hidden;
}

.eu-funds-content {
  padding: 50px 80px 40px;
  background: linear-gradient(180deg, #add6f4 0%, #add6f4 100%);
}

.eu-funds-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 0px;
  margin-bottom: 22px;
}

.eu-funds-brand img {
  max-width:440px
}

.eu-funds-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #123983;
  color: #ffd334;
  font-size: 24px;
}

.eu-funds-content h2 {
  margin: 0 0 20px;
  color: #132c63;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 600;
}

.eu-funds-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.eu-funds-link:hover {
  color: var(--green);
  gap: 14px;
}

.eu-funds-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 58px;
  background: #fff;
}

.eu-funds-logos img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===================================================
   FOOTER
=================================================== */
.site-footer {
  color: #343434;
  font-size: 15px;
  line-height: 24px;
  position:relative
}

/* Split layout */
.footer-halves {
  display: flex;
}

.footer-half {
  width: 50%;
  flex-shrink: 0;
}

.footer-half--light {
  background: #fff;
  padding: 72px 80px 60px;
  border-top: 8px solid #b1ca27;
}

.footer-half--dark {
  background: #1153a1;
  padding: 72px 60px 60px;
  border-top: 8px solid #0b386d;
}

.footer-top {
  /* handled by halves */
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-desc {
  color: #555;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #343434;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social-ic:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #343434;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-half--dark .footer-heading {
  color: #fff;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 15px;
  color: #343434;
  font-size: 0.88rem;
}

.footer-half--dark .footer-list li {
  color: rgba(255,255,255,0.92);
}

.footer-list a {
  color: #343434;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-half--dark .footer-list a {
  color: rgba(255,255,255,0.92);
}

.footer-half--light .footer-list li {
  margin-bottom: 10px;
}

.footer-list a:hover,
.footer-links li:hover .footer-li-ic {
  color: var(--green);
}

.footer-li-ic {
  color: var(--green);
  font-size: 12px;
  margin-top: 7px;
  flex-shrink: 0;
}

.footer-half--dark .footer-li-ic {
  color: #fff;
}

/* Aktualnie otwarta strona w menu stopki */
.footer-links li.current-menu-item > a,
.footer-links li.current-menu-parent > a {
  color: var(--green);
  font-weight: 600;
}

.footer-address {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #343434;
  font-size: 0.9rem;
  line-height: 1.65;
  margin:25px 0px
}

.footer-half--dark .footer-address {
  color: rgba(255,255,255,0.85);
}

.footer-address strong {
  color: #343434;
}

.footer-half--dark .footer-address strong {
  color: #fff;
}

/* Adnotacja o godzinach otwarcia pod danymi placówki */
.footer-hours-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0px 0 0;
  padding-top: 0px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #343434;
  max-width:280px
}

.footer-half--dark .footer-hours-note {
  border-top-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}

.footer-hours-note .footer-li-ic {
  margin-top: 4px;
  font-size: 13px;
}

.footer-address-ic {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer bottom */
.footer-bottom-cell {
  padding: 28px 80px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
}

.footer-half--light.footer-bottom-cell {
  border-top: 1px solid #e8ecf2;
}

.footer-half--dark.footer-bottom-cell {
  color: rgba(255,255,255,0.65);
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-left: 60px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-kropeczki {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

/* ===================================================
   RESPONSIVE
=================================================== */

@media (max-width: 1650px) {

.navbar-main .nav-link {
    padding: 8px 13px !important;
}

.eu-funds-content h2 {
    font-size: 18px;
}

.eu-funds-logos {
    padding: 16px 40px;
}

section:not(.hero-section) {
  padding: 100px 0;
}

.nav-phone {
    gap: 9px;
}

.nav-phone-address {
    font-size: 11px;
}

}


@media (max-width: 1450px) {
  .nav-container { padding-left: 50px; padding-right: 50px; }
  .news-container { padding-left: 50px !important; padding-right: 50px !important; }
  .stats-container { padding-left: 50px !important; padding-right: 50px !important; }
  .services-container { padding-left: 50px !important; padding-right: 50px !important; }
  .features-container { padding-left: 50px !important; padding-right: 50px !important; }
  .partners-container { padding-left: 50px !important; padding-right: 50px !important; }
  .subpage-container { padding-left: 50px !important; padding-right: 50px !important; }

  .hero-left-inner { padding: 40px 0 40px 50px; }
  section:not(.hero-section) { padding: 100px 0; }
  section.subpage-hero { min-height: 410px; padding: 104px 0 38px; }
  .subpage-hero h1 { font-size: 3rem; }
  .subpage-hero-buttons { gap: 14px; }

.navbar-right.gap-5 {
    gap: 30px !important;
}

.footer-half--light {
    padding: 62px 52px 50px;
}

.footer-half--dark {
    padding: 62px 50px 40px;
}

.footer-bottom-cell {
    padding: 28px 50px;
}

.eu-funds-content {
    padding: 50px 50px 40px 50px;
}

.eu-funds-content h2 {
    font-size: 18px;
}

.eu-funds-brand img {
    max-width: 380px;
}

.hero-subtitle {
    font-size: 16px;
}

.navbar-main {
    padding: 18px 0;
}

.hero-info-bar {
    margin-top: 34px;
}

.hero-text {
    max-width: 510px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 64px;
}

.nav-phone {
    gap: 9px;
    font-size: 15.5px;
}

.nav-phone-address {
    letter-spacing: -0.4px;
}

.nav-logo {
    height: 48px;
}

.navbar-brand {
    margin-right: 10px;
}

    .navbar-main .nav-link {
        font-size: 15.5px;
    }

    .stat-number {
    font-size: 2.2rem;
}

}

@media (max-width: 1360px) {

    .navbar-main .nav-link {
        font-size: 15px !important;
    }

        .navbar-main .nav-link {
        padding: 8px 10px !important;
    }

}

@media (max-width: 1320px) {

.navbar-main .nav-link {
    padding: 8px 15px !important;
}


.navbar-right .nav-phone {
  display:none
}

.stat-item {
    padding: 20px 20px;
}

    .eu-funds-content h2 {
        font-size: 16px;
    }

    .eu-funds-brand img {
        max-width: 300px;
    }

}

@media (max-width: 1200px) {
  .hero-title { font-size: 2.8rem; }
  .hero-left-inner { padding: 40px 40px; }
  .subpage-hero h1 { font-size: 2.65rem; }
  .subpage-hero-buttons { margin-top: 26px; gap: 12px; }

  /* Compact cennik styles on small desktops / tablets */
  .cennik-header-row, .cennik-item-card {
    padding: 14px 18px;
  }
  .cennik-header-row .cennik-col-divider, .cennik-item-card .cennik-col-divider {
    margin: 0 12px;
  }
  .cennik-col-service {
    flex: 0 0 46%;
  }
  .cennik-col-price {
    flex: 0 0 22%;
  }
  .cennik-col-patient {
    flex: 0 0 28%;
  }
}

@media (max-width: 992px) {
  .hero-section { flex-direction: column; height: auto; min-height: 100vh; }
  .hero-left { width: 100%; padding-top: 76px; }
  .hero-left-inner { padding: 40px 30px; }
  .hero-right { width: 100%; height: 45vh; }
  .hero-title { font-size: 2.3rem; }
  section.subpage-hero { min-height: 0; padding: 108px 0 46px; }
  .subpage-hero h1 { font-size: 2.55rem; }
  .subpage-hero::before { left: auto; right: 24px; top: 96px; }
  .subpage-intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .eu-funds-panel { grid-template-columns: 1fr; }
  .eu-funds-logos { align-items: center; }
  .footer-halves { flex-direction: column; }
  .footer-half { width: 100%; }
  .footer-half--light { padding: 60px 40px 50px; }
  .footer-half--dark { padding: 60px 40px 50px; }
  .footer-bottom-cell { padding: 14px 40px; }
  .footer-half--dark.footer-bottom-cell { justify-content: flex-start; padding-left: 40px; }

.nav-dd-footer {
  display:none
}

}

@media (max-width: 768px) {
  .nav-container { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 2rem; }
  .hero-text { font-size: 0.92rem; }
  .hero-buttons { flex-direction: column; }
  .btn-hero-green,
  .btn-hero-blue { justify-content: center; }

.navbar-right .nav-phone {
  display:flex
}

  /* Grafik na mobile – tabela rozkłada się na kafelki: nagłówek kafelka to
     zdjęcie i nazwisko lekarza, a pod nim lista dni z godzinami przyjęć.
     Nazwy dni biorą się z atrybutu data-dzien, bo <thead> jest ukryty. */
  .grafik-table-wrap {
    border-radius: 12px;
    overflow-x: visible; /* kafelki mieszczą się na ekranie – suwak zbędny */
  }
  .grafik-table {
    min-width: 0;
    display: block;
  }
  .grafik-table thead {
    display: none;
  }
  .grafik-table tbody {
    display: block;
  }
  .grafik-table tr {
    display: block;
    padding: 14px;
    border-bottom: 1px solid #e8eef6;
  }
  .grafik-table tr:last-child {
    border-bottom: none;
  }
  .grafik-table td {
    display: block;
    padding: 0;
    border-bottom: none;
  }

  /* Wiersz 1 kafelka – lekarz */
  .grafik-table .grafik-doctor-td {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef3f9;
  }
  .grafik-doctor-cell {
    gap: 10px;
  }
  .grafik-doctor-avatar {
    width: 42px;
    height: 42px;
    border-width: 1px;
  }
  .grafik-doctor-info strong {
    font-size: 0.86rem;
    line-height: 1.25;
  }
  .grafik-doctor-info span {
    font-size: 0.7rem;
    margin-top: 2px;
  }

  /* Wiersz 2 kafelka – dni tygodnia i godziny */
  .grafik-table .grafik-dzien-td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
  }
  .grafik-table .grafik-dzien-td::before {
    content: attr(data-dzien);
    flex: 0 0 auto;
    color: #14214a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .grafik-table .grafik-dzien-td + .grafik-dzien-td {
    border-top: 1px dotted #eef3f9;
  }
  .schedule-hour-badge {
    padding: 5px 9px;
    font-size: 0.72rem;
    border-radius: 6px;
    white-space: nowrap;
  }
  .schedule-empty-hour {
    width: auto;
    max-width: none;
    font-size: 0.95rem;
    line-height: 1;
  }

  /* Mobile cennik styles */
  .cennik-header-row {
    display: none;
  }
  .cennik-item-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
  }
  .cennik-item-card .cennik-col-divider {
    display: none;
  }
  .cennik-col-service {
    width: 100%;
    flex: 1 1 100%;
  }
  .cennik-col-price {
    width: 100%;
    flex: 1 1 100%;
    justify-content: space-between;
    border-bottom: 1.5px dotted #e1e9f0;
    padding-bottom: 12px;
  }
  .cennik-col-price::before {
    content: 'Cena standardowa:';
    font-weight: 700;
    color: #798696;
    font-size: 0.9rem;
  }
  .cennik-col-patient {
    width: 100%;
    flex: 1 1 100%;
    justify-content: space-between;
    padding-top: 4px;
    gap: 0;
  }
  .cennik-col-patient::before {
    content: 'Cena dla pacjenta POZ:';
    font-weight: 700;
    color: #798696;
    font-size: 0.9rem;
  }
  .hero-info-bar { grid-template-columns: 1fr; gap: 16px; padding: 18px; row-gap: 16px; }
  .info-phone { justify-content: flex-start; }
  .info-divider { width: 100%; height: 1px; margin: 0; }
      .navbar-main {
        padding: 5px 0;
    }

.nav-dd-ic {
    width: 28px;
    height: 28px;
    font-size: 13px;
}

.nav-dropdown {
    padding: 8px 0px !important;
}

.nav-dropdown-item {
    gap: 10px;
    padding: 5px 12px !important;
}

        .navbar-main .nav-link {
            padding: 6px 12px !important;
        }

.info-phone-ic {
    font-size: 20px;
}

.news-section {
  padding-top:37px !important
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    font-size: 20px;
}

.stat-number {
    font-size: 2.2rem;
}

.hero-right {
  background-color:#f4f6f9
}

body {
    font-size: 15px;
    line-height: 25px;
}

    .hero-info-bar {
        margin-top: 15px;
    }

        .news-main-title {
        font-size: 26px;
        font-weight: 600;
        line-height:36px;
    }

.stats-section {
    padding: 35px 15px !important;
}

.features-header {
          flex-direction: column;
        align-items: flex-start;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;

}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.navbar-toggler, 
.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none !important;
    border-color: transparent !important;
    outline: none !important;
}

.navbar-right {
    padding-bottom: 25px;
  padding-left:12px;
  align-items: flex-start !important;
  flex-direction: column;
  gap: 16px !important;
}

.hero-right {
  margin-bottom: -40px;
}

.subpage-content-section,
.subpage-table-section,
.subpage-team-section {
  padding: 64px 0;
}

.subpage-intro-text h2,
.subpage-section-header h2 {
  font-size: 1.85rem;
}

#cennik::after {
  display:none !important
}

}

@media (max-width: 576px) {
.hero-title {
        font-size: 34px;
        line-height: 44px;
    }
        .hero-subtitle {
        font-size: 13px;
    }
  .hero-left-inner { padding: 30px 20px; }
  .hero-right { height: auto; }
  section:not(.hero-section) { padding: 50px 0; }
  .news-container { padding-left: 20px !important; padding-right: 20px !important; }
  .stats-container { padding-left: 20px !important; padding-right: 20px !important; }
  .services-container { padding-left: 20px !important; padding-right: 20px !important; }
  .features-container { padding-left: 20px !important; padding-right: 20px !important; }
  .features-title { font-size: 1.8rem; }
  .services-title { font-size: 1.8rem; }
  .services-header { margin-bottom: 30px; }
  .partners-container { padding-left: 20px !important; padding-right: 20px !important; }
  .subpage-container { padding-left: 20px !important; padding-right: 20px !important; }
  section.subpage-hero { min-height: 0; padding: 120px 0 36px !important; }
  .subpage-hero h1 { font-size: 2rem; }
  .subpage-hero p { font-size: 0.95rem; }
  .subpage-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }
  .subpage-hero-buttons .btn-hero-green,
  .subpage-hero-buttons .btn-hero-blue {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .subpage-info-item { padding: 18px; }
  .subpage-table th,
  .subpage-table td { padding: 15px 16px; }
  .doctor-card-body { padding: 20px; }
  .eu-funds-container { padding-left: 0px !important; padding-right: 0px !important; }
  .eu-funds-content { padding: 30px 25px; }
  .eu-funds-brand { font-size: 1.05rem; margin-bottom: 20px; padding: 0px; }
  .eu-funds-mark { width: 46px; height: 46px; }
  .eu-funds-content h2 { font-size:15px; }
  .eu-funds-logos { padding: 20px 16px; }
  .footer-container { padding-left: 20px !important; padding-right: 20px !important; }
  .footer-half--light { padding: 50px 30px 40px; }
  .footer-half--dark { padding: 50px 30px 40px; }
  .footer-bottom-cell { padding: 14px 30px; }
  .footer-half--dark.footer-bottom-cell { padding-left: 30px; justify-content: flex-start; }
  .footer-bottom .footer-container { flex-direction: column; text-align: center; }
  .news-main-title { font-size: 1.8rem; }
  .news-header { flex-direction: column; align-items: flex-start; }

  .stat-item { border-right: none; border-bottom: 1px solid #e8ecf2; }
  .col-lg-3:last-child .stat-item { border-bottom: none; }
}

/* ===================================================
   ZESPÓŁ – kafelki i podstrona specjalisty
=================================================== */
.doctor-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.doctor-card-link:hover,
.doctor-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.doctor-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f0f8;
  color: #b6c7db;
  font-size: 3.2rem;
}

/* Grafiki dyżurów – tytuł nad tabelą, odstępy między kilkoma grafikami */
.grafik-block + .grafik-block {
  margin-top: 52px;
}

.grafik-title,
.cennik-title {
  color: #14214a;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cennik-title {
  margin-bottom: 16px;
}

.grafik-title::before,
.cennik-title::before {
  content: '';
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--green);
  flex-shrink: 0;
}

.grafik-doctor-avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f0f8;
  color: #b6c7db;
  font-size: 1.1rem;
}

/* Kafelek specjalisty bez opisu – nieklikalny, bez efektów sugerujących link */
.doctor-card--plain {
  cursor: default;
}

.doctor-card--plain:hover {
  transform: none;
  box-shadow: 0 14px 38px rgba(20, 45, 89, 0.07);
}

.doctor-card--plain:hover img {
  transform: none;
}

/* Kafelek z przyciskiem „Umów wizytę” – przycisk trzyma się dołu, żeby
   kafelki w rzędzie kończyły się na tej samej wysokości. */
.doctor-card--zapisy {
  display: flex;
  flex-direction: column;
}

.doctor-card--zapisy .doctor-card-link {
  flex: 1 1 auto;
}

.doctor-card--zapisy .doctor-card-img-wrapper {
  flex-shrink: 0;
}

.doctor-card--zapisy .doctor-card-body {
  padding-bottom: 16px;
}

.doctor-card-actions {
  margin-top: auto;
  padding: 0 24px 24px;
}

.btn-doctor-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-doctor-appointment:hover,
.btn-doctor-appointment:focus {
  background: #1a4f8b;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 100, 172, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .doctor-card-actions {
    padding: 0 20px 20px;
  }
}

/* ===================================================
   STRONA „ZESPÓŁ” – grupy stanowisk
=================================================== */

/* Skróty do kategorii nad listą zespołu */
.zespol-kategorie {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.zespol-grupa + .zespol-grupa {
  margin-top: 64px;
}

/* Kotwica z menu nie może chować tytułu pod przypiętym paskiem nawigacji. */
.zespol-grupa {
  scroll-margin-top: 110px;
}

.zespol-grupa-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 26px;
}

.zespol-grupa-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #14214a;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.zespol-grupa-title::before {
  content: '';
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: var(--green);
  flex-shrink: 0;
}

/* Opis kategorii przechodzi do własnego wiersza pod tytułem. */
.zespol-grupa-desc {
  flex: 1 1 100%;
  max-width: 760px;
  margin: 0;
  color: #505b68;
  line-height: 1.7;
  font-size: 0.95rem;
}

.zespol-pusto {
  margin: 0;
  color: #505b68;
  line-height: 1.8;
}

@media (max-width: 767.98px) {
  .zespol-grupa + .zespol-grupa {
    margin-top: 46px;
  }

  .zespol-grupa-title {
    font-size: 1.25rem;
  }

  .zespol-kategorie {
    gap: 12px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .zespol-kategorie {
    flex-direction: column;
  }

  .zespol-kategorie a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.specialist-hero .subpage-hero-content {
  max-width: 640px;
}

.subpage-hero p.specialist-role {
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 700;
}

.specialist-photo {
  position: relative;
  z-index: 2;
  text-align: right;
}

.specialist-photo img,
.specialist-photo .doctor-card-placeholder {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(20, 45, 89, 0.16);
  display: inline-block;
}

.specialist-photo .doctor-card-placeholder {
  aspect-ratio: 4 / 3;
  margin-left: auto;
}

.specialist-bio {
  max-width: 900px;
  color: #5d6a7d;
  font-size: 1.02rem;
  line-height: 1.8;
}

.specialist-bio h2,
.specialist-bio h3,
.specialist-bio h4 {
  color: #1a2233;
  font-weight: 800;
  margin: 30px 0 14px;
}

.specialist-bio h2 { font-size: 1.6rem; }
.specialist-bio h3 { font-size: 1.3rem; }
.specialist-bio h4 { font-size: 1.1rem; }

.specialist-bio p {
  margin-bottom: 18px;
}

.specialist-bio ul,
.specialist-bio ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.specialist-bio li {
  margin-bottom: 8px;
}

.specialist-bio a {
  color: var(--blue);
  font-weight: 600;
}

.specialist-bio img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .specialist-photo {
    text-align: center;
    margin-top: 10px;
  }
  .specialist-photo img,
  .specialist-photo .doctor-card-placeholder {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .grafik-title { font-size: 1.08rem; }
  .grafik-block + .grafik-block { margin-top: 38px; }
}

/* ===================================================
   CENNIK – kilka cenników, szczegóły usługi w popupie
=================================================== */
.cennik-block + .cennik-block {
  margin-top: 52px;
}

/* Cennik bez kolumny „Cena dla pacjenta POZ” – dwie kolumny na całą szerokość */
@media (min-width: 769px) {
  .cennik-block--nopoz .cennik-col-service {
    flex: 0 0 68%;
  }
  .cennik-block--nopoz .cennik-col-price {
    flex: 0 0 28%;
  }
}

.price-val-empty {
  font-size: 1.15rem;
  font-weight: 500;
  color: #cbd5e0;
}

.cennik-details-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.cennik-details-link:hover {
  color: #142d59;
}

.cennik-details-link i {
  font-size: 0.85rem;
  color: var(--green);
}

.cennik-modal .modal-content {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(20, 45, 89, 0.22);
}

.cennik-modal .modal-header {
  border-bottom: 1px solid #eef2f7;
  padding: 20px 24px;
}

.cennik-modal .modal-title {
  color: #14214a;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}

.cennik-modal .modal-body {
  padding: 20px 24px 26px;
  color: #5d6a7d;
  font-size: 0.98rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .cennik-title { font-size: 1.08rem; }
  .cennik-block + .cennik-block { margin-top: 38px; }
}

/* ===================================================
   PODSTRONA – sekcja treści (nagłówek z lewej, tekst z prawej)
=================================================== */
.subpage-content-aside {
  position: sticky;
  top: 120px;
}

.subpage-content-aside h2 {
  color: #1a2233;
  font-size: 2.15rem;
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 22px;
}

.subpage-content-photo {
  margin-top: 6px;
}

.subpage-content-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 45, 89, 0.12);
  display: block;
}

/* Podpis pod zdjęciem w sekcji opisu */
.opis-foto-sub {
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 23px;
    color: #0b386d;
    font-weight: 500;
    letter-spacing: .4px;
}

.opis-foto-sub p:last-child {
  margin-bottom: 0;
}

.subpage-content-text {
max-width: 880px;
    padding-left: 80px;
    padding-top: 45px;
}

.subpage-content-text p {
  margin-bottom: 20px;
}

.subpage-content-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .subpage-content-aside {
    position: static;
  }
  .subpage-content-aside h2 {
    font-size: 1.85rem;
  }
  .subpage-content-photo {
    max-width: 420px;
  }
  .opis-foto-sub {
    max-width: 420px;
  }
  .subpage-content-text {
    max-width: none;
        padding-left: 0px;
    padding-top: 0px;
  }
}

/* Listy w treści opisu – zielone znaczniki zamiast kropek */
.subpage-content-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 30px;
}

.subpage-content-text ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
}

.subpage-content-text ul li:last-child {
  margin-bottom: 0;
}

.subpage-content-text ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.subpage-content-text ul ul {
  margin: 14px 0 0;
}

.subpage-content-text ul ul li::before {
  background: #d7e58a;
  color: #5d7010;
}

/* ===================================================
   ACCORDION POD TREŚCIĄ PODSTRONY (repeater ACF)
=================================================== */
.subpage-accordion {
  margin-top: 0px;

  /* Bootstrap 5.3 steruje wyglądem accordiona zmiennymi – wystarczy je podmienić. */
  --bs-accordion-border-color: #e2e8f0;
  --bs-accordion-border-radius: 12px;
  --bs-accordion-inner-border-radius: 11px;
  --bs-accordion-btn-padding-x: 22px;
  --bs-accordion-btn-padding-y: 18px;
  --bs-accordion-btn-color: #14214a;
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(35, 100, 172, 0.16);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232364ac'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: var(--blue);
  --bs-accordion-body-padding-x: 22px;
  --bs-accordion-body-padding-y: 20px;
}

.subpage-accordion .accordion-item {
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 45, 89, 0.05);
  overflow: hidden; /* przycina rogi także w środkowych pozycjach */
}

.subpage-accordion .accordion-item + .accordion-item {
  margin-top: 12px;
  border-top: 1px solid var(--bs-accordion-border-color); /* odstęp rozdziela ramki */
}

/* Odstęp między pozycjami znosi zlepianie rogów – każda pozycja jest zaokrąglona. */
.subpage-accordion .accordion-item:first-of-type,
.subpage-accordion .accordion-item:last-of-type,
.subpage-accordion .accordion-item {
  border-radius: var(--bs-accordion-border-radius);
}

.subpage-accordion .accordion-header {
  margin: 0;
}

.subpage-accordion .accordion-button {
  border-radius: var(--bs-accordion-border-radius);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  gap: 14px;
  transition: background 0.2s, color 0.2s;
}

/* Rozwinięta pozycja: dolne rogi przylegają do treści, więc zostają proste. */
.subpage-accordion .accordion-button:not(.collapsed) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.subpage-accordion .accordion-button:hover {
  background: #f4f8fd;
}

.subpage-accordion .accordion-button:not(.collapsed):hover {
  background: #1c5495;
}

.subpage-accordion .accordion-button::after {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.subpage-accordion .accordion-body {
  color: #4a5568;
}

.subpage-accordion .accordion-body > *:first-child {
  margin-top: 0;
}

.subpage-accordion .accordion-body > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .subpage-accordion {
    margin-top: 30px;
    --bs-accordion-btn-padding-x: 16px;
    --bs-accordion-btn-padding-y: 15px;
    --bs-accordion-body-padding-x: 16px;
    --bs-accordion-body-padding-y: 16px;
  }
  .subpage-accordion .accordion-button {
    font-size: 0.95rem;
    gap: 10px;
  }
}

/* ===================================================
   AKTUALNOŚCI – lista, stronicowanie, pojedynczy wpis
=================================================== */
.subpage-news-section {
  padding: 96px 0;
  background: #f4f6f9;
}

.news-intro {
  max-width: 900px;
  margin-bottom: 48px;
}

.news-empty {
  color: #5d6a7d;
  font-size: 1.05rem;
}

.news-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f0f8;
  color: #b6c7db;
  font-size: 2.6rem;
}

/* Stronicowanie */
.cmj-pagination {
  margin-top: 56px;
}

.cmj-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmj-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1a2233;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cmj-pagination a.page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.cmj-pagination .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cmj-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  min-width: 24px;
  padding: 0;
}

.cmj-pagination .page-numbers i {
  font-size: 0.8rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pojedynczy wpis */
.post-hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.post-hero-inner h1 {
  color: #14214a;
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5d6a7d;
  font-size: 0.95rem;
  font-weight: 600;
}

.post-meta-item i {
  color: var(--green);
}

.post-article {
  max-width: 900px;
  margin: 0 auto;
}

.post-featured-img {
  margin-bottom: 44px;
}

.post-featured-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(20, 45, 89, 0.14);
  display: block;
}

.post-featured-img .news-img-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

.post-body {
  max-width: none;
}

.post-back {
  margin-top: 48px;
}

.subpage-related-section {
  padding: 96px 0;
  background: #f4f6f9;
}

@media (max-width: 991px) {
  .subpage-news-section,
  .subpage-related-section { padding: 64px 0; }
  .post-hero-inner h1 { font-size: 2.1rem; }
  .post-featured-img { margin-bottom: 32px; }
  .cmj-pagination { margin-top: 40px; }
}

/* ===================================================
   KONTAKT – placówki, mapy, adresy e-mail
=================================================== */
.kontakt-section {
  position: relative;
}

.kontakt-placowka {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(20, 45, 89, 0.08);
  overflow: hidden;
  scroll-margin-top: 130px;
}

.kontakt-placowka + .kontakt-placowka {
  margin-top: 44px;
}

.kontakt-placowka-row {
  min-height: 100%;
}

.kontakt-card {
  position: relative;
  height: 100%;
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
}

.kontakt-badge {
  position: absolute;
  top: 34px;
  right: 36px;
  color: #eaf0f8;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.kontakt-card-title {
  color: #14214a;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 26px;
  padding-right: 70px;
  position: relative;
}

.kontakt-card-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 16px;
}

/* Ikonka przy adresie / telefonie / e-mailu */
.kontakt-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf1fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}

.kontakt-ic--green {
  background: #f2f7e0;
  color: #7d9411;
}

.kontakt-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.kontakt-address-text {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  color: #5d6a7d;
  padding-top: 2px;
}

.kontakt-address-text strong {
  color: #1a2233;
  font-size: 1.02rem;
  font-weight: 700;
}

.kontakt-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid #eef2f7;
}

.kontakt-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.kontakt-list-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.kontakt-list-text a,
.kontakt-list-text strong {
  color: #14214a;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s;
}

.kontakt-list-text a:hover {
  color: var(--green);
}

.kontakt-list-text span {
  color: #6f7c8c;
  font-size: 0.86rem;
  margin-top: 3px;
}

.kontakt-list-item:hover .kontakt-ic {
  background: var(--green);
  color: #fff;
}

.kontakt-hours {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f6f9fc;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 30px;
}

.kontakt-hours-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.kontakt-hours-text > strong {
  color: #1a2233;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kontakt-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #5d6a7d;
  font-size: 0.9rem;
  line-height: 1.9;
}

.kontakt-hours-row b {
  color: #14214a;
  white-space: nowrap;
}

.kontakt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

/* Mapa Google */
.kontakt-map {
  height: 100%;
  min-height: 460px;
  background: #eaf0f7;
  position: relative;
}

.kontakt-map iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Kafelki z adresami e-mail */
.kontakt-mail-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  padding: 30px 26px;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(20, 45, 89, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.kontakt-mail-card:hover {
  transform: translateY(-4px);
  border-color: #d5e3f3;
  box-shadow: 0 18px 44px rgba(20, 45, 89, 0.12);
}

.kontakt-mail-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eaf1fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
  transition: background 0.25s, color 0.25s;
}

.kontakt-mail-card:hover .kontakt-mail-ic {
  background: var(--green);
  color: #fff;
}

.kontakt-mail-label {
  color: #14214a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.kontakt-mail-address {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5d6a7d;
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
  transition: color 0.25s;
}

.kontakt-mail-address i {
  color: var(--green);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.kontakt-mail-card:hover .kontakt-mail-address {
  color: var(--blue);
}

@media (max-width: 991px) {
  .kontakt-placowka + .kontakt-placowka { margin-top: 32px; }
  .kontakt-card { padding: 34px 28px; }
  .kontakt-card-title { font-size: 1.32rem; }
  .kontakt-badge { font-size: 2.8rem; top: 26px; right: 26px; }
  .kontakt-map { min-height: 340px; }
  .kontakt-actions { margin-top: 4px; }
}

@media (max-width: 576px) {
  .kontakt-card { padding: 28px 20px; }
  .kontakt-badge { display: none; }
  .kontakt-card-title { padding-right: 0; }
  .kontakt-map { min-height: 280px; }
  .kontakt-actions .btn-hero-green,
  .kontakt-actions .btn-hero-blue {
    width: 100%;
    justify-content: center;
  }
  .kontakt-mail-card { padding: 26px 22px; }
}

/* ===================================================
   ANKIETA SATYSFAKCJI
=================================================== */
.ankieta-section {
  background: #f4f6f9;
}

.ankieta-intro {
  max-width: 900px;
  padding-left: 0;
  padding-top: 0;
  margin: 0 auto 40px;
}

.ankieta-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.ankieta-sekcja {
  background: #fff;
  border-radius: 18px;
  padding: 34px 38px !important;
  margin-bottom: 26px;
  box-shadow: 0 16px 40px rgba(20, 45, 89, 0.07);
}

.ankieta-sekcja-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.ankieta-sekcja-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ankieta-sekcja-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
}

.ankieta-sekcja-desc {
  margin: 0 0 6px;
  color: #5d6a7d;
  font-size: 14px;
}

.ankieta-pole {
  padding: 22px 0 4px;
  border-top: 1px solid #eef1f6;
  margin-top: 18px;
}

.ankieta-sekcja-head + .ankieta-pole,
.ankieta-sekcja-desc + .ankieta-pole {
  border-top: 0;
  margin-top: 0;
}

.ankieta-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ankieta-label {
  display: block;
  float: none;
  width: auto;
  padding: 0;
  margin-bottom: 14px;
  font-weight: 600;
  color: #142d59;
  line-height: 24px;
  font-size:18px
}

.ankieta-opis {
  margin: 10px 0 0;
  font-size: 13px;
  color: #5d6a7d;
}

.ankieta-nieobowiazkowe {
  font-weight: 400;
  font-size: 13px;
  color: #8b95a5;
}

/* Pytanie bez odpowiedzi po kliknięciu „Prześlij” */
.ankieta-pole--blad {
  background: #fdf3f2;
  border-top: 0;
  border-radius: 12px;
  padding: 18px 16px 14px;
  margin-top: 19px;
}

.ankieta-blad {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #c0392b;
  font-size: 13.5px;
  font-weight: 600;
}

.ankieta-blad::before {
  content: '!';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Odpowiedzi do wyboru */
.ankieta-opcje {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ankieta-opcje--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.ankieta-opcja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  border: 1.5px solid #e3e8ef;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  font-size: 15px;
  line-height: 22px;
}

.ankieta-opcja:hover {
  border-color: var(--green);
}

.ankieta-opcja input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}

.ankieta-opcja:has(input:checked) {
  border-color: var(--green);
  background: rgba(177, 202, 39, 0.09);
}

.ankieta-opcja:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Skala z opisem każdego stopnia (1-5) – zawsze pięć kolumn w jednym rzędzie,
   również na telefonie. Kolumny zwężają się razem z ekranem, dlatego niżej
   zmniejszamy odstępy i czcionkę zamiast łamać rząd. */
.ankieta-oceny {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.ankieta-ocena {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  margin: 0;
  padding: 16px 12px;
  border: 1.5px solid #e3e8ef;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.ankieta-ocena:hover {
  border-color: var(--green);
}

.ankieta-ocena input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.ankieta-ocena-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.ankieta-ocena-opis {
  font-size: 13px;
  line-height: 18px;
  color: #5d6a7d;
  /* Długie słowa („zdecydowanie”) nie mogą rozpychać wąskiej kolumny. */
  overflow-wrap: break-word;
  hyphens: auto;
}

.ankieta-ocena:has(input:checked) {
  border-color: var(--green);
  background: rgba(177, 202, 39, 0.09);
}

.ankieta-ocena:has(input:checked) .ankieta-ocena-opis {
  color: #142d59;
}

.ankieta-ocena:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Skala ocen */
.ankieta-skala {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ankieta-skala-opis {
  flex: 0 1 170px;
  font-size: 13px;
  color: #5d6a7d;
  line-height: 18px;
}

.ankieta-skala-opis--high {
  text-align: right;
}

.ankieta-skala-opcje {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  flex: 1 1 auto;
}

.ankieta-skala-opcja {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.ankieta-skala-opcja input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}

.ankieta-skala-opcja span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #e3e8ef;
  border-radius: 12px;
  font-weight: 600;
  color: #142d59;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.ankieta-skala-opcja:hover span {
  border-color: var(--green);
}

.ankieta-skala-opcja:has(input:checked) span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.ankieta-skala-opcja:has(input:focus-visible) span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Pola tekstowe */
.ankieta-input {
  width: 100%;
  max-width: 420px;
  padding: 13px 18px;
  border: 1.5px solid #e3e8ef;
  border-radius: 12px;
  font-size: 15px;
  color: #142d59;
  background: #fff;
  transition: border-color .2s ease;
}

.ankieta-input:focus {
  border-color: var(--green);
  outline: none;
}

.ankieta-input--liczba {
  max-width: 140px;
}

.ankieta-textarea {
  max-width: none;
  resize: vertical;
  line-height: 24px;
}

/* Komunikaty i wysyłka */
.ankieta-bledy {
  background: #fdecec;
  border-left: 4px solid #c0392b;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 26px;
  color: #7d2019;
}

.ankieta-bledy ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.ankieta-info {
  font-size: 13px;
  color: #5d6a7d;
  margin: 0 0 22px;
}

.ankieta-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ankieta-submit-wrap {
  text-align: center;
  padding-bottom: 10px;
}

.ankieta-submit {
  border: 0;
  cursor: pointer;
  font-size: 16px;
  padding: 16px 42px;
}

.ankieta-podziekowanie {
  background: #fff;
  border-radius: 18px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(20, 45, 89, 0.07);
}

.ankieta-podziekowanie-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 30px;
  margin-bottom: 22px;
}

.ankieta-podziekowanie h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}

.ankieta-podziekowanie p {
  max-width: 560px;
  margin: 0 auto;
  color: #5d6a7d;
}

.ankieta-brak-wtyczki {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  color: #5d6a7d;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .ankieta-sekcja {
    padding: 28px 24px;
  }
  .ankieta-oceny {
    gap: 7px;
  }
  .ankieta-ocena {
    padding: 13px 7px;
    gap: 5px;
  }
  .ankieta-ocena-num {
    font-size: 17px;
  }
  .ankieta-ocena-opis {
    font-size: 12px;
    line-height: 16px;
  }
  .ankieta-skala {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ankieta-skala-opis {
    flex: 0 0 auto;
    text-align: left;
  }
  .ankieta-skala-opis--high {
    text-align: left;
  }
  .ankieta-skala-opcje {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .ankieta-sekcja {
    padding: 24px 18px;
  }
  .ankieta-sekcja-title {
    font-size: 1.15rem;
  }
  .ankieta-opcje--inline {
    flex-direction: column;
  }
  .ankieta-oceny {
    gap: 5px;
  }
  .ankieta-ocena {
    padding: 11px 4px;
  }
  .ankieta-ocena input {
    width: 15px;
    height: 15px;
  }
  .ankieta-ocena-num {
    font-size: 15px;
  }
  .ankieta-ocena-opis {
    font-size: 11px;
    line-height: 14px;
  }
  .ankieta-skala-opcja span {
    width: 42px;
    height: 42px;
  }
  .ankieta-submit {
    width: 100%;
    justify-content: center;
  }
  .ankieta-podziekowanie {
    padding: 44px 22px;
  }
}


/* ==========================================================================
   PRZYCISKI STICKY przy prawej krawędzi
   ========================================================================== */

.sticky-buttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ankieta-sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 9px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.ankieta-sticky:hover,
.ankieta-sticky:focus {
  color: #fff;
  background: var(--blue);
  padding-right: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.ankieta-sticky--ue {
  background: var(--blue);
}

.ankieta-sticky--ue:hover,
.ankieta-sticky--ue:focus {
  background: var(--green);
}

.ankieta-sticky-icon {
  font-size: 15px;
  line-height: 1;
}

.ankieta-sticky-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 767px) {
  .sticky-buttons {
    gap: 6px;
  }
  .ankieta-sticky {
    padding: 12px 7px;
    gap: 8px;
  }
  .ankieta-sticky-icon {
    font-size: 13px;
  }
  .ankieta-sticky-text {
    font-size: 10px;
    letter-spacing: 1px;
  }
}


/* ==========================================================================
   STOPKA – NEWSLETTER „KLUB PACJENTA” (Contact Form 7)
   ========================================================================== */

.footer-newsletter {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid #e8ecf2;
}

.footer-newsletter-desc {
  color: #555;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* CF7 dokleja własne akapity – zerujemy ich odstępy */
.footer-newsletter .wpcf7 form p {
  margin: 0;
}

.footer-newsletter .wpcf7-form-control-wrap {
  display: block;
}

/* Pole e-mail + przycisk w jednej linii */
.newsletter-fields {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 600px;
}

.newsletter-fields .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

/* Gdyby CF7 mimo wszystko wtrącił akapit lub łamanie linii */
.newsletter-fields p {
  display: contents;
}

.newsletter-fields br {
  display: none;
}

.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #e3e8ef;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #142d59;
  background: #fff;
  transition: border-color .2s ease;
}

.footer-newsletter input[type="email"]:focus {
  border-color: var(--green);
  outline: none;
}

.footer-newsletter input[type="email"].wpcf7-not-valid {
  border-color: #c0392b;
}

.footer-newsletter input[type="submit"] {
  flex-shrink: 0;
  padding: 13px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.footer-newsletter input[type="submit"]:hover {
  background: #7aa310;
  transform: translateY(-2px);
}

.footer-newsletter input[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Kręciołek CF7 zajmuje miejsce dopiero podczas wysyłki */
.newsletter-fields .wpcf7-spinner {
  width: 0;
  margin: 0;
  align-self: center;
  transition: width .2s ease, margin .2s ease;
}

.footer-newsletter form.submitting .wpcf7-spinner {
  width: 24px;
  margin-left: 10px;
}

/* Zgoda na przetwarzanie adresu e-mail */
.newsletter-consent {
  margin-top: 14px;
  max-width: 600px;
}

.newsletter-consent .wpcf7-list-item {
  margin: 0;
}

.newsletter-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6b7280;
  cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.newsletter-consent a {
  color: var(--blue);
  text-decoration: underline;
}

.newsletter-consent a:hover {
  color: var(--green);
}

/* Komunikaty CF7 */
.footer-newsletter .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: #c0392b;
}

.footer-newsletter .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-left: 4px solid var(--green) !important;
  border-radius: 8px;
  background: #f5f8e9;
  font-size: 0.82rem;
  line-height: 20px;
  color: #4a5a26;
}

.footer-newsletter form.invalid .wpcf7-response-output,
.footer-newsletter form.unaccepted .wpcf7-response-output,
.footer-newsletter form.payment-required .wpcf7-response-output,
.footer-newsletter form.failed .wpcf7-response-output,
.footer-newsletter form.aborted .wpcf7-response-output,
.footer-newsletter form.spam .wpcf7-response-output {
  border-left-color: #c0392b !important;
  background: #fdecec;
  color: #7d2019;
}

.footer-newsletter-brak {
  padding: 14px 18px;
  border-radius: 10px;
  background: #f4f6f9;
  font-size: 0.82rem;
  line-height: 20px;
  color: #5d6a7d;
}

@media (max-width: 1200px) {
  .newsletter-fields {
    flex-wrap: wrap;
  }
  .newsletter-fields .wpcf7-form-control-wrap {
    flex: 1 1 220px;
  }
}

@media (max-width: 576px) {
  .footer-newsletter {
    margin-top: 0px;
    padding-top: 0px;
  }
  .newsletter-fields {
    flex-direction: column;
    gap: 12px;
  }
  .newsletter-fields .wpcf7-form-control-wrap {
    width: 100%;
  }
  .footer-newsletter input[type="submit"] {
    width: 100%;
  }

      .newsletter-fields .wpcf7-form-control-wrap {
        flex: 0px;
    }

    .newsletter-consent {
    margin-top: 0px;
    max-width: 600px;
}

.footer-newsletter {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8ecf2;
}

}
