/* Pakiet A: lista objawów i bezpłatny audyt atrybucji. */

/* Hero: link do audytu pod przyciskami */
.hero-audit { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; font-size: 15px; color: var(--text-secondary); text-decoration: none; }
.hero-audit b { color: var(--product-accent); font-weight: 650; border-bottom: 1px solid currentColor; }
.hero-audit:hover b { border-bottom-width: 2px; }

/* Objawy: „Kiedy do nas napisać” */
.symptoms { margin: 56px 0 8px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--background-primary); }
.symptoms-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; margin-bottom: 24px; }
.symptoms-head .kicker { display: block; margin-bottom: 12px; }
.symptoms-head h3 { font-size: clamp(22px, 2.2vw, 29px); max-width: 640px; }
.symptoms-head p { max-width: 360px; margin: 0; color: var(--text-secondary); font-size: 15px; }
.symptom-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.symptom-list button { display: flex; align-items: flex-start; gap: 12px; width: 100%; height: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text-primary); font: inherit; font-size: 15.5px; line-height: 1.5; text-align: left; cursor: default; }
.symptom-list button::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--text-muted); border-radius: 6px; background: var(--background-primary) center / 12px no-repeat; transition: background-color .15s, border-color .15s; }
.symptom-list.is-interactive button { cursor: pointer; transition: border-color .15s, background-color .15s; }
.symptom-list.is-interactive button:hover { border-color: var(--product-accent); }
.symptom-list button:focus-visible { outline: 2px solid var(--product-accent); outline-offset: 2px; }
.symptom-list button[aria-pressed="true"] { border-color: var(--product-accent); background: var(--product-lavender); }
.symptom-list button[aria-pressed="true"]::before { border-color: var(--product-accent); background-color: var(--product-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.symptom-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 15.5px; }
.symptom-result .symptom-text { color: var(--text-secondary); }
.symptom-result[data-level="2"] .symptom-text { color: var(--text-primary); font-weight: 600; }
.symptom-result .text-link { white-space: nowrap; }

/* Sekcja audytu */
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.audit-copy > p { color: var(--text-secondary); font-size: 17px; line-height: 1.65; max-width: 560px; }
.audit-copy h2 { margin: 12px 0 18px; }
.audit-sub { margin: 30px 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.audit-scope { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.audit-scope li { display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.55; }
.audit-scope li::before { content: '✓'; grid-row: span 2; color: var(--product-accent); font-weight: 700; }
.audit-scope b { color: var(--text-primary); }
.audit-scope span { color: var(--text-secondary); }
.audit-steps { counter-reset: st; display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.audit-steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.55; color: var(--text-secondary); }
.audit-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text-primary); color: var(--background-primary); font-weight: 650; font-size: 14px; }
.audit-steps b { color: var(--text-primary); }
.audit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.audit-copy .caption { margin-top: 12px; }

.audit-visual { position: relative; }
.audit-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.audit-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.audit-card { position: relative; margin: -18% 0 0 12%; padding: 22px 22px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--background-primary); box-shadow: 0 24px 60px -24px rgba(31, 30, 29, .35); }
.ac-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 650; }
.ac-head em { font-style: normal; font-size: 11px; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; background: var(--product-lavender); color: var(--product-accent); }
.ac-score { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.ac-ring { position: relative; flex: none; width: 92px; height: 92px; }
.ac-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ac-ring circle { fill: none; stroke-width: 9; }
.ac-ring .ac-track { stroke: var(--product-lavender); }
.ac-ring .ac-fill { stroke: var(--product-accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 42; }
.ac-ring strong { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ac-ring strong small { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.ac-score p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.ac-score p b { display: block; color: var(--text-primary); font-size: 15px; }
.ac-rows { margin: 0; padding: 0; list-style: none; }
.ac-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.ac-st { flex: none; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; }
.ac-st.ok { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.ac-st.part { color: var(--warning); background: color-mix(in srgb, var(--warning) 13%, transparent); }
.ac-st.miss { color: var(--error); background: color-mix(in srgb, var(--error) 12%, transparent); }
.ac-fix { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--text-primary); color: var(--background-primary); }
.ac-fix span { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; opacity: .7; }
.ac-fix ol { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.ac-fix li + li { margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .audit-card.is-armed .ac-fill { stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1); }
  .audit-card.is-armed.is-in .ac-fill { stroke-dashoffset: 42; }
  .audit-card.is-armed .ac-rows li, .audit-card.is-armed .ac-fix { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(.5s + var(--i, 0) * .18s); }
  .audit-card.is-armed.is-in .ac-rows li, .audit-card.is-armed.is-in .ac-fix { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .audit-grid { grid-template-columns: 1fr; }
  .audit-card { margin: -14% 0 0 6%; }
}
@media (max-width: 640px) {
  .symptom-list { grid-template-columns: 1fr; }
  .audit-card { margin: -10% 0 0; padding: 18px 16px; }
  .ac-ring { width: 80px; height: 80px; }
}
