@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0b3d4a;
  --navy-2: #165364;
  --ink: #11252b;
  --muted: #4e6a73;
  --ice: #e2f4f0;
  --ice-2: #f2faf8;
  --line: #c8e3de;
  --white: #ffffff;
  --rose: #3dbda1;
  --shadow: 0 24px 70px rgba(11, 61, 74, 0.09);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========================================================
   PŁYNNE PRZEJŚCIA PODSTRON (View Transitions & SPA)
   ======================================================== */
@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

.site-footer {
  view-transition-name: site-footer;
}

main {
  view-transition-name: site-main;
}

::view-transition-old(site-main) {
  animation: 160ms cubic-bezier(0.4, 0, 1, 1) both fade-out;
}

::view-transition-new(site-main) {
  animation: 220ms cubic-bezier(0, 0, 0.2, 1) both fade-in;
}

@keyframes fade-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.narrow {
  max-width: 880px;
  text-align: center;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(220px, 22vw, 300px);
  height: auto;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: #39516a;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--navy);
}

.nav a.active,
.nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.nav .nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--navy);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(11, 61, 74, 0.16);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav .nav-cta:hover {
  color: var(--white) !important;
  background: #165364;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 74, 0.28);
}

.nav .nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(11, 61, 74, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 96px;
  background:
    radial-gradient(circle at 88% 18%, rgba(61, 189, 161, 0.24), transparent 22rem),
    linear-gradient(135deg, var(--ice) 0%, #edf7f4 52%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(11, 61, 74, 0.10);
  border-radius: 50%;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -240px;
  top: -180px;
}

.hero::after {
  width: 310px;
  height: 310px;
  right: -170px;
  bottom: -170px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
}

h3,
h4,
h5,
h6 {
  color: var(--navy);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-lead,
.section-lead {
  color: #40566f;
  font-size: 1.13rem;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(11, 61, 74, 0.18);
}

.button-primary:hover {
  background: #165364;
  color: var(--white) !important;
  box-shadow: 0 18px 36px rgba(11, 61, 74, 0.28);
}

.button-secondary {
  color: var(--navy);
  border-color: rgba(11, 61, 74, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.hero-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.logo-card {
  padding: 18px;
  border: 1px solid rgba(11, 61, 74, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(226, 244, 240, 0.92);
  box-shadow: var(--shadow);
}

.logo-card img {
  width: 100%;
  border-radius: 22px;
}

.logo-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 8px 3px;
  color: #586d83;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.section {
  padding: 96px 0;
}

.intro {
  background: var(--white);
}

.intro h2 {
  max-width: 800px;
  margin-inline: auto;
}

.intro .section-lead {
  max-width: 830px;
  margin: 0 auto;
}

.features {
  background: var(--ice-2);
  border-top: 1px solid #dff0ec;
  border-bottom: 1px solid #dff0ec;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading p:last-child {
  margin-bottom: 7px;
  color: var(--muted);
}

.section-heading.centered {
  display: block;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 46px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 285px;
  padding: 28px;
  border: 1px solid #cae4df;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 61, 74, 0.05);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background-color 260ms ease;
  will-change: transform, box-shadow;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  background-color: #ffffff;
  box-shadow: 0 20px 42px rgba(11, 61, 74, 0.12), 0 0 28px rgba(226, 244, 240, 0.9);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--ice);
  font-size: 0.75rem;
  font-weight: 800;
}

.feature-card:nth-child(3) .feature-number {
  color: #0b3d4a;
  background: #e2f4f0;
}

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

/* Sekcja Założycielek (O nas) */
.founders {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid #dff0ec;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.founder-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: center;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 61, 74, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.founder-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 24px 50px rgba(11, 61, 74, 0.12), 0 0 30px rgba(226, 244, 240, 0.9);
}

.founder-photo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.founder-photo {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ice);
  box-shadow: 0 6px 20px rgba(11, 61, 74, 0.08);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.founder-card:hover .founder-photo {
  transform: scale(1.03);
  border-color: #9ed7cb;
  box-shadow: 0 10px 26px rgba(11, 61, 74, 0.14);
}

.founder-info {
  display: flex;
  flex-direction: column;
}

.founder-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.founder-info h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.founder-role {
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.founder-bio {
  font-size: 0.94rem;
  line-height: 1.62;
  color: #40566f;
  margin: 0;
  font-weight: 400;
}

.founder-note-card {
  margin-top: 36px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: var(--ice-2);
  border: 1px solid var(--line);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.founder-note-card p {
  margin: 0;
  color: #3b5168;
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 400;
}

.statement {
  background: var(--navy);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 70px;
  align-items: center;
}

.statement .section-kicker {
  color: #a0d4c8;
}

.statement h2,
.statement p,
.statement a {
  color: var(--white);
}

.statement-copy > p:not(.section-kicker) {
  max-width: 670px;
  color: #d2e7e3;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.quote-card {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease, background 280ms ease;
  will-change: transform, box-shadow;
}

.quote-card:hover {
  transform: translateY(-5px) scale(1.025);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(61, 189, 161, 0.55);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.28), 0 0 40px rgba(61, 189, 161, 0.3);
}

.quote-mark {
  display: block;
  height: 52px;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
}

.quote-card p {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.25;
}

.quote-signature {
  color: #a0d4c8;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audience-heading {
  grid-template-columns: 1fr;
}

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

.audience-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background-color 260ms ease;
  will-change: transform, box-shadow;
}

.audience-grid article:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  background-color: #f7fcfa;
  box-shadow: 0 20px 42px rgba(11, 61, 74, 0.12), 0 0 28px rgba(226, 244, 240, 0.9);
}

.audience-label {
  display: inline-block;
  margin-bottom: 34px;
  color: #8f5359;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  padding-top: 20px;
  background: var(--white);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 52px 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #daf0ea 0%, var(--ice) 58%, #e0f2ee 140%);
}

.cta-card h2 {
  max-width: 800px;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.cta-card p:last-child {
  margin-bottom: 0;
  color: #4e6277;
}

.button-light {
  min-width: 210px;
}

.site-footer {
  padding: 34px 0 42px;
  color: #65778b;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-inner div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-inner strong {
  color: var(--navy);
}

.footer-inner a {
  color: var(--navy);
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .nav {
    flex-wrap: wrap;
  }

  .header-inner {
    padding: 16px 0;
  }

  .nav {
    gap: 12px 18px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid,
  .statement-grid,
  .section-heading,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .logo-card {
    max-width: 690px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-grid {
    gap: 42px;
  }

  .quote-card {
    max-width: 690px;
  }

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

  .cta-card {
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header .brand {
    width: 100%;
  }

  .brand-logo {
    width: min(100%, 280px);
  }

  .nav {
    width: 100%;
    font-size: 0.9rem;
  }

  .nav .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding: 56px 0 66px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .section {
    padding: 72px 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .quote-card,
  .cta-card {
    padding: 30px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Pasek doświadczenia / przewag */
.experience {
  padding: 56px 0 36px;
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f4faf8 60%, #e2f4f0 140%);
  box-shadow: 0 16px 44px rgba(11, 61, 74, 0.06);
}

.experience-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.experience-number {
  color: var(--navy);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 0.95;
  white-space: nowrap;
}

.experience-main p {
  margin: 0;
  color: #4e6277;
}

.experience-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.experience-points span {
  padding: 8px 12px;
  border: 1px solid rgba(11, 61, 74, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(226, 244, 240, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-points {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .experience-grid {
    padding: 26px 22px;
  }

  .experience-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ========================================================
   STOPKA - ROZBUDOWANE LINKI
   ======================================================== */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 36px 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #435b75;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

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

.footer-contact-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

/* ========================================================
   PODSTRONA KONTAKT
   ======================================================== */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  background:
    radial-gradient(circle at 88% 18%, rgba(61, 189, 161, 0.22), transparent 22rem),
    linear-gradient(135deg, var(--ice) 0%, #edf7f4 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(11, 61, 74, 0.08);
  border-radius: 50%;
}

.contact-hero::before {
  width: 320px;
  height: 320px;
  left: -140px;
  top: -80px;
}

.contact-hero::after {
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: -180px;
}

.contact-hero .hero-inner {
  max-width: 840px;
  text-align: center;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.contact-hero .eyebrow {
  text-align: center;
  margin: 0 auto 14px;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.16;
  text-align: center;
  margin: 0 auto 18px;
}

.contact-hero .hero-lead {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.65;
  color: #40566f;
}

.contact-details {
  background: var(--white);
  padding: 72px 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 24px 50px rgba(11, 61, 74, 0.12), 0 0 30px rgba(226, 244, 240, 0.9);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice);
  color: var(--navy);
  flex-shrink: 0;
  align-self: start;
}

.icon-circle svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.contact-card h2 {
  font-size: 1.95rem;
  margin: 0 0 8px;
}

.contact-card address {
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-lines a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.contact-lines a:hover {
  color: var(--navy);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.quick-contact > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ice-2);
}

.quick-contact h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.quick-contact a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.quick-contact a:hover {
  text-decoration: underline;
}

/* Sekcja formularza kontaktowego */
.form-section {
  background: linear-gradient(135deg, var(--ice-2) 0%, #e6f3ef 100%);
  padding: 76px 0;
  scroll-margin-top: 86px;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.form-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin: 0 0 16px;
}

.form-copy > p:not(.eyebrow) {
  font-size: 1.04rem;
  color: #3b5067;
  margin: 0 0 20px;
  max-width: 480px;
}

.form-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-note strong {
  color: var(--navy);
}

.form-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:not([type="checkbox"]),
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 61, 74, 0.12);
}

.contact-form label.form-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
  color: #4b5563 !important;
  line-height: 1.45 !important;
  cursor: pointer !important;
  margin: 16px 0 22px !important;
}

.contact-form label.form-checkbox-label input[type="checkbox"] {
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  accent-color: var(--navy) !important;
  cursor: pointer !important;
  border-radius: 4px !important;
}

.contact-form label.form-checkbox-label span {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: #4b5563 !important;
}

.contact-form label.form-checkbox-label a {
  color: var(--navy);
  font-weight: 600;
}

.submit-btn {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

.form-status {
  margin: 16px 0 0;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  background: #eafaf1;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

.form-status.is-error {
  background: #fdf2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Mapy dojazdu */
.maps-section {
  background: var(--white);
  padding: 72px 0 84px;
}

.maps-section .narrow {
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 36px;
}

.maps-section .narrow .eyebrow {
  text-align: center;
  margin: 0 auto 12px;
}

.maps-section .narrow h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  text-align: center;
  margin: 0 auto 14px;
}

.maps-section .narrow .lead,
.maps-section .narrow p {
  text-align: center;
  margin-inline: auto;
  color: #40566f;
  font-size: 1.08rem;
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

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

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
}

.map-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.map-head p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

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

/* ========================================================
   PODSTRONA POLITYKA PRYWATNOŚCI
   ======================================================== */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 66px;
  background:
    radial-gradient(circle at 88% 18%, rgba(61, 189, 161, 0.2), transparent 22rem),
    linear-gradient(135deg, var(--ice) 0%, #edf7f4 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero .container {
  max-width: 860px;
  text-align: center;
  margin-inline: auto;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  margin: 0 0 14px;
}

.legal-meta {
  display: inline-flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 14px;
}

.legal-layout {
  padding: 64px 0 84px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.legal-toc h3 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b5067;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s ease;
  display: block;
}

.legal-toc a:hover {
  color: var(--navy);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-section h2 {
  font-size: 1.45rem;
  margin: 0 0 18px;
  color: var(--navy);
  scroll-margin-top: 110px;
}

.legal-section p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #3b5067;
  margin: 0 0 14px;
}

.legal-section ol,
.legal-section ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-section li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3b5067;
  margin-bottom: 10px;
}

.legal-section li strong,
.legal-section li b {
  color: var(--ink);
}

.legal-section a {
  color: var(--navy);
  font-weight: 600;
}

/* Responsywność dla podstron Kontakt i Regulamin */
@media (max-width: 980px) {
  .location-grid,
  .maps-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 40px;
  }

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

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-toc {
    position: static;
  }
}

/* ========================================================
   PODSTRONY: OFERTA & CENNIK
   ======================================================== */

.hero-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-links a:hover {
  background: var(--ice);
  border-color: #9ed7cb;
  transform: translateY(-2px);
}

/* Podejście i zasady */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.principles-card {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 61, 74, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.principles-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 20px 42px rgba(11, 61, 74, 0.12), 0 0 28px rgba(226, 244, 240, 0.9);
}

.principles-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.principles-card h3 {
  font-size: 1.22rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.principles-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* Wiersze oferty & Karty wizualne bez zdjęć */
.offer-row {
  padding: 92px 0;
}

.offer-row.alt-bg {
  background: var(--ice-2);
  border-top: 1px solid #dff0ec;
  border-bottom: 1px solid #dff0ec;
}

.offer-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.offer-grid.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.offer-grid.reverse .media-card {
  order: 2;
}

.offer-grid.reverse .offer-copy {
  order: 1;
}

/* Karta podglądu modułu oferty */
.offer-preview-card,
.offer-visual-card {
  position: relative;
  padding: 44px 32px 40px;
  border: 1px solid rgba(11, 61, 74, 0.08);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.offer-preview-card:hover,
.offer-visual-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 24px 50px rgba(11, 61, 74, 0.12), 0 0 30px rgba(226, 244, 240, 0.9);
}

.offer-preview-card .eyebrow,
.offer-visual-card .eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-2);
}

.offer-preview-card h3,
.offer-visual-card h3 {
  font-size: 1.65rem;
  color: var(--navy);
  margin: 0 0 14px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.offer-preview-card p,
.offer-visual-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 22px;
  font-weight: 400;
}

.offer-card-badge,
.offer-visual-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}

.offer-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--navy);
}

.offer-copy p {
  color: #40566f;
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
}

/* Siatka cennika */
.pricing-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 22px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(11, 61, 74, 0.05);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 24px 50px rgba(11, 61, 74, 0.13), 0 0 30px rgba(226, 244, 240, 0.9);
}

.pricing-card.featured {
  border-color: var(--navy);
  border-width: 2px;
  background: linear-gradient(180deg, #f2faf8 0%, #ffffff 100%);
  box-shadow: 0 18px 46px rgba(11, 61, 74, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(11, 61, 74, 0.25);
}

.pricing-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  min-height: 82px;
}

.pricing-header .eyebrow {
  margin-bottom: 4px;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
  font-family: Inter, sans-serif;
  line-height: 1.25;
}

.pricing-rate {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
  min-height: 98px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.pricing-amount {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.pricing-rate-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-2);
  background: var(--ice);
  padding: 3px 10px;
  border-radius: 6px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: #40566f;
  line-height: 1.6;
  margin: 16px 0 0;
  min-height: 48px;
}

.pricing-card .check-list {
  margin: 18px 0 28px;
  gap: 10px;
  flex-grow: 1;
}

.pricing-card .check-list li {
  font-size: 0.89rem;
  font-weight: 500;
  color: #2b3d52;
}

.pricing-actions {
  margin-top: auto;
}

.pricing-actions .button {
  width: 100%;
  min-height: 48px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  white-space: nowrap;
}

/* Sekcje standardu i korzyści w cenniku */
.benefits-section {
  padding: 88px 0;
  background: var(--ice-2);
  border-top: 1px solid #dff0ec;
  border-bottom: 1px solid #dff0ec;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.benefit-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(11, 61, 74, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.benefit-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 20px 42px rgba(11, 61, 74, 0.12), 0 0 28px rgba(226, 244, 240, 0.9);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--navy);
  margin-bottom: 18px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.benefit-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 10px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.info-box {
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 61, 74, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
  will-change: transform, box-shadow;
}

.info-box:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: #9ed7cb;
  box-shadow: 0 20px 42px rgba(11, 61, 74, 0.12), 0 0 28px rgba(226, 244, 240, 0.9);
}

.info-box h3 {
  color: var(--navy);
  font-size: 1.28rem;
  margin: 0 0 12px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}

.info-box p {
  color: #40566f;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

/* Wyróżniony i czytelny przycisk wtórny w karcie CTA */
.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 61, 74, 0.10);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cta-secondary-btn:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 74, 0.22);
}

@media (max-width: 980px) {
  .location-grid,
  .maps-grid,
  .form-grid,
  .info-boxes {
    grid-template-columns: 1fr;
  }

  .principles-grid,
  .pricing-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .offer-grid,
  .offer-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .offer-grid.reverse .media-card,
  .offer-grid.reverse .offer-copy {
    order: 0;
  }

  .form-grid {
    gap: 40px;
  }

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

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .principles-grid,
  .pricing-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 28px 20px;
    gap: 18px;
  }

  .founder-badge {
    align-self: center;
  }

  .contact-hero {
    padding: 48px 0 52px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

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

  .contact-form {
    padding: 24px;
  }

  .map-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .map-card iframe {
    height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}



/* ========================================================
   DEDYKOWANE STYLE DLA POLSKIEGO INSTYTUTU NEUROEDUKACJI
   ======================================================== */

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

.pin-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(11, 61, 74, 0.12);
  border: 1px solid rgba(11, 61, 74, 0.08);
}

.pin-brand-text {
  display: flex;
  flex-direction: column;
}

.pin-brand-title {
  color: var(--navy);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.pin-brand-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Partner CTTL */
.partner-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: 0 16px 44px rgba(11, 61, 74, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.partner-logo-wrap {
  width: 200px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice);
  box-shadow: 0 4px 14px rgba(11, 61, 74, 0.05);
}

.partner-logo-wrap img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.partner-content h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.partner-content p {
  color: #4e6277;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.62;
}

/* Kafelki działalności (5 kart) */
.activity-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.activity-grid-5 .feature-card {
  min-height: 240px;
}

/* Oferta (3 kolumny) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  background: var(--white);
  border: 1px solid #cae4df;
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(11, 61, 74, 0.05);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
}

.offer-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #9ed7cb;
  box-shadow: 0 22px 48px rgba(11, 61, 74, 0.12);
}

.offer-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.offer-card h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.offer-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* Sekcja Kto za tym stoi (Kasia & Renata) */
.story-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 52px;
  align-items: start;
}

.story-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.story-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.story-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 14px 20px;
  background: rgba(11, 61, 74, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-image-badge strong {
  font-size: 1rem;
  color: #ffffff;
}

.story-image-badge span {
  font-size: 0.8rem;
  color: var(--ice);
}

.story-letter {
  background: #ffffff;
  padding: 44px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(11, 61, 74, 0.05);
}

.story-letter p {
  color: #3b5066;
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 18px;
}

.story-letter p.lead {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.6;
}

.story-letter .mission-quote {
  padding: 20px 26px;
  border-left: 4px solid var(--navy-2);
  background: var(--ice-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 1.06rem;
  color: var(--navy);
  font-weight: 600;
  font-style: italic;
}

.story-letter .sign-off {
  margin-top: 28px;
  margin-bottom: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

/* ========================================================
   KAFELKI ODSYŁAJĄCE: POWIĄZANE PLACÓWKI I INICJATYWY
   ======================================================== */
.ecosystem-section {
  background: linear-gradient(180deg, #f4faf8 0%, #e6f3ef 100%);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ecosystem-card {
  background: var(--white);
  border: 1px solid #cae4df;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 61, 74, 0.05);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background-color 260ms ease;
  position: relative;
  overflow: hidden;
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  opacity: 0;
  transition: opacity 220ms ease;
}

.ecosystem-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #8cd3c5;
  box-shadow: 0 24px 50px rgba(11, 61, 74, 0.12), 0 0 24px rgba(226, 244, 240, 0.8);
}

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

/* Perfekcyjnie wyrównany kontener na logo o stałej wysokości i jednolitej linii bazowej */
.ecosystem-logo-box {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 61, 74, 0.08);
}

.ecosystem-logo-box img {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.ecosystem-logo-box img[src*="nel_logo"] {
  height: 32px;
  max-width: 190px;
}

/* Ten sam, spójny, nowoczesny font bezszeryfowy (Inter / sans-serif) */
.ecosystem-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--navy);
}

.ecosystem-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
  margin-bottom: 24px;
  flex-grow: 1;
}

.ecosystem-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--navy-2);
  transition: color 160ms ease, transform 160ms ease;
}

.ecosystem-card:hover .ecosystem-link {
  color: #165364;
  transform: translateX(4px);
}

/* ========================================================
   SEKCJA KONTAKT (NOWY ZBALANSOWANY UKŁAD)
   ======================================================== */
.contact-section {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.25fr);
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

/* Lewa kolumna: Karty osób i biura */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-person-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  background: #f7fcfa;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(11, 61, 74, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-person-card:hover {
  transform: translateY(-3px);
  border-color: #9ed7cb;
  box-shadow: 0 16px 36px rgba(11, 61, 74, 0.08);
}

.contact-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ice);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(11, 61, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-avatar-initials {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-person-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-role-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--navy-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-person-details h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.contact-person-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-link-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3b5066;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.contact-link-item:hover {
  color: var(--navy);
  text-decoration: underline;
}

.contact-link-item svg {
  color: var(--navy-2);
  flex-shrink: 0;
}

/* Karta Instytutu */
.contact-institute-card {
  padding: 28px 30px;
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(11, 61, 74, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-institute-card:hover {
  transform: translateY(-3px);
  border-color: #9ed7cb;
  box-shadow: 0 16px 36px rgba(11, 61, 74, 0.08);
}

.contact-institute-card h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.contact-institute-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-2);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 650;
  text-decoration: none;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 61, 74, 0.14);
  border-radius: 10px;
  margin-bottom: 14px;
  transition: all 160ms ease;
}

.contact-institute-email:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.contact-institute-email svg {
  color: currentColor;
  flex-shrink: 0;
}

.institute-desc {
  font-size: 0.92rem;
  color: #51677d;
  line-height: 1.6;
  margin: 0;
}

/* Prawa kolumna: Formularz kontaktowy */
.contact-form-col {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  box-shadow: 0 16px 44px rgba(11, 61, 74, 0.06);
}

.pin-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title-wrap {
  margin-bottom: 6px;
}

.form-kicker {
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--navy-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.form-title-wrap h3 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.form-title-wrap p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

.form-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full-width {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 650;
  color: #3b5066;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #c6e3dc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 61, 74, 0.12);
}

.form-rodo-wrapper {
  margin-top: 2px;
}

.form-rodo-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  color: #556c82;
  line-height: 1.5;
}

.form-rodo-label input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.form-status-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.form-status-msg.success {
  background: #e8f7ee;
  color: #15693b;
  border: 1px solid #c2e9d0;
}

.form-status-msg.error {
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
}

/* Dolny pasek rejestrowy / adresowy (bez ikon, oddzielne linie) */
.legal-banner {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--ice-2);
  border: 1px solid #c6e3dc;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: start;
}

.legal-banner-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-banner-title {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.legal-banner-lines {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  color: #3b5066;
  line-height: 1.65;
}

.legal-banner-lines div {
  margin-bottom: 2px;
}

.legal-banner-lines div:last-child {
  margin-bottom: 0;
}

.legal-banner-divider {
  width: 1px;
  align-self: stretch;
  background: #b0d6cd;
}

/* Stopka */
.site-footer {
  background: #0b3d4a;
  color: #d2e7e3;
  padding: 72px 0 36px;
  border-top: 1px solid #144f5e;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand-name {
  display: block;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.footer-brand-sub {
  display: block;
  font-size: 0.72rem;
  color: #94c8be;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #bce0d8;
  margin-bottom: 18px;
}

.footer-legal-micro {
  font-size: 0.78rem;
  color: #82b5aa;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  text-decoration: none;
  color: #aed8ce;
  font-size: 0.92rem;
  transition: color 150ms ease, transform 150ms ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.9rem;
}

.footer-contact-row .f-label {
  font-size: 0.75rem;
  color: #82b5aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-row a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease;
}

.footer-contact-row a:hover {
  color: #5ce3c7;
  text-decoration: underline;
}

.footer-contact-row span {
  color: #d2e7e3;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.85rem;
  color: #82b5aa;
}

.footer-back-to-top {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 150ms ease;
}

.footer-back-to-top:hover {
  color: #5ce3c7;
}

/* ========================================================
   RESPONSYWNOŚĆ DLA SEKCJI KONTAKT I STOPKI
   ======================================================== */
@media (max-width: 980px) {
  .partner-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }
  .activity-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form-col {
    padding: 30px 24px;
  }
  .legal-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .legal-banner-divider {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .activity-grid-5 {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .story-letter {
    padding: 26px 20px;
  }
  .story-image-badge {
    position: static;
    margin-top: 12px;
  }
  .form-grid-fields {
    grid-template-columns: 1fr;
  }
  .form-field.full-width {
    grid-column: span 1;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

