/* ==========================================================================
   Sylwia Mieszczakowska – psycholog dzieci i młodzieży, Radom
   main.css  (paleta: róż + ciemna zieleń + szałwia)
   1. Tokeny  2. Reset  3. Layout  4. Przyciski  5. Header  6. Hero
   7. Sekcje  8. Formularz  9. Stopka  10. Pomocnicze
   ========================================================================== */

/* 1. TOKENY ---------------------------------------------------------------- */
:root {
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --white: #FFFDFC;
  --pink: #F8DDE2;        /* sekcje różowe */
  --pink-d: #F1C8D0;      /* pasek nawigacji */
  --rose: #D9979F;        /* przycisk na ciemnym tle */
  --forest: #24382F;      /* ciemna zieleń */
  --forest-2: #2F493D;
  --sage: #8AA07E;        /* szałwia */
  --sage-l: #E1EAD9;
  --ink: #1B2420;
  --muted: #56615B;
  --line: #E8D9DB;
  --on-forest: #F7F1EA;
  --on-forest-muted: #C5D2C8;
  --focus: #24382F;
  --danger: #B3261E;

  --r-xl: 36px; --r-lg: 26px; --r-md: 18px; --r-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(72px, 9vw, 120px);
  --bar-h: 0px;
  --shadow: 0 18px 50px -24px rgba(36, 56, 47, .35);
}

