/* ============================================
   ŚwieżePoWietrze.pl — v2 Redesign
   Warm editorial magazine look
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-brand: #2d6a4f;
  --c-brand-light: #d8f3dc;
  --c-brand-dark: #1b4332;
  --c-accent: #40916c;
  --c-accent-warm: #b7e4c7;
  --c-orange: #e76f51;
  --c-orange-light: #fef0ec;
  --c-text: #212529;
  --c-text-mid: #495057;
  --c-text-light: #868e96;
  --c-bg: #fefefe;
  --c-cream: #faf8f5;
  --c-sand: #f1ede8;
  --c-border: #e0dcd6;
  --c-border-light: #ece8e3;
  --c-warn-bg: #fdf6ec;
  --c-warn-border: #e9c46a;
  --c-warn-text: #7a5c00;
  --c-info-bg: #edf6f0;
  --c-info-border: #95d5b2;
  --c-info-text: #1b4332;
  --c-footer: #1a1a2e;
  --c-footer-mid: #a0a0b8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-card: 0 2px 20px rgba(0,0,0,.05);
  --shadow-hover: 0 6px 28px rgba(0,0,0,.09);
  --max-w: 740px;
  --max-w-wide: 1060px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { font-size: 16.5px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-brand-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--c-text); line-height: 1.25; font-weight: 700; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.wrap--wide { max-width: var(--max-w-wide); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── HEADER ── */
.hdr { background: var(--c-cream); border-bottom: 1px solid var(--c-border-light); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px); }
.hdr__row { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; max-width: var(--max-w-wide); margin: 0 auto; }
.hdr__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--c-text); letter-spacing: -.02em; }
.hdr__logo b { color: var(--c-brand); font-weight: 800; }
.hdr__tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-light); border-left: 2px solid var(--c-border); padding-left: .6rem; margin-left: .7rem; display: none; }
@media(min-width:640px){ .hdr__tag { display: inline; } }
.hdr__nav { display: flex; gap: 1.1rem; }
.hdr__nav a { font-size: .78rem; font-weight: 600; color: var(--c-text-mid); text-transform: uppercase; letter-spacing: .04em; transition: color var(--transition); }
.hdr__nav a:hover { color: var(--c-brand); text-decoration: none; }

.hdr__cats { background: var(--c-sand); border-bottom: 1px solid var(--c-border-light); }
.hdr__cats-row { display: flex; gap: 1.6rem; padding: .45rem 1.25rem; max-width: var(--max-w-wide); margin: 0 auto; overflow-x: auto; }
.hdr__cats-row a { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--c-text-light); white-space: nowrap; padding: .2rem 0; border-bottom: 2px solid transparent; transition: all var(--transition); }
.hdr__cats-row a:hover, .hdr__cats-row a.on { color: var(--c-brand); border-color: var(--c-brand); text-decoration: none; }

/* ── HERO ── */
.hero { padding: 2.8rem 0 1.2rem; background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-bg) 100%); }
.hero__badge { display: inline-block; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--c-brand); padding: .3rem .85rem; border-radius: 50px; margin-bottom: 1.1rem; }
.hero__title { font-size: 2rem; line-height: 1.18; margin-bottom: 1rem; max-width: 660px; }
@media(min-width:768px){ .hero__title { font-size: 2.6rem; } }
.hero__lead { font-size: 1.08rem; color: var(--c-text-mid); line-height: 1.65; margin-bottom: 1.3rem; max-width: 620px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .74rem; color: var(--c-text-light); padding-top: .7rem; border-top: 1px solid var(--c-border-light); }
.hero__meta span { display: flex; align-items: center; gap: .3rem; }
.hero__meta svg { width: 13px; height: 13px; opacity: .5; }
.hero__img { margin-top: 2rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.hero__img img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }

/* ── DISCLAIMER BOXES ── */
.warn-box { border-radius: var(--r-sm); padding: 1rem 1.2rem; margin: 1.8rem 0; }
.warn-box--yellow { background: var(--c-warn-bg); border: 1px solid var(--c-warn-border); border-left: 4px solid var(--c-warn-border); }
.warn-box--green { background: var(--c-info-bg); border: 1px solid var(--c-info-border); border-left: 4px solid var(--c-brand); }
.warn-box__head { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .45rem; }
.warn-box--yellow .warn-box__head { color: var(--c-warn-text); }
.warn-box--green .warn-box__head { color: var(--c-info-text); }
.warn-box__head svg { width: 15px; height: 15px; }
.warn-box p { font-size: .84rem; line-height: 1.65; }
.warn-box--yellow p { color: var(--c-warn-text); }
.warn-box--green p { color: var(--c-info-text); }

