@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("fonty/instrumentsans-regular.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url("fonty/instrumentsans-bold.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-display: swap; src: url("fonty/bricolagegrotesque-regular.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("fonty/bricolagegrotesque-bold.woff2") format("woff2"); }

:root {
  --indygo: #26224A;
  --fiolet: #433D80;
  --zloto: #FFC46B;
  --wapno: #F3F2F8;
  --tekst: #1F1C3D;
  --szary: #615D7E;
  --linia: #DCD9E8;
  --szer: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--wapno);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--szer); margin: 0 auto; padding: 0 32px; }
h1, h2, h3, .znak { font-family: "Bricolage Grotesque", "Instrument Sans", Arial, sans-serif; }

/* znak */
.znak { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.znak svg { width: 38px; height: 38px; }
.sygnet .ram { fill: none; stroke: var(--ram, var(--indygo)); stroke-width: 4.5; }
.sygnet .swiatlo { fill: var(--zloto); }
.sygnet .skrzydlo { fill: var(--skrzydlo, var(--indygo)); }
.sygnet .podloga { fill: var(--zloto); opacity: .5; }

/* otwarcie */
.hero { background: var(--indygo); color: #fff; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(255, 196, 107, .16), rgba(255, 196, 107, 0));
  pointer-events: none;
}
.hero .znak { color: #fff; --ram: var(--wapno); --skrzydlo: var(--fiolet); }
.gora { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; position: relative; }
.gora a.mail { color: #CFCBE6; text-decoration: none; font-size: 15px; }
.gora a.mail:hover { color: #fff; }
.hero-tresc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 40px 0 96px; position: relative; }
.etykieta { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--zloto); margin: 0 0 22px; }
.etykieta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zloto); box-shadow: 0 0 0 4px rgba(255, 196, 107, .2); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 26px; font-weight: 700; }
.hero h1 span { color: var(--zloto); }
.lead { font-size: 19px; line-height: 1.6; color: #D8D5EC; max-width: 560px; margin: 0 0 34px; }
.liczby { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0 0 38px; padding: 0; list-style: none; }
.liczby li { display: flex; flex-direction: column; }
.liczby b { font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; line-height: 1.1; color: #fff; }
.liczby span { font-size: 14px; color: #AFAACD; }
.przyciski { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn.zloty { background: var(--zloto); color: var(--indygo); }
.btn.zloty:hover { transform: translateY(-2px); }
.btn.obrys { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn.obrys:hover { border-color: #fff; }

/* drzwi */
.drzwi { width: 100%; max-width: 420px; justify-self: center; overflow: visible; }
.drzwi .ram { fill: none; stroke: var(--wapno); stroke-width: 12; }
.drzwi .skrzydlo { fill: var(--fiolet); transform-box: fill-box; transform-origin: left center; animation: otworz 2.4s cubic-bezier(.3, .7, .2, 1) .5s both; }
.drzwi .krawedz { stroke: rgba(255, 255, 255, .35); stroke-width: 2; transform-box: fill-box; transform-origin: left center; }
.drzwi .snop { fill: url(#snop); opacity: 0; animation: pojaw 1.6s ease 1.4s forwards; }
.drzwi .podloga-l { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
@keyframes otworz { from { transform: scaleX(1); } to { transform: scaleX(.62); } }
@keyframes pojaw { to { opacity: 1; } }

/* sekcje */
section { padding: 96px 0; }
.nr { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fiolet); margin: 0 0 14px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; color: var(--indygo); }
.wstep { color: var(--szary); max-width: 620px; margin: 0 0 48px; }
.karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.karta { background: #fff; border: 1px solid var(--linia); border-radius: 18px; padding: 28px 26px 30px; }
.karta .ik { width: 44px; height: 44px; border-radius: 12px; background: var(--wapno); display: grid; place-items: center; margin-bottom: 18px; color: var(--fiolet); }
.karta .ik svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karta h3 { font-size: 21px; margin: 0 0 8px; color: var(--indygo); letter-spacing: -.01em; }
.karta p { margin: 0; color: var(--szary); font-size: 16px; }
.dopisek { margin: 28px 0 0; font-size: 15px; color: var(--szary); }

.gdzie { background: #fff; border-top: 1px solid var(--linia); border-bottom: 1px solid var(--linia); }
.gdzie .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.adres { border-left: 3px solid var(--zloto); padding: 6px 0 6px 22px; }
.adres b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 26px; color: var(--indygo); line-height: 1.25; }
.adres span { color: var(--szary); }
.plan { width: 100%; height: auto; }

.lista { background: var(--indygo); color: #fff; border-radius: 28px; padding: 64px 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.lista::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(255, 196, 107, .25), rgba(255, 196, 107, 0)); }
.lista h2 { color: #fff; }
.lista p { color: #D8D5EC; margin: 0; }
.lista .akcja { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.lista .akcja small { color: #AFAACD; font-size: 14px; }

footer { padding: 40px 0 48px; font-size: 13px; color: var(--szary); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer .znak { font-size: 22px; color: var(--indygo); }
footer .znak svg { width: 28px; height: 28px; }
footer p { margin: 0; max-width: 640px; }

@media (max-width: 920px) {
  .hero-tresc, .gdzie .wrap, .lista { grid-template-columns: 1fr; }
  .drzwi { max-width: 300px; }
  .karty { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .gora a.mail { display: none; }
  .hero-tresc { padding: 16px 0 64px; gap: 32px; }
  .lead { font-size: 17px; }
  section { padding: 64px 0; }
  .karty { grid-template-columns: 1fr; }
  .lista { padding: 40px 26px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .drzwi .skrzydlo { animation: none; transform: scaleX(.62); }
  .drzwi .snop { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* lista pierwszeństwa – formularz */
.lista { align-items: start; }
.zasady { margin: 22px 0 0; padding: 0 0 0 20px; color: #D8D5EC; font-size: 15px; }
.zasady li { margin: 0 0 6px; }
.formularz { position: relative; z-index: 1; display: grid; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 26px; }
.formularz label { display: grid; gap: 6px; font-size: 14px; color: #D8D5EC; }
.formularz input:not([type=checkbox]):not([type=radio]), .formularz select, .formularz textarea {
  font: inherit; font-size: 16px; color: var(--tekst); background: #fff; border: 1px solid transparent; border-radius: 12px; padding: 11px 14px; width: 100%;
}
.formularz input:focus, .formularz select:focus, .formularz textarea:focus { outline: 2px solid var(--zloto); outline-offset: 1px; }
.formularz textarea { resize: vertical; min-height: 64px; }
.formularz .obok { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formularz .kto { display: flex; gap: 22px; }
.formularz .kto label, .formularz .zgoda { display: flex; align-items: center; gap: 8px; color: #fff; }
.formularz .zgoda { align-items: flex-start; font-size: 14px; color: #D8D5EC; }
.formularz .zgoda input { margin-top: 3px; accent-color: var(--zloto); }
.formularz .kto input { accent-color: var(--zloto); }
.formularz .zgoda a { color: #fff; }
.formularz button { border: 0; cursor: pointer; justify-self: start; font-family: inherit; }
.ukryte { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
footer a { color: inherit; }

/* potwierdzenie zapisu, strona danych */
.potwierdzenie { padding: 40px 0 96px; max-width: 680px; }
.potwierdzenie h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0 0 20px; }
.potwierdzenie p { color: #D8D5EC; }
.potwierdzenie .numer { font-family: "Bricolage Grotesque", sans-serif; font-size: 44px; color: var(--zloto); }
.znak img { width: 38px; height: 38px; background: var(--wapno); border-radius: 8px; padding: 3px; }
.tekst { max-width: 760px; padding: 64px 0 80px; }
.tekst h1 { font-size: clamp(30px, 4vw, 42px); color: var(--indygo); margin: 0 0 24px; letter-spacing: -.02em; }
.tekst h2 { font-size: 20px; margin: 30px 0 8px; }
.tekst p, .tekst li { color: var(--tekst); }
@media (max-width: 600px) { .formularz { padding: 20px; } .formularz .obok { grid-template-columns: 1fr; } }
.formularz select { -webkit-appearance: none; appearance: none; height: 48px; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23433D80' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
