:root {
  --green: #13543b;
  --green-dark: #0e3f2c;
  --green-deep: #0b3226;
  --green-soft: #e9f1ec;
  --gold: #b89150;
  --gold-strong: #c9a566;
  --ink: #1f2a24;
  --muted: #59645d;
  --line: #dde6e0;
  --paper: #ffffff;
  --surface: #f4f7f4;
  --surface-strong: #eaf1eb;
  --dark: #0c2a1f;
  --footer: #0c2e21;
  --footer-bottom: #082018;
  --footer-text: #b9c7bf;
  --focus: #ffd34d;
  --max: 1170px;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(11, 40, 27, .08);
  --shadow-hover: 0 18px 42px rgba(11, 40, 27, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--focus);
  color: #111111;
  padding: .75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  background: rgba(9, 40, 28, .52);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #ffffff;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled,
.site-header:focus-within {
  background: rgba(9, 40, 28, .97);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.header-inner {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height .25s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.logo img {
  width: clamp(178px, 18vw, 240px);
  height: auto;
  transition: width .25s ease;
}

.site-header.is-scrolled .logo img {
  width: clamp(150px, 14vw, 188px);
}

.nav-toggle {
  display: none;
  border: 1px solid #5d5d5d;
  background: rgba(0, 0, 0, .24);
  color: #ffffff;
  padding: .55rem .75rem;
  min-width: 44px;
  min-height: 44px;
}

.nav-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-list a,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem .95rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: Raleway, Arial, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  cursor: pointer;
}

.site-header.is-scrolled .nav-list a,
.site-header.is-scrolled .submenu-toggle {
  text-shadow: none;
}

.nav-list a:hover,
.submenu-toggle:hover,
.nav-list .active {
  color: #ffffff;
  text-decoration: none;
}

.nav-list a::after,
.submenu-toggle::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .35rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  transition: transform .2s ease;
}

.nav-list a,
.submenu-toggle {
  position: relative;
}

.nav-list a:hover::after,
.submenu-toggle:hover::after,
.nav-list .active::after {
  transform: scaleX(1);
}

.submenu-toggle {
  gap: .35rem;
}

.submenu-toggle span {
  pointer-events: none;
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 210px;
  background: #ffffff;
  border-top: 3px solid var(--green);
  box-shadow: 0 14px 25px rgba(0, 0, 0, .22);
  display: none;
}

.submenu.is-open {
  display: block;
}

.submenu a {
  width: 100%;
  color: #1f2a24;
  text-transform: none;
  font-weight: 700;
  text-shadow: none;
}

.submenu a::after {
  display: none;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a[aria-current="page"] {
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #111111;
  color: #ffffff;
}

.slides {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  background: #111111;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center;
}

.slide::after,
.page-hero::after,
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.slide::after {
  background:
    linear-gradient(180deg, rgba(6, 26, 15, .04), rgba(6, 26, 15, .24)),
    radial-gradient(140% 100% at 50% 58%, rgba(6, 22, 13, 0) 38%, rgba(6, 22, 13, .30) 100%);
}

.slide-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin-inline: auto;
  padding-top: 13.5rem;
  padding-bottom: 5.5rem;
  text-align: center;
}

.slide h1,
.slide h2 {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "PT Serif", Georgia, serif;
  font-size: 4.9rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: none;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .5), 0 1px 4px rgba(0, 0, 0, .4);
}

.slide p {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .55);
}

.slide.is-active img {
  animation: kenBurns 8s ease-out both;
  will-change: transform;
}

.hero-slider.is-paused .slide.is-active img {
  animation-play-state: paused;
}

.slide.is-active h1,
.slide.is-active h2 {
  animation: heroTitleIn 1.15s ease both;
}

.slide.is-active p {
  animation: heroTextIn 1.45s ease .2s both;
}

.slide.is-active .button-outline {
  animation: heroButtonIn 1.45s ease .42s both;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.45rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.button-outline {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .16);
  backdrop-filter: blur(3px);
}

.button-outline::after {
  content: "›";
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, .78);
  font-size: 1.45em;
  line-height: 1;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  text-decoration: none;
}