/* ── ARTICLE BODY ── */
.prose { padding: 0 0 .5rem; }
.prose p { margin-bottom: 1.2rem; font-size: .98rem; line-height: 1.8; }
.prose p.big { font-size: 1.06rem; color: var(--c-text-mid); }

/* ── SECTION DIVIDER ── */
.sdiv { margin: 2.8rem 0 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--c-brand-light); }
.sdiv__tag { font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c-brand); margin-bottom: .35rem; display: block; }
.sdiv__h { font-size: 1.5rem; }
.sdiv__sub { font-size: .88rem; color: var(--c-text-mid); margin-top: .25rem; }

/* ── PRODUCT CARD ── */
.pcard { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); margin: 2rem 0; transition: box-shadow var(--transition); }
.pcard:hover { box-shadow: var(--shadow-hover); }
.pcard__grid { display: grid; grid-template-columns: 1fr; }
@media(min-width:640px){ .pcard__grid { grid-template-columns: 1fr 1fr; } }
.pcard__pic { background: var(--c-sand); display: flex; align-items: center; justify-content: center; padding: 2rem; min-height: 260px; }
.pcard__pic img { max-height: 280px; object-fit: contain; border-radius: var(--r-sm); transition: transform var(--transition); }
.pcard:hover .pcard__pic img { transform: scale(1.03); }
.pcard__body { padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.pcard__label { display: inline-block; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--c-orange); padding: .22rem .65rem; border-radius: 50px; margin-bottom: .7rem; width: fit-content; }
.pcard__name { font-size: 1.35rem; margin-bottom: .55rem; }
.pcard__desc { font-size: .9rem; color: var(--c-text-mid); line-height: 1.6; margin-bottom: 1.2rem; }
.pcard__btns { display: flex; flex-direction: column; gap: .55rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--font-body); font-size: .88rem; font-weight: 700; padding: .82rem 1.6rem; border-radius: var(--r-sm); border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; text-align: center; }
.btn:hover { text-decoration: none; }
.btn svg { width: 15px; height: 15px; }
.btn--fill { background: var(--c-orange); color: #fff; box-shadow: 0 3px 12px rgba(231,111,81,.3); }
.btn--fill:hover { background: #d4573e; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(231,111,81,.35); }
.btn--ghost { background: transparent; color: var(--c-brand); border: 1.5px solid var(--c-brand); }
.btn--ghost:hover { background: var(--c-brand-light); color: var(--c-brand-dark); }
.btn--big { padding: 1rem 2.4rem; font-size: .96rem; border-radius: var(--r-md); }

/* ── CONTENT SECTIONS ── */
.csec { margin: 2.5rem 0; }
.csec__h { font-size: 1.3rem; margin-bottom: .7rem; padding-left: .75rem; border-left: 4px solid var(--c-accent-warm); }
.csec p { margin-bottom: 1.1rem; line-height: 1.8; }

/* ── FEATURES GRID ── */
.fgrid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media(min-width:640px){ .fgrid { grid-template-columns: 1fr 1fr; } }
.fcard { background: var(--c-cream); border: 1px solid var(--c-border-light); border-radius: var(--r-md); padding: 1.3rem; transition: all var(--transition); }
.fcard:hover { border-color: var(--c-accent-warm); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.fcard__ico { width: 42px; height: 42px; background: var(--c-brand-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: .7rem; color: var(--c-brand); }
.fcard__ico svg { width: 20px; height: 20px; }
.fcard__t { font-family: var(--font-display); font-size: .98rem; font-weight: 700; margin-bottom: .35rem; }
.fcard__p { font-size: .85rem; color: var(--c-text-mid); line-height: 1.6; }

/* ── STEPS ── */
.steps { margin: 2rem 0; }
.step { display: flex; gap: 1.1rem; margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--c-border-light); }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step__n { flex-shrink: 0; width: 36px; height: 36px; background: var(--c-brand); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .85rem; font-weight: 700; margin-top: .1rem; }
.step__body h4 { font-size: .98rem; font-weight: 700; margin-bottom: .25rem; }
.step__body p { font-size: .87rem; color: var(--c-text-mid); line-height: 1.65; }

/* ── CHECKLISTS ── */
.cklist { margin: 2rem 0; padding: 1.5rem; border-radius: var(--r-md); }
.cklist--ok { background: var(--c-brand-light); border: 1px solid var(--c-info-border); }
.cklist--warn { background: var(--c-warn-bg); border: 1px solid var(--c-warn-border); }
.cklist__h { font-size: 1.1rem; font-weight: 700; margin-bottom: .9rem; display: flex; align-items: center; gap: .45rem; }
.cklist--ok .cklist__h { color: var(--c-brand-dark); }
.cklist--warn .cklist__h { color: var(--c-warn-text); }
.cklist__h svg { width: 20px; height: 20px; }
.cklist ul { list-style: none; padding: 0; }
.cklist li { position: relative; padding: .4rem 0 .4rem 1.7rem; font-size: .89rem; line-height: 1.6; }
.cklist--ok li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 17px; height: 17px; background: var(--c-brand); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: center; }
.cklist--warn li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 17px; height: 17px; background: var(--c-warn-border); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: center; }
.cklist--warn li { color: var(--c-warn-text); }

/* ── CTA BLOCK ── */
.cta-block { text-align: center; padding: 2.8rem 1.5rem; margin: 2.5rem 0; background: var(--c-cream); border: 1px solid var(--c-border-light); border-radius: var(--r-lg); }
.cta-block__h { font-size: 1.35rem; margin-bottom: .45rem; }
.cta-block__sub { font-size: .92rem; color: var(--c-text-mid); margin-bottom: 1.4rem; }

/* ── INLINE IMAGE ── */
.fig { margin: 2rem 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); }
.fig img { width: 100%; object-fit: cover; }
.fig figcaption { font-size: .74rem; color: var(--c-text-light); padding: .55rem 1rem; background: var(--c-cream); text-align: center; font-style: italic; }

