﻿:root {
  --font-geist: Arial, Helvetica, sans-serif;
  --ink: #08101d;
  --navy: #0c1727;
  --muted: #5f6b7b;
  --line: #dce2e8;
  --paper: #ffffff;
  --soft: #f3f5f7;
  --accent: #f5a623;
  --accent-strong: #e7900b;
  --radius: 18px;
  --shadow: 0 22px 55px rgba(8, 16, 29, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-geist), Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: white; color: var(--ink); transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.topbar { background: #07101b; color: #c8d0da; font-size: 13px; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover, .topbar a:focus-visible { color: white; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(8,16,29,.09); backdrop-filter: blur(14px); }
.nav-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; letter-spacing: .04em; }
.brand-lens { width: 38px; aspect-ratio: 1; border: 7px solid #202a37; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--accent); position: relative; }
.brand-lens::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; top: 4px; right: 4px; background: #ffd26f; }
.brand strong { display: block; font-size: 17px; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .11em; color: var(--muted); }
.brand b { color: var(--accent-strong); font-size: 16px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; background: var(--accent); color: #111820; border-radius: 9px; font-size: 14px; font-weight: 800; box-shadow: 0 10px 24px rgba(245,166,35,.22); transition: transform .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { background: #ffb83f; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 18px; }
.button-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.button-ghost:hover, .button-ghost:focus-visible { background: white; color: var(--ink); }

.hero { min-height: 760px; position: relative; display: flex; flex-direction: column; justify-content: center; color: white; background: #0a1828 url('../images/hero-dashcam.webp') center/cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,10,18,.94) 0%, rgba(4,10,18,.74) 42%, rgba(4,10,18,.22) 72%, rgba(4,10,18,.38) 100%), linear-gradient(0deg, rgba(4,10,18,.72), transparent 42%); }
.hero-content { position: relative; z-index: 1; padding-block: 100px 160px; }
.eyebrow { display: inline-block; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.eyebrow.dark { color: #a65b00; }
.hero h1 { max-width: 790px; margin: 18px 0 22px; font-size: clamp(42px, 5.8vw, 76px); line-height: 1.03; letter-spacing: -.045em; }
.hero p { max-width: 660px; margin: 0; color: #d6dce3; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.proof-strip { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(7,15,26,.86); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 16px 16px 0 0; backdrop-filter: blur(16px); }
.proof-strip div { padding: 26px 34px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { margin-bottom: 5px; color: white; font-size: 15px; }
.proof-strip span { color: #aeb9c6; font-size: 13px; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.section h2, .contact h2 { margin: 9px 0 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p, .ranking-intro > p, .faq-layout > div > p { margin: 0; color: var(--muted); font-size: 17px; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.test-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s ease, box-shadow .2s ease; }
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; display: block; aspect-ratio: 1.38; overflow: hidden; background: var(--soft); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.test-card:hover img { transform: scale(1.035); }
.card-image span { position: absolute; top: 16px; left: 16px; padding: 7px 10px; border-radius: 7px; background: var(--accent); color: #111820; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.card-body { padding: 25px; }
.card-body h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.card-body h3 a:hover, .card-body h3 a:focus-visible { color: #a65b00; }
.card-body p { color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #9a5500; font-size: 14px; font-weight: 800; }
.text-link:hover, .text-link:focus-visible { gap: 12px; text-decoration: underline; }

.section-dark { background: var(--navy); color: white; }
.method-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: center; }
.method-copy p { color: #aeb9c6; max-width: 440px; margin-bottom: 28px; }
.method-list { margin: 0; padding: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.method-list li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.method-list > li > span { color: var(--accent); font: 700 13px ui-monospace, monospace; }
.method-list strong { font-size: 20px; }
.method-list p { margin: 5px 0 0; color: #aeb9c6; font-size: 14px; }

.ranking-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 86px; align-items: start; }
.ranking-intro { position: sticky; top: 145px; }
.ranking-intro .text-link { margin-top: 22px; }
.equipment-list { border-top: 1px solid var(--line); }
.equipment-row { display: grid; grid-template-columns: 52px 1fr 30px; gap: 18px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); }
.equipment-row:hover, .equipment-row:focus-visible { background: var(--soft); }
.equipment-number { color: #9a5500; font: 700 13px ui-monospace, monospace; }
.equipment-row strong, .equipment-row small { display: block; }
.equipment-row strong { font-size: 18px; }
.equipment-row small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.arrow { font-size: 21px; color: #9a5500; }

.section-muted { background: var(--soft); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list { border-top: 1px solid #ccd4dc; }
.faq-list details { border-bottom: 1px solid #ccd4dc; }
.faq-list summary { padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-weight: 750; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; font-size: 24px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "â’"; }
.faq-list details p { margin: -4px 54px 22px 0; color: var(--muted); font-size: 14px; }

.contact { padding: 70px 0; background: #08101d; color: white; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 50px 56px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: linear-gradient(120deg, rgba(245,166,35,.09), transparent 45%); }
.contact h2 { font-size: clamp(32px, 4vw, 46px); }
.contact p { color: #b7c0cb; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.footer { padding: 70px 0 28px; background: #050b13; color: #aeb9c6; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 46px; }
.footer-grid strong { color: white; }
.footer p { line-height: 1.7; }
.footer a:hover, .footer a:focus-visible { color: white; text-decoration: underline; }
.footer-brand { color: white; }
.footer-brand small { color: #9aa5b2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

:focus-visible { outline: 3px solid #62b1ff; outline-offset: 3px; }

@media (max-width: 900px) {
  .topbar-inner > span, .nav-row nav { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .hero { min-height: 720px; }
  .hero-content { padding-block: 76px 175px; }
  .proof-strip { grid-template-columns: 1fr; min-height: 0; }
  .proof-strip div { padding: 13px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .proof-strip div:last-child { border-bottom: 0; }
  .proof-strip strong { margin: 0; }
  .proof-strip span { display: none; }
  .section-heading, .method-layout, .ranking-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .test-card:last-child { grid-column: span 2; }
  .ranking-intro { position: static; }
  .contact-card { align-items: flex-start; flex-direction: column; padding: 40px; }
  .contact-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-links { width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; }
  .nav-row { min-height: 70px; }
  .nav-row > .button { display: none; }
  .brand strong { font-size: 15px; }
  .hero { min-height: 740px; background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,10,18,.96), rgba(4,10,18,.62)), linear-gradient(0deg, rgba(4,10,18,.85), transparent 45%); }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .section { padding: 78px 0; }
  .section-heading { gap: 20px; }
  .test-grid { grid-template-columns: 1fr; }
  .test-card:last-child { grid-column: auto; }
  .method-layout, .ranking-layout, .faq-layout { gap: 34px; }
  .method-list li { grid-template-columns: 48px 1fr; }
  .equipment-row { grid-template-columns: 35px 1fr 24px; padding-block: 22px; }
  .contact-card { padding: 30px 24px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Podstrony poradnikowe */
.article-hero { padding: 92px 0 78px; background: var(--navy); color: white; }
.article-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.article-hero h1 { margin: 14px 0 20px; font-size: clamp(42px,5.7vw,72px); line-height: 1.03; letter-spacing: -.045em; }
.article-hero p { color: #c4ccd6; font-size: 18px; }
.article-hero img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 20px; box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.article-body { padding: 90px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 76px; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin: 58px 0 15px; font-size: clamp(30px,3.5vw,44px); line-height: 1.1; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; font-size: 23px; }
.prose p, .prose li { color: #465365; }
.prose ul, .prose ol { padding-left: 22px; }
.article-note { margin: 30px 0; padding: 24px 26px; border-left: 4px solid var(--accent); background: #fff8eb; }
.article-note strong { color: #8a4b00; }
.article-aside { position: sticky; top: 145px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.article-aside h3 { margin: 0 0 10px; }
.article-aside p { color: var(--muted); font-size: 14px; }
.article-aside .button { width: 100%; margin-top: 10px; }
.ranking-table { margin: 32px 0; border-top: 1px solid var(--line); }
.ranking-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--line); }
.ranking-item > span:first-child { color: #a65b00; font: 700 13px ui-monospace,monospace; }
.ranking-item strong, .ranking-item small { display: block; }
.ranking-item small { margin-top: 5px; color: var(--muted); }
.ranking-item .text-link { white-space: nowrap; }
.comparison-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 28px 0; }
.comparison-grid > div { padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.comparison-grid h3 { margin-top: 0; }
@media (max-width: 900px) { .article-hero-inner, .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
@media (max-width: 620px) { .article-hero { padding: 60px 0; } .article-hero h1 { font-size: 42px; } .article-body { padding: 65px 0; } .comparison-grid { grid-template-columns: 1fr; } .ranking-item { grid-template-columns: 36px 1fr; } .ranking-item .text-link { grid-column: 2; } }

/* Dział testów kamer */
.reviews-hero { padding: 92px 0 76px; background: var(--navy); color: white; }
.reviews-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.reviews-hero h1 { max-width: 820px; margin: 14px 0 20px; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.05em; }
.reviews-hero p { max-width: 760px; color: #b8c1cc; font-size: 18px; }
.reviews-hero aside { padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.04); }
.reviews-hero aside strong { color: var(--accent); }
.reviews-hero aside p { margin: 8px 0 0; font-size: 13px; }
.review-nav { position: sticky; top: 114px; z-index: 35; background: white; box-shadow: 0 1px 0 var(--line); }
.review-nav-grid { display: flex; min-width: max-content; }
.review-nav a { min-width: 185px; padding: 18px; border-right: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 750; }
.review-nav a:last-child { border-right: 0; }
.review-nav a:hover, .review-nav a:focus-visible { background: var(--soft); color: #945200; }
.review-nav span { color: #a65b00; margin-right: 8px; font: 700 11px ui-monospace, monospace; }
.camera-review { padding: 110px 0; scroll-margin-top: 170px; }
.camera-review.alt { background: var(--soft); }
.review-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.review-media { position: sticky; top: 190px; min-height: 490px; display: grid; place-items: center; padding: 54px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.review-media img { width: 100%; max-height: 390px; object-fit: contain; }
.review-pick { position: absolute; top: 16px; left: 16px; padding: 8px 11px; border-radius: 7px; background: var(--accent); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.review-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.review-heading h2 { margin: 7px 0 0; font-size: clamp(36px, 4vw, 54px); line-height: 1; }
.score { min-width: 112px; text-align: right; line-height: 1; }
.score strong { font-size: 42px; letter-spacing: -.04em; }
.score > span { color: var(--muted); }
.score small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.review-content .lead { margin: 26px 0 18px; color: #334155; font-size: 19px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.spec-chips span { padding: 7px 10px; border: 1px solid #ccd4dc; border-radius: 999px; background: white; font-size: 11px; font-weight: 750; }
.verdict { padding: 24px 26px; border-left: 4px solid var(--accent); background: #fff8eb; }
.verdict strong { color: #8a4b00; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.verdict p { margin: 7px 0 0; color: #3d4857; font-size: 14px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.pros-cons > div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.pros-cons strong { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.pros-cons ul { margin: 11px 0 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-outline { background: transparent; color: var(--ink); border: 1px solid #aeb8c3; box-shadow: none; }
.button-outline:hover, .button-outline:focus-visible { background: var(--navy); color: white; }
.service-cta { padding: 90px 0; background: #08101d; color: white; }
.service-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.service-cta h2 { max-width: 760px; margin: 10px 0 12px; font-size: clamp(36px,4.5vw,58px); line-height: 1.06; letter-spacing: -.04em; }
.service-cta p { max-width: 760px; color: #aeb9c6; }
.service-cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 250px; }

@media (max-width: 900px) {
  .reviews-hero-inner, .review-grid { grid-template-columns: 1fr; gap: 42px; }
  .review-nav { top: 104px; overflow-x: auto; }
  .review-nav-grid { min-width: max-content; }
  .review-media { position: relative; top: auto; min-height: 400px; }
  .service-cta-inner { align-items: flex-start; flex-direction: column; }
  .service-cta-actions { min-width: 0; width: 100%; flex-direction: row; }
}

@media (max-width: 620px) {
  .reviews-hero { padding: 64px 0 54px; }
  .reviews-hero h1 { font-size: 42px; }
  .reviews-hero p { font-size: 16px; }
  .review-nav { top: 104px; }
  .camera-review { padding: 72px 0; scroll-margin-top: 160px; }
  .review-media { min-height: 320px; padding: 48px 28px 28px; }
  .review-heading { align-items: flex-end; }
  .score { min-width: 84px; }
  .score strong { font-size: 34px; }
  .pros-cons { grid-template-columns: 1fr; }
  .review-actions, .review-actions .button { width: 100%; }
  .service-cta-actions { flex-direction: column; }
}