.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.icon-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(0, 0, 0, .45);
  color: #ffffff;
  cursor: pointer;
}

.hero-slider .icon-button {
  position: absolute;
  pointer-events: auto;
  width: 40px;
  height: 104px;
  font-size: 2rem;
  border: 0;
  background: rgba(0, 0, 0, .35);
  transition: background .2s ease, border-color .2s ease;
}

.hero-slider .icon-button:hover {
  background: rgba(0, 0, 0, .62);
}

.hero-slider [data-prev] {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-slider [data-next] {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-slider [data-pause] {
  left: 50%;
  bottom: 24px;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(0, 0, 0, .24);
  font-size: 1.05rem;
}

.slider-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  background: rgba(255, 255, 255, .14);
}

.slider-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold-strong);
}

.hero-slider.is-playing .slider-progress span,
.testimonials.is-playing .slider-progress span {
  animation: sliderProgress 8s linear both;
}

.hero-slider.is-paused .slider-progress span,
.testimonials.is-paused .slider-progress span {
  animation-play-state: paused;
}

@keyframes kenBurns {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.16) translate(-1.4%, -1%);
  }
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateX(-52px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateX(52px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroButtonIn {
  from {
    opacity: 0;
    transform: translateY(-44px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sliderProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: #f7f7f7 url("../assets/img/featured-service-bg.png") center / cover;
}

.section-title {
  margin-bottom: 2rem;
}

.section-title.center {
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: .25rem;
  color: var(--green);
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
}

h1,
h2,
h3,
h4 {
  font-family: Raleway, Arial, sans-serif;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h1 {
  font-size: 2.65rem;
}

h2 {
  font-size: 2.05rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
}

.about-grid,
.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-photo {
  position: relative;
  max-width: 430px;
}

.about-photo .overlay {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 44%;
  border: 8px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.service-preview,
.offer-cards,
.team-grid,
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.featured-service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.15rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--green);
  transition: color .2s ease, transform .2s ease;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.featured-service:hover .service-icon {
  color: var(--green-dark);
  transform: translateY(-2px);
}

.offer-card,
.team-card,
.sidebar-box {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.offer-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 107, 36, .28);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .11);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 3 / 1.8;
  object-fit: cover;
}

.offer-card-content,
.team-card-content,
.sidebar-box {
  padding: 1.3rem;
}

.feature-list {
  columns: 2;
  column-gap: 2.5rem;
  padding-left: 1.25rem;
}

.feature-list li {
  break-inside: avoid;
  margin-bottom: .65rem;
}

.testimonials {
  position: relative;
  background: #1a1a1a url("../assets/img/referencje-bg.jpg") center / cover fixed;
  color: #ffffff;
}

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

.testimonial-track {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.testimonial {
  display: none;
}

.testimonial.is-active {
  display: block;
}

.testimonial img {
  margin: 0 auto 1.5rem;
}

.testimonial blockquote {
  margin: 0;
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.15rem;
}

.testimonial figcaption {
  margin-top: 1rem;
  font-weight: 700;
}

.testimonials .slider-controls {
  position: static;
  inset: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.75rem;
  pointer-events: auto;
}

.page-hero {
  position: relative;
  min-height: 295px;
  display: grid;
  align-items: end;
  background: #222222 url("../assets/img/breadcrumbs-bg.jpg") center / cover;
  color: #ffffff;
  padding: 120px 0 70px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  text-transform: none;
}

.breadcrumb {
  margin: .5rem 0 0;
  color: #e9e9e9;
}

.sidebar-nav ul,
.document-list,
.contact-list,
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav a,
.document-list a {
  display: block;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #333333;
}

.sidebar-nav a[aria-current="page"],
.sidebar-nav a:hover {
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
}

.document-list a::before {
  content: "PDF";
  display: inline-block;
  margin-right: .75rem;
  padding: .15rem .45rem;
  background: var(--green);
  color: #ffffff;
  font-size: .75rem;
  font-weight: 700;
}

.file-meta {
  color: var(--muted);
  font-size: .9em;
  white-space: nowrap;
}

.document-list a:hover .file-meta,
.document-list a:focus-visible .file-meta {
  color: inherit;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ethics article {
  margin-bottom: 2rem;
}

.ethics h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
  text-transform: none;
}

.ethics h3 {
  margin-top: 1.25rem;
}

.map-frame {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.subpage-hero,
.cennik-hero {
  min-height: 374px;
  align-items: end;
  padding: 200px 0 92px;
}

.subpage-hero h1,
.cennik-hero h1 {
  width: 100%;
  color: #ffffff;
  font-family: "PT Serif", Georgia, serif;
  font-size: 45px;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

.subpage-main,
.cennik-page {
  padding-top: 70px;
  padding-bottom: 93px;
}

.oferta-page {
  background: #f4f4f4;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 24px;
}

.practice-item {
  margin-bottom: 35px;
  text-align: center;
}

.practice-item img {
  width: 100%;
  aspect-ratio: 374 / 219;
  object-fit: cover;
  background: #f4f4f4;
}

.practice-item h2 {
  margin: 27px 0 15px;
  color: #000000;
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.practice-item h2::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 2px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--gold);
}

.practice-item p,
.offer-intro p,
.offer-detail p {
  color: #777777;
  font-size: 14px;
  line-height: 26px;
}

.basic-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  margin-top: 2px;
  padding: 4px 16px;
  background: var(--gold);
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.basic-link:hover,
.basic-link:focus-visible {
  background: #222222;
  color: #ffffff;
  text-decoration: none;
}

.offer-intro {
  max-width: 1040px;
  margin: 2px auto 42px;
  text-align: center;
}

.separator-title {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
  align-items: center;
  gap: 15px;
  margin: 0 0 18px;
}

.separator-title::before,
.separator-title::after {
  content: "";
  height: 1px;
  background: #006838;
}

.separator-title h2 {
  margin: 0;
  color: #333333;
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.offer-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 34px;
}

.offer-detail {
  text-align: center;
}

.offer-detail-wide {
  grid-column: span 3;
  max-width: 820px;
  margin-inline: auto;
}

.people-page {
  background: #ffffff;
}

.people-heading {
  max-width: 900px;
  margin: 0 auto 42px;
}

.people-heading h2 {
  position: relative;
  margin: 0 0 24px;
  color: #333333;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.people-heading h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 17px auto 0;
  background: var(--gold);
}

.people-heading p {
  margin: 0 auto;
  color: #777777;
  font-size: 14px;
  line-height: 27px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.person-card {
  margin-bottom: 30px;
  background: #f0f0f0;
  text-align: center;
}

.person-photo {
  position: relative;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  aspect-ratio: 563 / 600;
  object-fit: cover;
}

.person-card .person-info {
  padding: 17px 10px 12px;
  background: #f0f0f0;
  transition: background .35s ease;
}

.person-info h2 {
  margin: 0;
  color: #3b3946;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color .35s ease;
}

.person-info > p {
  margin: 2px 0 0;
  color: #3b3946;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  transition: color .35s ease;
}

.person-contact {
  margin: 17px 0 0;
  padding: 10px 8px;
  background: #ffffff;
  transition: background .35s ease;
}

.person-contact p {
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  transition: color .35s ease;
}

.person-contact a {
  color: inherit;
}

.person-card:hover .person-info,
.person-card:focus-within .person-info {
  background: var(--gold);
}

.person-card:hover .person-info h2,
.person-card:hover .person-info > p,
.person-card:focus-within .person-info h2,
.person-card:focus-within .person-info > p {
  color: #3b3946;
}

.person-card:hover .person-contact,
.person-card:focus-within .person-contact {
  background: #3b3946;
}

.person-card:hover .person-contact p,
.person-card:focus-within .person-contact p {
  color: #ffffff;
}

.cennik-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

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

.cennik-title h2 {
  margin: 0;
  color: #000000;
  font-family: Raleway, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.cennik-title h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin-top: 11px;
  background: var(--gold);
}

.cennik-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cennik-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #eeeeee;
  color: #636363;
  font-family: Raleway, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.cennik-nav a:hover,
.cennik-nav a:focus-visible {
  color: var(--gold);
  text-decoration: none;
}

.cennik-content {
  max-width: 760px;
  padding-left: 10px;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 24px;
}

.cennik-content p {
  margin: 0 0 24px;
}

.cennik-content strong {
  color: #555555;
}

.cennik-content ul {
  margin: 0;
  padding-left: 20px;
}

.cennik-content li {
  margin-bottom: 4px;
}

.consultation-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 18px 20px 18px 18px;
  background: var(--green);
}

.consultation-strip h2 {
  margin: 0;
  color: #ffffff;
  font-family: "PT Serif", Georgia, serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

.consultation-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 30px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #ffffff;
  font-family: Raleway, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .3s ease, border-color .3s ease;
}

.consultation-strip a:hover,
.consultation-strip a:focus-visible {
  background: #363636;
  border-color: #363636;
  color: #ffffff;
  text-decoration: none;
}

/* Unified visual standard */
.section {
  padding: clamp(56px, 7vw, 86px) 0;
}

/* Treść każdej podstrony zaczyna się na tej samej wysokości: hero ma stałą
   wysokość, a górny margines pierwszego elementu sekcji nie może go przesuwać. */
.section > .container > :first-child {
  margin-top: 0;
}

.section-soft,
.oferta-page,
.people-page,
.cennik-page {
  background: var(--surface);
}

.section-title,
.people-heading,
.cennik-title {
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}

.section-title h2,
.people-heading h2,
.cennik-title h2,
.content-grid article > h2,
.contact-grid h2 {
  position: relative;
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title h2::after,
.people-heading h2::after,
.cennik-title h2::after,
.content-grid article > h2::after,
.contact-grid h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold);
}

.section-title.center h2::after,
.people-heading h2::after {
  margin-inline: auto;
}

.eyebrow {
  color: var(--green);
  font-family: Raleway, Arial, sans-serif;
  font-size: .82rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero,
.subpage-hero,
.cennik-hero {
  min-height: clamp(300px, 42vw, 380px);
  align-items: end;
  padding: clamp(140px, 18vw, 200px) 0 clamp(58px, 8vw, 88px);
  background-position: center;
}

.page-hero::after {
  background:
    linear-gradient(180deg, rgba(4, 31, 10, .28), rgba(4, 31, 10, .62)),
    linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 86, 31, .42));
}

.page-hero .container {
  text-align: center;
}

.page-hero h1,
.subpage-hero h1,
.cennik-hero h1 {
  width: 100%;
  color: #ffffff;
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

.breadcrumb {
  display: inline-flex;
  max-width: 100%;
  margin: .85rem auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
}

.button,
.button-outline,
.basic-link,
.consultation-strip a {
  min-height: 44px;
  padding: .62rem 1.2rem;
  border-radius: var(--radius);
  font-family: Raleway, Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.basic-link,
.consultation-strip a {
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
}

.basic-link:hover,
.basic-link:focus-visible,
.consultation-strip a:hover,
.consultation-strip a:focus-visible {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.offer-card,
.team-card,
.sidebar-box,
.practice-item,
.offer-detail,
.person-card,
.cennik-sidebar,
.cennik-content,
.contact-grid > article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.practice-item,
.offer-detail,
.person-card,
.cennik-sidebar,
.cennik-content,
.contact-grid > article,
.sidebar-box {
  overflow: hidden;
}

.practice-item,
.offer-detail {
  margin-bottom: 0;
  padding: 22px;
  text-align: left;
}

.practice-item:hover,
.person-card:hover,
.person-card:focus-within,
.offer-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 107, 36, .28);
  box-shadow: var(--shadow-hover);
}

.practice-item img {
  margin: -22px -22px 22px;
  width: calc(100% + 44px);
  max-width: none;
  background: var(--surface-strong);
}

.practice-item h2,
.separator-title h2 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.practice-item h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px 0 0;
  background: var(--gold);
}

.practice-item p,
.offer-intro p,
.offer-detail p,
.people-heading p,
.cennik-content,
.cennik-content p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.72;
}

.offer-intro {
  max-width: none;
  margin: 8px 0 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.separator-title {
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  gap: 18px;
}

.separator-title::before,
.separator-title::after {
  background: var(--line);
}

.offer-detail {
  display: flex;
  flex-direction: column;
}

.offer-detail .separator-title {
  grid-template-columns: 1fr;
  gap: 0;
}

.offer-detail .separator-title::before,
.offer-detail .separator-title::after {
  display: none;
}

.offer-detail .separator-title h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  background: var(--gold);
}

.people-heading {
  text-align: center;
}

.person-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.person-card .person-info {
  padding: 20px;
  background: var(--paper);
}

.person-info h2,
.person-info > p {
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
}

.person-info > p {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
}

.person-contact {
  margin: 18px -20px -20px;
  padding: 16px 20px;
  background: var(--surface);
}

.person-card:hover .person-info,
.person-card:focus-within .person-info {
  background: var(--paper);
}

.person-card:hover .person-contact,
.person-card:focus-within .person-contact {
  background: var(--green);
}

.content-grid,
.cennik-layout {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 54px);
}

.cennik-sidebar,
.cennik-content,
.content-grid > .sidebar-box {
  padding: 28px;
}

.cennik-content {
  max-width: none;
}

.cennik-nav a,
.sidebar-nav a,
.document-list a {
  border-bottom-color: var(--line);
}

.cennik-nav a:hover,
.cennik-nav a:focus-visible {
  color: var(--green);
}

.consultation-strip {
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: var(--shadow);
}

.contact-grid > article,
.contact-grid .sidebar-box {
  padding: 30px;
}

.contact-grid {
  grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr);
}

