/*
 * O kancelarii — page-specific styles (extracted from static o-nas.html).
 * Global :root tokens and @font-face come from the shared theme stylesheet.
 */

  /* ========== Base ========== */
  * { box-sizing: border-box; }

  /* ========== Hero — dark editorial opener ========== */
  .about-hero {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    padding: var(--s-9) 0 0;
    border-top: 3px solid var(--accent);
  }
  /* radial brand glow, top-right */
  .about-hero::before {
    content: '';
    position: absolute;
    top: -28%; right: -12%;
    width: 760px; height: 760px;
    background: radial-gradient(circle, rgba(158,119,237,0.16) 0%, transparent 70%);
    pointer-events: none;
  }
  .about-hero__grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-8);
    align-items: end;
  }

  /* Left column */
  .about-hero__text {
    display: flex; flex-direction: column;
    padding-bottom: var(--s-9);
  }

  /* Eyebrow — dot + text, matching service pages */
  .about-eyebrow {
    display: flex; align-items: center; gap: var(--s-3);
    margin-bottom: var(--s-6);
  }
  .about-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-300); flex-shrink: 0;
  }
  .about-eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
    color: rgba(252,252,253,0.55);
  }

  /* H1 */
  .about-hero .display-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1.06;
    letter-spacing: var(--ls-snug);
    margin: 0 0 var(--s-5);
    color: #fff;
    text-wrap: balance;
  }
  .about-hero .display-title em {
    font-weight: 400; font-style: italic;
    color: var(--brand-300);
  }

  /* Subtitle */
  .about-hero__lede {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: rgba(252,252,253,0.62);
    max-width: 640px;
    margin: 0 0 var(--s-7);
  }

  /* CTA cluster */
  .about-hero__ctas {
    display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap;
  }
  /* Przyciski hero → ujednolicony komponent .btn (.btn-accent / .btn-ghost-light) w main.css. */

  /* Right column — editorial photo */
  .about-hero__media {
    position: relative;
    align-self: stretch;
    min-height: 460px;
  }
  .about-hero__photo {
    display: block;
    width: 100%; height: 100%;
    min-height: 460px;
    filter: sepia(0.15) saturate(0.9);
  }

  @media (max-width: 960px) {
    .about-hero { padding-top: var(--s-8); }
    .about-hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
    .about-hero__text { padding-bottom: var(--s-6); }
    .about-hero__media { min-height: 0; order: 2; }
    .about-hero__photo {
      min-height: 0; aspect-ratio: 16 / 10; height: auto;
    }
  }

  main {
    margin: 0;
  }

  /* Scroll-reveal */
  .reveal {
    opacity: 0; transform: translateY(12px);
    transition: opacity var(--t-section) var(--ease), transform var(--t-section) var(--ease);
  }
  .reveal.visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ========== Section 2 — Origin story ========== */
  .origin {
    background: var(--paper);
    padding: var(--s-10) 0;
  }
  .origin__head {
    max-width: 760px;
    margin-bottom: var(--s-8);
  }
  .origin__eyebrow {
    display: flex; align-items: center; gap: var(--s-3);
    margin-bottom: var(--s-5);
  }
  .origin__eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
  }
  .origin__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: var(--muted);
  }
  .origin__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: var(--lh-heading); letter-spacing: var(--ls-snug);
    color: var(--ink); margin: 0; text-wrap: balance;
  }

  .origin__grid {
    display: grid;
    grid-template-columns: 1fr 0.62fr;
    gap: var(--s-8);
    align-items: start;
  }
  .origin__prose p {
    font-family: var(--font-body); font-weight: 400;
    font-size: var(--fs-body); line-height: var(--lh-body);
    color: var(--ink-2);
    max-width: var(--content-measure);
    margin: 0 0 var(--s-5);
  }
  .origin__prose p:last-child { margin-bottom: 0; }

  /* Pull-quote */
  .origin__pull {
    margin: var(--s-7) 0;
    padding: var(--s-2) 0 var(--s-2) var(--s-6);
    border-left: 2px solid var(--accent);
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.28; color: var(--ink);
    max-width: var(--content-measure);
  }

  /* Photo */
  .origin__media { position: sticky; top: 120px; }
  .origin__photo {
    display: block; width: 100%;
    aspect-ratio: 4 / 5;
    filter: grayscale(1) contrast(1.03);
  }

  @media (max-width: 960px) {
    .origin__grid { grid-template-columns: 1fr; gap: var(--s-7); }
    .origin__media { position: static; order: -1; }
    .origin__photo { aspect-ratio: 16 / 10; }
  }

  /* ========== Section 3 — Differentiator (dark heritage) ========== */
  .diff {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    padding: var(--s-10) 0;
    overflow: hidden;
  }
  .diff__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.14;
    mix-blend-mode: luminosity;
    filter: grayscale(1) contrast(1.05);
    pointer-events: none;
  }
  .diff::after {
    content: '';
    position: absolute;
    top: -25%; right: -10%;
    width: 760px; height: 760px;
    background: radial-gradient(circle, rgba(158,119,237,0.14) 0%, transparent 70%);
    pointer-events: none;
  }
  .diff .container { position: relative; z-index: 1; }

  .diff__head {
    max-width: 720px;
    margin-bottom: var(--s-8);
  }
  .diff__badge {
    display: inline-flex; align-items: center; gap: var(--s-3);
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: rgba(252,252,253,0.55);
    margin-bottom: var(--s-5);
  }
  .diff__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); }
  .diff__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: var(--lh-heading); letter-spacing: var(--ls-snug);
    color: #fff; margin: 0 0 var(--s-4); text-wrap: balance;
  }
  .diff__sub {
    font-family: var(--font-body); font-size: var(--fs-body-lg);
    line-height: var(--lh-body); color: rgba(252,252,253,0.6);
    max-width: 580px; margin: 0;
  }

  .diff__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(252,252,253,0.1);
    border: 1px solid rgba(252,252,253,0.1);
  }
  .diff-card {
    position: relative;
    background: var(--ink);
    padding: var(--s-7);
    display: flex; flex-direction: column; gap: var(--s-4);
    transition: background var(--t-base) var(--ease);
  }
  .diff-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base) var(--ease);
  }
  .diff-card:hover { background: #1a2331; }
  .diff-card:hover::before { transform: scaleX(1); }
  .diff-card__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(158,119,237,0.35);
    background: rgba(158,119,237,0.1);
    border-radius: var(--r-2);
    color: var(--brand-300);
  }
  .diff-card__icon svg { width: 22px; height: 22px; }
  .diff-card h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 25px; line-height: 1.18; color: #fff; margin: 0;
  }
  .diff-card p {
    font-family: var(--font-body); font-size: 15.5px;
    line-height: var(--lh-body); color: rgba(252,252,253,0.62); margin: 0;
  }

  /* Bridge line */
  .diff__bridge {
    margin-top: var(--s-7);
    padding-top: var(--s-6);
    border-top: 1px solid rgba(252,252,253,0.12);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-5); flex-wrap: wrap;
  }
  .diff__bridge p {
    font-family: var(--font-body); font-size: var(--fs-body);
    color: rgba(252,252,253,0.6); margin: 0;
  }
  .diff__bridge-link {
    font-family: var(--font-body); font-weight: 500; font-size: 14px;
    color: var(--brand-200); text-decoration: none;
    display: inline-flex; align-items: center; gap: var(--s-2);
    white-space: nowrap;
    transition: color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
  }
  .diff__bridge-link:hover { color: #fff; gap: var(--s-3); }
  .diff__bridge-link svg { width: 16px; height: 16px; }

  @media (max-width: 860px) {
    .diff__grid { grid-template-columns: 1fr; }
    .diff__bridge { flex-direction: column; align-items: flex-start; }
  }

  /* ========== Section 4 — Team profiles ========== */
  .team { background: var(--paper); padding: var(--s-10) 0; }
  .team__head { max-width: 760px; margin-bottom: var(--s-8); }
  .team__eyebrow {
    display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5);
  }
  .team__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .team__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: var(--muted);
  }
  .team__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px); line-height: var(--lh-heading);
    letter-spacing: var(--ls-snug); color: var(--ink); margin: 0; text-wrap: balance;
  }

  .profile {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--s-8);
    align-items: start;
    padding: var(--s-9) 0;
    border-top: 1px solid var(--rule);
  }
  .profile--rev { grid-template-columns: 1.2fr 0.8fr; }
  .profile--rev .profile__media { order: 2; }

  .profile__media { position: sticky; top: 120px; }
  .profile__photo {
    display: block; width: 100%;
    aspect-ratio: 3 / 4;
    filter: sepia(0.15) saturate(0.9);
  }

  .profile__name {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(30px, 3vw, 42px); line-height: 1.1;
    color: var(--ink); margin: 0 0 var(--s-3);
  }
  .profile__cred {
    display: flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-body); font-size: 14px;
    color: var(--muted); margin: 0 0 var(--s-5);
    padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule);
  }
  .profile__cred svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

  .profile__bio p {
    font-family: var(--font-body); font-size: var(--fs-body);
    line-height: var(--lh-body); color: var(--ink-2); margin: 0 0 var(--s-4);
  }
  .profile__personal {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: 21px; line-height: 1.4; color: var(--ink);
    border-left: 2px solid var(--accent);
    padding-left: var(--s-5); margin: var(--s-6) 0;
  }

  /* Specialization tags use the shared .svc-tags / .svc-tag component (main.css). */

  .profile__badges {
    display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6);
  }
  .profile__badge {
    display: flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-body); font-size: 13px; color: var(--muted);
  }
  .profile__badge svg { width: 16px; height: 16px; color: var(--accent); }

  @media (max-width: 960px) {
    .profile, .profile--rev { grid-template-columns: 1fr; gap: var(--s-6); }
    .profile__media, .profile--rev .profile__media { position: static; order: -1; }
    .profile__photo { aspect-ratio: 4 / 3; max-height: 520px; }
  }

  /* ========== Section 5 — Values ========== */
  .values { background: var(--paper-2); padding: var(--s-10) 0; }
  .values__head { max-width: 720px; margin-bottom: var(--s-8); }
  .values__eyebrow {
    display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5);
  }
  .values__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .values__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: var(--muted);
  }
  .values__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px); line-height: var(--lh-heading);
    letter-spacing: var(--ls-snug); color: var(--ink); margin: 0 0 var(--s-4); text-wrap: balance;
  }
  .values__sub {
    font-family: var(--font-body); font-size: var(--fs-body-lg);
    line-height: var(--lh-body); color: var(--ink-2); max-width: 560px; margin: 0;
  }

  .values__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--rule);
    border: 1px solid var(--rule);
  }
  .value-card {
    position: relative; background: var(--paper);
    padding: var(--s-7);
    display: flex; flex-direction: column; gap: var(--s-4);
    transition: background var(--t-base) var(--ease);
  }
  .value-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base) var(--ease);
  }
  .value-card:hover { background: var(--gray-25); }
  .value-card:hover::before { transform: scaleX(1); }
  .value-card__num {
    position: absolute; top: var(--s-6); right: var(--s-6);
    font-family: var(--font-display); font-size: 22px; font-style: italic;
    color: var(--rule-strong); line-height: 1;
  }
  .value-card__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--rule); background: var(--accent-soft);
    border-radius: var(--r-2); color: var(--accent);
  }
  .value-card__icon svg { width: 22px; height: 22px; }
  .value-card h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 25px; line-height: 1.18; color: var(--ink); margin: 0;
  }
  .value-card p {
    font-family: var(--font-body); font-size: 15.5px;
    line-height: var(--lh-body); color: var(--ink-2); margin: 0;
  }
  @media (max-width: 860px) {
    .values__grid { grid-template-columns: 1fr; }
  }

  /* ========== Section 6 — Stats strip (dark, compact) ========== */
  .stats { position: relative; background: var(--ink); color: var(--paper); padding: var(--s-9) 0; overflow: hidden; }
  .stats::after {
    content: ''; position: absolute; bottom: -40%; left: -8%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(158,119,237,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .stats .container { position: relative; z-index: 1; }
  .stats__eyebrow {
    display: flex; align-items: center; justify-content: center; gap: var(--s-3);
    margin-bottom: var(--s-7);
  }
  .stats__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); }
  .stats__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: rgba(252,252,253,0.55);
  }
  .stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
  }
  .stat {
    text-align: center; padding: var(--s-3) var(--s-5);
    border-left: 1px solid rgba(252,252,253,0.12);
  }
  .stat:first-child { border-left: 0; }
  .stat__num {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(44px, 5vw, 68px); line-height: 1;
    color: var(--brand-300); letter-spacing: -0.01em;
    margin-bottom: var(--s-3);
  }
  .stat__label {
    font-family: var(--font-body); font-size: 14px; line-height: 1.45;
    color: rgba(252,252,253,0.6); max-width: 200px; margin: 0 auto;
  }
  @media (max-width: 860px) {
    .stats__grid { grid-template-columns: 1fr 1fr; gap: var(--s-6) 0; }
    .stat { border-left: 0; }
    .stat:nth-child(even) { border-left: 1px solid rgba(252,252,253,0.12); }
  }

  /* ========== Section 7 — First meeting / approach ========== */
  .approach { background: var(--paper); padding: var(--s-10) 0; }
  .approach__head { max-width: 720px; margin-bottom: var(--s-9); }
  .approach__eyebrow {
    display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5);
  }
  .approach__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .approach__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: var(--muted);
  }
  .approach__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px); line-height: var(--lh-heading);
    letter-spacing: var(--ls-snug); color: var(--ink); margin: 0 0 var(--s-4); text-wrap: balance;
  }
  .approach__sub {
    font-family: var(--font-body); font-size: var(--fs-body-lg);
    line-height: var(--lh-body); color: var(--ink-2); max-width: 580px; margin: 0;
  }

  .approach__steps {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }
  /* horizontal connector behind badges */
  .approach__steps::before {
    content: ''; position: absolute;
    top: 24px; left: 12.5%; right: 12.5%;
    height: 1px; background: var(--rule);
  }
  .step { position: relative; display: flex; flex-direction: column; gap: var(--s-4); }
  .step__badge {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--paper); border: 1px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 20px; color: var(--accent);
    position: relative; z-index: 1;
  }
  .step h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 24px; line-height: 1.2; color: var(--ink); margin: 0;
  }
  .step p {
    font-family: var(--font-body); font-size: 15.5px;
    line-height: var(--lh-body); color: var(--ink-2); margin: 0;
  }

  .approach__reassure {
    display: flex; align-items: center; justify-content: center; gap: var(--s-3);
    margin-top: var(--s-9);
    font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink-2);
    text-align: center;
  }
  .approach__reassure svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

  .approach__photo {
    display: block; width: 100%; aspect-ratio: 21 / 9;
    margin-top: var(--s-8);
    filter: sepia(0.15) saturate(0.9);
  }
  .approach__cta { display: flex; justify-content: center; margin-top: var(--s-7); }

  @media (max-width: 860px) {
    .approach__steps { grid-template-columns: 1fr; gap: var(--s-7); padding-left: var(--s-2); }
    .approach__steps::before {
      top: 12px; bottom: 12px; left: 23px; right: auto;
      width: 1px; height: auto;
    }
    .step { flex-direction: row; align-items: flex-start; gap: var(--s-5); }
    .step__badge { flex-shrink: 0; }
    .step__content { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-2); }
    .approach__photo { aspect-ratio: 16 / 10; }
  }

  /* ========== Unified section header (from rozwody.html) ========== */
  .section-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-8);
    align-items: end;
  }
  .section-head .sh-left { display: flex; flex-direction: column; gap: var(--s-4); }
  .section-head .display-title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05;
    letter-spacing: var(--ls-snug); margin: 0; color: var(--ink);
  }
  .section-head .display-title em { font-style: italic; color: var(--accent); }
  .section-head .sh-desc {
    font-family: var(--font-body); font-size: var(--fs-body);
    line-height: var(--lh-body); color: var(--ink-2); margin: 0; max-width: 44ch;
  }
  .section-head .sh-right-col {
    display: flex; flex-direction: column; gap: var(--s-4); align-self: end;
  }
  .section-head .sh-cta {
    font-family: var(--font-body); font-weight: 500; font-size: 14px;
    color: var(--accent); text-decoration: none;
    display: inline-flex; align-items: center; gap: var(--s-1);
    transition: color var(--t-base) var(--ease); margin-top: var(--s-2);
  }
  .section-head .sh-cta:hover { color: var(--accent-hover); }
  .section-head .sh-cta svg {
    width: 14px; height: 14px; transition: transform var(--t-base) var(--ease);
  }
  .section-head .sh-cta:hover svg { transform: translateX(4px); }
  .section-head--dark .display-title { color: #fff; }
  .section-head--dark .display-title em { color: var(--brand-300); }
  .section-head--dark .sh-desc { color: rgba(252,252,253,0.6); }
  @media (max-width: 860px) {
    .section-head { grid-template-columns: 1fr; gap: var(--s-5); margin-bottom: var(--s-7); }
  }

  /* ========== Section 8: Testimonials — przeniesione do section-testimonials.css (warunkowo) ========== */

  /* ========== Section 9 — Two practices bridge ========== */
  .bridge { background: var(--paper); padding: var(--s-10) 0; }
  .bridge__head { max-width: 720px; margin-bottom: var(--s-8); }
  .bridge__eyebrow { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
  .bridge__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .bridge__eyebrow span:last-child {
    font-family: var(--font-body); font-weight: 500;
    font-size: var(--fs-eyebrow); text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow); color: var(--muted);
  }
  .bridge__head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px); line-height: var(--lh-heading);
    letter-spacing: var(--ls-snug); color: var(--ink); margin: 0 0 var(--s-4); text-wrap: balance;
  }
  .bridge__sub {
    font-family: var(--font-body); font-size: var(--fs-body-lg);
    line-height: var(--lh-body); color: var(--ink-2); max-width: 600px; margin: 0;
  }

  .bridge__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .practice-card {
    position: relative; padding: var(--s-8);
    display: flex; flex-direction: column; gap: var(--s-5);
    border-top: 3px solid transparent;
  }
  .practice-card--family {
    background: var(--card); border: 1px solid var(--rule); border-top-color: var(--accent);
  }
  .practice-card--criminal {
    background: var(--ink); color: var(--paper); border-top-color: var(--brand-400);
    overflow: hidden;
  }
  .practice-card--criminal::after {
    content: ''; position: absolute; top: -30%; right: -20%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(158,119,237,0.14) 0%, transparent 70%);
    pointer-events: none;
  }
  .practice-card__top { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s-4); }
  .practice-card__icon {
    width: 48px; height: 48px; border-radius: var(--r-2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .practice-card--family .practice-card__icon {
    background: var(--accent-soft); border: 1px solid var(--rule); color: var(--accent);
  }
  .practice-card--criminal .practice-card__icon {
    background: rgba(158,119,237,0.12); border: 1px solid rgba(158,119,237,0.35); color: var(--brand-300);
  }
  .practice-card__icon svg { width: 24px; height: 24px; }
  .practice-card__title {
    font-family: var(--font-display); font-weight: 400; font-size: 30px;
    line-height: 1.1; margin: 0;
  }
  .practice-card--family .practice-card__title { color: var(--ink); }
  .practice-card--criminal .practice-card__title { color: #fff; }
  .practice-card__here {
    font-family: var(--font-body); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); margin-left: auto;
  }
  .practice-card__desc {
    position: relative; z-index: 1;
    font-family: var(--font-body); font-size: 15.5px; line-height: var(--lh-body); margin: 0;
  }
  .practice-card--family .practice-card__desc { color: var(--ink-2); }
  .practice-card--criminal .practice-card__desc { color: rgba(252,252,253,0.62); }

  .practice-links { display: flex; flex-direction: column; gap: 0; margin-top: auto; }
  .practice-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--s-3) 0; border-top: 1px solid var(--rule);
    font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
    color: var(--ink); text-decoration: none;
    transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
  }
  .practice-links a:hover { color: var(--accent); padding-left: var(--s-2); }
  .practice-links a svg { width: 15px; height: 15px; color: var(--muted); transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease); }
  .practice-links a:hover svg { color: var(--accent); transform: translateX(3px); }

  .practice-card__cta {
    position: relative; z-index: 1; margin-top: auto;
    font-family: var(--font-body); font-weight: 500; font-size: 14px;
    color: var(--brand-200); text-decoration: none;
    display: inline-flex; align-items: center; gap: var(--s-2);
    transition: color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
  }
  .practice-card__cta:hover { color: #fff; gap: var(--s-3); }
  .practice-card__cta svg { width: 16px; height: 16px; }

  .bridge__unify {
    text-align: center; max-width: 680px; margin: var(--s-8) auto 0;
    padding-top: var(--s-7); border-top: 1px solid var(--rule);
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--ink);
  }

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

  /* ========== Section 10: FAQ + sidebar — przeniesione do section-faq.css + section-commons.css (warunkowo) ========== */

  /* ========== Image placeholder (puste kafelki na docelowe zdjęcia) ========== */
  /* Wymiary/proporcje dziedziczy z klas *__photo; tu tylko wygląd pustego stanu.
     Reguła po *__photo, więc filter:none nadpisuje sepia/grayscale. */
  .img-ph {
    display: flex; align-items: center; justify-content: center;
    padding: var(--s-5);
    background: var(--paper);
    border: 1px dashed var(--rule);
    filter: none;
  }
  .img-ph__label {
    font-family: var(--font-body); font-size: var(--fs-eyebrow);
    letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
    color: var(--muted); text-align: center; max-width: 32ch;
  }

