/* POLLABO – strona weryfikacji certyfikatów. Czerń, platyna i szampańskie złoto. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-500-normal.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: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-ext-500-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-500-italic.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: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-ext-500-italic.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-600-normal.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: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/cormorant/cormorant-garamond-latin-ext-600-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #060708;
  --bg-2: #0c0e12;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(207, 178, 122, .35);
  --text: #ece8e0;
  --muted: #a3a3a8;
  --gold: #cfb27a;
  --gold-2: #f1dfb3;
  --ice: #bcd7f2;
  --ok: #7fd4a8;
  --bad: #ff8a80;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold-2); text-decoration-color: rgba(241, 223, 179, .4); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* --- typografia --- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.eyebrow { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; row-gap: 4px; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lead { font-size: 1.15rem; color: #cfcbc3; max-width: 46ch; }
.muted { color: var(--muted); }
.shimmer {
  background: linear-gradient(100deg, #b9b3a6 0%, #fff 18%, #d9c79c 32%, #ffffff 46%, #9aa7b8 62%, #fff 78%, #cdb98d 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
.shimmer em { font-style: italic; }
@keyframes shimmer { to { background-position: -250% 0; } }

/* --- nagłówek --- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(6, 7, 8, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { display: block; width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #d8d4cc; text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1240px) { .nav .nav-extra { display: none; } }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: .78rem; color: #15120b; }
.nav .btn:hover { color: #000; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } .brand img { width: 140px; } }
@media (max-width: 560px) {
  .nav .btn { padding: 9px 14px; font-size: .7rem; letter-spacing: .1em; white-space: nowrap; }
  .eyebrow { letter-spacing: .2em; font-size: .7rem; }
  .eyebrow::before { width: 22px; }
}

/* --- przyciski i pola --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .9rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: #15120b; padding: 17px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(120deg, #b99a5e, #f4e4bd 45%, #c9a96b 70%, #f1dfb3);
  background-size: 200% 100%; transition: background-position .6s, transform .2s, box-shadow .3s;
  box-shadow: 0 10px 30px -10px rgba(207, 178, 122, .55);
}
.btn:hover { background-position: 100% 0; color: #000; transform: translateY(-1px); box-shadow: 0 14px 40px -12px rgba(241, 223, 179, .7); }
.btn-ghost { background: transparent; color: var(--gold-2); border: 1px solid var(--line-gold); box-shadow: none; }
.btn-ghost:hover { background: rgba(207, 178, 122, .08); color: #fff; box-shadow: none; }
label { display: block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input { flex: 1 1 240px; min-width: 0; }
input[type=text] {
  font: 500 1.2rem/1.2 var(--sans); letter-spacing: .06em; color: #fff;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line); border-radius: 999px; padding: 17px 24px;
  transition: border-color .2s, box-shadow .2s;
}
input[type=text]::placeholder { color: #6f6f74; letter-spacing: .02em; }
input[type=text]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(207, 178, 122, .15); }
.error { color: var(--bad); margin: 12px 0 0; font-size: .95rem; }
.hint { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }

/* --- hero --- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -2;
  background: radial-gradient(closest-side, rgba(188, 215, 242, .14), rgba(207, 178, 122, .05) 55%, transparent 72%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
#sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 22px; }
.verify {
  margin-top: 34px; padding: 28px; border-radius: var(--radius); max-width: 620px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.diamond { width: min(460px, 100%); filter: drop-shadow(0 30px 60px rgba(188, 215, 242, .14)); animation: float 9s ease-in-out infinite; }
.spark { transform-box: fill-box; transform-origin: center; opacity: 0; animation: twinkle 4.8s ease-in-out infinite; }
.spark--1 { animation-delay: .8s; } .spark--2 { animation-delay: 1.7s; } .spark--3 { animation-delay: 2.6s; }
.spark--4 { animation-delay: 3.3s; } .spark--5 { animation-delay: 4.1s; }
@keyframes twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: .2; transform: scale(.5) rotate(90deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.trust div { background: rgba(6, 7, 8, .88); padding: 20px 22px; font-size: .92rem; color: #cfcbc3; }
.trust strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: #fff; line-height: 1.15; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-art { order: -1; } .diamond { width: min(240px, 62%); }
  .hero { padding-top: 100px; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .verify { padding: 20px; } .field .btn { width: 100%; } }

/* --- sekcje --- */
section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: #c9c5bd; font-size: 1.08rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); border: 0; margin: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 76px 0; } }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .35s, border-color .35s, background .35s; overflow: hidden;
}
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: var(--line-gold); background: rgba(255, 255, 255, .05); }
.card:hover::after { transform: translateX(120%); }
.card h3 { margin-bottom: 12px; }
.card p { color: #c2beb6; margin: 0; }
.card .icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--gold); }
.card .big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); display: block; margin-bottom: 14px; }
.card a.more { display: inline-block; margin-top: 16px; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

/* 4C */
.four-c .card { text-align: left; }
.scale { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.scale span { font-size: .72rem; letter-spacing: .06em; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: #aaa; }
.scale span.hl { border-color: var(--gold); color: var(--gold-2); }

/* proces */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 26px 22px; border-top: 1px solid var(--line-gold); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: #bdb9b1; font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* zabezpieczenia */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #d3cfc7; }
.checks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; transform: rotate(45deg); border: 1px solid var(--gold); background: linear-gradient(135deg, rgba(255, 255, 255, .5), transparent 60%); }
.cert-visual { position: relative; aspect-ratio: 1.414; border-radius: 14px; padding: 7%; overflow: hidden;
  background: linear-gradient(145deg, #15171c, #0a0b0d); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px #000, inset 0 0 0 10px rgba(255, 255, 255, .015); }
.cert-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .09) 50%, transparent 60%); animation: sweep 7s ease-in-out infinite; }
@keyframes sweep { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.cert-visual .row { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-bottom: 10px; }
.cert-visual .row.s { width: 40%; } .cert-visual .row.m { width: 65%; } .cert-visual .row.g { background: linear-gradient(90deg, var(--gold), transparent); width: 30%; }
.cert-visual .qr { position: absolute; right: 7%; bottom: 9%; width: 22%; margin: 0; border-radius: 6px; opacity: .9; }
.cert-visual .seal { position: absolute; left: 7%; bottom: 9%; width: 18%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6e7c2, #b89657 55%, #6e5a33); box-shadow: 0 0 30px rgba(207, 178, 122, .35); }
.cert-visual img:not(.qr) { width: 46%; opacity: .9; margin-bottom: 7%; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-gold); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: #c9c5bd; }

/* kontakt / CTA */
.cta { text-align: center; padding: 120px 0; background: radial-gradient(60% 80% at 50% 100%, rgba(207, 178, 122, .12), transparent 70%); }
.cta .contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* stopka */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h3 { font-size: 1.2rem; color: #fff; }
.site-footer a { color: #d8d4cc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* --- strona wyniku --- */
.page { padding: 140px 0 90px; min-height: 80vh; }
.result { max-width: 880px; margin: 0 auto; }
.status-badge { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: 10px; }
.status-badge .mark { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 600 1.5rem/1 var(--sans); }
.status-ok .mark { color: #07150e; background: radial-gradient(circle at 35% 30%, #dff7ea, #7fd4a8 60%, #3f8f69); box-shadow: 0 0 40px rgba(127, 212, 168, .35); }
.status-bad .mark { color: #2a0705; background: radial-gradient(circle at 35% 30%, #ffe1dd, #ff8a80 60%, #b23a32); box-shadow: 0 0 40px rgba(255, 138, 128, .3); }
.status-ok .status-badge { color: #fff; }
.result .panel { margin-top: 28px; padding: 32px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; margin: 0; }
.result dt { color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding-top: .3em; }
.result dd { margin: 0; font-size: 1.1rem; color: #fff; }
.result .number { font-family: var(--serif); font-size: 1.8rem; letter-spacing: .04em; }
.result .photo { margin-top: 26px; }
.result .photo img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 14px; background: #000; border: 1px solid var(--line); }
.result h2 { font-size: 1.9rem; }
.flash { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; }
.flash.ok { background: rgba(127, 212, 168, .1); color: var(--ok); border: 1px solid rgba(127, 212, 168, .3); }
.flash.bad { background: rgba(255, 138, 128, .08); color: var(--bad); border: 1px solid rgba(255, 138, 128, .3); }
.back { display: inline-block; margin-top: 30px; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 560px) { .result dl { grid-template-columns: 1fr; gap: 4px; } .result dd { margin-bottom: 12px; } .result .panel { padding: 22px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .spark { opacity: .8; transform: none; }
}
@media (max-width: 560px) { .hide-sm { display: none; } }

/* aparatura */
.equipment { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.equipment li { background: var(--bg); padding: 20px 22px; color: var(--muted); font-size: .9rem; transition: background .3s; }
.equipment li:hover { background: #0d0f13; }
.equipment strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #fff; line-height: 1.2; margin-bottom: 4px; }
@media (max-width: 520px) { .equipment { grid-template-columns: 1fr; } }

/* strona tekstowa */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose p, .prose li { color: #cfcbc3; }
