:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-500: #74C69D;
  --green-400: #95D5B2;
  --green-300: #B7E4C7;
  --green-200: #D8F3DC;
  --green-100: #EDF7F0;
  --sand-100: #FAF8F5;
  --sand-200: #F5F0EB;
  --text-dark: #1A1A1A;
  --text-body: #3D3D3D;
  --text-muted: #4A4A4A;
  --border-light: #E8E8E8;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
  font-size: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 400;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--green-800); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--green-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-900);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green-600);
  flex-shrink: 0;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-subtitle.centered {
  margin: 0 auto;
}

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

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-900);
}

.btn-outline:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--green-100);
  border-color: var(--green-100);
  color: var(--green-900);
  transform: translateY(-1px);
}

/* ========== NAVBAR ========== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  /* szerszy niż sekcje (1200px): pełna nazwa + 8 pozycji + przycisk potrzebują ~1180px treści */
  max-width: 1400px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .logo-icon {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
}

.navbar-brand .brand-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--green-900);
}

.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-700);
  transition: var(--transition);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-dark);
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========== HERO ========== */

.hero {
  padding: 140px 0 96px;
  background: linear-gradient(135deg, var(--white) 0%, var(--green-100) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-200) 0%, transparent 70%);
  opacity: 0.5;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.hero-content .section-label {
  margin-bottom: 16px;
}

.hero-content h1 {
  margin-bottom: 24px;
  font-size: 2.75rem;
  line-height: 1.2;
}

.hero-content h1 span {
  display: block;
  color: var(--green-800);
  font-size: 0.72em;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.hero-chips li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--green-300);
  padding: 6px 14px;
  border-radius: var(--radius-pill, 999px);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--green-200);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--green-600);
  border-radius: 50%;
  opacity: 0.15;
}

/* ========== HELP SECTION ========== */

.help-section {
  background: var(--white);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}

.help-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--green-100);
}

.help-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  background: var(--green-600);
  border-radius: 50%;
  margin-top: 1px;
}

.help-icon::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.help-item span {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ========== AREA ROWS (obszary pracy — układ redakcyjny) ========== */

.area-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
}

.area-row:first-of-type {
  border-top: none;
  margin-top: 24px;
  padding-top: 48px;
}

.area-side-inner {
  position: sticky;
  top: 96px;
}

.area-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--green-600);
  display: block;
  margin-bottom: 12px;
}

.area-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 8px;
}

.area-side h3 {
  font-size: 1.5rem;
}

.area-lead {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 45rem;
  margin-bottom: 14px;
}

.area-check-title {
  font-weight: 600;
  color: var(--text-dark);
  margin: 28px 0 4px;
}

.area-content .area-check-title {
  margin-bottom: 10px;
}

.area-list {
  list-style: none;
  columns: 2;
  column-gap: 48px;
  margin: 0 0 8px;
  padding: 0;
}

.area-list li {
  break-inside: avoid;
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--green-100);
}

.area-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}

.area-close {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 45rem;
  margin-top: 24px;
}

/* ========== ABOUT QUOTE ========== */

.about-subheading {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--green-200);
}

.about-quote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--green-600);
  background: var(--green-100);
  border-radius: var(--radius-sm);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--green-900);
}

/* ========== INLINE CTA ========== */

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: var(--radius-md);
}

.inline-cta p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  max-width: 34rem;
}

/* ========== MOBILE STICKY CTA ========== */

.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  }

  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-cta[hidden] {
    display: none;
  }
}

/* ========== BUSINESS SECTION (dla firm) ========== */

.business-section {
  background: var(--sand-100);
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 24px;
  align-items: start;
}

.business-content {
  max-width: 45rem;
}

.business-aside .area-check-title:first-child {
  margin-top: 0;
}

/* w wąskiej kolumnie bocznej lista jest jednokolumnowa */
.business-list {
  columns: 1;
}

.business-content p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 16px;
}

.business-note {
  max-width: 45rem;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.business-note a {
  text-decoration: underline;
}

/* ========== ABOUT ========== */

.about-section {
  background: var(--sand-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 96px;
  align-self: start;
}

.about-photo-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  background: var(--green-200);
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--green-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ========== EDUCATION ========== */

.education-section {
  background: var(--white);
}

.education-list {
  list-style: none;
  max-width: 800px;
  margin-top: 48px;
}

/* rok tuż przy treści (flex-start), nie na prawej krawędzi listy —
   space-between odrywał datę od tytułu, do którego należy */
.education-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  padding-left: 36px;
  padding-bottom: 32px;
}

.education-content {
  flex: 0 1 auto;
}

.education-item .education-year {
  flex-shrink: 0;
}

.education-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: -6px;
  width: 2px;
  background: var(--green-200);
}

