/* ── umow-wdrozenie — style przeniesione z inline <style> w page-umow-wdrozenie.php (konwencja: CSS per strona) ── */
  .dw-content { line-height: 1.6; color: var(--text); }
  .dw-content {
    --brand:         #2A6B4F;
    --brand-hover:   #1e4d37;
    --brand-soft:    #EAF4EE;
    --highlight:     #FEF9C2;
    --text:          #111111;
    --text-muted:    #374151;
    --text-light:    #6b7280;
    --bg:            #ffffff;
    --bg-subtle:     #f9fafb;
    --border:        #e5e5e5;
    --border-strong: #e5e7eb;
    --btn-radius:    4px;
    --card-radius:   4px;
    --shadow-float:  0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-screen: 0 6px 20px rgba(17,24,39,.07), 0 1px 4px rgba(17,24,39,.04);
    --max-w:         1400px;
    --font-heading:  'Geist', system-ui, sans-serif;
    --font-body:     'Inter', system-ui, sans-serif;
  }

  .dw-content h1, .dw-content h2, .dw-content h3 { font-family: var(--font-heading); letter-spacing: -.03em; line-height: 1.12; font-weight: 500; }
  .dw-content p { color: var(--text-muted); }
  .dw-content a { color: inherit; }

  .dw-content .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
  .dw-content section { padding: 88px 0; }
  .dw-content .eyebrow { font-family: var(--font-body); font-size: var(--fs-eyebrow, 13px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }

  /* ── Buttons ─────────────────────────────── */
  .dw-content .btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; padding: 14px 26px; border-radius: var(--btn-radius); font-size: 15.5px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; border: 0; cursor: pointer; }
  .dw-content .btn-cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
  .dw-content .btn-cta svg { width: 17px; height: 17px; }

  /* ── Hero ─────────────────────────────────────
     Klasy z prefiksem dw- zamiast .hero/.hero-copy: globalny main.css
     (ładowany dla headera/footera) ma własne reguły .hero ze strony
     głównej i rozjeżdżały ten układ. */
  .dw-content .dw-hero { padding: 76px 0 0; }
  .dw-content .dw-hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 48px; align-items: center; }
  .dw-content .dw-hero h1 { margin: 0; font-size: var(--fs-hero, clamp(2.1rem, 4.1vw, 3.2rem)); color: var(--text); text-wrap: balance; max-width: none; }
  /* Wyróżnienie w nagłówku – żółta plamka jak na stronie głównej (marker-accent) */
  .dw-content .dw-hero h1 .hl-bar {
    display: inline;
    color: var(--text);
    background: var(--highlight);
    border-radius: 6px;
    padding: .06em 0;
    line-height: 1.34;
    box-shadow: -.16em 0 0 var(--highlight), .16em 0 0 var(--highlight);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .dw-content .dw-hero .sub { margin-top: 20px; font-size: 18px; color: var(--text-muted); max-width: 32em; }
  .dw-content .dw-hero .cta-row { margin-top: 30px; }

  /* ── Screen mockup (miejsce na kadr z wideo) ── */
  .dw-content .screen { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-screen); }
  .dw-content .screen--hero { aspect-ratio: 16 / 9; }
  .dw-content img.screen { display: block; max-width: 100%; object-fit: cover; }
  .dw-content .shot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--brand-soft); color: var(--brand); }
  .dw-content .shot .shot-label { font-family: var(--font-heading); font-weight: 600; font-size: 16px; }
  .dw-content .shot .shot-note { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
  .dw-content .shot-badge { margin-bottom: 16px; width: 52px; height: 52px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
  .dw-content .shot-badge svg { width: 26px; height: 26px; color: var(--brand); }

  /* ── Korzyści (tiles) ────────────────────── */
  .dw-content .benefits { padding-bottom: 0; }
  .dw-content .benefits h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); text-align: center; max-width: 24em; margin: 0 auto 34px; text-wrap: balance; }
  .dw-content .tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dw-content .tile { padding: 26px; border: 1px solid var(--border); border-radius: var(--card-radius); background: #fff; transition: box-shadow .18s, transform .18s; }
  .dw-content .tile:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
  .dw-content .tile .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
  .dw-content .tile .ico svg { width: 20px; height: 20px; color: var(--brand); }
  .dw-content .tile h3 { font-family: var(--font-body); font-size: 17.5px; font-weight: 600; color: var(--text); letter-spacing: 0; }
  .dw-content .tile p { margin-top: 8px; font-size: 16px; line-height: 1.55; }

  /* ── W jakich sytuacjach (cases) ──────────── */
  .dw-content .dw-cases h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); text-align: center; max-width: 20em; margin: 0 auto 48px; text-wrap: balance; }
  .dw-content .dw-cases-b { display: grid; gap: 20px; max-width: 1120px; margin: 0 auto; }
  .dw-content .dw-situation { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; padding: 34px 36px; border: 1px solid var(--border); border-radius: var(--card-radius); background: #fff; }
  .dw-content .dw-sit-copy h3 { margin: 0 0 8px; font-family: var(--font-body); font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: 0; line-height: 1.35; }
  .dw-content .dw-sit-copy p:not(.eyebrow) { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }

  /* Prosty wizual startu (znak Planerto + chip) */
  .dw-content .dw-start-visual { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; min-height: 220px; padding: 28px; background: var(--bg-subtle); border-radius: 14px; }
  .dw-content .dw-start-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 22px; background: #fff; border: 1.5px solid var(--brand); border-radius: 14px; box-shadow: var(--shadow-float); }
  .dw-content .dw-start-node img { display: block; width: 44px; height: 44px; }
  .dw-content .dw-start-plus { font-family: var(--font-heading); font-weight: 500; font-size: 26px; color: var(--brand); }
  .dw-content .dw-start-chip { font-size: 14px; font-weight: 600; color: var(--brand); background: #fff; border: 1px dashed var(--brand); border-radius: 999px; padding: 10px 18px; }

  /* Sytuacja „przenosisz się" używa bazowego układu 2-kolumnowego (tekst | hub) */

  /* Hub migracji: aplikacje (logo) wokół Planerto – kompakt w prawej kolumnie */
  .dw-content .dw-hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .dw-content .dw-tool { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 82px; padding: 8px; text-align: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; transition: box-shadow .18s, transform .18s, border-color .18s; }
  .dw-content .dw-tool:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); border-color: #d7e5dd; }
  .dw-content .dw-tool-ico { display: flex; align-items: center; justify-content: center; height: 28px; }
  .dw-content .dw-tool-ico img { max-height: 28px; max-width: 72px; object-fit: contain; }
  .dw-content .dw-tool-name { font-size: 11.5px; font-weight: 500; line-height: 1.15; color: var(--text-light); }
  .dw-content .dw-hub-center { grid-column: 2 / 4; grid-row: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
  .dw-content .dw-hub-fav { display: block; width: 128px; height: 128px; }
  .dw-content .dw-tool--more { border-style: dashed; }
  .dw-content .dw-tool--more .dw-tool-ico svg { width: 20px; height: 20px; color: var(--text-light); }

  /* Naprzemienny układ jak w ClickUp: w wierszu migracji wizual po lewej, tekst po prawej */
  .dw-content .dw-situation--migrate { grid-template-columns: 1.05fr 1fr; }
  .dw-content .dw-situation--migrate .dw-hub { order: -1; }

  /* ── Kroki ───────────────────────────────── */
  .dw-content .how h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); text-align: center; margin-bottom: 48px; }
  .dw-content .steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .dw-content .step-card { position: relative; text-align: center; }
  /* Linia-oś czasu: biegnie przez środek ikon, łączy kolejne kroki (ikony ją zasłaniają) */
  .dw-content .step-card:not(:last-child)::after { content: ''; position: absolute; top: 28px; left: 50%; width: calc(100% + 32px); height: 2px; background: var(--brand); z-index: 0; }
  .dw-content .step-ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
  .dw-content .step-ico svg { width: 26px; height: 26px; color: var(--brand); }
  .dw-content .step-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
  .dw-content .step-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 17.5px; color: var(--text); letter-spacing: 0; }
  .dw-content .step-card p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-muted); }

  /* ── Formularz ───────────────────────────── */
  .dw-content .book { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .dw-content .book-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: start; }
  .dw-content .form-card { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--card-radius); padding: 32px; box-shadow: var(--shadow-screen); }
  .dw-content .form-card h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); color: var(--text); margin-bottom: 22px; }
  /* Style pod markup CF7 (label + kontrolka) w nowym designie */
  .dw-content .form-card label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
  .dw-content .form-card p { margin: 0 0 16px; }
  .dw-content .form-card input[type="text"],
  .dw-content .form-card input[type="email"],
  .dw-content .form-card input[type="tel"],
  .dw-content .form-card select,
  .dw-content .form-card textarea { width: 100%; font-family: inherit; font-size: 15px; color: var(--text); padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--btn-radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
  .dw-content .form-card textarea { min-height: 96px; resize: vertical; }
  .dw-content .form-card input:focus, .dw-content .form-card select:focus, .dw-content .form-card textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(42,107,79,.12); }
  .dw-content .form-card input::placeholder, .dw-content .form-card textarea::placeholder { color: var(--text-light); }
  .dw-content .form-card .wpcf7-acceptance label,
  .dw-content .form-card .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--text-muted); }
  .dw-content .form-card .wpcf7-acceptance input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--brand); }
  .dw-content .form-card .wpcf7-acceptance a { color: var(--brand); }
  .dw-content .form-card input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 100%; background: var(--brand); color: #fff; padding: 14px 26px; border-radius: var(--btn-radius); font-family: inherit; font-size: 15.5px; font-weight: 600; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
  .dw-content .form-card input[type="submit"]:hover { background: var(--brand-hover); transform: translateY(-1px); }
  .dw-content .form-card .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 0; border-radius: var(--btn-radius); background: var(--brand-soft); color: var(--brand); font-size: 14px; }
  .dw-content .form-card form.invalid .wpcf7-response-output,
  .dw-content .form-card form.failed .wpcf7-response-output { background: #fee2e2; color: #b91c1c; }
  .dw-content .form-card .wpcf7-not-valid-tip { color: #b91c1c; font-size: 12.5px; margin-top: 5px; }
  .dw-content .form-card .wpcf7-spinner { margin: 0 0 0 10px; }
  .dw-content .book-aside { display: flex; flex-direction: column; gap: 16px; }
  .dw-content .aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 22px 24px; }
  .dw-content .aside-card .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
  .dw-content .aside-card .ico svg { width: 18px; height: 18px; color: var(--brand); }
  .dw-content .aside-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: 0; }
  .dw-content .aside-card p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
  .dw-content .aside-card .link { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--brand); text-decoration: none; }
  .dw-content .aside-card .link:hover { text-decoration: underline; }

  /* ── FAQ ─────────────────────────────────── */
  .dw-content .faq .head { text-align: center; margin-bottom: 36px; }
  .dw-content .faq h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); }
  .dw-content .faq-list { max-width: 760px; margin: 0 auto; }
  .dw-content details.qa { border-bottom: 1px solid var(--border); }
  .dw-content details.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-heading); font-weight: 500; font-size: 18px; color: var(--text); }
  .dw-content details.qa summary::-webkit-details-marker { display: none; }
  .dw-content details.qa summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
  .dw-content details.qa[open] summary::after { transform: rotate(45deg); }
  .dw-content details.qa .a { padding: 0 40px 22px 0; font-size: 16px; color: var(--text-muted); }

  /* ── Responsive ──────────────────────────── */
  @media (max-width: 1040px) {
    .dw-content .steps-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .dw-content .step-card:not(:last-child)::after { display: none; }
  }
  @media (max-width: 900px) {
    .dw-content section { padding: 64px 0; }
    .dw-content .dw-hero { padding: 48px 0 0; }
    .dw-content .dw-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .dw-content .dw-hero .sub { max-width: none; }
    .dw-content .tiles-grid { grid-template-columns: 1fr; }
    .dw-content .dw-situation { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
    .dw-content .dw-start-visual { flex-direction: column; }
    .dw-content .dw-hub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    /* Planerto w srodku siatki (6 logo nad, blok 2x pelna szerokosc, 6 logo pod) */
    .dw-content .dw-hub-center { grid-column: 1 / 3; grid-row: 4 / 6; }
    .dw-content .dw-hub-fav { width: 104px; height: 104px; }
    .dw-content .dw-situation--migrate .dw-hub { order: 0; }
    .dw-content .steps-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .dw-content .step-card:not(:last-child)::after { display: none; }
    .dw-content .book-grid { grid-template-columns: 1fr; gap: 28px; }
    .dw-content .form-card { padding: 26px 22px; }
  }