/* ── FOOTER ── */
.ftr { background: var(--c-footer); color: var(--c-footer-mid); margin-top: 3rem; padding: 2.5rem 0 1.5rem; }
.ftr__inner { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.25rem; }
.ftr__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
@media(min-width:640px){ .ftr__grid { grid-template-columns: 2fr 1fr 1fr; } }
.ftr__brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.ftr__brand b { color: var(--c-accent); }
.ftr__blurb { font-size: .8rem; line-height: 1.6; }
.ftr__heading { font-family: var(--font-display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin-bottom: .7rem; }
.ftr__links { list-style: none; }
.ftr__links li { margin-bottom: .35rem; }
.ftr__links a { font-size: .82rem; color: var(--c-footer-mid); transition: color var(--transition); }
.ftr__links a:hover { color: #fff; text-decoration: none; }
.ftr__bottom { padding-top: 1.4rem; }
.ftr__legal { font-size: .72rem; line-height: 1.7; color: rgba(160,160,184,.6); margin-bottom: .7rem; }
.ftr__copy { font-size: .72rem; color: rgba(160,160,184,.4); margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.04); }

/* ── LEGAL PAGES ── */
.legal-page { padding: 2.5rem 0 3rem; }
.legal-page__title { font-size: 2rem; font-weight: 700; margin-bottom: .4rem; }
.legal-page__updated { font-size: .82rem; color: var(--c-text-light); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border-light); }
.legal-page h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; padding-left: .7rem; border-left: 4px solid var(--c-accent-warm); }
.legal-page h3 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
.legal-page p { margin-bottom: 1rem; line-height: 1.75; }
.legal-page ul { margin: .5rem 0 1.2rem 1.5rem; line-height: 1.75; }
.legal-page li { margin-bottom: .3rem; }

/* ── CONTACT ── */
.contact-info { background: var(--c-cream); border: 1px solid var(--c-border-light); border-radius: var(--r-md); padding: 1.8rem; margin: 1.5rem 0; }
.contact-info__item { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1.2rem; }
.contact-info__item:last-child { margin-bottom: 0; }
.contact-info__icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--c-brand-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--c-brand); }
.contact-info__icon svg { width: 17px; height: 17px; }
.contact-info__label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-light); margin-bottom: .1rem; }
.contact-info__value { font-size: .92rem; color: var(--c-text); }

/* ── RESPONSIVE ── */
@media(max-width:480px){
  html { font-size: 15px; }
  .hero__title { font-size: 1.6rem; }
  .pcard__body { padding: 1.2rem; }
  .cta-block { padding: 2rem 1rem; }
}
@media print { .hdr,.ftr,.btn,.cta-block { display: none; } }
