/* Aleksandra PA & Concierge – statyczna wersja strony (układ jak w motywie WordPress Jupiter) */

:root {
  --accent: #07ddc7;
  --accent-soft: #46ddce;
  --accent-dark: #05bac6;
  --text: #777777;
  --heading: #444444;
  --dark: #252525;
  --line: #919191;
  --grid: 1140px;
  --header-h: 220px;
  --sticky-h: 55px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.66em;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 20px; }
h1, h2 { margin: 0; }
[id] { scroll-margin-top: var(--sticky-h); }

/* ---------- Nagłówek ---------- */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  text-align: center;
  transition: background-color .3s, box-shadow .3s;
}
.header-logo {
  height: calc(var(--header-h) - 50px);
  display: flex; align-items: center; justify-content: center;
  transition: height .3s;
}
.header-logo img { max-height: 140px; width: auto; transition: max-height .3s; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.main-nav a {
  display: block;
  padding: 0 22px;
  line-height: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #222;
  position: relative;
}
/* hover w stylu „menu-hover-2”: kreska nad pozycją */
.main-nav a::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover, .main-nav a.is-current { color: var(--accent); }
.main-nav a:hover::before, .main-nav a.is-current::before { transform: scaleX(1); }

/* przyklejony nagłówek po przewinięciu */
.header.is-sticky {
  position: fixed;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  height: var(--sticky-h);
  animation: slideDown .3s ease;
}
.header.is-sticky .header-logo { height: var(--sticky-h); margin-right: 30px; }
.header.is-sticky .header-logo img { max-height: 40px; }
.header.is-sticky .main-nav a { line-height: var(--sticky-h); font-size: 14px; padding: 0 16px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 12px 10px;
}
.nav-toggle span { display: block; height: 2px; background: #222; margin: 4px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sekcje ze zdjęciem w tle ---------- */
.bg-section {
  width: 100%;
  min-height: 100vh;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero { background-position: center center; }
.parallax { background-attachment: fixed; }

/* ---------- Siatka ---------- */
.grid { max-width: var(--grid); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 50px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.col { padding: 0 20px; min-width: 0; }
.col-3 { width: 25%; }
.col-4 { width: 33.3333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.6667%; }
.col-9 { width: 75%; }
.col-12 { width: 100%; }
.pad-y { padding-top: 50px; padding-bottom: 50px; }
.pad-top { padding-top: 50px; }

/* ---------- Tytuł „ornamentalny” z krótkimi kreskami po bokach ---------- */
.ornamental {
  text-align: center;
  margin: 0 0 20px;
  padding-bottom: 50px;
  color: var(--heading);
  font-size: 38px;
  line-height: 44px;
  font-weight: 300;
}
.ornamental span { position: relative; display: inline-block; padding: 0 25px; }
.ornamental span::before,
.ornamental span::after {
  content: ""; position: absolute; top: 21.5px;
  width: 30px; border-top: 1px solid var(--heading);
}
.ornamental span::before { right: 100%; }
.ornamental span::after { left: 100%; }

/* ---------- Tekst ---------- */
.text { text-align: left; }
.text h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 1px;
  color: #404040;
  margin: 0 0 18px;
}
#omnie .col-9 { padding-bottom: 0; }
#omnie .col-3 { padding-bottom: 50px; }
.photo { margin-bottom: 10px; }
.photo.framed { border: 1px solid #e3e3e3; padding: 6px; background: #fff; }

/* ---------- Usługi ---------- */
.services .col { padding-top: 10px; padding-bottom: 10px; }
.services .bordered { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.services-first { margin-bottom: 20px; }
.services-last { margin-bottom: 100px; }

/* ---------- Przycisk „Zapytaj o ofertę” ---------- */
.button-row { text-align: center; padding: 50px 0 60px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 35px;
  border: 2px solid var(--dark);
  color: var(--dark);
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  transition: background-color .2s, color .2s;
}
.btn-outline svg { width: 16px; height: 16px; fill: currentColor; }
.btn-outline:hover { background: var(--dark); color: #fff; }

/* ---------- Kontakt ---------- */
.lead { text-align: center; margin-top: -40px; margin-bottom: 40px; }
.contact-form p { margin-bottom: 18px; }
.contact-form label { display: block; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #e3e3e3;
  background: #fdfdfd;
  font: inherit; color: #555;
  border-radius: 0;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .check { display: flex; gap: 8px; align-items: flex-start; }
.contact-form .check input { margin-top: 5px; }
.contact-form input[type=submit], .contact-form button[type=submit] {
  background: var(--accent); color: #fff; border: 0;
  padding: 12px 30px; font: inherit; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: opacity .2s, background-color .2s;
}
.contact-form input[type=submit]:hover:not(:disabled), .contact-form button[type=submit]:hover { background: var(--accent-dark); }
.contact-form input[type=submit]:disabled { opacity: .5; cursor: not-allowed; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-response { margin-top: 10px; font-weight: 600; }
.form-response.ok { color: #2a9d5c; }
.form-response.err { color: #c0392b; }

.contact-side { text-align: center; }
.contact-icon { margin: 4px; }
.contact-icon svg { width: 32px; height: 32px; fill: #444; }
.contact-side .tel { color: var(--text); }
.social { list-style: none; padding: 0; margin: 10px 0; display: flex; justify-content: center; }
.social a { display: block; margin: 10px; }
.social svg { width: 32px; height: 32px; fill: var(--accent-soft); transition: fill .2s; }
.social a:hover svg { fill: var(--accent-dark); }
.spacer { height: 60px; }

/* ---------- Opinie ---------- */
#opinie { padding-bottom: 80px; }
.testimonials { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonials .slides { list-style: none; margin: 0; padding: 0; display: grid; }
.testimonials .slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.testimonials .slide.is-active { opacity: 1; visibility: visible; }
.testimonials .quote {
  font-size: 18px; line-height: 1.7; font-style: italic; font-weight: 300;
  color: var(--text); margin-bottom: 20px;
}
.testimonials .author { color: var(--accent); font-weight: 700; font-size: 14px; }
.dots { list-style: none; padding: 0; margin: 30px 0 0; display: flex; justify-content: center; gap: 8px; }
.dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: #ccc; cursor: pointer; transition: background-color .2s;
}
.dots button.is-active, .dots button:hover { background: #444; }

/* ---------- Przyciski w rogu ---------- */
.corner-btns { position: fixed; right: 15px; bottom: 15px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.go-top, .quick-contact-link {
  width: 45px; height: 45px; border-radius: 3px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, opacity .3s, transform .3s;
}
.go-top:hover, .quick-contact-link:hover { background: rgba(0,0,0,.6); }
.go-top svg, .quick-contact-link svg { width: 16px; height: 16px; fill: #fff; }
.quick-contact-link svg { width: 20px; height: 20px; }
.go-top { opacity: 0; pointer-events: none; transform: translateY(10px); }
.go-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.quick-contact { position: relative; }
.quick-contact-box {
  position: absolute; right: 0; bottom: 60px; width: 280px;
  background: #fff; padding: 20px; box-shadow: 0 2px 15px rgba(0,0,0,.15);
  font-size: 13px; line-height: 1.5;
  display: none;
}
.quick-contact.is-open .quick-contact-box { display: block; }
.quick-contact-title { font-size: 18px; font-weight: 600; color: #444; margin-bottom: 10px; }
.contact-form.quick input[type=text], .contact-form.quick input[type=email], .contact-form.quick textarea { margin: 0 0 8px; padding: 8px 10px; }
.contact-form.quick textarea { height: 90px; resize: vertical; }
.contact-form.quick .check { font-size: 11px; margin-bottom: 10px; }
.contact-form.quick button[type=submit] { width: 100%; }

/* Przełącznik języków GTranslate (prawy górny róg, jak na oryginale) */
#gt-wrapper { position: fixed; top: 15px; right: 15px; z-index: 300; font-size: 12px; }
.gt_switcher_wrapper { position: static !important; }
#gt-wrapper a.glink { color: #333; margin-left: 4px; text-decoration: none; }
#gt-wrapper a.glink.gt-current-lang { font-weight: bold; color: var(--accent); }
/* ukrycie paska Google Translate */
.skiptranslate iframe, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }

/* ---------- Responsywność ---------- */
@media (max-width: 1024px) {
  .parallax { background-attachment: scroll; }
}
@media (max-width: 960px) {
  :root { --header-h: 90px; }
  .header, .header.is-sticky {
    position: fixed; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: space-between;
    height: 90px; padding: 0 15px; animation: none;
  }
  .header-logo, .header.is-sticky .header-logo { height: 90px; margin: 0; }
  .header-logo img, .header.is-sticky .header-logo img { max-height: 60px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 90px; left: 0; right: 0;
    background: #fff; box-shadow: 0 6px 10px rgba(0,0,0,.08);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a, .header.is-sticky .main-nav a { line-height: 1; padding: 16px 20px; border-top: 1px solid #eee; text-align: left; }
  .main-nav a::before { display: none; }
  .hero { margin-top: 90px; min-height: calc(100vh - 90px); }
  #gt-wrapper { top: auto; bottom: 15px; left: 15px; right: auto; background: rgba(255,255,255,.9); padding: 4px 8px; }
  [id] { scroll-margin-top: 90px; }
}
@media (max-width: 767px) {
  .col-3, .col-4, .col-6, .col-8, .col-9 { width: 100%; }
  .bg-section:not(.hero) { min-height: 60vh; }
  .ornamental { font-size: 30px; line-height: 36px; padding-bottom: 30px; }
  .ornamental span::before, .ornamental span::after { top: 18px; width: 20px; }
  .services .col { padding-top: 20px; padding-bottom: 20px; }
  .services .bordered { border-left: 0; border-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .services-first { margin-bottom: 0; }
  .services-last { margin-bottom: 50px; }
  #omnie .col-3 { padding-bottom: 20px; }
  #omnie .photo { max-width: 360px; margin: 0 auto 10px; }
  .row-reverse-mobile { flex-direction: column-reverse; }
  .pad-y { padding-bottom: 0; }
  .lead { margin-top: -20px; }
  .contact-side { margin-top: 30px; }
}

/* ---------- Zapowiedź podstrony dla seniorów (strona główna) ---------- */
.services-last { margin-bottom: 60px; }
.seniors-teaser { text-align: center; max-width: 720px; margin: 0 auto 100px; padding-top: 50px; border-top: 1px solid #e3e3e3; }
.seniors-teaser h2 { font-size: 20px; font-weight: 600; letter-spacing: 1px; color: #404040; margin-bottom: 18px; }
.seniors-teaser p { margin-bottom: 30px; }

/* ---------- Podstrona: opieka nad seniorami ---------- */
.hero-short { min-height: 60vh; }
.page-intro { text-align: center; max-width: 820px; margin: 0 auto 40px; font-size: 16px; }
.cards-2 .col { padding-top: 10px; padding-bottom: 10px; }
.cards-2 .col + .col { border-left: 1px solid var(--line); }
.hand { display: block; color: var(--accent); font-style: italic; font-size: 15px; margin-bottom: 6px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 100px; }
.services-grid .item { padding: 20px 20px 10px; }
.services-grid .item:nth-child(3n+2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.services-grid h2 { font-size: 17px; }
.steps .num { display: block; font-size: 38px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.steps .col { text-align: center; padding-bottom: 20px; }
.steps .col.bordered { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.faq { max-width: 860px; margin: 0 auto 100px; }
.faq details { border-bottom: 1px solid #e3e3e3; }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-size: 15px; font-weight: 600; color: #404040; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 300; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 40px; flex-wrap: wrap; }
.facts b { display: block; font-size: 22px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }

@media (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .item:nth-child(3n+2) { border: 0; }
  .services-grid .item + .item { border-top: 1px solid var(--line) !important; }
  .cards-2 .col + .col { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .steps .col.bordered { border-left: 0; border-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 20px; }
}

/* nagłówek na białym tle (na wszystkich stronach) */
.header-solid { background: rgba(255,255,255,.92); }
@media (min-width: 961px) {
  .header-solid ~ main .hero { margin-top: var(--header-h); min-height: calc(100vh - var(--header-h)); }
  .header-solid ~ main .hero-short { min-height: 60vh; }
}

/* ---------- Menu dostępności (lewy dolny róg) ---------- */
.a11y-toggle{position:fixed;left:15px;bottom:15px;z-index:250;width:56px;height:56px;border-radius:50%;border:3px solid #fff;background:#0a7f78;color:#fff;cursor:pointer;box-shadow:0 8px 24px -6px rgba(0,0,0,.45);display:grid;place-items:center;padding:0}
.a11y-toggle:hover{background:#086a64}
.a11y-toggle svg{width:30px;height:30px}
.a11y-panel{position:fixed;left:15px;bottom:84px;z-index:250;width:min(360px,calc(100vw - 30px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;color:#111;border-radius:14px;box-shadow:0 24px 60px -12px rgba(0,0,0,.45);padding:22px;font-family:Arial,sans-serif;font-size:16px;line-height:1.4}
.a11y-panel[hidden]{display:none}
.a11y-title{font-size:20px;font-weight:700;margin:0 0 4px}
.a11y-desc{font-size:14px;color:#444;margin:0 0 14px}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-grid button,.a11y-size button,.a11y-reset{font:inherit;font-size:15px;border:2px solid #d4d4d8;background:#f6f6f7;color:#111;border-radius:10px;padding:12px 8px;cursor:pointer;text-align:center;line-height:1.25;min-height:52px}
.a11y-grid button[aria-pressed="true"]{border-color:#0a7f78;background:#dff7f4;font-weight:700}
.a11y-grid button[aria-pressed="true"]::before{content:"✓ "}
.a11y-size{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;border:2px solid #d4d4d8;border-radius:10px;padding:6px 8px}
.a11y-size button{width:52px;padding:6px 0;font-size:20px;font-weight:700;min-height:44px}
.a11y-size span{font-size:15px;font-weight:700}
.a11y-reset{width:100%;margin-top:10px;background:#111;color:#fff;border-color:#111}
.a11y-close{position:absolute;top:8px;right:8px;background:none;border:0;font-size:28px;cursor:pointer;color:#111;width:44px;height:44px}

/* powiększenie tekstu */
main, .main-nav { zoom: var(--scale, 1); }

/* wysoki kontrast */
html.a-contrast body, html.a-contrast .header, html.a-contrast .main-nav, html.a-contrast .quick-contact-box { background:#000 !important; color:#fff !important; }
html.a-contrast .ornamental, html.a-contrast .text h2, html.a-contrast .seniors-teaser h2, html.a-contrast .quote, html.a-contrast .faq summary, html.a-contrast .quick-contact-title, html.a-contrast .main-nav a { color:#fff !important; }
html.a-contrast .ornamental span::before, html.a-contrast .ornamental span::after { border-color:#fff; }
html.a-contrast a, html.a-contrast .author, html.a-contrast .hand, html.a-contrast .facts b, html.a-contrast .steps .num { color:#ff0 !important; }
html.a-contrast .btn-outline { border-color:#ff0; color:#ff0 !important; }
html.a-contrast .contact-form input[type=text], html.a-contrast .contact-form input[type=email], html.a-contrast .contact-form textarea { background:#000; color:#fff; border-color:#fff; }
html.a-contrast .contact-form input[type=submit], html.a-contrast .contact-form button[type=submit] { background:#ff0; color:#000; }
html.a-contrast .contact-icon svg, html.a-contrast .social svg { fill:#ff0; }
html.a-contrast img, html.a-contrast .bg-section { filter:grayscale(1) contrast(1.15); }
html.a-contrast .services .bordered, html.a-contrast .cards-2 .col + .col, html.a-contrast .services-grid .item { border-color:#fff !important; }
html.a-contrast .dots button { background:#888; } html.a-contrast .dots button.is-active { background:#ff0; }
/* skala szarości */
html.a-gray body > *:not(.a11y-panel):not(.a11y-toggle) { filter:grayscale(1); }
/* podkreślone linki */
html.a-links a:not(.a11y-toggle) { text-decoration:underline !important; text-decoration-thickness:2px !important; text-underline-offset:4px; outline:2px dashed #0a7f78; outline-offset:3px; }
/* czytelna czcionka */
html.a-readable body, html.a-readable input, html.a-readable textarea, html.a-readable button { font-family:Verdana, Arial, sans-serif !important; }
html.a-readable .ornamental, html.a-readable .quote { font-weight:400; font-style:normal; }
/* większe odstępy */
html.a-spacing main { line-height:2; }
html.a-spacing p, html.a-spacing li, html.a-spacing summary { letter-spacing:.05em; word-spacing:.16em; }
/* bez animacji */
html.a-motion *, html.a-motion *::before, html.a-motion *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
html.a-motion .parallax { background-attachment:scroll; }
/* duży kursor */
html.a-cursor, html.a-cursor * { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L16 21l-3 1-3.5-7.5L4 19z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
/* wyraźny fokus */
html.a-focus :focus { outline:4px solid #0a7f78 !important; outline-offset:3px; }

@media (max-width: 960px) {
  #gt-wrapper { bottom: auto; top: 100px; left: auto; right: 15px; }
  .a11y-toggle { width:50px; height:50px; }
  .a11y-panel { bottom: 76px; }
}

/* ---------- Seniorzy / Targi na stronie głównej ---------- */
.services-4 .col + .col { border-left: 1px solid var(--line); }
.sub-title { text-align: center; font-size: 22px; font-weight: 300; letter-spacing: 2px; color: var(--heading); margin: 20px 0 30px; }
.services .num { display: block; font-size: 32px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.services .text h2 { min-height: 0; }
@media (max-width: 960px) { .services-4 .col-3 { width: 50%; } .services-4 .col:nth-child(3) { border-left: 0; } }
@media (max-width: 767px) {
  .services-4 .col-3 { width: 100%; }
  .services-4 .col + .col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Typografia i wyrównanie (dopracowanie) ---------- */
p, li { text-wrap: pretty; }
h1, h2, .sub-title, .quote { text-wrap: balance; }
.text p, .page-intro, .lead { max-width: 75ch; }
.page-intro { margin: -20px auto 50px; font-size: 16px; line-height: 1.75; color: #666; text-align: center; }
#omnie .col-9 p { text-align: justify; hyphens: manual; }
.ornamental { padding-bottom: 40px; }

/* listy usług zamiast kropek „•” */
.svc-list { list-style: none; margin: 0 0 20px; padding: 0; }
.svc-list li { position: relative; padding: 0 0 0 16px; margin: 0 0 7px; line-height: 1.55; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--bullet, var(--accent)); }
/* inne wyglądy punktorów (ustawiane w edytorze) */
.svc-list.b-square li::before { border-radius: 0; }
.svc-list.b-dash li::before, .svc-list.b-check li::before, .svc-list.b-arrow li::before, .svc-list.b-star li::before { width: auto; height: auto; top: 0; border-radius: 0; background: none; color: var(--bullet, var(--accent)); font-weight: 700; line-height: inherit; }
.svc-list.b-dash li::before { content: "–"; }
.svc-list.b-check li::before { content: "✓"; }
.svc-list.b-arrow li::before { content: "›"; font-size: 1.25em; line-height: 1.2; }
.svc-list.b-star li::before { content: "★"; font-size: .8em; }
.svc-list.b-check li, .svc-list.b-star li { padding-left: 20px; }
.svc-list.b-none li { padding-left: 0; }
.svc-list.b-none li::before { display: none; }

/* równe kolumny: nagłówki w jednej linii bazowej, kolumny tej samej wysokości */
.services .col { display: flex; flex-direction: column; padding-top: 20px; padding-bottom: 20px; }
.services .text h2 { font-size: 17px; line-height: 1.45; letter-spacing: 1px; margin-bottom: 16px; }
@media (min-width: 768px) {
  .services .text h2 { min-height: 2.9em; }          /* 2 linie */
  .services-4 .text h2 { min-height: 4.35em; }       /* 3 linie w 4 kolumnach */
  .steps .text h2 { min-height: 0; }
}
.services .col.bordered, .services-4 .col + .col { padding-left: 30px; padding-right: 30px; }
.services .col:first-child { padding-left: 20px; }
.steps .col { text-align: center; align-items: center; }
.steps .col p { max-width: 32ch; }
.sub-title { margin: 30px 0 10px; }
.services-first { margin-bottom: 10px; }
.services + .services { border-top: 1px solid #ececec; }
.button-row { padding: 30px 0 70px; }

/* kontakt */
.lead { margin-left: auto; margin-right: auto; }
.contact-side p { margin-bottom: 26px; }

/* telefon */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .grid { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 40px; }
  .ornamental { font-size: 26px; line-height: 32px; padding-bottom: 28px; }
  .ornamental span { padding: 0 12px; max-width: calc(100% - 48px); }
  .ornamental span::before, .ornamental span::after { top: 16px; width: 16px; }
  .page-intro { font-size: 15px; margin: -10px auto 30px; text-align: left; }
  #omnie .col-9 p { text-align: justify; }
  .services .col, .services .col.bordered, .services-4 .col + .col, .services .col:first-child { padding: 22px 20px; }
  .services .text h2 { font-size: 16px; margin-bottom: 12px; }
  .services + .services { border-top: 0; }
  .services-first .col:last-child { border-bottom: 1px solid var(--line); }
  .services-last { margin-bottom: 20px; }
  .steps .col { padding: 22px 20px; }
  .text h2 { font-size: 18px; }
  .btn-outline { padding: 14px 22px; font-size: 13px; letter-spacing: 1px; }
  .testimonials .quote { font-size: 16px; }
}

/* ---------- Justowanie tekstu (wyrównanie do obu krawędzi) ---------- */
main p, main li, .quick-contact-box > p {
  text-align: justify;
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 6 2 2;            /* polskie zasady: nie zostawiamy jednej litery */
  -webkit-hyphenate-limit-before: 2; -webkit-hyphenate-limit-after: 2;
  overflow-wrap: break-word;
}
/* bloki wyśrodkowane: justowanie, ostatnia linia na środku */
.page-intro, .lead, .steps .col p, .testimonials .quote, .seniors-teaser p { text-align: justify; text-align-last: center; }
#omnie .col-9 p, .text p { text-align: justify; }
/* krótkie elementy bez justowania */
.contact-side p, .contact-form p, .facts li, .social li, .dots li, .faq summary, .hand, .author { text-align: inherit; -webkit-hyphens: manual; hyphens: manual; }
.contact-side p { text-align: center; }
.contact-form p { text-align: left; }
@media (max-width: 767px) {
  .page-intro { text-align-last: left; }
  #omnie .col-9 p { text-align: justify; }
}
/* krótkie pozycje list wyglądają źle w justowaniu (dziury między słowami) – zostają od lewej */
.svc-list li { text-align: left; }
/* krótkie opisy kroków „Jak to działa” – wyśrodkowane, bo w wąskich kolumnach justowanie robi dziury */
.steps .col p { text-align: center; text-align-last: auto; }
/* „Jak to działa” – opisy kroków wyjustowane (szersze, żeby nie było dziur) */
.steps .col p { text-align: justify; text-align-last: center; max-width: none; width: 100%; -webkit-hyphens: auto; hyphens: auto; }

/* dwie kolumny po usunięciu kolumny w edytorze */
.services > .col-6 + .col-6 { border-left: 1px solid var(--line); }
@media (min-width: 768px) { .services > .col-6 + .col-6 { padding-left: 30px; } }
@media (max-width: 767px) { .services > .col-6 + .col-6 { border-left: 0; border-top: 1px solid var(--line); } }

/* wyrównanie ustawiane w edytorze */
main .t-left, .t-left { text-align: left !important; text-align-last: auto !important; }
main .t-center, .t-center { text-align: center !important; text-align-last: auto !important; }
main .t-right, .t-right { text-align: right !important; text-align-last: auto !important; }
main .t-justify, .t-justify { text-align: justify !important; text-align-last: left !important; -webkit-hyphens: auto; hyphens: auto; }
/* gdy justowanie dałoby odstęp większy niż 2 spacje (wąska kolumna, telefon) – akapit od lewej */
main .t-ragged, .t-ragged { text-align: left !important; text-align-last: auto !important; }
main .t-ragged-c, .t-ragged-c { text-align: center !important; text-align-last: auto !important; }

/* szerokości ustawione w edytorze (zmienne w atrybucie style) */
main [style*="--mw"] { max-width: var(--mw) !important; }
main .grid[style*="--gw"] { max-width: var(--gw); }
@media (min-width: 961px) { main .row > .col[style*="--w"] { width: var(--w) !important; flex: 0 0 var(--w); } }

/* niewidoczne korekty odstępów, gdy justowanie dałoby odstęp większy niż 2 spacje (ustawia script.js) */
.t-fit-1 { letter-spacing: .01em; }
.t-fit-2 { word-spacing: -.05em; }
.t-fit-3 { letter-spacing: .01em; word-spacing: -.05em; }
.t-fit-4 { letter-spacing: .02em; }
.t-fit-5 { letter-spacing: -.01em; }
.t-fit-6 { letter-spacing: .02em; word-spacing: -.08em; }
.t-fit-7 { letter-spacing: -.015em; word-spacing: -.05em; }
.t-fit-8 { letter-spacing: .03em; word-spacing: -.1em; }
.t-fit-9 { letter-spacing: .04em; word-spacing: -.12em; }
.t-fit-10 { letter-spacing: -.025em; word-spacing: -.1em; }
.t-fit-11 { letter-spacing: .05em; word-spacing: -.15em; }
.t-fit-12 { letter-spacing: -.035em; word-spacing: -.12em; }
.t-fit-13 { letter-spacing: .05em; word-spacing: -.05em; }
.t-fit-14 { letter-spacing: .06em; }
.t-fit-15 { letter-spacing: -.045em; word-spacing: -.05em; }
.t-fit-16 { letter-spacing: .07em; word-spacing: -.08em; }
.t-fit-17 { letter-spacing: .08em; }
.t-fit-18 { letter-spacing: -.05em; }
/* ostatnie próby: minimalnie mniejsza/większa czcionka (niewidoczne gołym okiem) */
.t-fit-19 { font-size: .98em !important; }
.t-fit-20 { font-size: .97em !important; letter-spacing: .02em; }
.t-fit-21 { font-size: .985em !important; letter-spacing: -.02em; }
.t-fit-22 { font-size: .96em !important; letter-spacing: .03em; }
.t-fit-23 { font-size: .975em !important; letter-spacing: .04em; }
.t-fit-24 { font-size: .965em !important; }
.t-fit-25 { font-size: .99em !important; letter-spacing: .03em; }
.t-fit-26 { font-size: .955em !important; letter-spacing: .05em; }
/* telefon (także tryb „wersja na komputer” na telefonie): akapity justowane do obu krawędzi.
   script.js dzieli wyrazy wg zasad polskich i koryguje odstępy (najwyżej 2 spacje), żeby nie było dziur. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  main p, main .page-intro, main .lead, main p.t-left, main p.t-justify, .quick-contact-box > p {
    text-align: justify !important; text-align-last: left !important;
    -webkit-hyphens: manual; hyphens: manual;
  }
  main .steps .col p, main .testimonials .quote { text-align: justify !important; text-align-last: center !important; }
  main li { text-align: left !important; text-align-last: auto !important; }
  main .t-center, .contact-side p { text-align: center !important; text-align-last: auto !important; }
  main .t-right { text-align: right !important; text-align-last: auto !important; }
  .contact-form p { text-align: left !important; }
  /* ostateczność: gdy nawet po korektach odstęp byłby większy niż 2 spacje */
  main p.t-ragged, main .steps .col p.t-ragged, .quick-contact-box > p.t-ragged { text-align: left !important; text-align-last: auto !important; }
  main p.t-ragged-c, main .steps .col p.t-ragged-c, main .testimonials .quote.t-ragged-c { text-align: center !important; text-align-last: auto !important; }
}
