/* Strefa Harmonii — arkusz stylów strony
   Kolory, typografia i odstępy według systemu identyfikacji „Strefa Harmonii”. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kolory marki */
  --brand-green: #1F3B36;
  --brand-sand: #C9A66B;
  --brand-sage: #3F5C54;
  --brand-mist: #EDF1EE;
  --brand-pale: #C3D2CA;
  --brand-sand-ink: #7C5F2C;
  --paper: #FFFFFF;

  /* Role */
  --surface: var(--brand-mist);
  --surface-raised: var(--paper);
  --surface-sunken: #D9E0DB;
  --surface-dark-raised: #274841;
  --ink: var(--brand-green);
  --ink-muted: var(--brand-sage);
  --accent: var(--brand-sand);
  --rule: #B9C6BF;

  /* Typografia */
  --font-sans: "Jost", "Futura", "Century Gothic", sans-serif;

  /* Odstępy i formy */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --section-pad: 104px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-sand-ink); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand-sand-ink);
  outline-offset: 3px;
}

h1, h2, h3, p, ol, ul { margin: 0; }

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--ink);
  color: var(--brand-mist);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-3); color: var(--brand-mist); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--space-5);
}

/* ---------- Typografia ---------- */

.label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.label::before {
  content: "";
  flex: none;
  width: 40px;
  height: 1.5px;
  background: var(--accent);
}

.display {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.h1 {
  font-size: clamp(28px, 3.4vw, 34px);
  line-height: 1.2;
  font-weight: 400;
}

.h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.5; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius-full);
  font-family: inherit;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn--primary {
  background: var(--ink);
  color: var(--brand-mist);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.btn--primary:hover { background: var(--brand-sage); color: var(--brand-mist); }
.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--brand-mist); }
.btn--small { min-height: 44px; padding: 0 24px; font-size: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  padding-block: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__mark { width: 56px; height: 36px; }
.logo__text { display: flex; flex-direction: column; gap: var(--space-1); }
.logo__name { font-size: 19px; line-height: 1; letter-spacing: 0.16em; white-space: nowrap; }
.logo__tag {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
}

.nav { display: flex; align-items: center; gap: var(--space-2) 28px; font-size: 15px; }
.nav__list { display: flex; gap: var(--space-2) 28px; list-style: none; padding: 0; }
.nav__list a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.nav__list a:hover { color: var(--brand-sand-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Sekcje ---------- */

.section { padding-block: var(--section-pad); }
.section--white { background: var(--surface-raised); }
.section--dark { background: var(--brand-green); color: var(--brand-mist); }
.section--dark .label { color: var(--brand-pale); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin-bottom: 48px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.split > * { min-width: 0; }

/* Hero */
.hero { padding-block: 96px 104px; }
.hero .split { align-items: center; }
.hero__text { flex: 999 1 520px; display: flex; flex-direction: column; gap: 28px; }
.hero__text .lead { max-width: 560px; }
.hero__text .btn-row { padding-top: var(--space-2); }
.hero__art { flex: 1 1 340px; display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 440px; height: auto; }

/* O mnie */
.about .split { align-items: flex-start; }
.about__photo { flex: 1 1 300px; }
.about__photo img {
  width: 300px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.about__text { flex: 999 1 560px; display: flex; flex-direction: column; gap: 20px; }
.about__name { display: flex; flex-direction: column; gap: var(--space-1); }
.about__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding-top: var(--space-2); }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--surface-sunken);
  color: var(--ink-muted);
  font-size: 14px;
  text-align: center;
}

/* Obszary pomocy */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.areas li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 32px;
  background: var(--surface);
}
.areas h3 { font-size: 21px; line-height: 1.3; font-weight: 500; }

/* Oferta */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--surface-dark-raised);
}
.card__label {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.card p { color: var(--brand-pale); }

/* Pierwsza wizyta */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}
.steps__num {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--brand-sand-ink);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: 48px;
  padding: var(--space-4) 32px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.notice svg { flex: none; margin-top: var(--space-1); }

/* Cennik */
.pricing__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.pricing__list { flex: 999 1 560px; padding: 0; list-style: none; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
}
.price__name { display: flex; flex-direction: column; gap: 2px; }
.price__title { font-size: 21px; font-weight: 500; }
.price__value { font-size: 24px; }

/* Kontakt */
.contact__info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; }
.contact__list { display: flex; flex-direction: column; gap: var(--space-3); padding: 0; list-style: none; font-style: normal; }
.contact__list li { display: flex; align-items: center; gap: var(--space-3); }
.contact__list svg { flex: none; }
.contact__list a { color: var(--ink); }
.contact__crisis { padding-top: 20px; border-top: 1px solid var(--rule); }
.contact__map { flex: 1 1 420px; min-height: 420px; border-radius: var(--radius-md); overflow: hidden; }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 100%;
  min-height: 420px;
  padding: var(--space-4);
  background: var(--surface-sunken);
  color: var(--ink-muted);
  text-align: center;
}
.map-consent svg { color: var(--ink); }
.map-consent p { max-width: 320px; }
.map-consent .btn { font-size: 12px; }

/* Stopka */
.site-footer { background: var(--brand-green); color: var(--brand-mist); }
.site-footer__inner { display: flex; flex-direction: column; gap: var(--space-5); padding-block: var(--space-6) var(--space-5); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-5); }
.site-footer .logo { color: var(--brand-mist); }
.site-footer .logo__mark { width: 72px; height: 46px; }
.site-footer .logo__name { font-size: 22px; }
.site-footer .logo__tag { font-size: 11px; color: var(--brand-pale); }
.site-footer__contact { display: flex; flex-direction: column; gap: var(--space-1); font-style: normal; color: var(--brand-pale); }
.site-footer__contact strong { font-size: 17px; font-weight: 500; color: var(--brand-mist); }
.site-footer__contact a { color: var(--brand-pale); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-sage);
  color: var(--brand-pale);
}
.site-footer a { color: var(--brand-pale); }
.site-footer a:hover { color: var(--brand-mist); }

/* Podstrona tekstowa (polityka prywatności) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.prose h2 { margin-top: var(--space-4); }
.prose ul { padding-left: 1.2em; }

/* ---------- Telefon i tablet ---------- */

@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5) var(--space-4);
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .hero { padding-block: 56px 72px; }
  .hero__art { order: -1; }
  .hero__art svg { max-width: 280px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .nav { padding-inline: 20px; }
  .logo__name { font-size: 16px; letter-spacing: 0.14em; }
  .logo__tag { font-size: 9px; letter-spacing: 0.24em; }
  .split { gap: var(--space-5); }
  .areas li, .card { padding: var(--space-4); }
  .notice { padding: 20px; }
  .btn-row .btn { flex: 1 1 100%; }
}

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