/*
 * Telefon (<768 px), wszystkie podstrony: ten sam dolny pasek, stopka i typografia co na stronie głównej
 * i w wersji 5 na komputerze. Plik ładowany z media="(max-width: 767.98px)", więc nie dotyka komputera.
 */

/* Dolny pasek: Dojazd · Umów wizytę · Menu (przycisk Menu przenosi js/mobile-menu-bar.js). */
body.has-mobile-navigation {
    --mv5-bottom-clearance: calc(96px + env(safe-area-inset-bottom, 0px) + var(--mn-cookie-lift, 0px));
    padding-bottom: var(--mv5-bottom-clearance);
}
body.has-mobile-navigation:has(> footer.footer) { padding-bottom: 0; }
body.has-mobile-navigation .mn-bar {
    inset-inline: var(--mh-gutter, 12px);
    height: auto; gap: 8px; padding: 8px; border: 0; border-radius: 22px; background: #fff;
    backdrop-filter: none; box-shadow: 0 10px 30px rgba(34,48,51,.18);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}
body.has-mobile-navigation .mn-bar :is(.mn-drive,.mn-toggle) {
    display: flex; flex: 0 0 62px; width: 62px; height: 54px; min-height: 0; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; padding: 0; border: 0; background: #f1f5f5; color: #223033; border-radius: 16px;
    font: 500 11px/1.25 Poppins,sans-serif;
}
body.has-mobile-navigation .mn-bar .mn-icon { width: 20px; height: 20px; }
body.has-mobile-navigation :is(.mn-bar,.mn-sheet-footer) .mn-book {
    height: 54px; min-height: 0; gap: 10px; background: #2cc3ec; color: #062b33 !important; border-radius: 999px; font-size: 16.5px;
}
body.has-mobile-navigation .mn-backdrop:not([hidden]) { background: rgba(34,48,51,.45); }
body.has-mobile-navigation .mn-sheet:not([hidden]) { top: max(74px, env(safe-area-inset-top, 0px)); height: auto; max-height: none; border-radius: 28px 28px 0 0; }
body.has-mobile-navigation .mn-sheet-footer { padding: 10px 12px max(16px, env(safe-area-inset-bottom, 0px)); }
body.has-mobile-navigation .mn-sheet-footer button { width: auto; padding: 0 18px; border-radius: 999px; min-height: 54px; color: #223033; background: #f1f5f5; font-size: 15px; }
body.has-mobile-navigation .mn-sheet-footer button .mn-icon { width: 16px; height: 16px; }
body.has-mobile-navigation :is(.back-top,.el-backtop) { display: none !important; }
body.has-mobile-navigation .mn-bar button, body.has-mobile-navigation .mv5-footer-toggle { scroll-margin-block: 76px 110px; }

/* Nagłówek: 60 px, logo 40 px, chowa się przy przewijaniu w dół (js/mobile-menu-bar.js). */
body.has-mobile-navigation { --denti-tint: #eaf7fb; --denti-line: #dce5e4; }
body.has-mobile-navigation .header,
body.has-mobile-navigation .header__contener { height: 60px; min-height: 60px; }
body.has-mobile-navigation .header { background: rgba(255,255,255,.94); border-color: #e7eeee; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
body.has-mobile-navigation:not(.mn-open) .header.mh-away:not(:focus-within) { transform: translateY(-100%); }
body.has-mobile-navigation .header__contener { padding: 0 16px 0 14px; }
body.has-mobile-navigation .header .logo { height: 40px; width: auto; }
body.has-mobile-navigation .header .glow { position: static; width: auto; height: auto; padding: 0; margin: 0; background: none; }
body.has-mobile-navigation .header .glow a { position: static; display: flex; align-items: center; min-height: 44px; transform: none; margin: 0; padding: 0; }
body.has-mobile-navigation .header__contener__1 { height: auto; width: auto; }
body.has-mobile-navigation .mn-header-actions .mn-status { padding: 0 12px; font-size: 12.5px; }
body.has-mobile-navigation .mn-status:not(.is-open) { background: #fdf3e1; color: #6b4a12; }
body.has-mobile-navigation .mn-status:not(.is-open)::before { background: #e8a33a; }
@media (prefers-reduced-motion: reduce) {
    body.has-mobile-navigation .header { transition: none; }
}

/* Menu (arkusz): to samo na każdej podstronie. */
body.has-mobile-navigation .mn-sheet a, body.has-mobile-navigation .mn-sheet button { min-height: 44px; }
body.has-mobile-navigation .mn-scroll { padding: 4px 20px 20px; gap: 14px; }
body.has-mobile-navigation #mn-title { font-weight: 600; }
body.has-mobile-navigation .mn-search { min-height: 50px; padding: 0 14px; background: #f1f5f5; }
body.has-mobile-navigation .mn-shortcuts .mn-chip { color: #0d4a5a !important; background: var(--denti-tint); }
body.has-mobile-navigation .mn-sheet .mn-chip { min-height: 44px; padding: 0 14px; font-size: 13.5px; }
body.has-mobile-navigation .mn-urgent::before { background: #e0453a; }
body.has-mobile-navigation .mn-offer { margin-top: 4px; }
.mn-offer-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mn-sheet .mn-search-toggle:not([hidden]) {
    display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 0;
    border-radius: 999px; background: var(--denti-tint); color: #0d4a5a; font: 500 13px/1.3 Poppins,sans-serif;
}
.mn-search-toggle .mn-icon { width: 16px; height: 16px; }
.mn-offer-heading:has(.mn-search-toggle[aria-expanded="false"]) + .mn-search { display: none; }
body.has-mobile-navigation .mn-category { border-color: var(--denti-line); border-radius: 18px; background: #fff; }
body.has-mobile-navigation .mn-category-toggle { min-height: 58px; gap: 12px; padding: 8px 14px 8px 10px; font-size: 15.5px; font-weight: 600; }
body.has-mobile-navigation .mn-category-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--denti-tint); }

/* Stopka: petrol jak na stronie głównej, sekcje zwijane (js/mobile-menu-bar.js). */
body.has-mobile-navigation > footer.footer { margin-top: 0; padding: 28px 20px var(--mv5-bottom-clearance); background: #0f3a45; color: #e2f2f6; }
body.has-mobile-navigation .footer .mh-footer-logo { display: block; }
body.has-mobile-navigation .footer .mh-footer-logo img { display: block; width: auto; height: 48px; filter: brightness(0) invert(1); }
body.has-mobile-navigation .footer__contener { display: block; width: 100%; padding: 12px 0 0; margin: 0; }
body.has-mobile-navigation .footer__contener > div { width: 100%; padding: 0; border-bottom: 1px solid #798688; }
body.has-mobile-navigation .footer__contener > .footer__contener__social { border-bottom: 0; }
body.has-mobile-navigation .footer__contener__header:has(+ .mv5-footer-toggle),
body.has-mobile-navigation .footer .mv5-folded { display: none; }
body.has-mobile-navigation .mv5-footer-toggle {
    width: 100%; min-height: 52px; background: none; border: 0; padding: 0; display: flex; align-items: center;
    justify-content: space-between; color: #fff; font: 600 15px/1.4 Poppins,sans-serif; text-align: left; cursor: pointer;
}
body.has-mobile-navigation .mv5-footer-toggle::after { content: '+'; font-size: 20px; font-weight: 400; }
body.has-mobile-navigation .mv5-footer-toggle[aria-expanded=true]::after { content: '−'; }
body.has-mobile-navigation .mv5-footer-toggle:focus-visible { outline: 2px solid #b4ebf5; outline-offset: 2px; }
body.has-mobile-navigation .footer__contener__menu { padding-bottom: 8px; }
body.has-mobile-navigation .footer__contener__menu :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 0; color: #fff; font: inherit; font-size: 14.5px; }
body.has-mobile-navigation .footer-credits { margin-inline: 0; padding: 8px 0 14px; }
body.has-mobile-navigation .footer-credits a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/*
 * Strony usług: nagłówek jak w wersji 5 na komputerze. H1 i okruszki są w hero (bez szarego paska),
 * wyróżnienie w tytułach to Fraunces kursywą zamiast podkreślenia.
 */
body.has-mobile-navigation .service-content .sc-hero { padding-top: 18px; }
body.has-mobile-navigation .service-content :is(.sc-hero-grid,.sc-hero-text) > .sc-hero-copy { min-width: 0; max-width: 100%; }
body.has-mobile-navigation :is(.service-content .sc-hero-copy,.about-page .ab-hero-copy,.v5-patient-heading) .youarein { display: block; width: 100%; max-width: 100%; margin: 0 0 14px; padding: 0; background: transparent; }
body.has-mobile-navigation :is(.service-content .sc-hero-copy,.about-page .ab-hero-copy,.v5-patient-heading) .youarein__content {
    width: auto; min-height: 32px; margin: 0; padding: 0; justify-content: flex-start; flex-wrap: nowrap; gap: 8px;
    overflow-x: auto; scrollbar-width: none; white-space: nowrap; color: #526569; font-size: 12.5px; line-height: 1.4;
}
body.has-mobile-navigation :is(.service-content .sc-hero-copy,.about-page .ab-hero-copy,.v5-patient-heading) .youarein__content::-webkit-scrollbar { display: none; }
body.has-mobile-navigation :is(.service-content .sc-hero-copy,.about-page .ab-hero-copy,.v5-patient-heading) .youarein__content a { display: inline-flex; align-items: center; min-height: 32px; color: #0b6f8f; }
body.has-mobile-navigation :is(.service-content .sc-hero-copy,.about-page .ab-hero-copy,.v5-patient-heading) .youarein__content span { flex: 0 0 1px; height: 11px; border-right-color: #b9c6c7; }
body.has-mobile-navigation .service-content .sc-hero-title {
    margin: 0 0 18px; font-size: 32px; line-height: 1.14; font-weight: 600; letter-spacing: -.6px; color: #004050; text-wrap: balance;
}
body.has-mobile-navigation :is(.service-content,.about-page,.v5-patient-heading,.multicontent__faq) :is(.sc-highlight,.v5-title-accent) {
    background: none; text-decoration: none; color: #0b6f8f; font: italic 500 1em Fraunces, Georgia, serif; letter-spacing: 0;
}
body.has-mobile-navigation :is(.service-content .sc-dark,.service-content .sc-reviews-background,.about-page .ab-dark) :is(.sc-highlight,.v5-title-accent) { color: #c1f2fa; }
body.has-mobile-navigation .service-content .sc-dark .sc-hero-title { color: #fff; }

body.has-mobile-navigation .name-top.v5-patient-heading { height: auto; min-height: 0; padding: 0; border: 0; background: #fff; }
body.has-mobile-navigation .v5-patient-heading .name-top__content { position: static; height: auto; display: block; box-sizing: border-box; width: 100%; padding: 18px 20px 12px; text-align: left; }
body.has-mobile-navigation .v5-patient-heading h1 { margin: 0; padding: 0; color: #004050; font: 600 32px/1.14 Poppins,sans-serif; letter-spacing: -.6px; text-wrap: balance; }
body.has-mobile-navigation .v5-patient-heading h1::after { display: none; }
body.has-mobile-navigation .v5-patient-heading .youarein__content { font-weight: 400; }
body.has-mobile-navigation .multicontent__faq__name:has(.v5-title-accent) { text-decoration: none; }

body.has-mobile-navigation .v5-patient-heading ~ .wrapper { padding-inline: 20px; }
body.has-mobile-navigation.mobile-home .mh-score { color: #fff; }
body.has-mobile-navigation .youarein.youarein--article .youarein__content { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; overflow: visible; }
body.has-mobile-navigation .youarein.youarein--article .youarein__content a { min-height: 26px; display: inline-flex; align-items: center; }
body.has-mobile-navigation .youarein--article .youarein__content > span { display: none; }
body.has-mobile-navigation .article-crumb-current { max-width: 100%; overflow-wrap: anywhere; }
body.has-mobile-navigation :is(.sc-aftercare_intro,.sc-contact,.ab-hero):first-child { padding-top: 18px; }

/* O nas: ten sam nagłówek, nadtytuł i przyciski co strony usług. */
body.has-mobile-navigation .about-page .ab-hero .ab-eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: 1.7px; }
body.has-mobile-navigation .about-page .ab-title {
    margin: 0 0 18px; font-size: 32px; line-height: 1.14; font-weight: 600; letter-spacing: -.6px; color: #004050; text-wrap: balance;
}
body.has-mobile-navigation .about-page .ab-title .sc-highlight { display: inline; margin: 0; }
body.has-mobile-navigation .about-page .ab-button {
    min-height: 54px; padding: 13px 24px; border-width: 1px; border-radius: 999px; font: 600 15px/1.3 Poppins,sans-serif; letter-spacing: normal;
}
body.has-mobile-navigation .about-page .ab-button-primary { background: #2cc3ec; border-color: #2cc3ec; color: #004050; }
body.has-mobile-navigation .about-page .ab-button-secondary { border-color: #004050; color: #004050; }
body.has-mobile-navigation .about-page .ab-dark .ab-button-secondary { border-color: #a9c0cc; color: #fff; }

/* Jeden nagłówek podstrony (telefon): blog, FAQ, porady i dokumenty jak strony usług – nadtytuł, H1, wstęp. */
body.has-mobile-navigation .v5-patient-heading .v5-heading-eyebrow {
    margin: 0 0 14px; color: #004050; font: 600 13px/1.65 Poppins,sans-serif; letter-spacing: 1.7px; text-transform: uppercase;
}
body.has-mobile-navigation .v5-patient-heading .v5-heading-intro { margin: 18px 0 0; color: #4c5d60; font: 400 16px/1.8 Poppins,sans-serif; }
body.has-mobile-navigation .v5-patient-heading .name-top__content { padding-bottom: 24px; }

/* Nadtytuł zawsze w jednej linii (najdłuższy: „ZAMYKANIE SZPAR MIĘDZYZĘBOWYCH · KONIN”), więc H1 na każdej stronie na tej samej wysokości. */
body.has-mobile-navigation :is(.service-content .sc-hero-copy .sc-eyebrow,.about-page .ab-hero .ab-eyebrow,.v5-patient-heading .v5-heading-eyebrow) {
    font-size: 12px; line-height: 1.65; letter-spacing: 1.2px;
}
body.has-mobile-navigation .about-page .ab-hero .ab-intro { font-size: 16px; line-height: 1.8; }

/* Stopka: prawa zastrzeżone nad linią. */
body.has-mobile-navigation .footer-copyright { margin: 28px 0 0; color: #c7d2d4; font-size: 12px; line-height: 1.5; }
body.has-mobile-navigation .footer-copyright + .footer-credits { margin-top: 10px; }
/* Portrety lekarki i zespołu: bez zapisu z menu, przeciągania i menu długiego przytrzymania. */
.dc-protected-photo { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }

/* Bez pojedynczych słów w ostatnim wierszu. */
body.has-mobile-navigation :is(main,.service-content,.about-page,.footer) :is(p,li,dd,blockquote) { text-wrap: pretty; }
body.has-mobile-navigation .service-content :is(.sc-card,.sc-related,.sc-notice) p,
body .dc-consent-banner p { text-wrap: balance; }

/* Sekcje „Warto wiedzieć” na jasnym tle: biała karta informacyjna, jak ostrzeżenie obok. */
body.has-mobile-navigation .service-content .sc-soft .sc-info { background: #fff; border: 1px solid #cfe5eb; }
body.has-mobile-navigation .service-content .sc-soft .sc-info li > span { background: #e3f3f7; color: #165566; }

/* Dopracowanie telefonu (13.11): hierarchia nagłówków i przyciski na pełną szerokość. */
body.has-mobile-navigation .service-content .sc-option h3 { font-size: 23px; line-height: 1.25; }
body.has-mobile-navigation .service-content .pp-location-grid .sc-button { display: flex; width: 100%; }