/* 2. RESET I TYPOGRAFIA ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; padding-bottom: var(--bar-h);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.5rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); }
h3 { font-size: 1.4rem; line-height: 1.22; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--forest); color: var(--on-forest); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-pink { background: var(--pink); }
.bg-sage { background: var(--sage-l); }
.bg-forest { background: var(--forest); color: var(--on-forest); --focus: #F7F1EA; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { margin: 0 auto; }
.tag { display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px; background: var(--pink); color: var(--forest); font-weight: 600; font-size: .875rem; }
.bg-pink .tag { background: var(--white); }
.bg-forest .tag { background: var(--forest-2); color: var(--on-forest); }

/* 4. PRZYCISKI ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.8em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: #17251F; box-shadow: 0 12px 26px -12px rgba(36, 56, 47, .7); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--on-forest); }
.btn-rose { background: var(--rose); color: var(--forest); }
.btn-rose:hover { background: #E4A9B0; }
.btn-ghost-light { border-color: rgba(247, 241, 234, .55); color: var(--on-forest); }
.btn-ghost-light:hover { background: var(--on-forest); color: var(--forest); }
.btn-sm { min-height: 46px; padding: .6em 1.4em; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.text-link:hover { text-decoration-thickness: 3px; }
.call-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; }
.call-link .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pink); color: var(--forest); transition: background-color .2s; }
.call-link:hover .ico { background: var(--pink-d); }
.call-link small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; line-height: 1.2; }
.call-link span.num { display: block; line-height: 1.25; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--pink-d); border-bottom: 1px solid rgba(36, 56, 47, .08); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 80px; position: relative; }
.brand { display: block; line-height: 0; margin-right: auto; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--white); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 8px var(--gutter) 22px; box-shadow: var(--shadow); }
.main-nav.is-open { display: block; }
.main-nav a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.main-nav li:last-child a { border-bottom: 0; }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--forest); color: var(--on-forest); border: 0; font: 600 .9375rem var(--font-body); cursor: pointer; }
.menu-btn .bars { position: relative; width: 18px; height: 12px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, top .2s; }
.menu-btn .bars::before { top: 1px; } .menu-btn .bars::after { top: 9px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }
@media (min-width: 1200px) {
  .menu-btn { display: none; }
  .main-nav { position: static; display: block; background: none; box-shadow: none; padding: 0; margin-inline: auto; }
  .main-nav ul { display: flex; gap: 6px; }
  .main-nav a { border: 0; padding: 10px 14px; border-radius: 999px; font-size: .9375rem; white-space: nowrap; transition: background-color .2s; }
  .main-nav a:hover, .main-nav a.is-active { background: rgba(255, 253, 252, .7); }
  .brand { margin-right: 0; }
}

/* 6. HERO ------------------------------------------------------------------ */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(48px, 7vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px 32px; align-items: center; }
.hero-visual { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 1; }
.hero-visual::before { content: ""; position: absolute; inset: 6% -4% -4% 8%; border-radius: 50%; background: var(--pink); }
.hero-photo { position: absolute; inset: 0; margin: 0; border-radius: 50%; overflow: hidden; border: 8px solid var(--forest); background: var(--pink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.float-card { position: absolute; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px 18px; font-size: .9rem; line-height: 1.4; }
.float-card strong { display: block; font-size: 1rem; }
.float-card .stars { color: #C98A2B; letter-spacing: 2px; font-size: 1rem; }
.float-rating { left: -4%; bottom: 10%; }
.float-rating .big { font: 500 2rem/1 var(--font-display); }
.float-info { right: -2%; top: 6%; max-width: 230px; }
.float-info li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.float-info li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
@media (max-width: 560px) { .float-info { display: none; } .float-rating { left: 0; bottom: 4%; padding: 10px 14px; } .float-rating .big { font-size: 1.6rem; } }

.strip { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 12px; }
@media (min-width: 720px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip li { padding: 22px 24px; border-radius: var(--r-md); background: var(--pink); }
.strip strong { display: block; font: 500 1.2rem/1.3 var(--font-display); }
.strip span { color: #4A5650; font-size: .9375rem; }

/* 7. SEKCJE ---------------------------------------------------------------- */
/* Karty z górnym blokiem (jak w motywie Psylo) */
.cards { display: grid; gap: 22px; }
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card-top { display: flex; flex-direction: column; justify-content: flex-end; min-height: 176px; padding: 22px 24px; border-radius: 18px; background: var(--pink); color: var(--forest); }
.card-top.t-sage { background: var(--sage-l); }
.card-top.t-forest { background: var(--forest); color: var(--on-forest); }
.card-top small { font-size: .875rem; opacity: .8; }
.card-top .big { font: 500 clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem)/1.1 var(--font-display); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px 16px 16px; }
.card-body h3 { font-size: 1.5rem; }
.card-body p { margin: 0; color: var(--muted); }
.card-body .for { font-size: .9375rem; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--sage); }
.card-body .more { margin-top: auto; padding-top: 10px; }
.card ul { display: grid; gap: 4px; margin-top: 4px; }
.card ul li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.card ul li:last-child { border-bottom: 0; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.card-note { font-size: .9375rem; color: var(--muted); }
.card-cta { background: var(--forest); color: var(--on-forest); border-color: var(--forest); justify-content: center; padding: 34px 30px; gap: 16px; }
.card-cta h3 { font-size: 1.6rem; }
.card-cta p { color: var(--on-forest-muted); margin: 0; }
.disclaimer { margin-top: 28px; text-align: center; color: var(--muted); font-size: .9375rem; max-width: 70ch; margin-inline: auto; }

/* O mnie */
.about-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .95fr 1.05fr; } }
.about-visual { position: relative; padding: 0 0 28px 0; }
.about-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sage-l); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.about-badge { position: absolute; right: -12px; bottom: 0; max-width: 260px; background: var(--forest); color: var(--on-forest); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font: 500 1.2rem/1.25 var(--font-display); margin-bottom: 2px; }
.about-badge span { color: var(--on-forest-muted); font-size: .9rem; }
@media (max-width: 560px) { .about-badge { right: 8px; } }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: #3F4A44; font-size: 1.0625rem; }
.checks { display: grid; gap: 12px; margin: 26px 0 30px; }
@media (min-width: 600px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: var(--r-md); line-height: 1.4; }
.checks li::before { content: ""; flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.2 3L11 1' fill='none' stroke='%23F7F1EA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.pull { margin: 0 0 8px; padding: 6px 0 6px 22px; border-left: 3px solid var(--forest); font: 500 1.3rem/1.4 var(--font-display); }
.pull cite { display: block; margin-top: 6px; font: 400 .9rem var(--font-body); color: var(--muted); font-style: normal; }

/* Diagnoza */
.dx-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .dx-grid { grid-template-columns: .85fr 1.15fr; } .dx-intro { position: sticky; top: 120px; align-self: start; } }
.bg-forest h2 { margin-bottom: 22px; }
.bg-forest .lead { color: var(--on-forest-muted); }
.dx-intro .btn-row { margin-top: 30px; }
.dx-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .dx-cards { grid-template-columns: 1fr 1fr; } }
.dx-card { background: var(--forest-2); border-radius: var(--r-lg); padding: 28px; }
.dx-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.dx-card p, .dx-card li { color: var(--on-forest-muted); font-size: 1rem; line-height: 1.6; }
.dx-card p { margin: 0 0 .8em; } .dx-card p:last-child { margin-bottom: 0; }
.dx-card li { position: relative; padding-left: 20px; margin-bottom: .5em; }
.dx-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

