/* Styl wzorowany na magdalenasarnecka.pl: Playfair Display 500, pastelowy gradient w hero,
   przyciski-pigułki (malina / złoto / czerń), jasnoszare karty 32px, czarna stopka. */

@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/playfair-latin.woff2) format("woff2");
  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: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/playfair-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/playfair-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #010101;
  --text: rgba(1, 1, 1, .62);
  --raspberry: #c24274;
  --raspberry-dark: #a3345f;
  --gold: #b48229;
  --gold-dark: #976b1f;
  --grey: #f5f5f5;
  --line: #ececec;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 500 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.12; letter-spacing: -.027em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.2; letter-spacing: -.027em; }
h3 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--raspberry); font-weight: 700; margin-bottom: .6em; }
.label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin: 0 0 .5em; }
.lead { font-size: 1.1rem; }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

/* Przyciski-pigułki */
.btn {
  display: inline-block; background: var(--raspberry); color: #fff; text-decoration: none;
  padding: 18px 38px; border-radius: 100px; font-weight: 700; line-height: 1.15;
  border: 0; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--raspberry-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #333; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--grey); }
.btn-sm { padding: 13px 26px; font-size: .92rem; white-space: nowrap; }

/* Nagłówek */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--raspberry); }

.lang { position: relative; font-size: .92rem; color: var(--ink); }
.lang summary { cursor: pointer; list-style: none; padding: 8px 14px; border-radius: 100px; background: var(--grey); font-weight: 700; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; font-size: .75em; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 16px; padding: 8px; min-width: 180px; box-shadow: 0 18px 40px rgba(1, 1, 1, .12); }
.lang a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.lang a span { display: inline-block; width: 2.3em; font-weight: 700; color: var(--raspberry); }
.lang a:hover, .lang a[aria-current] { background: var(--grey); }

/* Hero z pastelowym gradientem */
.hero {
  padding: 64px 0 88px; overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 116, 56, .30) 0%, rgba(255, 116, 56, 0) 42%),
    radial-gradient(circle at 78% 70%, rgba(203, 56, 255, .22) 0%, rgba(203, 56, 255, 0) 45%),
    radial-gradient(circle at 60% 20%, rgba(255, 56, 211, .20) 0%, rgba(255, 56, 211, 0) 40%),
    radial-gradient(circle at 15% 95%, rgba(56, 112, 255, .14) 0%, rgba(56, 112, 255, 0) 40%),
    #fff;
}
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.badge { display: inline-block; background: #fff; color: var(--raspberry); font-size: .85rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; box-shadow: 0 4px 18px rgba(194, 66, 116, .15); margin-bottom: 18px; }
.hero-group { margin: 0 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dots { display: flex; flex-wrap: wrap; font-size: 1.05rem; color: rgba(1, 1, 1, .7); }
.dots li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--raspberry); font-weight: 700; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 32px; box-shadow: 0 30px 70px rgba(1, 1, 1, .16); }
.float-card {
  position: absolute; left: -36px; bottom: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); border-radius: 24px; padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(1, 1, 1, .12);
}
.float-card span { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }

/* Sekcje */
.section { padding: 100px 0; }
.alt { background: var(--grey); }
.center { text-align: center; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.split-rev { grid-template-columns: 1.1fr .9fr; }
.photo img { width: 100%; border-radius: 32px; }
.motto { font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; letter-spacing: -.02em; color: var(--raspberry); margin-top: 1.2em; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--grey); border-radius: 32px; padding: 34px 30px; text-align: left; }
.list li { position: relative; padding: .3em 0 .3em 1.4em; color: rgba(1, 1, 1, .72); }
.list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 8px; border-radius: 50%; background: var(--raspberry); }
.list-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 22px; }

.frame { border: 1px solid var(--raspberry); border-radius: 24px; padding: 64px; }

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track { background: #fff; border-radius: 32px; padding: 40px 36px; }
.flow { font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: .6em 0 .6em 3.2em; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .45em; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--raspberry); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.steps strong { display: block; color: var(--ink); }
.steps span { display: block; font-size: .95rem; }

.panel { background: var(--grey); border-radius: 32px; padding: 72px 32px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 32px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.social a { color: var(--raspberry); font-weight: 700; }

.foot { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 44px 0 110px; font-size: .88rem; text-align: center; }
.foot p { margin: .3em 0; }

/* Pływający przycisk: tylko na telefonie (na desktopie przycisk jest w nagłówku) */
.fab { display: none; }

@media (max-width: 1180px) {
  .nav { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .hero { padding: 24px 0 56px; }
  .top-in { height: 64px; gap: 12px; }
  .hero-in, .split, .split-rev, .tracks { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; border-radius: 24px; }
  .float-card { display: none; }
  .split .photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; }
  .frame { padding: 32px 22px; }
  .track { padding: 30px 22px; }
  .card { padding: 28px 24px; }
  .list-2 { grid-template-columns: 1fr; }
  .top .btn-sm { display: none; }
  .fab { display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20; text-align: center; box-shadow: 0 12px 30px rgba(194, 66, 116, .35); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.emails { margin: -14px 0 30px; font-size: .95rem; }
.emails .label { display: block; margin-bottom: 4px; }
.emails a { color: var(--ink); overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
@media (max-width: 820px) {
  .actions .btn { width: 100%; max-width: 360px; padding: 16px 20px; }
  .emails a { display: block; margin-top: 4px; }
  .emails .sep { display: none; }
}
