/* ============================================================
   Expert Finansowy — Bartłomiej Książek | Bełchatów
   Mockup sprzedażowy — mobile-first, vanilla CSS
   ============================================================ */

/* Big Shoulders Display — latin-ext (ą ć ę ł ń ś ź ż i reszta Latin Extended-A) */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-var-ext.woff2") format("woff2-variations"),
       url("assets/fonts/big-shoulders-display-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* Big Shoulders Display — latin (ó Ó i reszta Latin-1 Supplement + ASCII) */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-var-latin.woff2") format("woff2-variations"),
       url("assets/fonts/big-shoulders-display-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  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;
}

/* Public Sans — latin-ext */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-var-ext.woff2") format("woff2-variations"),
       url("assets/fonts/public-sans-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* Public Sans — latin (ó Ó i reszta Latin-1 Supplement + ASCII) */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-var-latin.woff2") format("woff2-variations"),
       url("assets/fonts/public-sans-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  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;
}

/* Public Sans italic — latin-ext */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-italic-var-ext.woff2") format("woff2-variations"),
       url("assets/fonts/public-sans-italic-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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;
}

/* Public Sans italic — latin (ó Ó i reszta Latin-1 Supplement + ASCII) */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-italic-var-latin.woff2") format("woff2-variations"),
       url("assets/fonts/public-sans-italic-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* color */
  --ink-900: oklch(16% 0.030 260);   /* deep navy — hero / dark bands */
  --ink-800: oklch(21% 0.032 258);   /* navy surface on dark */
  --ink-700: oklch(29% 0.030 258);   /* navy border on dark */
  --gold-300: oklch(84% 0.075 80);   /* pale gold — hover highlight */
  --gold-500: oklch(74% 0.115 75);   /* brand gold — primary accent */
  --gold-600: oklch(63% 0.115 68);   /* deep gold/copper — hover, borders */
  --gold-700: oklch(52% 0.100 62);   /* text-on-gold-safe deep copper */

  --paper: oklch(97% 0.007 255);     /* light section bg, navy-tinted (not warm cream) */
  --surface: oklch(100% 0 0);        /* card surface */
  --surface-alt: oklch(94.5% 0.010 255);

  --text-900: oklch(22% 0.024 258);  /* headings / body on light */
  --text-700: oklch(38% 0.020 258);  /* secondary body on light */
  --text-500: oklch(52% 0.018 258);  /* muted on light */

  --on-dark-100: oklch(97% 0.006 255);
  --on-dark-300: oklch(80% 0.012 255);
  --on-dark-500: oklch(62% 0.014 255);

  --line-on-light: oklch(88% 0.012 255);
  --line-on-dark: oklch(32% 0.025 258);

  /* type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --wrap: min(74rem, 100% - 2.5rem);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-sm: 220ms;
  --dur-md: 420ms;

  /* z-index scale */
  --z-sticky: 100;
  --z-drawer: 200;
  --z-toast: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-900);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; max-width: 65ch; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--ink-900);
  padding: 0.75em 1.25em;
  z-index: var(--z-toast);
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2.5px solid var(--gold-600);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform var(--dur-sm) var(--ease-out-expo), background var(--dur-sm) var(--ease-out-expo), box-shadow var(--dur-sm) var(--ease-out-expo);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold-500);
  color: var(--ink-900);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.btn--primary:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  transition: color var(--dur-sm) var(--ease-out-expo);
}
.phone-link--header { color: var(--ink-900); }
.phone-link--header:hover { color: var(--gold-700); }
.phone-link--hero { color: var(--on-dark-100); font-size: 1.05rem; }
.phone-link--hero:hover { color: var(--gold-300); }
.phone-link--nap {
  display: flex;
  color: var(--on-dark-100);
  font-weight: 600;
  margin-top: 0.6em;
}
.phone-link--nap:hover { color: var(--gold-300); }