.education-item:last-child {
  padding-bottom: 0;
}

.education-item:last-child::before {
  display: none;
}

.education-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--green-700);
  border-radius: 50%;
}

.education-content h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.education-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.education-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.education-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.education-title-row h3 {
  margin-bottom: 4px;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--green-200);
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  cursor: pointer;
  transition: var(--transition);
}

.cert-btn:hover {
  background: var(--green-200);
  transform: translateY(-1px);
}

/* ========== CERT GALLERY (masonry) ========== */

.cert-gallery-section {
  background: var(--sand-100);
}

.cert-gallery {
  list-style: none;
  columns: 3;
  column-gap: 24px;
  margin-top: 48px;
}

.cert-tile-item {
  break-inside: avoid;
  margin-bottom: 24px;
}

.cert-tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: var(--transition);
}

.cert-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-300);
}

.cert-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.cert-gallery-more {
  margin-top: 8px;
  text-align: center;
}

/* ========== CERT MODAL ========== */

.cert-modal {
  border: none;
  padding: 0;
  background: transparent;
  width: fit-content;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
}

.cert-modal::backdrop {
  background: rgba(26, 26, 26, 0.72);
}

.cert-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cert-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cert-modal-close:hover {
  background: var(--green-100);
}

.cert-modal-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--sand-100);
}

/* ========== SERVICES ========== */

.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* nieparzysta ostatnia karta nie zostaje sama na pół szerokości */
.services-grid > .service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ...ale jej tekst nie rozciąga się na całą szerokość (czytelna miara) */
.services-grid > .service-card:last-child:nth-child(odd) p {
  max-width: 45rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-600);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.service-card h3 {
  font-size: 1.3rem;
  flex: 1;
}

.service-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== HOW I WORK ========== */

.approach-section {
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.approach-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-800) 0%, transparent 70%);
}

.approach-section .section-label {
  color: var(--green-300);
}

.approach-section .section-title {
  color: var(--white);
}

.approach-section .section-subtitle {
  color: var(--green-300);
}

.approach-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.approach-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* lead — pierwsze zdanie sekcji jaśniejsze i większe, kotwiczy wzrok na ciemnym tle */
.approach-content p:first-child {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--green-200);
}

.approach-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.approach-value {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.approach-value:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.approach-value-icon {
  width: 44px;
  height: 44px;
  background: var(--green-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.approach-value h3 {
  color: var(--green-200);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.approach-value p {
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.approach-value p + p {
  margin-top: 12px;
}

/* ========== FAQ ========== */

.faq-section {
  background: var(--sand-100);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
}

/* hover sygnalizuje klikalność całego nagłówka, nie tylko plusa */
.faq-item summary:hover {
  background: var(--green-100);
  border-radius: var(--radius-md);
}

.faq-item summary:hover::after {
  background: var(--green-300);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--green-900);
  color: var(--white);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a {
  text-decoration: underline;
}

/* ========== LEGAL ========== */

.legal-section {
  padding-top: 140px;
  background: var(--white);
}

.legal-section h1.section-title {
  font-size: 2.25rem;
}

.legal-content {
  max-width: 760px;
  margin-top: 32px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 36px 0 12px;
}

.legal-content ul {
  margin: 0 0 16px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  text-decoration: underline;
}

/* ========== CTA ========== */

.cta-section {
  background: var(--green-900);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-700) 0%, transparent 70%);
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2rem;
}

.cta-section p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
  align-items: start;
}

.contact-form {
  max-width: 640px;
  text-align: left;
}

.contact-location-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-map-links {
  margin: 12px 0 20px;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.contact-map-links a {
  color: var(--white);
  text-decoration: underline;
}

.contact-map-links span {
  color: rgba(255,255,255,0.5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--transition);
}

.form-field textarea {
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

/* min. 24px pola + label jako drugi cel dotykowy (for=) — WCAG 2.5.8 */
.form-consent input {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--green-300);
  cursor: pointer;
}

.form-consent label {
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-consent a {
  color: var(--white);
  text-decoration: underline;
}

/* honeypot — poza ekranem, niewidoczny i pomijany przez fokus */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-200);
}

.form-status:empty {
  display: none;
}

.form-note {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
}

.form-note a {
  color: var(--white);
  text-decoration: underline;
}

/* ========== FOOTER ========== */

.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.87);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.87);
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.87);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-500);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.87);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-crisis {
  margin: 24px auto 0;
  max-width: 45rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.87);
}

