/* Układ: beżowa baza z palety marki, czarne przyciski, róż #fee7f4 jako wyróżnik (jak na Instagramie), #727272 na detale. */
:root {
  --bg: #f5f0eb;          /* baza: beż */
  --bg-2: #f3ede3;        /* sekcje wyróżnione: drugi beż */
  --line: #c8b4a8;        /* linie, ramki */
  --fg: #1c1c1c;          /* tekst */
  --muted: #727272;       /* detale, tekst pomocniczy */
  --accent: #1c1c1c;      /* przyciski */
  --accent-fg: #f5f0eb;   /* tekst na przyciskach */
  --hi: #fee7f4;          /* wyróżnik jak na Instagramie */

  --f-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; /* zastępstwo Object Sans */
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-handle: "Archivo", "Helvetica Neue", Arial, sans-serif;          /* zastępstwo Aileron */

  --max: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- Typografia ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.sub { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); line-height: 1.4; margin: 0; }
.eyebrow { font-family: var(--f-handle); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; text-align: left; hyphens: manual; }
li, blockquote, dd, summary { text-wrap: pretty; }
.muted { color: var(--muted); }
.placeholder { color: var(--muted); }

/* ---------- Nawigacja ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--bg); }
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.logo .mono { width: 40px; height: 40px; flex: none; }
.logo-name { font-family: var(--f-display); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.menu { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 0.95rem; color: var(--muted); transition: color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--fg); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.9rem; cursor: pointer; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 700; text-decoration: none; font-size: 0.98rem;
  border: 1px solid var(--accent); cursor: pointer; font-family: inherit;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost { border-color: var(--muted); }
.btn.ghost:hover { border-color: var(--fg); background: var(--hi); }
.menu .btn { padding: 10px 18px; color: var(--accent-fg); }

/* ---------- Sekcje ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }

/* Hero strony głównej */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { position: relative; min-width: 0; }
.hero-img img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.hero-img { justify-self: center; }
.hero-img .tag {
  position: absolute; left: -22px; bottom: 32px;
  background: var(--hi); color: var(--fg);
  width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%;
}
.hero-img .tag .mono { width: 52px; height: 52px; }

/* Zdjęcia z plakietką NB */
.ph { position: relative; margin: 0; min-width: 0; }
.ph img { width: 100%; }
.ph .tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--hi); color: var(--fg);
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%;
}
.ph .tag .mono { width: 40px; height: 40px; }

/* Hero podstron */
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero .copy { display: grid; gap: 22px; min-width: 0; padding-bottom: 12px; }
.page-hero img { width: 100%; height: auto; border-radius: 4px; }

.page-hero img, .split img, .service .side img { aspect-ratio: 4/5; object-fit: cover; }

