/* LCDD.PL – Lokalne Centrum Dostaw Domowych */

/* ---------- Fonty (self-hosted, fontsource) ---------- */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
  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: "Nunito";
  src: url("../fonts/nunito-latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 200 1000; font-style: italic; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Nunito";
  src: url("../fonts/nunito-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 1000; font-style: italic; font-display: swap;
  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: "Caveat";
  src: url("../fonts/caveat-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Caveat";
  src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  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;
}

/* ---------- Zmienne ---------- */
:root {
  --navy: #0b2a6b;
  --navy-dark: #071d4d;
  --blue: #1a62d6;
  --blue-light: #e8f1fd;
  --orange: #f47a1f;
  --orange-dark: #d9640d;
  --green: #2e8a3c;
  --red: #e0353b;
  --burgundy: #8e1f2a;
  --cream: #faf6ee;
  --text: #1b2540;
  --muted: #4d5a78;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(11, 42, 107, .1);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --gutter: 16px;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-weight: 900; font-style: italic; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 8vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.script {
  font-family: var(--script);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.1;
}
.script::after {
  content: ""; display: block; width: 7em; max-width: 80%; height: 4px; margin-top: .2em;
  background: var(--orange); border-radius: 4px; transform: rotate(-2deg);
}
.script-light { color: var(--white); }
blockquote.script { margin: 1.5em 0 0; }
.center .script::after { margin-left: auto; margin-right: auto; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 800 1rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn::after { content: "›"; font-size: 1.3em; line-height: 0; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #226c2d; }
.btn-burgundy { background: var(--burgundy); color: var(--white); }
.btn-burgundy:hover { background: #6e1620; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row-center { justify-content: center; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 12px rgba(11, 42, 107, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { flex-shrink: 0; }
.brand img { width: 170px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; background: none; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--navy);
  transition: transform .2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); padding: 8px var(--gutter) 20px;
  box-shadow: 0 12px 20px rgba(11, 42, 107, .12);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-nav li a {
  display: block; padding: 12px 4px; border-bottom: 1px solid var(--blue-light);
  color: var(--navy); font-weight: 700; text-decoration: none;
}
.nav-cta { width: 100%; }

/* ---------- Sekcje ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--blue-light); }
.section-natural { background: var(--cream); }
.section-blue { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-navy { background: var(--navy); color: #dce6fa; }
.section-navy h2 { color: var(--white); }
.section-horeca { background: #f6f1ec; }
.section-horeca h2 { color: #3a1d14; }
.section-horeca .eyebrow { color: var(--burgundy); }
.section-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.section-head p:last-child { color: var(--muted); }
.eyebrow {
  margin: 0 0 .4em; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: .85rem; color: var(--orange-dark);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 122, 31, .12), transparent 45%),
    linear-gradient(180deg, #eef5ff 0%, var(--white) 100%);
  padding: 32px 0 48px;
  overflow: hidden;
}
.hero-inner { display: grid; gap: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid #cfe0f8; color: var(--navy); font-weight: 800; font-size: .9rem;
}
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.hero-lead { font-size: clamp(1.15rem, 3.5vw, 1.4rem); font-weight: 800; color: var(--blue); }
.section-blue .hero-lead { color: #ffd7b5; }
.hero-media { position: relative; max-width: 420px; margin: 0 auto; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); }
.hero-script {
  position: absolute; left: -8px; bottom: 18px; margin: 0;
  background: var(--white); padding: 8px 16px 10px; border-radius: 12px;
  box-shadow: var(--shadow); transform: rotate(-4deg); font-size: 1.6rem;
}
.hero-script::after { display: none; }

/* ---------- Schemat: producent → LCDD → partner → klient ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.flow-step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius); background: var(--blue-light);
}
.flow-step .flow-icon { grid-row: span 2; margin: 0; }
.flow-step strong { font-size: 1.15rem; color: var(--navy); }
.flow-step span:last-child { color: var(--muted); }
.flow-step:not(:last-child)::after {
  content: "↓"; position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%);
  line-height: 1; font-weight: 900; font-size: 1.4rem; color: var(--orange);
}
.flow-icon, .benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); margin-bottom: 6px;
}
.flow-icon svg, .benefit-icon svg {
  width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.flow-step:nth-child(2) .flow-icon { background: var(--orange); }
.flow-step:nth-child(3) .flow-icon { background: var(--navy); }
.flow-step:nth-child(4) .flow-icon { background: var(--green); }

/* ---------- Korzyści ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.benefit {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.benefit .benefit-icon { grid-row: span 2; margin: 0; }
.benefit h3 { margin: 4px 0 4px; text-transform: uppercase; font-size: 1.05rem; }
.benefit p { margin: 0; color: var(--muted); }
.benefit-green .benefit-icon { background: var(--green); } .benefit-green h3 { color: var(--green); }
.benefit-orange .benefit-icon { background: var(--orange); } .benefit-orange h3 { color: var(--orange-dark); }
.benefit-blue .benefit-icon { background: var(--blue); } .benefit-blue h3 { color: var(--blue); }
.benefit-red .benefit-icon { background: var(--red); } .benefit-red h3 { color: var(--red); }

/* ---------- Kategorie ---------- */
.categories {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  --cols: 2;
}
.categories li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols));
  border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.categories img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.categories span {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px 8px; background: var(--navy); color: var(--white);
  font-weight: 800; font-size: .9rem; text-transform: uppercase; line-height: 1.2;
}
.categories li:nth-child(4n+1) span { background: var(--green); }
.categories li:nth-child(4n+2) span { background: var(--red); }
.categories li:nth-child(4n+3) span { background: var(--orange); }
.categories li:nth-child(4n) span { background: var(--blue); }

/* ---------- Układ tekst + zdjęcie ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split-media { display: flex; justify-content: center; }
.photo { border-radius: 20px; box-shadow: var(--shadow); width: 100%; max-width: 280px; object-fit: cover; }
@media (min-width: 960px) { .photo { max-width: 340px; } }
.split-note { font-weight: 700; color: var(--burgundy); }
.tags { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid #e3d8c4; font-weight: 700; font-size: .95rem; color: #5a4320;
}
.roles { margin: 0 0 1.5em; display: grid; gap: 12px; }
.roles div { background: var(--white); border-radius: 12px; padding: 14px 18px; border-left: 5px solid var(--blue); }
.roles div:last-child { border-left-color: var(--orange); }
.roles dt { font-weight: 900; color: var(--navy); }
.roles dd { margin: 0; color: var(--muted); }

/* ---------- Jak to działa ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center;
  padding: 16px; border-radius: var(--radius); background: var(--blue-light);
}
.step-no {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--white);
  font-weight: 900; font-size: 1.3rem;
}
.steps li:nth-child(even) .step-no { background: var(--blue); }
.steps strong { color: var(--navy); font-size: 1.1rem; }
.steps li > span:last-child { color: var(--muted); }

/* ---------- Znajdź swój LCDD ---------- */
.finder { display: grid; gap: 32px; align-items: center; }
.finder-lead { font-size: 1.15rem; color: #dce6fa; }
.finder-form {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); padding: 10px; border-radius: 18px;
}
.finder-form input {
  min-height: 52px; padding: 0 16px; border: 2px solid #cfe0f8; border-radius: 12px;
  font: 600 1rem var(--font); color: var(--text); width: 100%;
}
.finder-form input:focus { border-color: var(--blue); outline: none; }
.finder-result:not(:empty) {
  margin-top: 12px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .14); font-weight: 700;
}
.finder-result p { margin: 0; }
.notify {
  margin-top: 20px; padding: 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
}
.notify h3 { margin-bottom: .25em; }
.notify p { color: #dce6fa; }
.finder-map { margin: 0; }
.finder-map img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .25)); }
.finder-map figcaption { margin-top: 12px; text-align: center; font-size: .95rem; color: #dce6fa; }

/* ---------- Trzy ścieżki ---------- */
.paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.path {
  display: grid; grid-template-columns: 38% 1fr; overflow: hidden;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
}
.path img { width: 100%; height: 100%; object-fit: cover; }
.path-body { padding: 18px 16px; display: flex; flex-direction: column; align-items: flex-start; }
.path-body h3 { font-style: italic; font-weight: 900; font-size: 1.3rem; }
.path-body p { color: var(--muted); flex: 1; }
.path-body .btn { padding-left: 16px; padding-right: 16px; font-size: .85rem; }
.path-green { border-top-color: var(--green); }
.path-blue { border-top-color: var(--blue); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-dark); color: #c5d3f0; padding: 48px 0 20px; }
.site-footer a { color: var(--white); }
.site-footer h2 { color: var(--white); font-size: 1.2rem; font-style: normal; }
.footer-inner { display: grid; gap: 32px; }
.footer-name { font-size: 1.8rem; font-weight: 900; font-style: italic; color: var(--white); margin: 0; }
.footer-tagline { font-family: var(--script); font-size: 1.5rem; color: #ffb27a; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-nav a { display: inline-block; padding: 6px 0; text-decoration: none; font-weight: 700; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ================= Tablet ================= */
@media (min-width: 640px) {
  .categories { --cols: 3; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .finder-form { flex-direction: row; }
  .finder-form input { flex: 1; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ================= Desktop ================= */
@media (min-width: 960px) {
  :root { --gutter: 24px; }
  .section { padding: 88px 0; }
  .brand img { width: 190px; }

  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero-media { max-width: 460px; }
  .hero-script { left: -48px; bottom: 40px; font-size: 1.9rem; }

  .flow { grid-template-columns: repeat(4, 1fr); gap: 36px; }
  .flow-step { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; padding: 22px 16px; }
  .flow-step .flow-icon { grid-row: auto; margin-bottom: 6px; }
  .flow-step:not(:last-child)::after { content: "→"; left: auto; right: -30px; top: 50%; bottom: auto; transform: translateY(-50%); }

  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .benefit .benefit-icon { grid-row: auto; margin-bottom: 8px; }

  .categories { --cols: 6; }

  .split { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .split-reverse .split-media { order: 2; }

  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; align-content: start; row-gap: 6px; padding: 24px 14px; }
  .step-no { grid-row: auto; }

  .finder { grid-template-columns: 1fr 1fr; gap: 56px; }

  .paths { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: 1fr; grid-template-rows: 240px auto; }

  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 14px;
    position: static; padding: 0; box-shadow: none; background: none;
  }
  .site-nav ul { display: flex; gap: 0; margin: 0; }
  .site-nav li a { border: 0; padding: 8px 9px; font-size: .92rem; border-radius: 8px; white-space: nowrap; }
  .site-nav li a:hover { background: var(--blue-light); }
  .nav-cta { width: auto; white-space: nowrap; }
}
@media (min-width: 1200px) {
  .brand img { width: 160px; }
  .site-nav { gap: 10px; }
  .site-nav li a { padding: 8px 7px; font-size: .88rem; }
  .nav-cta { padding-left: 14px; padding-right: 14px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