.footer-crisis a {
  color: var(--white);
  text-decoration: underline;
  white-space: nowrap;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.87);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .area-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    max-width: none;
  }

  .area-side-inner {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .area-num {
    margin-bottom: 0;
    font-size: 3.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .approach-values {
    grid-template-columns: repeat(2, 1fr);
  }

  /* nieparzysta ostatnia wartość nie zawisa samotnie na pół szerokości */
  .approach-values > .approach-value:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .approach-values > .approach-value:last-child:nth-child(odd) p {
    max-width: 45rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* menu mobilne (hamburger) już od 1024px — pełne 8-pozycyjne menu nie mieści się wyżej */
  .navbar-nav { display: none; }
  .navbar-toggle { display: block; }

  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 8px;
  }

  .navbar-nav.active a {
    display: block;
    padding: 12px 4px;
  }
}

/* logo bez pełnej nazwy w wąskim zakresie desktopu, by menu miało miejsce
   (pełna nazwa + 8 pozycji + przycisk mieszczą się dopiero od ~1280px) */
@media (max-width: 1279px) {
  .navbar-brand .brand-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .cert-gallery {
    columns: 2;
    column-gap: 16px;
  }

  .cert-tile-item {
    margin-bottom: 16px;
  }

  .hero { padding: 110px 0 64px; }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* relative, nie static — badge (absolute, right:-16px) musi mieć kontekst
     pozycjonowania w zdjęciu, inaczej wystaje poza viewport */
  .about-photo {
    position: relative;
    top: auto;
    max-width: 320px;
  }

  .about-badge {
    right: 0;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .area-list {
    columns: 1;
  }

  .approach-values {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* specyficzność ≥ .hero-content h1, inaczej wygrywa reguła bazowa 2.75rem */
  h1,
  .hero-content h1 { font-size: 1.75rem; }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .service-card-header {
    flex-direction: column;
  }

  .education-item {
    flex-direction: column;
    gap: 8px;
  }

  .cert-gallery {
    columns: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ========== REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ========== SHIM: Contact Form 7 w miejscu oryginalnego formularza ========== */
.contact-form .wpcf7 form { max-width: 640px; text-align: left; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-spinner { display: none; }
.contact-form .wpcf7-response-output {
  margin: 16px 0 0; padding: 10px 14px; border: 1px solid var(--green-300);
  border-radius: var(--radius-sm); color: var(--green-200); font-size: 0.9rem;
}
.contact-form .wpcf7-not-valid-tip { color: #FFB4A2; font-size: 0.85rem; margin-top: 4px; }
.contact-form .form-consent .wpcf7-form-control-wrap { display: inline; }
.contact-form .form-consent .wpcf7-list-item { margin: 0; }
.contact-form .form-consent input[type=checkbox] {
  width: 24px; height: 24px; margin: 2px 12px 0 0; flex-shrink: 0;
  accent-color: var(--green-300); cursor: pointer;
}
.contact-form .form-consent .wpcf7-list-item-label { color: rgba(255,255,255,0.95); font-size: 0.85rem; line-height: 1.6; cursor: pointer; }
.contact-form .form-consent .wpcf7-list-item-label a { color: var(--white); text-decoration: underline; }

/* ========== SHIM: neutralizacja odstępów Elementora dla sekcji werbatim ========== */
.elementor-widget-html { margin-bottom: 0 !important; }
.elementor-widget-html .elementor-widget-container { width: 100%; }


/* ========== SHIM: Elementor — neutralne odstępy, layouty przejmuje oryginalny CSS ========== */
body .elementor-widget:not(:last-child) { margin-bottom: 0; }
body .elementor-widget-text-editor, body .elementor-widget-html { width: 100%; }
/* klasa .container na kontenerze Elementora = oryginalne boxowanie */
body .e-con.container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; width: 100%; }
body .e-con.hero .container, body .navbar .container { max-width: 1200px; }
body .navbar .container { max-width: 1400px; }
/* sekcyjne e-cony na pełną szerokość bez wewn. paddingów Elementora */
body .e-con { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }
/* text-editor nie może nadpisywać typografii oryginału */
body .elementor-widget-text-editor { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
/* grid-layouty oryginału mają wygrać z flexem Elementora */
body .e-con.about-grid, body .e-con.services-grid, body .e-con.business-grid,
body .e-con.approach-values, body .e-con.contact-grid { display: grid; }


/* ---- hero jako grid oryginału na kontenerach Elementora ---- */
body .e-con.hero > .e-con.container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
body .e-con.hero { display: block; padding-top: 140px !important; padding-bottom: 96px !important; }
@media (max-width: 1024px){ body .e-con.hero > .e-con.container { grid-template-columns: 1fr; gap: 48px; } body .e-con.hero-image { max-width: 480px; margin: 0 auto; } }
@media (max-width: 768px){ body .e-con.hero { padding-top: 110px !important; padding-bottom: 64px !important; } }
/* widget image z klasą hero-image-wrapper = wrapper oryginału */
body .elementor-widget.hero-image-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--green-200); }
body .elementor-widget.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .e-con.hero-image { position: relative; z-index: 1; }
/* about-photo-wrapper analogicznie */
body .elementor-widget.about-photo-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; background: var(--green-200); }
body .elementor-widget.about-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* generyczne gridy sekcji na e-con-inner */
body .e-con.about-grid, body .e-con.services-grid, body .e-con.business-grid,
body .e-con.approach-values, body .e-con.contact-grid { display: grid; }
body .e-con.about-grid { grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
body .e-con.services-grid { grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 48px; }
body .e-con.business-grid { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 24px; align-items: start; }
body .e-con.approach-values { grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; position: relative; z-index: 1; }
body .e-con.contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1080px; margin: 0 auto; text-align: left; align-items: start; }
@media (max-width: 1024px){
  body .e-con.about-grid { grid-template-columns: 320px 1fr; gap: 40px; }
  body .e-con.services-grid { grid-template-columns: 1fr; }
  body .e-con.business-grid { grid-template-columns: 1fr; gap: 24px; }
  body .e-con.approach-values { grid-template-columns: repeat(2,1fr); }
  body .e-con.contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px){
  body .e-con.about-grid { grid-template-columns: 1fr; gap: 32px; }
  body .e-con.approach-values { grid-template-columns: 1fr; }
}
/* service-card / approach-value jako kontenery Elementora */
body .e-con.service-card { display: block; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 36px !important; transition: var(--transition); position: relative; overflow: hidden; }
body .e-con.service-card::before { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:var(--green-600); opacity:0; transition:var(--transition); }
body .e-con.service-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
body .e-con.service-card:hover::before { opacity: 1; }
body .e-con.approach-value { display: block; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 28px !important; transition: var(--transition); }
body .e-con.approach-value:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
/* about-photo sticky + badge */
body .e-con.about-photo { position: sticky; top: 96px; align-self: start; display: block; }
@media (max-width: 768px){ body .e-con.about-photo { position: relative; top: auto; max-width: 320px; } }
/* sekcje .section na e-conach */
body .e-con.section { display: block; padding-top: 96px !important; padding-bottom: 96px !important; }
@media (max-width: 768px){ body .e-con.section { padding-top: 64px !important; padding-bottom: 64px !important; } }
body .e-con.container { display: block; }
/* CF7: neutralizacja <br> i styl przycisku */
.contact-form br { display: none; }
.contact-form .form-field { margin-bottom: 16px; }
.contact-form .wpcf7-submit { background: var(--white); color: var(--green-900); border: 2px solid var(--white); border-radius: var(--radius-sm); padding: 14px 28px; font-family: Inter,sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.contact-form .wpcf7-submit:hover { background: var(--green-100); border-color: var(--green-100); transform: translateY(-1px); }
/* navbar/footer/mobile-cta e-cony bez ramek */
body .e-con { border: 0; }

/* CF7 renderuje pola w <p> — zerujemy marginesy, by layout był jak w oryginale */
.contact-form .form-field p, .contact-form .form-consent p { margin: 0; }
.contact-form form > p { margin: 0 0 16px; }
.contact-form .form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.contact-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: flex; align-items: flex-start; gap: 12px; }
.contact-form .wpcf7-acceptance input { width: 24px; height: 24px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green-300); cursor: pointer; }
.contact-form .wpcf7-acceptance .wpcf7-list-item-label { color: rgba(255,255,255,0.95); font-size: 0.85rem; line-height: 1.6; cursor: pointer; }
.contact-form .form-note { margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.95); }
.contact-form .form-note a { color: var(--white); text-decoration: underline; }
/* linki w stopce w text-editorze — przywrócenie podkreśleń oryginału */
.footer .footer-crisis a { color: var(--white); text-decoration: underline; white-space: nowrap; }
.footer a { color: rgba(255,255,255,0.87); }

/* cta-section: centrowanie nagłówka jak w oryginale (kaskada Elementora gubi inherit) */
body .e-con.cta-section { text-align: center; padding-top: 80px !important; padding-bottom: 80px !important; }
body .e-con.cta-section .contact-grid { text-align: left; }