.contact-page {
  padding-bottom: 100px;
  background: #ffffff;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

.contact-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 107, 36, .28);
  box-shadow: var(--shadow-hover);
}

.contact-card .service-icon {
  margin: 0 auto 1rem;
}

.contact-card h3 {
  margin: 0 0 .7rem;
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-card address {
  font-style: normal;
}

.contact-card p {
  margin: 0 0 .35rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a {
  color: var(--green);
  font-weight: 600;
}

.contact-card .contact-lines a {
  display: block;
}

.contact-meta {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .88rem;
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-qr {
  max-width: 220px;
  margin: clamp(22px, 3vw, 32px) auto 0;
  text-align: center;
}

.contact-qr img {
  margin: 0 auto .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-qr figcaption {
  color: var(--muted);
  font-size: .88rem;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
}

.footer-widget-area {
  background: var(--footer);
  border-top: 3px solid var(--gold);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 49px 0 43px;
}

.site-footer h2 {
  color: #ffffff;
  margin: 4px 0 26px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.site-footer a {
  color: #ffffff;
}

.footer-widget p {
  margin: 0;
  color: var(--footer-text);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-logo {
  width: clamp(190px, 22vw, 224px);
  height: auto;
  margin-bottom: 24px;
}

.footer-read-more {
  margin-top: 11px;
}

.footer-read-more a {
  color: var(--gold-strong);
  font-size: 1rem;
  font-weight: 600;
}

.footer-read-more a:hover,
.footer-read-more a:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

.footer-kidp {
  width: clamp(180px, 20vw, 230px);
  height: auto;
  max-width: 100%;
}

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

.footer-contact-list li {
  position: relative;
  min-height: 25px;
  margin-bottom: 1.15rem;
  padding-left: 35px;
  background-repeat: no-repeat;
  background-position: 0 7px;
  color: var(--footer-text);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-contact-list .location {
  background-image: url("../assets/img/footer-location.png");
}

.footer-contact-list .phone {
  background-image: url("../assets/img/footer-phone.png");
  background-position: 0 8px;
}

.footer-contact-list .envelop {
  background-image: url("../assets/img/footer-envelop.png");
  background-position: 0 8px;
}

.footer-contact-list .website {
  background-image: url("../assets/img/footer-website.png");
  background-position: 0 4px;
}

.footer-contact-list a {
  color: var(--footer-text);
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  color: var(--gold-strong);
  text-decoration: none;
}

.footer-bottom {
  background: var(--footer-bottom);
  padding: 20px 0 19px;
  color: var(--footer-text);
  font-size: .95rem;
  line-height: 1.7;
}

.footer-bottom a {
  color: var(--gold-strong);
  text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  background: #111111;
  color: #ffffff;
  padding: .85rem 0;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .25);
}

.cookie-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.cookie-inner p {
  margin: 0;
  font-size: .95rem;
}

.cookie-inner .button {
  min-height: 42px;
  padding: .65rem 1.05rem;
  border-color: #00a99d;
  background: #00a99d;
  white-space: nowrap;
}

.cookie-inner .button:hover,
.cookie-inner .button:focus-visible {
  border-color: #008d84;
  background: #008d84;
}

.cookie-banner[hidden] {
  display: none;
}

/* Scroll reveal — the .reveal class is added by JS, so content stays
   fully visible when JavaScript is unavailable or motion is reduced. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    display: none;
    background: rgba(9, 40, 28, .99);
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .main-navigation.is-open {
    display: block;
  }

  .nav-list {
    display: block;
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
    padding: .75rem 0 1rem;
  }

  .nav-list a,
  .submenu-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-top: 0;
    margin-left: 1rem;
  }

  .about-grid,
  .content-grid,
  .contact-grid,
  .cennik-layout,
  .practice-grid,
  .offer-details-grid,
  .people-grid,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .people-grid {
    max-width: 430px;
    margin-inline: auto;
  }

  .cennik-layout {
    gap: 34px;
  }

  .cennik-content {
    max-width: none;
  }

  .consultation-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-detail-wide {
    grid-column: auto;
    max-width: none;
  }

  .service-preview,
  .offer-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .feature-list {
    columns: 1;
  }

  .slide h1,
  .slide h2 {
    font-size: 4rem;
  }

  .slide p {
    font-size: 1.35rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2,
  .section-title h2,
  .people-heading h2,
  .cennik-title h2,
  .content-grid article > h2,
  .contact-grid h2 {
    font-size: 1.72rem;
  }

}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero-slider,
  .slides {
    height: auto;
    min-height: 0;
  }

  .slide {
    position: relative;
    inset: auto;
    display: none;
    min-height: clamp(430px, 72svh, 560px);
  }

  .slide.is-active {
    display: grid;
  }

  .slide-content {
    padding-top: 7.4rem;
    padding-bottom: 4.8rem;
  }

  .slide h1,
  .slide h2 {
    font-size: 2.8rem;
  }

  .subpage-hero,
  .cennik-hero {
    min-height: 300px;
    padding: 150px 0 64px;
  }

  .slide p {
    font-size: 1.12rem;
  }

  .site-header .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 84px;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    width: clamp(156px, 44vw, 190px);
  }

  .about-photo .overlay {
    position: static;
    width: 58%;
    margin: -50px 0 0 auto;
  }

  .contact-page {
    padding-bottom: 70px;
  }

  .cookie-inner {
    display: block;
  }

  .cookie-inner .button {
    margin-top: .75rem;
    width: 100%;
  }
}

/* Headings use sentence case (capitalised first letter, no all-caps).
   Placed last so it overrides the earlier text-transform: uppercase rules. */
h1,
h2,
h3,
h4,
.section-title h2,
.people-heading h2,
.cennik-title h2,
.content-grid article > h2,
.contact-grid h2,
.contact-heading h2,
.contact-heading h2 span,
.practice-item h2,
.separator-title h2,
.person-info h2,
.person-info > p {
  text-transform: none;
}

/* Buttons: outline only by default, solid fill on hover / focus.
   Placed last to override the earlier filled-button rules. */
.button,
.basic-link {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
}

.button:hover,
.button:focus-visible,
.basic-link:hover,
.basic-link:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero button sits on a photo — light outline, fills green on hover. */
.button-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .82);
  color: #ffffff;
  backdrop-filter: none;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

/* Consultation strip sits on a green band — light outline, white fill on hover. */
.consultation-strip a {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .82);
  color: #ffffff;
}

.consultation-strip a:hover,
.consultation-strip a:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--green);
  transform: translateY(-1px);
}

/* Cookie banner button on a dark band. */
.cookie-inner .button {
  background: transparent;
  border: 1px solid #35c4b8;
  color: #ffffff;
}

.cookie-inner .button:hover,
.cookie-inner .button:focus-visible {
  background: #00a99d;
  border-color: #00a99d;
  color: #ffffff;
}