/* ============================================================
   DODATEK MOBILNY (≤600px) — telefon. Desktop nietknięty.
   ============================================================ */
@media (max-width: 600px) {
  .diff__grid,
  .values__grid,
  .approach__steps,
  .bridge__grid { grid-template-columns: 1fr !important; }
  /* Karty „bridge" mają padding 64px — za dużo i przepełnia na telefonie */
  .practice-card { padding: var(--s-6); min-width: 0; }
}

/* ============================================================
   DODATEK MOBILNY — POLISH (≤600). Desktop (>600) nietknięty.
   ============================================================ */
@media (max-width: 600px) {
  .origin, .diff, .approach, .profile, .stats, .values, .team,
  .testimonials, .bridge, .faq-section { padding-top: var(--s-7); padding-bottom: var(--s-7); }
  .about-hero { padding-top: var(--s-7); }
  .about-hero__text { padding-bottom: var(--s-7); }
  .about-hero__media { min-height: 0; }
  .about-hero__photo, .origin__photo, .profile__photo, .approach__photo {
    aspect-ratio: 16 / 10; max-height: 200px; min-height: 0; }
  .diff-card, .value-card, .testimonial-card { padding: var(--s-5); }
}

/* Mały telefon: statystyki z 2 kolumn → 1 (duże liczby clamp(44–68px)
   robią się ciasne przy ~124px kolumny na 320px). */
@media (max-width: 400px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(even) { border-left: 0; }
}
