/* KZS — strona glowna 1.1.2. Style zawężone do .kzs-homepage. */
.kzs-homepage {
  --kzs-home-navy: #10233f;
  --kzs-home-navy-soft: #18385f;
  --kzs-home-gold: #9a7a3f;
  --kzs-home-gold-light: #d8c8a2;
  --kzs-home-cream: #f7f5f0;
  --kzs-home-cream-light: #fbfaf7;
  --kzs-home-text: #263238;
  --kzs-home-muted: #65727a;
  --kzs-home-border: #e5dfd4;
  background: #fff;
  color: var(--kzs-home-text);
  font-family: inherit;
  line-height: 1.65;
  overflow: hidden;
}

.kzs-homepage,
.kzs-homepage * { box-sizing: border-box; }

.kzs-homepage h1,
.kzs-homepage h2,
.kzs-homepage h3,
.kzs-homepage p,
.kzs-homepage ul,
.kzs-homepage ol { margin-top: 0; text-align: left; }

.kzs-homepage h1,
.kzs-homepage h2,
.kzs-homepage h3 {
  color: var(--kzs-home-navy);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-transform: none;
}

.kzs-home-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.kzs-home-section { padding: 96px 0; }

.kzs-home-eyebrow {
  margin-bottom: 18px;
  color: var(--kzs-home-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kzs-home-section-heading { max-width: 760px; margin-bottom: 52px; }

.kzs-home-section-heading h2,
.kzs-home-about h2,
.kzs-home-pricing h2,
.kzs-home-contact h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); }

.kzs-home-section-heading > p:last-child,
.kzs-home-section-heading > div > p:last-child,
.kzs-home-about-copy > p,
.kzs-home-pricing p,
.kzs-home-contact-heading > p:last-child { color: var(--kzs-home-muted); font-size: 18px; }

.kzs-home-hero {
  position: relative;
  padding: 112px 0 104px;
  background: radial-gradient(circle at 86% 22%, rgba(216, 200, 162, 0.2), transparent 30%), linear-gradient(135deg, #fff 0%, var(--kzs-home-cream-light) 64%, #f1ede3 100%);
  border-bottom: 1px solid var(--kzs-home-border);
}

.kzs-home-hero::before {
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--kzs-home-gold); content: "";
}