/* Proces */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); border-radius: var(--r-lg); padding: 30px 26px 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 50%; background: var(--rose); color: var(--forest); font: 500 1.3rem var(--font-display); }
.step h3 { margin-bottom: 10px; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.practical { margin-top: 22px; display: grid; gap: 12px; }
@media (min-width: 720px) { .practical { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .practical { grid-template-columns: repeat(4, 1fr); } }
.practical div { padding: 22px 24px; border-radius: var(--r-md); background: var(--sage-l); }
.practical dt { font-weight: 700; font-size: .875rem; color: #45564B; margin-bottom: 6px; }
.practical dd { line-height: 1.45; font-weight: 500; }

/* Uspokojenie */
.calm { text-align: center; }
.calm h2 { max-width: 20ch; margin: 0 auto 24px; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.calm p { max-width: 62ch; margin-inline: auto; font-size: 1.15rem; color: #3F4A44; }
.calm .btn { margin-top: 12px; }

/* Opinie */
.score { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; }
.score strong { font: 500 2.8rem/1 var(--font-display); }
.stars { color: #C98A2B; letter-spacing: 3px; font-size: 1.05rem; }
.reviews { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--r-lg); background: var(--pink); }
.review:nth-child(2) { background: var(--sage-l); }
.review blockquote { margin: 0; font: 500 1.3rem/1.45 var(--font-display); }
.review figcaption { margin-top: auto; color: #4A5650; font-size: .9375rem; }
.reviews-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .9375rem; }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq-head { position: sticky; top: 120px; align-self: start; } }
.faq-head h2 { margin-bottom: 20px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; }
.faq details[open] { border-color: var(--forest); background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 26px; min-height: 68px; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); font: 500 1.4rem/1 var(--font-body); transition: transform .25s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sage-l); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card { background: var(--forest); color: var(--on-forest); border-radius: var(--r-xl); padding: clamp(32px, 4.5vw, 56px); --focus: #F7F1EA; }
.contact-card h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); margin-bottom: 20px; }
.contact-card .lead { color: var(--on-forest-muted); }
.contact-list { margin: 30px 0 0; border-top: 1px solid rgba(247, 241, 234, .2); }
.contact-list div { display: grid; gap: 2px 20px; padding: 16px 0; border-bottom: 1px solid rgba(247, 241, 234, .2); }
@media (min-width: 520px) { .contact-list div { grid-template-columns: 120px 1fr; } }
.contact-list dt { color: var(--on-forest-muted); font-size: .9375rem; }
.contact-list dd { font-weight: 500; }
.map-box { margin-top: 26px; border-radius: var(--r-md); overflow: hidden; background: var(--forest-2); min-height: 180px; display: grid; place-items: center; text-align: center; }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-consent { padding: 28px 22px; }
.map-consent p { color: var(--on-forest-muted); font-size: .9375rem; max-width: 40ch; margin: 0 auto 16px; }

/* 8. FORMULARZ ------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.form-card h3 { font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.2rem); margin-bottom: 10px; }
.form-card .intro { color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid #E2CFD2;
  background: #FFF9F9; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2356615B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--forest); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.err { color: var(--danger); font-size: .875rem; margin-top: 6px; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; margin: 4px 0 20px; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--forest); }
.consent label { font-size: .9rem; color: var(--muted); line-height: 1.5; font-weight: 400; margin: 0; }
.consent a { color: var(--ink); }
.form-fine { margin: 14px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.form-alt { margin: 16px 0 0; font-size: .95rem; text-align: center; }
.form-status { margin-top: 18px; padding: 16px 20px; border-radius: var(--r-md); background: var(--sage-l); color: var(--forest); font-size: .9375rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #F8D7D3; color: #5F1710; }
.next-steps { margin-top: 22px; background: var(--white); border-radius: var(--r-lg); padding: 28px 32px; }
.next-steps h3 { font-size: 1.3rem; margin-bottom: 16px; }
.next-steps ol { display: grid; gap: 14px; counter-reset: n; }
.next-steps li { position: relative; padding-left: 46px; counter-increment: n; line-height: 1.45; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--forest); display: grid; place-items: center; font: 500 1rem var(--font-display); }
.next-steps strong { display: block; }
.next-steps span { color: var(--muted); font-size: .9375rem; }

/* 9. STOPKA ---------------------------------------------------------------- */
.site-footer { background: var(--forest); color: var(--on-forest); padding-block: 80px 32px; --focus: #F7F1EA; }
.foot-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } }
.foot-brand .plate { display: inline-block; line-height: 0; padding: 10px 16px; background: var(--white); border-radius: 14px; }
.foot-brand img { height: 38px; width: auto; }
.foot-brand p { margin-top: 18px; color: var(--on-forest-muted); font-size: .9375rem; max-width: 36ch; }
.site-footer h2 { font: 500 1.25rem var(--font-display); margin-bottom: 14px; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-footer address { font-style: normal; line-height: 1.75; color: var(--on-forest-muted); }
.site-footer address a { color: var(--on-forest); }
.site-footer nav a, .site-footer li a { color: var(--on-forest-muted); }
.site-footer nav a:hover, .site-footer li a:hover { color: var(--on-forest); }
.social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(247, 241, 234, .35); font-weight: 600; font-size: .9rem; color: var(--on-forest) !important; transition: background-color .2s; }
.social a:hover { background: var(--forest-2); text-decoration: none; }
.foot-safety { margin-top: 48px; padding: 18px 24px; border-radius: var(--r-md); background: var(--forest-2); font-size: .9375rem; color: var(--on-forest-muted); }
.foot-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(247, 241, 234, .18); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: .875rem; color: var(--on-forest-muted); }
.foot-bottom a { color: var(--on-forest-muted); }

/* 10. ELEMENTY POMOCNICZE -------------------------------------------------- */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: none; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 253, 252, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, opacity .25s; }
.mobile-bar .btn { flex: 1; min-height: 48px; padding-inline: 1em; }
.mobile-bar .btn-call { flex: 0 0 auto; }
.mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 719px) { .mobile-bar { display: flex; } :root { --bar-h: 84px; } }
.cookie { position: fixed; left: 16px; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: 400px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow); font-size: .875rem; line-height: 1.5; display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 12px; }
@media (max-width: 719px) { .cookie { left: 12px; right: 12px; max-width: none; bottom: calc(var(--bar-h) + 12px); } }

.legal { max-width: 820px; margin-inline: auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.legal h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .mobile-bar, .cookie { display: none; } }
