/* style strony */

/* fonty lokalne */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.3de1b0f235.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.8197bf5361.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.4993f7f4fe.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.ae062b6d5a.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.e4078de1cf.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.4fb55a7a6d.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext-400-normal.c260ffc9d1.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-latin-400-normal.0e44026ad3.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext-600-normal.6dbc7eadcc.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-latin-600-normal.a97a6ed7ef.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --mint: #b5dcd1;
  --mint-light: #e3f1ed;
  --mint-mid: #8cc3b4;
  --teal: #2d6457;        /* 6,8:1 na białym */
  --teal-dark: #21493f;   /* 10:1 na białym */
  --ink: #1f3a33;
  --text: #4a5250;        /* 8:1 na białym */
  --muted: #636b69;       /* 5,5:1 na białym */
  --beige: #f8f7f3;
  --sand: #eceae4;
  --line: #dedbd3;
  --field-border: #7e8986; /* granica pól formularza */
  --footer: #26302e;
  --footer-bottom: #1e2624;
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;

  --container: 1140px;
  --container-wide: 1400px;
  --gutter: 24px;
  --header-h: 96px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 500; }
h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
p { margin: 0 0 1.1em; }

.container, .kontener {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.tile--dark :focus-visible, .aside-cta :focus-visible,
.banner :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* ---------- Elementy wspólne ---------- */

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 14px 30px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; text-decoration: none; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint-light); border-color: var(--mint-light); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 22px; }

.link-more {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-more:hover { text-decoration: none; color: var(--teal-dark); border-bottom-width: 2px; }

.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { font-size: 17px; }

.panel-beige { background: var(--beige); }

/* znak marki w tle */
.brand-deco {
  position: absolute; pointer-events: none; color: var(--mint); opacity: .35;
}

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 40px;
  height: var(--header-h);
}

.logo { flex: 0 0 auto; display: block; }
.logo img { width: auto; height: 38px; }

.main-nav { flex: 1 1 auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.is-active { color: var(--teal); text-decoration: none; }
.main-nav > ul > li > a.is-active { box-shadow: inset 0 -2px 0 var(--teal); }
.main-nav > ul > li + li::before {
  content: ""; position: absolute; left: -4px; top: 50%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--mint-mid);
  transform: translateY(-50%);
}
.caret { width: 9px; height: 9px; }
.main-nav .has-sub { display: flex; align-items: center; }
.submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 44px; margin-left: -10px; padding: 0;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.submenu-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 14px 0;
  background: #fff;
  border-top: 2px solid var(--teal);
  box-shadow: 0 14px 34px rgba(35, 65, 58, .14);
  display: none;
}
.submenu a {
  display: block; padding: 9px 24px;
  font-size: 15px; color: var(--text);
}
.submenu a:hover, .submenu a.is-active { color: var(--teal-dark); background: var(--mint-light); text-decoration: none; }
.has-sub:hover .submenu,
html:not(.js) .has-sub:focus-within .submenu,
.has-sub.is-open .submenu { display: block; }
html:not(.js) .submenu-toggle { display: none; }
.main-nav a[aria-current="page"], .main-nav a[aria-current="true"] { color: var(--teal); }
.main-nav > ul > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--teal); }

.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--field-border); color: var(--ink);
}
.icon-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Slider ---------- */

.hero { padding-bottom: 20px; }
.hero-frame {
  position: relative;
  display: grid; grid-template-columns: 7fr 5fr;
  min-height: 600px;
  background: var(--beige);
  overflow: hidden;
}
.hero-media { position: relative; min-height: 100%; }
.hero-image { position: absolute; inset: 0; visibility: hidden; }
.hero-image.is-active { visibility: visible; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-copy { position: relative; display: flex; align-items: center; padding: 60px 64px 110px; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-slide h1, .hero-slide .h1 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 60px); font-weight: 500; color: var(--ink); line-height: 1.08; margin: 0 0 20px; }
.hero-slide p { font-size: 17px; margin-bottom: 32px; }
.hero-quote-author { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--teal); }

