/* Czcionka Outfit z własnego serwera (wcześniej Google Fonts) */
/* latin-ext */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/outfit-latin-ext.woff2?v=2) format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/outfit-latin.woff2?v=2) 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; }

:root { --odstep: 16px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Outfit, system-ui, sans-serif; color: #232629; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #e2a45c; outline-offset: -3px; }

.hero { position: relative; min-height: max(600px, 100svh); display: flex; flex-direction: column; color: #fff; text-align: center;
  background: linear-gradient(180deg, rgba(14,16,18,.62), rgba(14,16,18,.34) 45%, rgba(14,16,18,.58)), url(img/hero.jpg) center 70% / cover; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px clamp(20px, 6vw, 90px); text-align: left; }
.logo { font-size: 22px; font-weight: 600; line-height: 1.1; }
.logo small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: #f0c28a; }
.menu { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); font-size: 17px; }
.menu a:hover { color: #f0c28a; }
.menu .tel { border: 1px solid #fff; border-radius: 4px; padding: 11px 20px; font-weight: 500; }
.burger { display: none; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 20px 90px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.over { font-size: 15px; letter-spacing: .38em; text-transform: uppercase; color: #f0c28a; }
h1 { max-width: 12.5em; font-size: clamp(40px, 5.6vw, 78px); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 22px 0; }
.center p { font-size: clamp(17px, 1.8vw, 22px); font-weight: 300; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 42px; text-shadow: none; }
.btn { display: inline-block; padding: 18px 34px; border-radius: 4px; font-size: 18px; font-weight: 500; }
.fill { background: #e2a45c; color: #1b1d1f; }
.line { border: 1px solid rgba(255,255,255,.75); }

h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.01em; }
h2::after { content: ''; display: block; width: 56px; height: 3px; background: #e2a45c; margin-top: 12px; }
.head { text-align: center; padding: 56px 20px 38px; }
.head h2::after { margin-inline: auto; }
.head p { margin-top: 14px; font-size: 18px; font-weight: 300; color: #6d7278; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; text-align: left; color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 54%, rgba(10,12,14,.76)); pointer-events: none; }
button.tile:hover img, button.tile:focus-visible img { transform: scale(1.06); }
.tile span { position: absolute; z-index: 1; left: 24px; right: 20px; bottom: 22px; }
.tile span::before { content: ''; display: block; width: 34px; height: 3px; background: #e2a45c; margin-bottom: 12px; }
.tile b { display: block; font-size: clamp(17px, 1.7vw, 23px); font-weight: 500; line-height: 1.2; }
.tile small { display: block; margin-top: 6px; font-size: 15px; font-weight: 300; line-height: 1.4; }
.services .tile { aspect-ratio: 1; }
.tile.cta { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 16px; text-align: center; background: #e2a45c; color: #1b1d1f; }
.tile.cta::after { content: none; }
.tile.cta b { font-size: clamp(17px, 1.7vw, 24px); }
.tile.cta strong { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; white-space: nowrap; }

.reviews { background: #f6f4f1; padding-bottom: 80px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 400px)); justify-content: center; gap: 28px; padding: 0 20px; }
blockquote { display: flex; flex-direction: column; padding: 34px; background: #fff; border: 1px solid #e8e4de; border-radius: 6px; }
.stars { color: #e2a45c; font-size: 21px; letter-spacing: 4px; }
blockquote p { flex: 1; margin: 16px 0 24px; font-size: 17px; font-weight: 300; line-height: 1.65; color: #5d6268; }
blockquote footer { font-weight: 500; }

.school { display: flex; align-items: center; justify-content: center; gap: clamp(36px, 6vw, 90px); padding: 90px clamp(20px, 5vw, 70px); background: #f6f4f1; }
.about { flex: 0 1 460px; }
.about p { margin-top: 20px; font-size: 18px; font-weight: 300; line-height: 1.65; color: #5d6268; }
.about ul { list-style: none; margin-top: 26px; }
.about li { display: flex; gap: 22px; padding: 14px 0; border-top: 1px solid #e0dad0; line-height: 1.45; }
.about li b { font-weight: 500; color: #a86d2a; }
.scans { flex: 0 1 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scans button { padding: 8px; background: #fff; box-shadow: 0 10px 28px rgba(40,32,20,.14); transition: transform .2s; }
.scans button:hover { transform: translateY(-4px); }
.scans img { width: 100%; height: auto; }

.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--odstep); }
.pairs button { aspect-ratio: 3 / 2; overflow: hidden; background: #f1eee9; }
.pairs img { width: 100%; height: 100%; object-fit: cover; }

.contact { border-top: var(--odstep) solid #fff; text-align: center; color: #fff; padding: 96px 20px; background: linear-gradient(rgba(17,19,21,.76), rgba(17,19,21,.84)), url(img/kontakt-2.jpg) center / cover; }
.contact h2::after { margin-inline: auto; }
.contact > p { margin-top: 18px; font-size: 18px; font-weight: 300; color: #d5d7d9; }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; margin: 46px 0 40px; }
.rows > * { padding: 26px 16px; font-size: clamp(18px, 2vw, 23px); overflow-wrap: anywhere; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.05); }
.rows small { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #f0c28a; }
.rows a:hover { border-color: #e2a45c; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(20px, 6vw, 90px); background: #121416; color: #9aa0a6; font-size: 14px; }
.foot a:hover { color: #fff; }

.box { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: rgba(10,11,12,.97); color: #fff; touch-action: pan-y; }
.box[open] { display: flex; align-items: center; justify-content: center; }
.box > img { max-width: calc(100% - 140px); max-height: calc(100% - 150px); object-fit: contain; }
.bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 14px 22px; }
.bar .title { font-size: 19px; font-weight: 500; }
.bar .count { color: #9aa0a6; }
.close { margin-left: auto; width: 48px; height: 48px; font-size: 34px; line-height: 1; }
.prev, .next { position: absolute; top: 50%; translate: 0 -50%; width: 60px; height: 90px; font-size: 52px; font-weight: 300; }
.prev { left: 6px; }
.next { right: 6px; }
.box [hidden] { display: none; }

.doc-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 6vw, 90px); background: #121416; color: #fff; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 70px; line-height: 1.7; }
.doc h1 { font-size: 38px; margin: 0 0 16px; }
.doc h2 { font-size: 21px; margin-top: 30px; }
.doc h2::after { content: none; }
.doc p, .doc ul { margin-top: 10px; color: #4d5258; }
.doc ul { padding-left: 22px; }
.doc a { color: #a86d2a; }
.doc .demo { margin-top: 36px; font-size: 14px; color: #8b9096; }
body > footer:not(.foot) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(20px, 6vw, 90px); background: #121416; color: #9aa0a6; font-size: 14px; }

.cookies { position: fixed; z-index: 20; left: 16px; bottom: 16px; width: min(390px, calc(100% - 32px)); padding: 20px; background: #fff; color: #232629; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.28); font-size: 14px; line-height: 1.55; }
.cookies b { font-size: 16px; }
.cookies p { margin: 8px 0 14px; color: #5d6268; }
.cookies a { text-decoration: underline; }
.cookies div { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies button { padding: 10px 16px; border: 1px solid #cfc8bd; border-radius: 4px; font-weight: 500; }
.cookies .ok { background: #e2a45c; border-color: #e2a45c; }

@media (max-width: 1080px) {
  .nav { position: relative; }
  .burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 46px; height: 46px; }
  .burger b { width: 26px; height: 2px; background: #fff; }
  .menu { display: none; position: absolute; z-index: 5; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 18px; padding: 24px; background: rgba(18,20,22,.97); border-radius: 8px; }
  .nav.open .menu { display: flex; }
  .school { flex-direction: column; }
  .about, .scans { flex: none; width: 100%; max-width: 720px; }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: minmax(0, 520px); }
}
@media (max-width: 640px) {
  .logo { font-size: 18px; }
  .tile span { left: 14px; right: 10px; bottom: 14px; }
  .tile small { font-size: 12.5px; }
  .services .tile { aspect-ratio: 3 / 4; }
  .pairs, .rows { grid-template-columns: minmax(0, 1fr); }
  .scans { gap: 10px; }
  .scans button { padding: 4px; }
  .box > img { max-width: 100%; }
  .prev, .next { top: auto; bottom: 8px; translate: none; height: 60px; }
  .prev { left: 18%; }
  .next { right: 18%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.head p a { text-decoration: underline; text-underline-offset: 3px; }
.head p a:hover { color: #a86d2a; }



/* Czym się zajmuję: nagłówek z lewej, numerowana lista z cienkimi liniami z prawej */
.offer { padding: 100px 24px; }
.offer-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 4.5vw, 68px); align-items: start; max-width: 1180px; margin: 0 auto; }
.offer-intro { position: sticky; top: 40px; }
.offer-intro h2::after { margin-left: 0; }
.offer-intro p { margin: 22px 0 30px; max-width: 30em; font-size: 18px; font-weight: 300; line-height: 1.65; color: #5a615d; }
.offer-steps { list-style: none; counter-reset: krok; }
.offer-steps li { counter-increment: krok; display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid #e3e1da; }
.offer-steps li:first-child { border-top: 1px solid #e3e1da; }
.offer-steps li::before { content: counter(krok, decimal-leading-zero); grid-column: 1; grid-row: 1; font-size: 22px; font-weight: 300; line-height: 1.2; color: #a86d2a; }
.offer-steps b { grid-column: 2; grid-row: 1; font-size: clamp(21px, 2vw, 25px); font-weight: 500; line-height: 1.2; }
.offer-steps span { grid-column: 2; grid-row: 2; margin-top: 6px; font-size: 17px; font-weight: 300; line-height: 1.6; color: #5a615d; }
@media (max-width: 900px) {
  .offer { padding: 64px 20px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-intro { position: static; }
}


/* O mnie: sam tekst, wyśrodkowany układ spójny z nagłówkami Realizacji i Opinii */
.about-me { padding-bottom: 96px; }
.about-me .head { padding-bottom: 34px; }
.about-wrap { max-width: 940px; margin: 0 auto; padding: 0 24px; text-align: center; }
.about-wrap .lead { max-width: 36em; margin: 0 auto; font-size: clamp(19px, 1.6vw, 22px); font-weight: 300; line-height: 1.65; color: #232629; }
.about-note { max-width: 40em; margin: 40px auto 36px; font-size: 18px; font-weight: 300; line-height: 1.7; color: #5a615d; }
.rules { list-style: none; counter-reset: zasada; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rules li { counter-increment: zasada; padding: 22px 12px 24px; border-top: 2px solid #e2a45c; background: #f6f4f1; }
.rules li::before { content: counter(zasada, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 20px; font-weight: 300; color: #a86d2a; }
.rules b { font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; line-height: 1.25; white-space: nowrap; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; text-align: left; }
.about-cols p { font-size: 18px; font-weight: 300; line-height: 1.75; color: #5a615d; }
.about-me .invite { margin-top: 48px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 400; line-height: 1.45; color: #232629; }
.about-me .invite::before { content: ""; display: block; width: 56px; height: 3px; margin: 0 auto 28px; background: #e2a45c; }
@media (max-width: 900px) {
  .about-me { padding-bottom: 64px; }
  .about-wrap { padding: 0 20px; }
  .about-note { margin: 28px auto 24px; }
  .rules { grid-template-columns: 1fr; gap: 10px; }
  .rules li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 16px 16px; text-align: left; }
  .rules li::before { margin: 0; }
  .about-cols { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .about-me .invite { margin-top: 36px; }
}

/* === Typografia: jedna skala rozmiarów i odstępów (blok do wycofania: usuń od tego komentarza do końca pliku) === */
:root { --t-small: 16px; --t-body: 18px; --t-lead: clamp(18px, 1.4vw, 20px); --t-item: clamp(18px, 1.45vw, 21px); --t-label: 13px; --ink-body: #4d5450; --sekcja: 96px; --glowa-dol: 40px; }
.head { padding: var(--sekcja) 20px var(--glowa-dol); }
.head p { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-body); }
.tile b { font-size: var(--t-item); }
blockquote p { font-size: var(--t-body); color: var(--ink-body); }
.reviews { padding-bottom: var(--sekcja); }
.offer { padding: var(--sekcja) 24px; }
.offer-intro p { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-body); }
.offer-steps b, .rules b { font-size: var(--t-item); }
.offer-steps span { font-size: var(--t-small); line-height: 1.6; color: var(--ink-body); }
.school { padding: var(--sekcja) clamp(20px, 5vw, 70px); }
.school .about p { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-body); }
.school li { font-size: var(--t-body); line-height: 1.45; color: #232629; }
.about-me { padding-bottom: var(--sekcja); }
.about-me .head { padding-bottom: var(--glowa-dol); }
.about-wrap .lead { font-size: var(--t-lead); line-height: 1.65; }
.about-note, .about-cols p { color: var(--ink-body); }
.about-me .invite { font-size: clamp(19px, 1.6vw, 22px); }
.contact { padding: var(--sekcja) 20px; }
.contact > p { font-size: var(--t-lead); line-height: 1.55; }
.logo small, .rows small { font-size: var(--t-label); letter-spacing: .28em; }
.over { font-size: 15px; letter-spacing: .38em; }
@media (max-width: 900px) {
  :root { --sekcja: 64px; --glowa-dol: 28px; }
  .offer { padding: var(--sekcja) 20px; }
}
/* ósmy kafelek realizacji: link do Facebooka, wygląda jak pozostałe kafelki */
.tile.more:hover img, .tile.more:focus-visible img { transform: scale(1.06); }
/* znak Facebooka na środku ósmego kafelka */
.tile.more::after { background: linear-gradient(rgba(10,12,14,.22), rgba(10,12,14,.22)), linear-gradient(transparent 54%, rgba(10,12,14,.76)); }
.tile.more .fb { position: absolute; z-index: 1; top: 50%; left: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); fill: #fff; fill-opacity: .72; stroke: none; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); transition: transform .3s; }
.tile.more:hover .fb, .tile.more:focus-visible .fb { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 640px) { .tile.more .fb { width: 52px; height: 52px; } }
.tile.more:hover .fb, .tile.more:focus-visible .fb { fill-opacity: .9; }