.link-arrow {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 700;
  color: var(--gold-700);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.1em;
  transition: color var(--dur-sm) var(--ease-out-expo);
}
.link-arrow:hover { color: var(--ink-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-sm) var(--ease-out-expo), border-color var(--dur-sm) var(--ease-out-expo);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line-on-light), 0 8px 24px -16px rgba(12,21,38,0.25);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--ink-900);
}
.brand__name { font-size: 0.72rem; color: var(--text-500); font-weight: 600; }

.nav {
  display: none;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a { position: relative; padding-block: 0.3em; color: var(--text-700); transition: color var(--dur-sm) var(--ease-out-expo); }
.nav a:hover { color: var(--ink-900); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-sm) var(--ease-out-expo);
}
.nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__actions .btn { display: none; }
.phone-link--header svg { color: var(--gold-700); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  transition: transform var(--dur-sm) var(--ease-out-expo), opacity var(--dur-sm) var(--ease-out-expo);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 63.9375em) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(20rem, 82vw);
    height: 100dvh;
    background: var(--ink-900);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform var(--dur-md) var(--ease-out-expo);
    z-index: var(--z-drawer);
  }
  .nav.is-open { display: flex; transform: translateX(0); }
  .nav a { color: var(--on-dark-100); font-size: 1.1rem; padding-block: 0.85em; border-bottom: 1px solid var(--line-on-dark); }
  .nav a:hover { color: var(--gold-300); }
}

@media (min-width: 64em) {
  .nav { display: flex; }
  .site-header__actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark-100);
  overflow: clip;
  padding-block: 3.5rem 4rem;
}
.hero__chart {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  width: 100%;
  opacity: 0.9;
}
.hero__grid-line { stroke: var(--ink-700); stroke-width: 1; }
.hero__chart-path {
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1900;
  stroke-dashoffset: 1900;
}
.hero__chart-path.is-drawn {
  transition: stroke-dashoffset 1900ms var(--ease-out-expo);
  stroke-dashoffset: 0;
}
.hero__chart-arrow { fill: var(--gold-500); opacity: 0; transition: opacity var(--dur-sm) ease 1500ms; }
.hero__chart-arrow.is-drawn { opacity: 1; }

.hero__row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--gold-500);
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--ink-700);
  max-width: fit-content;
}
.hero__title {
  font-size: clamp(2.3rem, 7.5vw + 0.5rem, 4.6rem);
  color: var(--on-dark-100);
  max-width: 12ch;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--on-dark-300);
  max-width: 42ch;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 0.9em;
  align-items: center;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--gold-300);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  padding: 0.35em 0.75em;
  border-radius: 999px;
  font-size: 0.92rem;
}
.rating-badge svg { color: var(--gold-500); }
.rating-badge span { color: var(--on-dark-500); font-weight: 500; }

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}

.hero__portrait { display: flex; justify-content: center; }
.portrait-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--ink-800), var(--ink-900));
  border: 1.5px solid var(--gold-600);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-weight: 800;
}
.portrait-frame--lg { width: min(60vw, 15rem); aspect-ratio: 1; font-size: 3rem; }
.portrait-frame--md {
  width: min(70vw, 17rem);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  margin-inline: auto;
  font-size: 3rem;
}

@media (min-width: 56em) {
  .hero { padding-block: 5.5rem 6.5rem; }
  .hero__row { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero__portrait { justify-content: flex-end; }
}

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; }
.section--alt { background: var(--surface-alt); }
.section__title {
  font-size: clamp(1.7rem, 3.5vw + 0.5rem, 2.5rem);
  color: var(--ink-900);
  max-width: 16ch;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.75rem;
  transition: transform var(--dur-sm) var(--ease-out-expo), box-shadow var(--dur-sm) var(--ease-out-expo);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -22px rgba(12,21,38,0.35);
}
.service-card__icon { color: var(--gold-700); margin-bottom: 1rem; width: 2.25rem; height: 2.25rem; }
.service-card h3 {
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 800;
  color: var(--ink-900);
}
.service-card p { color: var(--text-700); font-size: 0.96rem; margin-bottom: 0; }