.hero-nav { position: absolute; left: 64px; bottom: 36px; display: flex; align-items: center; gap: 14px; }
.hero-arrow {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--field-border); border-radius: 50%; background: #fff; color: var(--teal); cursor: pointer; padding: 0;
}
.hero-arrow:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button {
  width: 24px; height: 24px; border: 0; padding: 0; cursor: pointer; background: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--teal); background: transparent;
}
.hero-dots button[aria-current="true"]::before { background: var(--teal); }

/* ---------- Wstęp ---------- */

.intro { text-align: center; }
.intro h2 { max-width: 820px; margin: 0 auto 24px; }
.intro p { max-width: 720px; margin: 0 auto 1em; font-size: 17px; }
.intro .mark { display: block; width: 34px; margin: 34px auto 0; color: var(--mint-mid); }

/* ---------- Kafle 3×2 ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; min-height: 440px; overflow: hidden; }
.tile > img, .tile > picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile-body {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 52px 48px;
  color: #fff;
}
.tile-body h3 { color: #fff; font-size: 36px; font-weight: 500; }
.tile-body p { color: #fff; }
.tile-body .btn { align-self: flex-start; margin-top: 10px; }
.tile--mint { background: var(--mint); }
.tile--mint .tile-body, .tile--mint .tile-body h3, .tile--mint .tile-body p { color: var(--ink); }
.tile--mint .eyebrow { color: var(--teal-dark); }
.tile--mid { background: var(--mint-mid); }
.tile--mid .tile-body, .tile--mid .tile-body h3, .tile--mid .eyebrow { color: var(--ink); }
.tile--dark { background: var(--teal); }
.tile-blob { position: absolute; right: -40px; bottom: -50px; width: 190px; color: rgba(255, 255, 255, .35); pointer-events: none; transform: rotate(-12deg); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 6px 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 11px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.phone-list { list-style: none; margin: 0 0 18px; padding: 0; }
.phone-list li { margin-bottom: 14px; line-height: 1.4; }
.phone-list span { display: block; font-size: 14px; }
.phone-list a { color: #fff; font-family: var(--serif); font-size: 27px; }
.phone-list a:hover { color: #fff; }

/* ---------- Oferta: kolumny z ikonami ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); }
.service {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  padding: 40px 40px 44px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.services .service:nth-child(3n + 1) { border-left: 0; }
.services .service:nth-child(-n + 3) { border-top: 0; }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--mint-mid); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 28px; margin: 6px 0 12px; }
.service h3 a { color: var(--ink); }
.service h3 a:hover { color: var(--teal); }
.service p { font-size: 16px; }

/* ---------- Baner ze zdjęciem ---------- */

.banner {
  position: relative; overflow: hidden;
  min-height: 460px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.banner > img, .banner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(20, 38, 34, .62); }
.banner-body { position: relative; z-index: 1; max-width: 640px; padding: 60px 24px; }
.banner h2, .banner .eyebrow { color: #fff; }
.banner p { font-size: 17px; margin-bottom: 28px; }

/* ---------- Fakty ---------- */

.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.fact { padding: 6px 36px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 52px; font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.fact span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.8; }

/* ---------- Zespół ---------- */

.team-section { position: relative; overflow: hidden; }
.team-section .brand-deco { right: -60px; top: -40px; width: 300px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
.person { text-align: center; background: #fff; padding: 44px 30px 38px; }
.avatar {
  width: 150px; height: 150px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px var(--mint-light);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); filter: grayscale(1); }
.person h3 { font-size: 27px; margin-bottom: 4px; }
.person .role { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; line-height: 1.7; }
.person p { font-size: 16px; }

/* ---------- Wiedza ---------- */

.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  display: flex; flex-direction: column;
  padding: 40px 36px 36px;
  background: var(--beige);
  border-top: 3px solid var(--mint-mid);
}
.article-card:hover { border-top-color: var(--teal); }
.article-card h3 { font-size: 28px; }
.article-card h3 a { color: var(--ink); }
.article-card p { font-size: 16px; flex: 1; }
.article-card .link-more { align-self: flex-start; }
.article-card--wide { grid-column: span 2; background: var(--mint-light); }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 6px; }
.contact-info address { font-style: normal; margin-bottom: 26px; }
.contact-info .people { display: grid; gap: 18px; margin-top: 8px; }
.contact-info .people a { word-break: break-word; }
.contact-info strong { color: var(--ink); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; }
.form-error { margin: 6px 0 0; font-size: 14px; color: #a12b2b; }
.form [aria-invalid="true"] { border-color: #a12b2b; }
.formularz-kontakt__pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { flex-wrap: wrap; }
.form .consent .form-error { flex-basis: 100%; }
.form-note:empty { display: none; }
.form .field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit; font-size: 16px;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--mint-mid); outline-offset: 0; border-color: var(--teal); }
.form textarea { min-height: 150px; resize: vertical; }
.form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232d6457' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.form .consent input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--teal); }
.form-note { grid-column: 1 / -1; font-size: 15px; color: var(--teal-dark); margin: 4px 0 0; }

