@charset "utf-8";
/*
 * Horyzonty — system wizualny (2026, gałąź ui/redesign).
 * Zastępuje main.css + mobilize.css na stronie (frontend). Stare pliki zostają w repo bez zmian.
 *
 * Kolory: tło #fbf9f4 / #f3efe4 (naprzemiennie), tekst #26292b, drugorzędny #4f534b, ramki #c9c2ae,
 * akcent (przyciski, linki) #2b7383 / hover #1d5662, kreska pędzla #5fb0c0, kreska kart #9bb57e.
 * Fonty: Barlow 600/700 (nagłówki, menu, przyciski), Source Sans 3 400/600 (tekst), Lora italic (cytat).
 */

/* ---------- reset ---------- */
*, *:before, *:after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, img, ul, ol, li, dl, dt, dd,
form, fieldset, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
header, footer, nav, main, section, article, aside, figure, figcaption, address {
  margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
}
header, footer, nav, main, section, article, aside, figure, figcaption { display: block; }
img { max-width: 100%; height: auto; border: 0; }
button { font: inherit; }

/* ---------- podstawy ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  background: #fbf9f4;
  color: #26292b;
  font-family: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}
a { color: #2b7383; text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus { color: #1d5662; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #5fb0c0; outline-offset: 2px;
}
strong, b { font-weight: 600; }
i, em { font-style: italic; }
small { font-size: .85em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: 0 0 .35em; }
address { font-style: normal; }
hr { clear: both; height: 0; border: 0; border-top: 1px solid #c9c2ae; margin: 32px 0; }
.turkus, .turkus a { color: #2b7383; }
.bigger { font-size: 1.05em; }
.white { color: #fff !important; }
.bold { font-weight: 600 !important; }

/* nagłówki */
h1, h2, h3, h4 { font-family: 'Barlow', Arial, sans-serif; color: #26292b; line-height: 1.15; }
h1 { font-size: 56px; font-weight: 700; margin: 0 0 32px; letter-spacing: -.01em; }
h2 { font-size: 38px; font-weight: 700; margin: 48px 0 28px; }
h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
h4 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
h1:after, h2:after, .brush {
  content: ""; display: block;
  width: 84px; height: 10px; margin-top: 16px;
  background: #5fb0c0; border-radius: 5px 9px 4px 8px;
  -webkit-transform: rotate(-2deg); transform: rotate(-2deg);
}
h1:after { width: 120px; height: 12px; margin-top: 20px; }
.no-brush:after { display: none; }

/* ---------- układ ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section--alt { background: #f3efe4; }
.clear { clear: both !important; height: 0 !important; line-height: 0 !important; overflow: hidden; }
.clearfix:after { content: ""; display: table; clear: both; }
.clearfix_extend { clear: both; height: 24px; }
.clearfix_extend_small, .clearfix_extend_small2 { clear: both; height: 8px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: 10px 16px; background: #2b7383; color: #fff; }
.skip-link:focus { left: 16px; top: 16px; color: #fff; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; text-align: center; cursor: pointer;
  -webkit-transition: background-color .15s, border-color .15s; transition: background-color .15s, border-color .15s;
}
.btn--primary { background: #2b7383; color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: #1d5662; color: #fff; }
.btn--secondary { background: #fbf9f4; color: #26292b; border-color: #c9c2ae; }
.btn--secondary:hover, .btn--secondary:focus { background: #fff; color: #26292b; border-color: #2b7383; }
.btn--small { font-size: 16px; padding: 11px 22px; }
.btn-row { margin: 28px 0 0; }
.btn-row .btn { margin: 0 12px 12px 0; }

/* ---------- karty ---------- */
.card {
  background: #fff; border-radius: 18px; padding: 28px;
  box-shadow: 0 2px 6px rgba(80, 70, 40, .08);
}

/* ---------- nagłówek strony ---------- */
.site-header { background: #fbf9f4; border-bottom: 1px solid #e3ddcc; position: relative; z-index: 50; }
.site-header__inner { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; min-height: 84px; }
.site-logo { display: block; -webkit-flex: 0 0 auto; flex: 0 0 auto; line-height: 0; }
.site-logo img { display: block; width: 199px; height: auto; }

.site-nav { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.site-nav__list { display: -webkit-flex; display: flex; list-style: none; margin: 0 0 0 24px; padding: 0; }
.site-nav__list > li { position: relative; margin: 0; }
.site-nav__list > li > a {
  display: block; padding: 10px 10px;
  font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.2;
  color: #26292b; text-decoration: none; white-space: nowrap;
}
.site-nav__list > li > a:hover, .site-nav__list > li > a:focus { color: #2b7383; }
.site-nav__list > li.is-active > a { color: #2b7383; box-shadow: inset 0 -3px 0 #5fb0c0; }
.has-sub > a:after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 3px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; }

.sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 290px;
  list-style: none; margin: 0; padding: 10px 0;
  background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(80, 70, 40, .18);
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: block; }
.sub-menu li { margin: 0; }
.sub-menu a { display: block; padding: 8px 20px; color: #26292b; text-decoration: none; font-size: 17px; line-height: 1.35; }
.sub-menu a:hover, .sub-menu a:focus, .sub-menu .is-active a { color: #2b7383; background: #f3efe4; }

.site-header__cta { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-left: 20px; white-space: nowrap; }
.site-header__tel a { font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 17px; color: #26292b; text-decoration: none; }
.site-header__tel a:hover { color: #2b7383; }
.site-header__cta .btn { margin-left: 18px; }

.nav-toggle, .call-btn { display: none; }

/* ---------- treść podstron (szablony modułów: #content / big_col / left_col / right_col) ---------- */
#content { max-width: 1160px; margin: 0 auto; padding: 64px 32px 80px; }
#content:after { content: ""; display: table; clear: both; }
.big_col { width: 100%; }
.big_col:after { content: ""; display: table; clear: both; }
.left_col { float: left; width: 64%; }
.right_col { float: right; width: 29%; }
.left_col > h1:first-child, .left_col > h2:first-child { margin-top: 0; }
.left_col h2 { font-size: 32px; }
.left_col [style*="justify"] { text-align: left !important; }
.right_col img { display: block; margin: 0 0 8px; border-radius: 18px; }
.right_col hr { margin: 20px 0; }
.right_col .sentence { font-family: 'Lora', Georgia, serif; font-style: italic; font-size: 20px; color: #4f534b; }
.line_bottom { display: none; }
.biggest_col { clear: both; }
div.topline, div.bottomline { background: none; }

/* stare przyciski „tekst + strzałka-obrazek” → link tekstowy ze strzałką */
div.button, span.button { display: block; margin: 0; }
div.button a, span.button a {
  display: inline-block; font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.35;
  color: #2b7383; text-decoration: none;
}
div.button a:hover, span.button a:hover { color: #1d5662; text-decoration: underline; }
div.button a:after, span.button a:after { content: " \2192"; }
div.button img, span.button img { display: none !important; }

/* osoby (/o-nas, /o-nas/<slug>) */
.big_col > .clearfix { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -14px; }
.big_col > .clearfix:after { display: none; }
div.osoba {
  -webkit-flex: 1 1 260px; flex: 1 1 260px; margin: 0 14px 28px;
  background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 2px 6px rgba(80, 70, 40, .08);
}
div.osoba img { display: block; width: 100%; border-radius: 14px; margin: 0 0 18px; }
div.osoba h2 { font-size: 26px; margin: 0 0 12px; }
div.osoba h2:after { display: none; }
div.osoba p { color: #4f534b; }
div.osoba .button { margin-top: 12px; }
div.osoba.single { -webkit-flex-basis: 100%; flex-basis: 100%; padding: 40px; }
div.osoba.single > br { display: none; }
div.osoba.single img.osobaimg { width: 235px; margin: 0 32px 16px 0 !important; }
div.osoba.single h1 { display: block; margin-top: 0; overflow: hidden; padding-bottom: 4px; }
/* „Powrót” na biogramie prowadzi wstecz — strzałka w lewo */
div.osoba.single .button a:after { content: none; }
div.osoba.single .button a:before { content: "\2190  "; }
div.clouds { display: none; }

/* czytelnia / pytania */
div.inspiracja { clear: both; margin: 0 0 24px; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 2px 6px rgba(80, 70, 40, .08); }
div.inspiracja h2 { font-size: 26px; margin: 0 0 12px; }
div.inspiracja h2:after { display: none; }
div.inspiracja p:last-child { margin-bottom: 0; }

/* „Możesz nas kojarzyć z” (partial main/_skojarz) */
div.loga { background: #fff; border-radius: 18px; padding: 16px; margin: 0 0 16px; text-align: center; box-shadow: 0 2px 6px rgba(80, 70, 40, .08); }
div.loga .left, div.loga .right { display: inline-block; width: 48%; vertical-align: middle; }
div.loga img { display: inline; border-radius: 0; margin: 0; max-height: 92px; width: auto; }
.right_col > h2 { font-size: 26px; margin-top: 0; }

/* formularz kontaktowy (/kontakt) — tylko wygląd, pola i akcja bez zmian */
form#contact_form { display: block; margin: 0 0 24px; }
form#contact_form input[type="text"], form#contact_form textarea {
  display: block; width: 100%; margin: 0 0 12px; padding: 12px 16px;
  font-family: inherit; font-size: 18px; line-height: 1.4; color: #26292b;
  background: #fff; border: 1px solid #c9c2ae; border-radius: 10px;
}
form#contact_form textarea { min-height: 160px; resize: vertical; }
form#contact_form p { font-weight: 600; margin: 8px 0 6px; }
form#contact_form label { display: inline-block; margin: 0 0 4px; cursor: pointer; }
form#contact_form .button.wyslij { margin-top: 20px; width: auto !important; }
form#contact_form .button.wyslij input[type="submit"] {
  font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2;
  padding: 15px 36px; border: 0; border-radius: 999px; background: #2b7383; color: #fff; cursor: pointer;
}
form#contact_form .button.wyslij input[type="submit"]:hover { background: #1d5662; }
form#contact_form .button.wyslij input[type="image"] { display: none; }
img.mapka { border-radius: 18px; }

/* ---------- stopka ---------- */
.site-footer { background: #f3efe4; padding: 48px 0 40px; color: #4f534b; font-size: 16px; line-height: 1.6; }
.footer-menu { list-style: none; margin: 0 0 20px; padding: 0; }
.footer-menu li { display: inline-block; margin: 0 22px 8px 0; }
.footer-menu a { font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 16px; }
.site-footer .nap { margin: 0 0 16px; }
.site-footer .nap span { white-space: nowrap; }
.site-footer__credits { margin: 0; font-size: 14px; }


/* ---------- strona główna (main/index) ---------- */
.eyebrow { font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #4f534b; margin: 0 0 14px; }
.lead { font-size: 20px; }
.muted { color: #4f534b; }
.section-intro { max-width: 720px; color: #4f534b; margin: -8px 0 32px; }
.section h2 { margin-top: 0; }

.hero { padding: 72px 0 80px; }
.hero__grid { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.hero__text { -webkit-flex: 1 1 52%; flex: 1 1 52%; padding-right: 56px; }
.hero__text .btn-row { margin-bottom: 0; }
.hero__photo { -webkit-flex: 1 1 48%; flex: 1 1 48%; }
.hero__photo img {
  display: block; width: 100%; height: 440px;
  object-fit: cover; object-position: 40% 50%; /* z prawej obraz z ptakami i lampa, kanapa przycięta */
  border-radius: 22px; box-shadow: 0 10px 30px rgba(80, 70, 40, .18);
}
.hero__photo figcaption { margin-top: 12px; font-size: 15px; color: #4f534b; }

.problems { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.problems__main { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.problems__art { -webkit-flex: 0 0 auto; flex: 0 0 auto; margin-left: 56px; }
.problems__art img { display: block; max-width: 300px; width: auto; }
.tiles { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-gap: 16px; gap: 16px; }
.tiles li { margin: 0; background: #f3efe4; border-radius: 14px; padding: 18px 22px; line-height: 1.45; }

.quote-band { text-align: center; }
.quote { max-width: 860px; margin: 0 auto; }
.quote p { font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.45; color: #26292b; margin: 0; }
.brush--center { margin: 28px auto 0; }

.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 28px; gap: 28px; }
.card-grid > * { margin: 0; }
.card { position: relative; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.card h3 { font-size: 22px; }
.card h3 a { color: #26292b; text-decoration: none; }
.card h3 a:after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 18px; }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible:after { outline: 3px solid #5fb0c0; outline-offset: 2px; }
.card p { color: #4f534b; }
.card .more { margin-top: auto; font-family: 'Barlow', Arial, sans-serif; font-weight: 600; color: #2b7383; }
.card:hover .more, .card:hover h3 a { color: #1d5662; }
.card:hover { box-shadow: 0 6px 18px rgba(80, 70, 40, .14); }
.card--offer:before { content: ""; display: block; width: 40px; height: 6px; margin: 0 0 18px; background: #9bb57e; border-radius: 3px; }
.card--also { background: #fbf9f4; border: 1.5px dashed #c9c2ae; box-shadow: none; }
.card--also:hover { box-shadow: none; }
.card--also ul { list-style: none; padding: 0; margin: 0; }
.card--also li { margin: 0 0 10px; }

.card--person img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 0 0 20px; }
.card--person p { margin-bottom: 14px; }

.steps { counter-reset: none; }
.step-num {
  display: inline-block; width: 44px; height: 44px; line-height: 44px; margin: 0 0 18px; border-radius: 50%;
  background: #e8efdc; color: #3e5226; text-align: center; font-family: 'Barlow', Arial, sans-serif; font-weight: 700; font-size: 20px;
}
.steps .card { display: block; }
.step-link { margin: 0; }
.step-link a { font-family: 'Barlow', Arial, sans-serif; font-weight: 600; }
.links-row { margin: 28px 0 0; font-family: 'Barlow', Arial, sans-serif; font-weight: 600; }
.links-row span { margin: 0 8px; color: #4f534b; }

.contact-grid { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.contact-grid__text { -webkit-flex: 1 1 auto; flex: 1 1 auto; padding-right: 56px; }
.contact-grid__map { -webkit-flex: 0 0 auto; flex: 0 0 auto; }
.contact-grid__map img { display: block; border-radius: 18px; box-shadow: 0 2px 6px rgba(80, 70, 40, .08); }
.contact-address { font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.contact-grid .btn-row { margin-bottom: 0; }
.site-main + .site-footer, .section--alt + .site-footer { border-top: 1px solid #e3ddcc; }

/* ---------- tablet: menu zwijane ---------- */
@media screen and (max-width: 1179px) {
  .call-btn {
    display: inline-block; margin-left: auto;
    padding: 10px 18px; border-radius: 999px; background: #2b7383; color: #fff; text-decoration: none;
    font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.2;
  }
  .call-btn:hover, .call-btn:focus { background: #1d5662; color: #fff; }
  .nav-toggle {
    display: inline-block; margin-left: 10px;
    padding: 10px 20px; border: 1px solid #c9c2ae; border-radius: 999px; background: #fff; color: #26292b;
    font-family: 'Barlow', Arial, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.2; cursor: pointer;
  }
  .nav-toggle:after { content: ""; display: inline-block; margin-left: 8px; vertical-align: 3px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"]:after { border-top: 0; border-bottom: 5px solid currentColor; }
  .site-header__inner { -webkit-flex-wrap: wrap; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; min-height: 0; }
  .site-nav { display: block; width: 100%; -webkit-flex-basis: 100%; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { display: block; margin: 12px 0 0; border-top: 1px solid #e3ddcc; }
  .site-nav__list > li { border-bottom: 1px solid #e3ddcc; }
  .site-nav__list > li > a { padding: 14px 0; font-size: 18px; }
  .site-nav__list > li.is-active > a { box-shadow: none; }
  .has-sub > a:after { display: none; }
  .sub-menu, .has-sub:hover > .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 10px 16px; background: none; box-shadow: none; border-radius: 0; }
  .sub-menu a { padding: 6px 0; font-size: 17px; }
  .sub-menu a:hover, .sub-menu .is-active a { background: none; }
  .site-header__cta { margin: 18px 0 6px; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
}

/* ---------- telefon ---------- */
@media screen and (max-width: 1023px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 900px) {
  .hero__grid, .problems, .contact-grid { display: block; }
  .hero__text, .contact-grid__text { padding-right: 0; }
  .hero__photo { margin-top: 36px; }
  .hero__photo img { height: 300px; }
  .problems__art { margin: 24px auto 0; }
  .problems__art img { margin: 0 auto; }
  .contact-grid__map { margin-top: 32px; }
  .left_col, .right_col { float: none; width: 100%; }
  .right_col { margin-top: 40px; }
  .right_col img.ilustracja { max-width: 272px; }
}
@media screen and (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  #content { padding: 40px 20px 48px; }
  .section { padding: 48px 0; }
  h1 { font-size: 38px; margin-bottom: 24px; }
  h1:after { margin-top: 14px; }
  h2, .left_col h2 { font-size: 30px; margin: 36px 0 20px; }
  .site-logo img { width: 150px; }
  .call-btn, .nav-toggle { padding: 9px 14px; font-size: 16px; }
  .btn { font-size: 17px; }
  .btn-row .btn { display: block; margin: 0 0 12px; }
  .hero { padding: 40px 0 48px; }
  .hero__photo img { height: 240px; }
  .lead { font-size: 18px; }
  .card-grid { grid-template-columns: 1fr; grid-gap: 20px; gap: 20px; }
  .tiles { grid-template-columns: 1fr; }
  .quote p { font-size: 24px; }
  .problems__art img { max-width: 220px; }
  div.osoba.single { padding: 24px; }
  div.osoba.single img.osobaimg { float: none !important; margin: 0 0 20px !important; width: 100%; }
  div.osoba, div.inspiracja { padding: 22px; }
  .site-footer .nap span { white-space: normal; }
}