.fee-banner {
  margin-top: 2rem;
  background: var(--ink-900);
  color: var(--on-dark-100);
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.fee-banner__icon { color: var(--gold-500); flex-shrink: 0; width: 2.5rem; height: 2.5rem; }
.fee-banner h3 {
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.3rem;
  color: var(--on-dark-100);
}
.fee-banner p { color: var(--on-dark-300); margin-bottom: 0; max-width: 60ch; }

/* ---------- O mnie ---------- */
.o-mnie { display: grid; gap: 2.5rem; align-items: start; }
.o-mnie__copy p { color: var(--text-700); }
.timeline { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.4em;
  bottom: 0.4em;
  width: 2px;
  background: linear-gradient(var(--gold-600), var(--gold-300));
}
.timeline li { position: relative; font-size: 0.96rem; color: var(--text-700); }
.timeline__dot {
  position: absolute;
  left: -1.5rem;
  top: 0.35em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-600);
}
.timeline strong { color: var(--ink-900); }

@media (min-width: 56em) {
  .o-mnie { grid-template-columns: 0.85fr 1.15fr; }
}

/* ---------- Jak to działa ---------- */
.steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  position: relative;
}
.steps__item { position: relative; padding-top: 0.25rem; }
.steps__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--gold-500);
  -webkit-text-stroke: 1.5px var(--gold-600);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.steps__item h3 { font-size: 1.1rem; text-transform: none; letter-spacing: normal; color: var(--ink-900); }
.steps__item p { color: var(--text-700); font-size: 0.95rem; margin-bottom: 0; }

@media (min-width: 56em) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .steps::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    left: 6%;
    right: 6%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  }
}

/* ---------- Kalkulator ---------- */
.calc__lede { color: var(--text-700); margin-top: -0.5rem; max-width: 60ch; }

.calc { display: grid; gap: 1.75rem; margin-top: 2rem; }

.calc__panel {
  background: var(--surface);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc__type {
  display: flex;
  gap: 0.4rem;
  background: var(--surface-alt);
  padding: 0.35rem;
  border-radius: 999px;
}
.calc__type-btn {
  flex: 1;
  padding: 0.65em 0.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-700);
  text-align: center;
  transition: background var(--dur-sm) var(--ease-out-expo), color var(--dur-sm) var(--ease-out-expo);
}
.calc__type-btn:hover { color: var(--ink-900); }
.calc__type-btn.is-active { background: var(--gold-500); color: var(--ink-900); }

.calc__field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-900);
  margin-bottom: 0.5rem;
}
.calc__value { color: var(--gold-700); font-variant-numeric: tabular-nums; white-space: nowrap; }

.calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--line-on-light);
  cursor: pointer;
  margin-bottom: 0.9rem;
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--surface);
  box-shadow: 0 1px 3px rgba(12, 21, 38, 0.35);
}
.calc__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--surface);
  box-shadow: 0 1px 3px rgba(12, 21, 38, 0.35);
}
.calc__range::-moz-range-track { height: 6px; border-radius: 999px; background: transparent; }

.calc__number {
  width: 100%;
  border: 1.5px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.9em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-sm) var(--ease-out-expo);
}
.calc__number:focus { border-color: var(--gold-600); }

.calc__note { font-size: 0.8rem; color: var(--text-500); margin: 0.5rem 0 0; }

