/* Plan na spokój — wizytówka. Fonty hostowane lokalnie (bez Google Fonts). */

@font-face {
  font-family: "Smooch Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/smooch-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Smooch Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/smooch-sans-latin-wght-normal.woff2") format("woff2-variations");
  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: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  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";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/caveat-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/caveat-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #092f32;
  --bg-deep: #062326;
  --panel: #0d3a3e;
  --gold: #e7cfaf;
  --paper: #f5f4eb;
  --paper-soft: rgba(245, 244, 235, 0.78);
  --line: rgba(231, 207, 175, 0.28);

  --display: "Smooch Sans", "Arial Narrow", sans-serif;
  --text: "Montserrat", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 72rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-underline-offset: 0.2em; }
a:hover { color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

b, strong { font-weight: 700; }

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

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--paper); }

.top__mail {
  font-size: 0.95rem;
  color: var(--paper-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}
.top__mail:hover { color: var(--gold); border-color: var(--gold); }

.brand { white-space: nowrap; }

@media (max-width: 36rem) {
  .top__mail { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(4rem, 10vw, 8rem);
}

.ripples {
  position: absolute;
  right: -14%;
  top: 50%;
  width: min(62rem, 120vw);
  aspect-ratio: 1;
  transform: translateY(-48%);
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--gold);
  font-size: clamp(4.6rem, 15.5vw, 12.5rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
}
.hero h1 span { display: block; }
.hero h1 .l1 { font-weight: 300; }
.hero h1 .l2 { font-weight: 800; }

.hero__lead {
  max-width: 34rem;
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--paper);
}

.cta {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: 0.35rem 1.8rem 0.55rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.cta:hover { background: var(--paper); color: var(--bg); transform: rotate(0deg); }

.hero__note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--gold);
  line-height: 1.4;
}

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.92;
  max-width: 14ch;
}

.section__intro {
  max-width: 36rem;
  margin: calc(-1 * clamp(0.75rem, 2vw, 1.5rem)) 0 clamp(1.75rem, 4vw, 3rem);
  color: var(--paper-soft);
}

/* ---------- Tłumacz z żargonu ---------- */

.translator {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.tr-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem 3rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.tr-row:first-child { border-top: 1px solid var(--line); }

@media (min-width: 52rem) {
  .tr-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    padding-block: 1.75rem;
  }
}

.jargon {
  position: relative;
  justify-self: start;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--paper);
  opacity: 0.85;
}

.jargon .strike {
  position: absolute;
  left: -0.25em;
  right: -0.25em;
  top: 54%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(-1.6deg);
  transform-origin: left center;
}

.plain {
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.35;
  color: var(--gold);
}

/* Animacja tylko gdy działa JS; bez JS przekreślenia są od razu widoczne */
.js .tr-row .strike { transform: rotate(-1.6deg) scaleX(0); }
.js .tr-row .plain { opacity: 0; transform: translateY(0.35rem); }
.js .tr-row.in .strike {
  transform: rotate(-1.6deg) scaleX(1);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.25, 1);
}
.js .tr-row.in .plain {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease 0.45s, transform 0.5s ease 0.45s;
}

/* ---------- Kroki ---------- */

.steps {
  list-style: none;
  counter-reset: krok;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.steps li {
  counter-increment: krok;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: baseline;
}

.steps li::before {
  content: counter(krok);
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 0.8;
  color: var(--gold);
}

.steps .step-text {
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--paper);
  max-width: 26ch;
}

.steps-note {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--paper-soft);
}

/* ---------- Kim jestem ---------- */

.who {
  display: grid;
  gap: 0 clamp(2rem, 6vw, 5rem);
}
.who h2 { margin-bottom: 1.75rem; }
.who p {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.65;
}

.portrait {
  margin: 0;
  width: 12rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--panel);
}

.who__head { margin-bottom: 1.75rem; }

@media (min-width: 52rem) {
  .who { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .who__head { margin-bottom: 0; }
  .portrait { width: 15rem; }
}

/* ---------- Podstrona „Kto zadzwoni" ---------- */

.hero--thanks { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 8vw, 6rem); }
.hero--thanks h1 { font-size: clamp(3.8rem, 12vw, 9.5rem); }

.caller {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
@media (min-width: 40rem) {
  .caller { flex-direction: row; align-items: center; gap: 2.5rem; }
}
.caller .portrait { flex: none; }
.caller__name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.2;
  color: var(--paper);
}
.caller__role {
  margin: 0;
  max-width: 24rem;
  font-size: 1.1rem;
  color: var(--paper-soft);
}

.number {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.6rem, 15vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 3px solid var(--line);
  padding-bottom: 0.1em;
}
.number:hover { color: var(--paper); border-color: var(--paper); }
.number__note { margin: 1.25rem 0 0; max-width: 34rem; color: var(--paper-soft); }
.cta--save { margin-top: 1.5rem; }

.steps--long .step-text {
  font-size: clamp(1.6rem, 3.6vw, 2.15rem);
  max-width: 38ch;
}

.nie {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.55;
  color: var(--paper);
}

/* ---------- O czym to jest (dwie kolumny) ---------- */

.about {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 52rem) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.about p { margin: 0 0 1rem; max-width: 34rem; }
.about p:last-child { margin-bottom: 0; }

.about .disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--paper-soft);
}

.topics {
  list-style: none;
  margin: 0;
  padding: 0;
}
.topics li {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.topics li:first-child { border-top: 1px solid var(--line); }

/* ---------- Kontakt ---------- */

.contact {
  background: var(--panel);
}

.contact .mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.6vw, 2.6rem);
  line-height: 1.2;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 3px solid var(--gold);
  word-break: break-word;
}
.contact .mail:hover { color: var(--paper); border-color: var(--paper); }

.contact p { margin: 0 0 0.5rem; max-width: 34rem; color: var(--paper-soft); }

/* ---------- Stopka ---------- */

.foot {
  background: var(--bg-deep);
  padding-block: 3rem;
  font-size: 0.92rem;
  color: var(--paper-soft);
}

.foot__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 52rem) {
  .foot__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.foot p { margin: 0 0 0.75rem; max-width: 40rem; }
.foot address { font-style: normal; line-height: 1.7; }
.foot strong { color: var(--paper); }

/* ---------- Podstrona dokumentu (polityka) ---------- */

.doc {
  padding-block: clamp(2rem, 6vw, 4rem) clamp(4rem, 9vw, 7rem);
}

.doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  line-height: 0.88;
}

.doc__meta {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-size: 0.95rem;
  color: var(--gold);
}

.doc__body { max-width: 44rem; }

.doc h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.doc p { margin: 0 0 1rem; }

.doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.doc li { margin-bottom: 0.4rem; }
.doc li::marker { color: var(--gold); }

.back {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.back:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- Ruch ograniczony ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; transform: none; }
  .js .tr-row .strike,
  .js .tr-row.in .strike { transform: rotate(-1.6deg) scaleX(1); transition: none; }
  .js .tr-row .plain,
  .js .tr-row.in .plain { opacity: 1; transform: none; transition: none; }
}