.footer-map { background: var(--sand); }
.footer-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Podstrony ---------- */

.page-hero { position: relative; overflow: hidden; background: var(--beige); padding: 80px 0 76px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; font-size: 18px; margin: 0; }
.page-hero .brand-deco { right: 8%; top: 30px; height: calc(100% - 60px); width: auto; }

.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--teal-dark); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; padding-top: 90px; padding-bottom: 100px; }

.prose { font-size: 17px; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 36px; margin: 1.5em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 27px; margin: 1.4em 0 .5em; }
.prose a:not(.btn):not(.link-more):not(.subservice) { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin: 8px 0; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; margin: 10px 0; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--teal); line-height: 1.5;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 1.8em 0; padding: 26px 32px;
  background: var(--mint-light); border-left: 3px solid var(--teal);
  font-family: var(--serif); font-size: 25px; line-height: 1.4; color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 15px; font-style: normal; color: var(--text); }
.prose .callout { background: var(--beige); padding: 30px 34px; margin: 1.8em 0; }
.prose .callout h3 { margin-top: 0; }
.prose ul:has(> li:nth-child(6)) { columns: 2; column-gap: 40px; }
.prose ul:has(> li:nth-child(6)) li { break-inside: avoid; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.aside-box { background: var(--beige); padding: 32px 30px; }
.aside-box h3, .aside-box .aside-title { font-size: 24px; margin-bottom: 14px; }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav li { border-top: 1px solid var(--line); }
.aside-nav li:first-child { border-top: 0; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; color: var(--text); font-size: 16px; }
.aside-nav a::after { content: "→"; color: var(--teal); }
.aside-nav a:hover, .aside-nav a[aria-current] { color: var(--teal-dark); }
.aside-nav a[aria-current] { font-weight: 600; }
.aside-cta { background: var(--teal); color: #fff; padding: 34px 30px; }
.aside-cta h3, .aside-cta .aside-title { color: #fff; font-size: 26px; }
.aside-cta p { font-size: 15px; color: #fff; }
.aside-cta .phone { display: block; font-family: var(--serif); font-size: 25px; color: #fff; line-height: 1.3; }
.aside-cta .phone:hover { color: #fff; }
.aside-cta .phone small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .02em; }
.aside-cta .phone + .phone { margin-top: 12px; }
.aside-cta .btn { margin-top: 22px; width: 100%; }

.specialists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.specialist { display: flex; gap: 22px; align-items: center; background: #fff; padding: 26px; }
.specialist .avatar { width: 96px; height: 96px; margin: 0; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--mint-light); }
.specialist h3 { font-size: 24px; margin-bottom: 2px; }
.specialist .role { margin-bottom: 8px; }

.subservices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.6em 0; }
.subservice { display: block; padding: 28px 30px; background: var(--mint-light); color: var(--text); border: 1px solid transparent; }
.subservice:hover { border-color: var(--teal); color: var(--text); text-decoration: none; }
.subservice strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.subservice span { font-size: 16px; }

/* Zespół, pełne biogramy */
.team-page { padding-top: 90px; padding-bottom: 100px; }
.bio { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; padding: 80px 0; border-top: 1px solid var(--line); }
.bio:first-child { border-top: 0; padding-top: 0; }
.bio-side { text-align: center; position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.bio-side .avatar { width: 170px; height: 170px; }
.bio-side h2 { font-size: 32px; margin-bottom: 6px; }
.bio-contact { font-size: 15px; line-height: 1.9; margin-top: 18px; }
.bio-contact a { display: block; word-break: break-word; }

.cta-band { background: var(--mint); padding: 70px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 0; }
.cta-band p { margin: 8px 0 0; color: var(--ink); }

/* ---------- Stopka ---------- */

.site-footer { background: var(--footer); color: #c9d0ce; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 50px; padding: 90px 0 70px; }
.footer-logo { width: 240px; height: auto; margin-bottom: 26px; }
.site-footer h3, .site-footer .footer-title { color: #fff; font-size: 26px; font-weight: 500; margin-bottom: 20px; }
.site-footer a { color: #c9d0ce; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 7px 0; padding-left: 22px; position: relative; }
.footer-links li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--mint-mid); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 16px; }
.site-footer .social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer .social a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); color: var(--mint); }
.site-footer .social a:hover { background: var(--mint); color: var(--footer); border-color: var(--mint); }
.footer-bottom { background: var(--footer-bottom); padding: 22px 0; font-size: 14px; color: #a9b3b0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Responsywność ---------- */

@media (max-width: 1180px) {
  .header-inner { gap: 24px; }
  .logo img { height: 34px; }
  .main-nav > ul > li > a { padding: 12px 10px; letter-spacing: .1em; }
  .header-actions .btn { padding: 10px 18px; }
  .tile-body { padding: 44px 40px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .js .nav-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .main-nav { order: 4; flex-basis: 100%; }
  .js .header-inner { flex-wrap: nowrap; height: var(--header-h); }
  .js .main-nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; overflow-y: auto;
    padding: 20px var(--gutter) 40px;
  }
  .js.nav-open .main-nav { display: block; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li + li::before { display: none; }
  .main-nav > ul > li > a { justify-content: space-between; padding: 18px 0; font-size: 14px; }
  .main-nav > ul > li > a.is-active { box-shadow: none; }
  .submenu {
    position: static; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0;
  }
  html:not(.js) .submenu { display: block; }
  .main-nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .main-nav .has-sub > a { flex: 1; }
  .submenu-toggle { width: 44px; margin: 0; }
  .submenu { flex-basis: 100%; }
  .js .has-sub:hover .submenu { display: none; }
  .js .has-sub.is-open .submenu { display: block; }
  .submenu a { padding: 10px 0 10px 16px; font-size: 16px; }

  .hero-frame { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { height: 340px; }
  .hero-copy { padding: 44px 32px 100px; }
  .hero-nav { left: 32px; bottom: 30px; }

  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 380px; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .services .service:nth-child(odd) { border-left: 0; }
  .services .service:nth-child(-n + 2) { border-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .fact:nth-child(3) { border-left: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .articles { grid-template-columns: 1fr 1fr; }
  .article-card--wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .layout { grid-template-columns: 1fr; gap: 60px; padding-top: 64px; padding-bottom: 80px; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; gap: 30px; }
  .bio-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --header-h: 70px; }
  .logo img { height: 28px; }
  .header-actions .btn { display: none; }
  .main-nav .nav-mobile-only { display: block; }
  .hero { padding-bottom: 0; }
  .hero .container { padding: 0; }
  .hero-media { height: 260px; }
  .hero-copy { padding: 36px 20px 96px; }
  .hero-nav { left: 20px; }
  .tiles, .services, .team, .articles, .facts, .subservices { grid-template-columns: 1fr; }
  .article-card--wide { grid-column: auto; }
  .tile { min-height: 300px; }
  .tile-body { padding: 40px 28px; }
  .services .service { border-left: 0 !important; border-top: 1px solid var(--line) !important; padding: 32px 0; }
  .services .service:first-child { border-top: 0 !important; }
  .fact { border-left: 0 !important; padding: 0; text-align: center; }
  .form { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .prose ul:has(> li:nth-child(6)) { columns: 1; }
  .specialist { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 50px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .section { padding: 68px 0; }
  .page-hero { padding: 56px 0 50px; }
  .page-hero .brand-deco { display: none; }
}

/* bez animacji */
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