.calc__result {
  background: var(--ink-900);
  color: var(--on-dark-100);
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.calc__result-label { color: var(--on-dark-300); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
.calc__result-figure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw + 1rem, 3.2rem);
  color: var(--gold-500);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
}
.calc__result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-on-dark);
  margin-bottom: 1.25rem;
}
.calc__result-item { display: flex; flex-direction: column; gap: 0.3rem; }
.calc__result-sublabel { font-size: 0.8rem; color: var(--on-dark-500); }
.calc__result-subvalue { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--on-dark-100); }
.calc__disclaimer { font-size: 0.76rem; line-height: 1.5; color: var(--on-dark-500); margin-bottom: 1.5rem; max-width: none; }
.calc__cta { width: 100%; text-align: center; }

@media (min-width: 56em) {
  .calc { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
}

/* ---------- Opinie ---------- */
.reviews-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.reviews-rating__stars { display: flex; gap: 0.15rem; color: var(--gold-600); }
.reviews-rating__score { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink-900); }
.reviews-rating__count { color: var(--text-500); font-weight: 600; font-size: 0.95rem; }

.reviews-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-sm) var(--ease-out-expo), box-shadow var(--dur-sm) var(--ease-out-expo);
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -22px rgba(12, 21, 38, 0.35); }
.review-card__stars { display: flex; gap: 0.1rem; color: var(--gold-600); margin-bottom: 0.9rem; }
.review-card__quote {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ink-900);
  max-width: none;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}
.review-card__author { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.review-card__author strong { color: var(--ink-900); font-size: 0.95rem; }
.review-card__author span { color: var(--text-500); font-size: 0.82rem; }

@media (min-width: 56em) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 56rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-md);
  padding: 0.3rem 1.5rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-700);
  flex-shrink: 0;
  transition: transform var(--dur-sm) var(--ease-out-expo);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-700); padding-bottom: 1.25rem; margin: 0; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: 2.5rem; }
.kontakt__lede { color: var(--text-700); margin-top: -0.5rem; }

.form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; max-width: 32rem; }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--text-900); }
.form__field input,
.form__field textarea {
  border: 1.5px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 0.8em 0.9em;
  background: var(--surface);
  font-weight: 400;
  resize: vertical;
  transition: border-color var(--dur-sm) var(--ease-out-expo);
}
.form__field input:focus,
.form__field textarea:focus { border-color: var(--gold-600); }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__consent { font-size: 0.82rem; color: var(--text-500); margin: -0.4rem 0 0; max-width: 40ch; }
.form .btn { align-self: flex-start; margin-top: 0.4rem; }
.form__status { font-weight: 600; font-size: 0.92rem; min-height: 1.2em; }
.form__status[data-state="ok"] { color: oklch(48% 0.13 150); }
.form__status[data-state="err"] { color: oklch(50% 0.16 25); }

.nap-card {
  background: var(--ink-900);
  color: var(--on-dark-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.nap-card h3 { text-transform: none; letter-spacing: normal; font-size: 1.1rem; color: var(--on-dark-100); }
.nap-card address { color: var(--on-dark-300); line-height: 1.6; }
.nap-card__hours { margin-top: 1.1rem; color: var(--on-dark-300); font-size: 0.9rem; border-top: 1px solid var(--line-on-dark); padding-top: 1rem; }

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-on-light);
  aspect-ratio: 4/3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

@media (min-width: 56em) {
  .kontakt { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--on-dark-300); padding-block: 3rem 1.5rem; }
.site-footer__row { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.site-footer__brand { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--on-dark-100); font-size: 1.15rem; margin-bottom: 0.5rem; }
.site-footer__nap address { line-height: 1.6; }
.site-footer__nap a { display: block; margin-top: 0.3rem; color: var(--gold-300); font-weight: 600; }
.site-footer__nap a:hover { color: var(--gold-500); }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.6rem; font-weight: 600; }
.site-footer__nav a:hover { color: var(--on-dark-100); }
.site-footer__legal {
  margin: 2.5rem auto 0;
  width: var(--wrap);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.82rem;
  color: var(--on-dark-500);
}

@media (min-width: 40em) {
  .site-footer__nav { flex-direction: row; gap: 1.5rem; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease-out-expo), transform 420ms var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