/* Lista problemów ("Dla kogo") */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pain { background: var(--bg); padding: 32px 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.pain .q { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.35; }

/* Karty oferty: beż, środek w ciepłym graficie */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding-top: 14px; }
.offer { background: #faf7f3; border: 1px solid var(--line); border-radius: 4px; padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.offer .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; }
.offer .num { font-family: var(--f-display); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--line); }
.offer .label { font-family: var(--f-handle); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--hi); color: var(--fg); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.offer h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.offer .desc { font-family: var(--f-display); font-style: italic; color: var(--muted); line-height: 1.45; }
.offer .price { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer .price small { font-family: var(--f-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.offer ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; flex: 1; }
.offer ul li { padding-left: 20px; position: relative; line-height: 1.45; }
.offer ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 9px; height: 1px; background: var(--fg); }
.offer .btn { justify-content: center; margin-top: 8px; }
.offer.featured { background: #e9dfd6; border-color: var(--line); transform: translateY(-14px); box-shadow: 0 24px 48px -28px rgba(74,70,67,.35); }
.offer.featured .num { color: #a89488; }
.offer.featured .desc, .offer.featured .price small { color: #5f5853; }
.offer.featured .btn { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.offers-note { margin: 0 0 28px; color: var(--muted); max-width: 60ch; }

/* Czym różni się moja praca */
.diffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.diffs > div { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.diffs h3 { font-size: 1.2rem; }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose p { margin: 0; }
/* Co mnie wyróżnia: jak "Dla kogo", ale jasne tło i różowe numery */
.standout { background: var(--bg); }
.standout .section-head { max-width: 760px; }
.standout .rows { border-top: 1px solid var(--line); }
.standout .r { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.standout .n { font-family: var(--f-display); font-weight: 300; font-size: 4.2rem; line-height: .9; color: #eeb2d1; font-variant-numeric: tabular-nums; }
.standout .r h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.standout .r p { color: #4a4643; font-size: 1.05rem; max-width: 62ch; }
@media (max-width: 760px) { .standout .r { grid-template-columns: 52px 1fr; gap: 14px; padding: 26px 0; } .standout .n { font-size: 2.4rem; } }

/* Dla kogo: punkty jeden pod drugim z dużymi numerami */
.forwhom .section-head { max-width: 760px; }
.forwhom .rows { border-top: 1px solid var(--line); }
.forwhom .r { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.forwhom .n { font-family: var(--f-display); font-weight: 300; font-size: 4.2rem; line-height: .9; color: var(--line); font-variant-numeric: tabular-nums; }
.forwhom .r h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.forwhom .r p { color: #4a4643; font-size: 1.05rem; max-width: 62ch; }
.forwhom .close { margin-top: 40px; background: var(--hi); padding: 26px 30px; border-radius: 4px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; max-width: none; }
@media (max-width: 760px) { .forwhom .r { grid-template-columns: 52px 1fr; gap: 14px; padding: 26px 0; } .forwhom .n { font-size: 2.4rem; } .forwhom .close { padding: 22px; font-size: 1.08rem; } }
.pains-close { margin: 28px 0 0; max-width: 64ch; font-size: 1.05rem; }

/* Dwie kolumny: zdjęcie + tekst */
.split .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .wrap > :first-child { order: 2; }
.split img { width: 100%; height: auto; border-radius: 4px; }
.split .copy { display: grid; gap: 22px; min-width: 0; }

/* Opinie */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { border-top: 1px solid var(--fg); padding-top: 22px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; line-height: 1.45; }
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--muted); }

/* Pas z wezwaniem do działania: róż z Instagrama */
.cta-band { position: relative; overflow: hidden; background: var(--hi); border-color: var(--hi); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band .copy { display: grid; gap: 20px; min-width: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Zajawka kalendarza: lewa połowa domku wychodzi z prawej krawędzi ekranu */
.kal-band .wrap { grid-template-columns: 1fr; }
.kal-band .copy { max-width: 560px; position: relative; z-index: 1; }
.kal-art { position: absolute; top: 50%; right: 0; width: clamp(240px, 24vw, 310px); transform: translate(50%, -50%); pointer-events: none; }
.kal-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 1100px) { .kal-band .copy { max-width: 480px; } .foot-name { display: none; } }

/* Szczegóły oferty */
.service { border-top: 1px solid var(--line); }
.service .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); }
.service .side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.service .side .ph { margin-top: 12px; }
.service .side img { width: 100%; height: auto; border-radius: 4px; margin-top: 12px; }
.service .body { display: grid; gap: 30px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 4px; }
.facts div { padding: 18px 20px; display: grid; gap: 4px; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-handle); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--hi); border: 1px solid var(--muted); }

/* Kroki (prawdziwa kolejność) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 12px; align-content: start; min-width: 0; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--fg); background: var(--hi); width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: 50%; font-size: 1.8rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Kontakt */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.contact .col { display: grid; gap: 22px; align-content: start; min-width: 0; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
input, textarea, select {
  font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--fg); }
textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.9rem; color: var(--fg); min-height: 1.4em; }
.calendar-box {
  border: 1px dashed var(--muted); border-radius: 4px; min-height: 360px;
  display: grid; place-content: center; text-align: center; gap: 14px; padding: 32px;
  background: var(--bg);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-list span { color: var(--muted); min-width: 90px; }

.ig-card { display: flex; align-items: center; gap: 16px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 24px 8px 8px; width: fit-content; max-width: 100%; transition: background .2s; }
.ig-card:hover { background: var(--hi); }
.ig-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.ig-card span { display: grid; gap: 2px; min-width: 0; }
.ig-card small { color: var(--muted); font-size: 0.85rem; }

/* Stopka */
.foot-photo { position: relative; margin: 0 0 8px; }
.foot-photo img { width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; object-position: center top; border-radius: 4px; display: block; }
.foot-photo .tag { position: absolute; left: 24px; bottom: 24px; background: var(--hi); color: var(--fg); width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; }
.foot-photo .tag .mono { width: 52px; height: 52px; }
.foot-name { position: absolute; left: 136px; bottom: 64px; font-family: var(--f-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); text-shadow: 0 0 12px rgba(245,240,235,.9); white-space: nowrap; }
@media (max-width: 760px) { .foot-photo img { aspect-ratio: 4 / 3; object-position: 58% top; } .foot-photo .tag { width: 72px; height: 72px; left: 14px; bottom: 14px; } .foot-name { display: none; } .foot-photo .tag .mono { width: 40px; height: 40px; } }
footer { border-top: 1px solid var(--line); padding-block: 48px 36px; }
footer .wrap { display: grid; gap: 32px; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.foot-big { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; color: var(--fg); }
.foot-big .mono { width: clamp(64px, 9vw, 96px); height: auto; aspect-ratio: 132/134; }
.foot-big .logo-name { font-size: 0.9rem; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }

/* Wejście sekcji: widoczne w spoczynku, tylko delikatne przesunięcie */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .page-hero .copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2), .page-hero .copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3), .page-hero .copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* ---------- Telefon / tablet ---------- */
@media (max-width: 900px) {
  .hero .wrap, .page-hero .wrap, .split .wrap, .cta-band .wrap, .service .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .split.reverse .wrap > :first-child { order: 0; }
  .pains, .offers, .quotes, .steps, .diffs { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .offer.featured { transform: none; }
  .kal-art { position: static; transform: none; width: 240px; margin: 28px calc(-1 * var(--gutter-r) - 120px) -40px auto; }
  .hero-img .tag { left: 12px; }
  .service .side img { max-width: 420px; }
}
@media (max-width: 560px) { .foot-big { gap: 14px; } .foot-big .logo-name { font-size: 0.72rem; letter-spacing: 0.14em; white-space: normal; line-height: 1.4; } .nav .logo-name { font-size: 0.62rem; letter-spacing: 0.14em; white-space: normal; max-width: 12em; line-height: 1.35; } }
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 22px var(--gutter-r) 26px var(--gutter-l); }
  .menu.open { display: flex; }
  .nav { position: sticky; }
  .nav .wrap { position: relative; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
}
.steps:has(> .step:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps:has(> .step:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps:has(> .step:nth-child(4)) { grid-template-columns: 1fr; } }