.kzs-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.kzs-home-hero h1 { max-width: 850px; margin-bottom: 26px; font-size: clamp(42px, 5.3vw, 68px); }
.kzs-home-lead { max-width: 760px; margin-bottom: 34px; color: #44515a; font-size: 19px; line-height: 1.75; }
.kzs-home-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.kzs-homepage .kzs-home-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 50px;
  padding: 13px 25px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em;
  line-height: 1.3 !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.kzs-homepage .kzs-home-button:hover,
.kzs-homepage .kzs-home-button:focus { transform: translateY(-2px); }
.kzs-homepage .kzs-home-button-primary { background: var(--kzs-home-navy) !important; color: #fff !important; }
.kzs-homepage .kzs-home-button-primary:hover,
.kzs-homepage .kzs-home-button-primary:focus { background: var(--kzs-home-navy-soft) !important; }
.kzs-homepage .kzs-home-button-secondary { border-color: var(--kzs-home-navy) !important; background: transparent !important; color: var(--kzs-home-navy) !important; }
.kzs-homepage .kzs-home-button-secondary:hover,
.kzs-homepage .kzs-home-button-secondary:focus { background: #fff !important; }

.kzs-home-hero-panel { padding: 36px; background: var(--kzs-home-navy); box-shadow: 0 22px 55px rgba(16,35,63,.16); color: #fff; }
.kzs-home-panel-label { margin-bottom: 24px; color: var(--kzs-home-gold-light); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kzs-home-hero-panel ul { margin: 0 0 26px; padding: 0; list-style: none; }
.kzs-home-hero-panel li { position: relative; padding: 13px 0 13px 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.kzs-home-hero-panel li::before { position: absolute; top: 22px; left: 2px; width: 8px; height: 8px; border: 1px solid var(--kzs-home-gold-light); border-radius: 50%; content: ""; }
.kzs-home-text-link,
.kzs-home-text-link:visited { color: #fff; font-weight: 700; text-decoration: none; }
.kzs-home-text-link { display: inline-flex; gap: 9px; align-items: center; }
.kzs-home-inline-icon { flex: 0 0 auto; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.kzs-home-grid { display: grid; gap: 24px; }
.kzs-home-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kzs-home-audiences { background: #fff; }
.kzs-home-audience-card { position: relative; min-height: 315px; padding: 34px 32px; border: 1px solid var(--kzs-home-border); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.kzs-home-audience-card:hover { border-color: var(--kzs-home-gold-light); box-shadow: 0 18px 40px rgba(16,35,63,.08); transform: translateY(-4px); }
.kzs-home-card-number,
.kzs-home-step,
.kzs-home-article-meta { display: block; margin-bottom: 25px; color: var(--kzs-home-gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kzs-home-audience-card h3 { margin-bottom: 14px; font-size: 24px; }
.kzs-home-audience-card p { margin-bottom: 24px; color: var(--kzs-home-muted); }
.kzs-home-audience-card a,
.kzs-home-read-more,
.kzs-home-all-articles { color: var(--kzs-home-navy); font-weight: 700; text-decoration: none; }

.kzs-home-specializations { background: var(--kzs-home-cream); }
.kzs-home-section-heading-split,
.kzs-home-pricing-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr); max-width: none; gap: 80px; align-items: end; }
.kzs-home-services-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--kzs-home-border); }
.kzs-home-services-list a { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 86px; padding: 20px 6px; border-bottom: 1px solid var(--kzs-home-border); color: var(--kzs-home-navy); font-size: 18px; font-weight: 600; text-decoration: none; }
.kzs-home-services-list a:nth-child(odd) { padding-right: 30px; }
.kzs-home-services-list a:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--kzs-home-border); }
.kzs-home-services-list a span:last-child { color: var(--kzs-home-gold); font-size: 11px; letter-spacing: .16em; }
.kzs-home-services-list a:hover,
.kzs-home-services-list a:focus { color: var(--kzs-home-gold); }

.kzs-home-about { background: var(--kzs-home-navy); }
.kzs-home-about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(390px,.9fr); gap: 90px; align-items: center; }
.kzs-home-about h2,
.kzs-home-about .kzs-home-about-copy > p { color: #fff; }
.kzs-home-about .kzs-home-about-copy > p { opacity: .82; }
.kzs-home-lawyers { border-top: 1px solid rgba(255,255,255,.18); }
.kzs-home-lawyers article { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.kzs-home-initials { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; border: 1px solid var(--kzs-home-gold-light); border-radius: 50%; color: var(--kzs-home-gold-light); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.kzs-home-lawyers h3 { margin: 0 0 5px; color: #fff; font-size: 22px; }
.kzs-home-lawyers p { margin-bottom: 5px; color: rgba(255,255,255,.72); }

.kzs-home-process { background: var(--kzs-home-cream-light); }
.kzs-home-process-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 54px; margin: 0; padding: 0; list-style: none; }
.kzs-home-process-list li { position: relative; padding-top: 28px; border-top: 1px solid var(--kzs-home-gold-light); }
.kzs-home-process-list h3 { margin-bottom: 14px; font-size: 24px; }
.kzs-home-process-list p { color: var(--kzs-home-muted); }

.kzs-home-articles { background: #fff; }
.kzs-home-section-heading-with-link { display: flex; max-width: none; gap: 40px; align-items: flex-start; justify-content: space-between; }
.kzs-home-section-heading-with-link > div { max-width: 760px; }
.kzs-home-all-articles { flex: 0 0 auto; padding: 10px 0 8px; border-bottom: 1px solid var(--kzs-home-gold-light); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.kzs-home-article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.kzs-home-article-card { min-height: 290px; padding: 32px 0 4px; border-top: 1px solid var(--kzs-home-border); }
.kzs-home-article-card h3 { max-width: 520px; margin-bottom: 17px; font-size: clamp(24px,2.4vw,31px); }
.kzs-home-article-card h3 a { color: inherit; text-decoration: none; }
.kzs-home-article-card > p:not(.kzs-home-article-meta) { max-width: 560px; margin-bottom: 25px; color: var(--kzs-home-muted); }

.kzs-home-pricing { background: var(--kzs-home-cream); }
.kzs-home-pricing-grid { align-items: start; }
.kzs-home-pricing ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.kzs-home-pricing li { padding: 20px; border: 1px solid var(--kzs-home-border); background: #fff; color: var(--kzs-home-navy); font-weight: 600; }

.kzs-home-contact { padding: 96px 0; background: linear-gradient(135deg,var(--kzs-home-navy),var(--kzs-home-navy-soft)); color: #fff; }
.kzs-home-contact-heading { max-width: 760px; margin-bottom: 46px; }
.kzs-home-contact h2,
.kzs-home-contact-heading > p:last-child { color: #fff; }
.kzs-home-contact-heading > p:last-child { opacity: .8; }
.kzs-home-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.kzs-home-contact-grid article { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.24); }
.kzs-home-contact-grid h3 { margin-bottom: 7px; color: #fff; font-size: 22px; }
.kzs-home-contact-grid p { margin-bottom: 15px; color: rgba(255,255,255,.72); }
.kzs-home-contact-grid a,
.kzs-home-contact-grid a:visited { color: var(--kzs-home-gold-light); font-size: 18px; font-weight: 700; text-decoration: none; }
.kzs-home-contact-grid .kzs-home-contact-line { display: flex; gap: 11px; align-items: flex-start; }
.kzs-home-contact-grid .kzs-home-contact-line + .kzs-home-contact-line { margin-top: 16px; }
.kzs-home-contact-line svg { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 3px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.kzs-home-contact-grid p.kzs-home-contact-line { color: rgba(255,255,255,.78); }
.kzs-home-contact-grid .kzs-home-contact-hours { margin-bottom: 0; color: rgba(255,255,255,.88); }
.kzs-home-contact-hours strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.kzs-home-contact-hours small { display: block; max-width: 290px; margin-top: 4px; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.55; }
.kzs-home-form { margin-top: 48px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.24); }
.kzs-contact-form { position: relative; }
.kzs-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 28px; }
.kzs-contact-field { margin-bottom: 22px; }
.kzs-contact-field label { display: block; margin-bottom: 9px; color: #fff; font-size: 14px; font-weight: 700; }
.kzs-contact-field label span { color: rgba(255,255,255,.68); font-size: 12px; font-weight: 400; }
.kzs-contact-field input,
.kzs-contact-field textarea { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: rgba(255,255,255,.98); color: var(--kzs-home-text); font: inherit; line-height: 1.45; text-align: left; }
.kzs-contact-field textarea { min-height: 150px; resize: vertical; }
.kzs-contact-field input:focus,
.kzs-contact-field textarea:focus { border-color: var(--kzs-home-gold-light); outline: 3px solid rgba(216,200,162,.28); outline-offset: 2px; }
.kzs-contact-consent { display: flex; max-width: 900px; gap: 12px; align-items: flex-start; margin: 2px 0 12px; color: rgba(255,255,255,.84); font-size: 13px; font-weight: 400; line-height: 1.55; text-align: left; cursor: pointer; }
.kzs-contact-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--kzs-home-gold); }
.kzs-contact-consent a,
.kzs-contact-consent a:visited { color: #fff; text-decoration: underline; }
.kzs-contact-note { margin: 0 0 22px; color: rgba(255,255,255,.62); font-size: 12px; }
.kzs-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.kzs-homepage .kzs-home-button-contact { border-color: var(--kzs-home-gold-light) !important; background: var(--kzs-home-gold-light) !important; color: var(--kzs-home-navy) !important; }
.kzs-homepage .kzs-home-button-contact:hover,
.kzs-homepage .kzs-home-button-contact:focus { border-color: #fff !important; background: #fff !important; color: var(--kzs-home-navy) !important; }
.kzs-home-form-message { margin-bottom: 28px; padding: 15px 18px; border-left: 4px solid; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; text-align: left; }
.kzs-home-form-success { border-color: #b9d8b0; }
.kzs-home-form-error { border-color: #efb0a6; }
.kzs-homepage a:focus-visible { outline: 3px solid var(--kzs-home-gold-light); outline-offset: 4px; }

@media (max-width: 991px) {
  .kzs-home-section { padding: 78px 0; }
  .kzs-home-hero { padding: 80px 0; }
  .kzs-home-hero-grid,
  .kzs-home-about-grid,
  .kzs-home-section-heading-split,
  .kzs-home-pricing-grid { grid-template-columns: 1fr; gap: 42px; }
  .kzs-home-grid-three,
  .kzs-home-process-list { grid-template-columns: 1fr; gap: 24px; }
  .kzs-home-audience-card { min-height: 0; }
  .kzs-home-contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .kzs-home-container { width: min(100% - 32px,1180px); }
  .kzs-home-section,
  .kzs-home-contact { padding: 64px 0; }
  .kzs-home-hero { padding: 64px 0; }
  .kzs-home-hero h1 { font-size: clamp(36px,10.5vw,48px); }
  .kzs-home-lead,
  .kzs-home-section-heading > p:last-child,
  .kzs-home-about-copy > p,
  .kzs-home-pricing p,
  .kzs-home-contact-heading > p:last-child { font-size: 16px; }
  .kzs-home-hero-panel,
  .kzs-home-audience-card { padding: 28px 24px; }
  .kzs-home-section-heading,
  .kzs-home-section-heading-with-link { display: block; margin-bottom: 38px; }
  .kzs-home-all-articles { display: inline-block; margin-top: 20px; }
  .kzs-home-services-list,
  .kzs-home-article-grid,
  .kzs-home-pricing ul,
  .kzs-home-contact-grid,
  .kzs-contact-fields { grid-template-columns: 1fr; }
  .kzs-home-services-list a:nth-child(odd),
  .kzs-home-services-list a:nth-child(even) { padding-right: 4px; padding-left: 4px; border-left: 0; }
  .kzs-home-article-grid { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .kzs-homepage * { scroll-behavior: auto !important; transition: none !important; }
}
