/* Moje Auta / My Cars — strona statyczna. Bez skryptów, bez fontów z CDN. */
:root {
  --cream: #f7efe2;
  --card: #f5f2eb;
  --ink: #383d42;
  --ink-soft: #5d646b;
  --green: #73b861;
  --green-dark: #4f8f3f;
  --sky: #dcefff;
  --line: #e4dccb;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--green-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Nagłówek */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 10px; border-radius: 999px; font-size: 15px; }
.nav a:hover { background: var(--card); }
.nav .lang { border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; }
.brand { white-space: nowrap; }

@media (max-width: 440px) {
  .nav { gap: 2px; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .nav a:first-child { display: none; }
}

/* Hero */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.hero > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hero-text { padding: 20px 4px 4px; text-align: center; }
.hero-logo { width: min(420px, 80%); margin: 0 auto 4px; }
h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 8px 0; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

/* Przyciski sklepów */
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 8px; }
.store {
  display: inline-flex; flex-direction: column; align-items: center;
  min-width: 170px; padding: 10px 20px; border-radius: 16px;
  background: var(--ink); color: #fff; opacity: .72; cursor: default;
}
.store b { font-size: 17px; }
.store small { font-size: 13px; opacity: .85; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px 0 0; padding: 0; list-style: none; }
.badges li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }

/* Sekcje */
section { padding: 36px 0 8px; }
h2 { font-size: clamp(24px, 4.5vw, 32px); margin: 0 0 14px; }
h3 { font-size: 19px; margin: 18px 0 6px; }

.shots { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.shots figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); }
.shots img { width: 100%; aspect-ratio: 2560 / 1185; object-fit: cover; }
.shots figcaption { padding: 10px 16px 12px; font-weight: 800; font-size: 18px; }

.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card + .card { margin-top: 14px; }

.parents { display: grid; grid-template-columns: 1fr; gap: 14px; }
.parents .card { margin: 0; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%; background: var(--green);
  box-shadow: inset 0 0 0 5px var(--green), inset 0 0 0 9px #fff;
}
.price { display: inline-block; background: var(--green); color: #fff; font-weight: 800; border-radius: 12px; padding: 2px 10px; }

/* Strony tekstowe */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(26px, 5vw, 36px); }
.doc h2 { font-size: 22px; margin-top: 28px; }
.meta { color: var(--ink-soft); font-size: 15px; }
.todo { background: #fff4c7; border: 1.5px dashed #d8b84a; border-radius: 6px; padding: 0 4px; font-weight: 700; }
details { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px; margin: 10px 0; }
summary { font-weight: 800; cursor: pointer; }

footer { margin-top: 48px; padding: 24px 0 36px; border-top: 1.5px solid var(--line); color: var(--ink-soft); font-size: 15px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

@media (min-width: 720px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .parents { grid-template-columns: 1fr 1fr; }
  .hero-text { padding-top: 28px; }
}
