/* Kroje pisma hostowane u nas, nie z CDN Google. Powod: link do fonts.googleapis.com
   wysyla IP odwiedzajacego do Google jeszcze zanim ktokolwiek kliknie zgode w banerze.
   Pliki: assets/fonts/*.woff2, podzbiory latin + latin-ext (polskie znaki). */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dancing-script-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dancing-script-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1f2733;
  --muted: #55606b;
  --accent: #2f6fa8;
  --accent-dark: #24567f;
  --bg: #fcfcfd;
  --bg-soft: #f3f5f7;
  --border: #e4e7ea;
  --leaf: #6f9e7f;
  /* Welony - biala mgielka nad zdjeciem tla.
     Tylko DWA poziomy, celowo:
       --welon-baza   widac przez hero, tam zdjecie ma byc widoczne;
       --welon-pasmo  wszystkie pasma z trescia (naglowek, sekcje, stopka, blog, polityka).
     Wczesniej bylo ich cztery i sasiadujace sekcje roznily sie odcieniem bieli,
     co wygladalo na niedorobke, a nie na rytm. */
  --welon-baza: rgba(255, 255, 255, 0.63);
  --welon-pasmo: rgba(255, 255, 255, 0.84);
}

* { box-sizing: border-box; }

/* Kolor bazowy na `html`, nie na `body` - `body` musi byc przezroczyste,
   zeby bylo widac warstwe ze zdjeciem tla (`body::before`). */
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--ink);
  /* Krotkie podstrony (blog, polityka) nie wypelnialy ekranu i pod stopka zostawal
     pas golego zdjecia. Kolumna flex + rosnaca tresc dociskaja stopke do dolu. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body > main,
body > .legal,
body > section:last-of-type { flex: 1 0 auto; }

footer.site-footer { margin-top: auto; }

/* Tlo: zdjecie natury (woda, omszale glazy, zielen) pod cala strona.
   Stala warstwa robiona pseudoelementem, NIE `background-attachment: fixed`
   - tamten wariant zacina sie i skacze przy przewijaniu na iOS Safari.
   Bialy welon trzyma tekst czytelnym, a biale kafelki zostaja wyrazne. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--welon-baza), var(--welon-baza)),
    url("tlo-natura.jpg") center / cover no-repeat;
  background-color: var(--bg-soft);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--welon-pasmo);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.shop-btn:hover { background: var(--accent); color: #fff; }

nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 14px 0;
  background: var(--bg-soft);
  flex-wrap: wrap;
}

nav.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
nav.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 72px 24px;
  max-width: 1200px;
  margin: 0 auto;
  background:
    radial-gradient(560px 380px at 90% -10%, rgba(111, 158, 127, 0.14), transparent 70%),
    radial-gradient(520px 360px at -8% 110%, rgba(47, 111, 168, 0.10), transparent 70%);
}

.leaf-deco {
  position: absolute;
  width: 190px;
  height: auto;
  color: var(--leaf);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.leaf-deco--tr { top: 14px; right: 8px; transform: rotate(14deg); }
.leaf-deco--bl { bottom: 14px; left: 8px; transform: rotate(-158deg); opacity: 0.4; }

.hero-photo, .hero-copy { position: relative; z-index: 1; }

.hero-photo {
  flex: 0 0 420px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.hero-copy {
  flex: 1;
  min-width: 280px;
  /* Miekka poswiata pod tekstem - wygaszona do zera przy krawedziach, wiec nie widac
     zadnego prostokata, a naglowek i akapit nie siedza na fakturze kamieni. */
  background: radial-gradient(closest-side at 42% 50%,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.52) 58%,
    rgba(255, 255, 255, 0) 100%);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-copy p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.hero-lista {
  margin: 0 0 24px;
  padding-left: 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-lista li { margin-bottom: 8px; }
.hero-lista li::marker { color: var(--leaf); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.cta-btn:hover { background: var(--accent-dark); color: #fff; }

.signature {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 34px;
  color: var(--ink);
  margin-top: 22px;
}

/* Produkty */
section.produkty {
  position: relative;
  overflow: hidden;
  background: var(--welon-pasmo);
  padding: 72px 24px;
}

section.produkty > .wrap { position: relative; }
section.produkty > .wrap::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -12px;
  width: 104px;
  height: 104px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%3E%3Cpath%20d='M112%208C58%2014%2020%2048%2014%20100'%20stroke='%236f9e7f'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cpath%20d='M14%20100C68%2094%20106%2060%20112%208Z'%20stroke='%236f9e7f'%20stroke-width='2'/%3E%3Cpath%20d='M34%2080C42%2058%2062%2038%2086%2028'%20stroke='%236f9e7f'%20stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.3;
  pointer-events: none;
  transform: rotate(-4deg);
}

/* co druga sekcja: liść z lewej, odbity i inaczej obrócony */
section.produkty:nth-child(even) > .wrap::before {
  right: auto;
  left: -14px;
  transform: scaleX(-1) rotate(10deg);
}

.produkty h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px;
}

.produkty > .wrap > p.lead {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.6;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.tag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(31, 39, 51, 0.07);
  transition: border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.tag-card:hover {
  border-color: var(--accent);
  color: var(--accent);
}
a.tag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(31, 39, 51, 0.09);
}

.tag-ico {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex: none;
}

.produkty-cta { text-align: center; }

/* Kontakt */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kontakt-karta { gap: 6px; padding: 26px 20px; }

.kontakt-etykieta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.kontakt-dane {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  word-break: break-word;
}
.kontakt-karta:hover .kontakt-dane { color: var(--accent-dark); }

/* Footer */
footer.site-footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--welon-pasmo);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 24px;
}

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin: 0 0 10px;
}

.footer-col p, .footer-col a {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 6px;
  display: block;
}

.footer-bottom p { margin: 0 0 4px; }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Blog (/blog) - ten arkusz jest tam wciagany jako pierwszy, motyw bloga tylko go
   uzupelnia. Welon dla kolumny z trescia, zeby wpisy czytalo sie tak jak strone glowna. */
.blog-wrap { background: var(--welon-pasmo); }

/* Polityka prywatnosci - ta sama kolumna z welonem co blog (styl podstrony siedzi
   inline w jej <head>, ale tlo trzymamy tutaj, razem z reszta welonow). */
.legal { background: var(--welon-pasmo); }

/* Cookie banner */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 999;
  font-size: 14px;
}
#cookie-banner p { margin: 0; max-width: 560px; }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-accept:hover { background: var(--accent-dark); }
#cookie-banner.hidden { display: none; }

/* Responsive */
@media (max-width: 820px) {
  body::before {
    background-image:
      linear-gradient(var(--welon-baza), var(--welon-baza)),
      url("tlo-natura-mobile.jpg");
  }
  .hero { flex-direction: column; padding: 48px 20px; gap: 32px; }
  .hero-photo { flex: none; width: 100%; max-width: 380px; height: 460px; }
  .hero-copy h1 { font-size: 30px; }
  nav.main-nav { gap: 20px; row-gap: 10px; }
  .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-grid { grid-template-columns: 1fr; }
  .leaf-deco--tr { width: 118px; opacity: 0.32; top: -18px; right: -22px; }
  .leaf-deco--bl { display: none; }
  section.produkty > .wrap::before { width: 74px; height: 74px; top: -18px; opacity: 0.24; }
}

@media (max-width: 480px) {
  .tag-grid { grid-template-columns: 1fr; }
  .header-top { justify-content: center; text-align: center; }
}
