/* ============================================================================
   PizzaMap — FLAGSHIP (Wariant A · preppy)
   Paleta „pepperoni" w odsłonie preppy: czerwień / pomarańcz / bursztyn /
   bazyliowa zieleń / piaskowy — na kremowym papierze. Rytm 8px, grid 12-kol,
   kontener 1280, miara tekstu ~72ch, breakpointy 599 / 991 / 1439.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;500;600;700;800&family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

:root {
  /* — kolory (minimalistyczne, białe tło) — */
  --cream:      #FFFFFF;   /* tło strony — białe */
  --cream-2:    #FFFFFF;   /* karty */
  --cream-3:    #F6F5F2;   /* subtelna sekcja (alternacja) */
  --sand:       #C9BCA9;   /* neutralny ciepły (rzadko) */
  --sand-soft:  #ECE7DE;
  --amber:      #C8922E;   /* złoto — stonowane, akcent */
  --amber-deep: #A6761D;
  --orange:     #D2622C;   /* clay hover (Roland Garros) */
  --red:        #C5531F;   /* terre battue — clay orange, akcent wiodący */
  --red-deep:   #A84215;
  --red-ink:    #8A3712;
  --green:      #15412F;   /* butelkowa zieleń — jedna marka */
  --green-deep: #0E3122;   /* ciemniejszy wariant (hover) */
  --forest:     #15412F;   /* tło stopki / sekcji ciemnych — ta sama zieleń */
  --ink:        #1A1715;   /* tekst główny — niemal czarny */
  --ink-2:      #4A443E;
  --muted:      #8A847B;   /* tekst drugorzędny */
  --line:       #ECEAE5;   /* subtelna linia */
  --line-2:     #DAD6CF;   /* mocniejsza linia */
  --dark:       #17140F;   /* ciemna sekcja */
  --dark-2:     #221E18;
  --on-dark:    #F7F4EE;
  --on-dark-mut:#B4ACA0;

  /* — typografia (serif display + sans UI + serif do długiego czytania) — */
  --display: 'Rethink Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans:    'Rethink Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif:   'Spectral', Georgia, 'Times New Roman', serif;
  --body:    'Spectral', Georgia, 'Times New Roman', serif;

  /* — rytm 8px — */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s7: 64px; --s8: 80px; --s9: 96px; --s10: 128px;

  /* — układ — */
  --container: 1280px;
  --content:   1140px;
  --reading:   72ch;
  --gutter: clamp(16px, 5vw, 32px);
  --section-y: clamp(68px, 9.5vw, 144px);

  /* — promienie / cienie — */
  --r-xs: 0; --r-sm: 0; --r-md: 0; --r-lg: 0; --r-pill: 0;
  --sh-1: 0 1px 2px rgba(20,18,16,.04), 0 2px 6px rgba(20,18,16,.03);
  --sh-2: 0 4px 14px rgba(20,18,16,.05), 0 14px 40px rgba(20,18,16,.06);
  --sh-3: 0 12px 34px rgba(20,18,16,.08), 0 40px 80px rgba(20,18,16,.10);
  --ease: cubic-bezier(.22,.7,.2,1);
}

/* ----------------------------- reset ------------------------------------- */
* { box-sizing: border-box; }
/* minimalistyczny, ostry język wizualny — zero zaokrągleń w całym serwisie */
*, *::before, *::after { border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream);
  font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-synthesis: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
h1,h2,h3,h4,h5 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.018em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* --------------------------- containers ---------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.content   { max-width: var(--content);   margin-inline: auto; padding-inline: var(--gutter); }
.measure   { max-width: var(--reading); }
.section   { padding-block: var(--section-y); }

/* grid 12-kol */
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); }

/* --------------------------- eyebrow / label ----------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-family: var(--body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin: 0;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--red); border-radius: 2px; opacity:.8; }
.eyebrow--plain::before { display: none; }
.eyebrow--gold { color: var(--amber-deep); } .eyebrow--gold::before { background: var(--amber-deep); }
.eyebrow--green { color: var(--green-deep); } .eyebrow--green::before { background: var(--green-deep); }
.eyebrow--light { color: var(--amber); } .eyebrow--light::before { background: var(--amber); }

/* ------------------------------ buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: .005em;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), color .2s, border-color .2s, box-shadow .25s var(--ease);
  position: relative;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--red); color: #fff; box-shadow: 0 1px 2px rgba(20,18,16,.08); }
.btn--solid:hover { background: var(--orange); box-shadow: 0 4px 14px rgba(194,58,20,.22); }
.btn--solid:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(20,18,16,.03); }
.btn--gold { background: var(--amber); color: #fff; box-shadow: 0 1px 2px rgba(20,18,16,.08); }
.btn--gold:hover { background: var(--amber-deep); color: #fff; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(21,65,47,.28); }
.btn--green:hover { background: var(--green-deep); }
.btn--ondark { background: var(--on-dark); color: var(--dark); }
.btn--ondark:hover { background: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--block { display: flex; width: 100%; }

/* link ze strzałką */
.arrow { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 600; color: var(--red); }
.arrow svg { transition: transform .25s var(--ease); }
.arrow:hover { color: var(--orange); }
.arrow:hover svg { transform: translateX(4px); }

/* ------------------------------ chips ------------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(214,62,18,.09); color: var(--red-ink);
}
.chip--green { background: rgba(82,170,36,.14); color: var(--green-deep); }
.chip--gold  { background: rgba(245,172,63,.22); color: var(--amber-deep); }
.chip--sand  { background: rgba(219,168,127,.26); color: #8a5e38; }
.chip--solid { background: var(--red); color: #fff; }

/* ---------------------------- placeholdery ------------------------------- */
.ph {
  position: relative; background-color: var(--cream-3);
  background-image: repeating-linear-gradient(-45deg, transparent 0 11px, rgba(140,122,104,.10) 11px 12px);
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph); position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: var(--s2);
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: #9b8a76; line-height: 1.5;
}
.ph--dark { background-color: var(--dark-2); background-image: repeating-linear-gradient(-45deg, transparent 0 11px, rgba(247,238,223,.07) 11px 12px); }
.ph--dark::after { color: var(--on-dark-mut); }

/* gwiazdkowy podział */
.rule-star { display:flex; align-items:center; gap: var(--s2); color: var(--line-2); }
.rule-star::before, .rule-star::after { content:''; height:1px; flex:1; background: var(--line); }
.rule-star span { color: var(--red); font-size: 13px; letter-spacing: .3em; }

/* ----------------------------- przełącznik ------------------------------- */
.lang { display: inline-flex; align-items: center; gap: 1px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang button, .lang a { background: none; border: none; padding: 6px 7px; border-radius: var(--r-xs); color: var(--muted); font-weight: 600; transition: color .2s, background .2s; }
.lang button[aria-current="true"], .lang a[aria-current="true"] { color: var(--ink); }
.lang button:hover, .lang a:hover { color: var(--red); }
.lang .sep { color: var(--line-2); }

/* ----------------------------- reveal ------------------------------------ */
@media (prefers-reduced-motion: no-preference){
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"]{ transition-delay: .07s; } .reveal[data-d="2"]{ transition-delay: .14s; }
  .reveal[data-d="3"]{ transition-delay: .21s; } .reveal[data-d="4"]{ transition-delay: .28s; }
}

/* ------------------------------ a11y ------------------------------------- */
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip { position:absolute; left:var(--s2); top:-60px; z-index:200; background: var(--ink); color:#fff; padding:12px 18px; border-radius: var(--r-sm); transition: top .2s; }
.skip:focus { top: var(--s2); }

/* ========================================================================== */
/*  HEADER                                                                     */
/* ========================================================================== */
.topbar { background: var(--forest); color: var(--on-dark); }
.topbar .container { display:flex; align-items:center; justify-content:space-between; min-height: 40px; gap: var(--s3); font-size: 12.5px; }
.topbar .promo { display:flex; align-items:center; gap: var(--s1); color: var(--on-dark-mut); letter-spacing:.02em; }
.topbar .promo .star { color: var(--on-dark-mut); font-size: 9px; }
.topbar .lang button { color: var(--on-dark-mut); } .topbar .lang button[aria-current="true"]{ color:#fff; } .topbar .lang button:hover{ color: var(--amber);} .topbar .sep{ color: rgba(247,238,223,.22);}
.topbar .lang a { color: var(--on-dark-mut); } .topbar .lang a[aria-current="true"]{ color:#fff; } .topbar .lang a:hover{ color: var(--amber); }

/* — TranslatePress: używamy własnego przełącznika (PL/EN/IT/DE jak w prototypie),
     więc chowamy pływający przełącznik wtyczki i zostawiamy tylko nasz w topbarze — */
#trp-floater-ls, .trp-floating-ls, #trp-floater-ls-style { display: none !important; }
/* przy aktywnym TranslatePress chowamy zapasowy przełącznik w menu mobilnym (jest w topbarze) */
body.trp-active .m-nav-lang { display: none !important; }

.masthead { background: var(--cream); text-align: center; padding-top: var(--s5); }
.brand { display:inline-flex; flex-direction:column; align-items:center; gap: 10px; }
.brand .orn { display:flex; align-items:center; gap: var(--s2); color: var(--line-2); width: 240px; }
.brand .orn::before, .brand .orn::after { content:''; height:1px; flex:1; background: var(--line-2); }
.brand .orn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.brand .orn .dot::before, .brand .orn .dot::after { content:''; position:absolute; top:50%; width:5px; height:5px; border-radius:50%; background: var(--amber); transform: translateY(-50%); }
.brand .orn .dot::before { left: -10px; } .brand .orn .dot::after { right: -10px; }
.logo { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.4vw, 68px); letter-spacing: -.022em; line-height: 1; color: var(--ink); }
.logo b { color: var(--red); }
.brand .motto { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.mainnav { margin-top: var(--s4); border-block: 1.5px solid var(--ink); }
.mainnav .container { display:flex; align-items:center; justify-content:center; gap: clamp(16px, 2.6vw, 38px); min-height: 56px; position: relative; }
.mainnav .links { display: contents; }
.mainnav a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 6px 0; position: relative; }
.mainnav a::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:2px; background: var(--red); transform: scaleX(0); transform-origin:left; transition: transform .28s var(--ease); }
.mainnav a:hover { color: var(--red); } .mainnav a:hover::after { transform: scaleX(1); }
.mainnav .search-ic { position:absolute; right: var(--gutter); top:50%; transform: translateY(-50%); width: 40px; height: 40px; min-height: 40px; display:grid; place-items:center; border-radius:50%; border:1.5px solid var(--line-2); color: var(--muted); }
.mainnav .search-ic:hover { border-color: var(--red); color: var(--red); }
.nav-toggle { display:none; }

/* sticky */
.sticky { position: fixed; inset: 0 0 auto 0; z-index: 90; background: rgba(251,246,236,.92); backdrop-filter: blur(12px); border-bottom: 1.5px solid var(--ink); transform: translateY(-101%); transition: transform .4s var(--ease); }
.sticky.show { transform: translateY(0); }
.sticky .container { display:flex; align-items:center; justify-content:space-between; min-height: 60px; gap: var(--s3); }
.sticky .logo-sm { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing:-.01em; } .sticky .logo-sm b { color: var(--red); }
.sticky nav { display:flex; gap: var(--s4); } .sticky nav a { font-size:14px; font-weight:600; } .sticky nav a:hover { color: var(--red); }
.sticky .right { display:flex; align-items:center; gap: var(--s3); }

/* ticker — elegancki pasek (zielone tło, szeryfowy italik, bez gwiazdek) */
.ticker { background: var(--green); color: var(--on-dark); overflow: hidden; }
.ticker .track { display:flex; align-items:center; gap: clamp(28px,4vw,56px); white-space: nowrap; padding-block: 13px; width: max-content; animation: ticker 46s linear infinite; }
.ticker .item { display:inline-flex; align-items:center; gap: clamp(28px,4vw,56px); font-family: var(--serif); font-style: italic; font-size: clamp(15px,1.3vw,17px); font-weight: 500; letter-spacing: .005em; text-transform: none; color: rgba(255,255,255,.94); }
.ticker .item .s { font-size: 0; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); flex:none; }
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker .track { animation: none; } }

/* ========================================================================== */
/*  HERO                                                                       */
/* ========================================================================== */
.hero { padding-block: clamp(40px, 5.5vw, 80px); }
.hero .grid { display:grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; line-height: 1.01; margin-top: var(--s3); }
.hero h1 em { font-family: var(--serif); font-style: italic; color: var(--red); font-weight: 600; }
.hero .sub { margin-top: var(--s3); font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 32em; line-height: 1.55; }

.searchbar { margin-top: var(--s4); display:flex; align-items:center; gap: var(--s1); background: var(--cream-2); border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 7px 7px 22px; max-width: 500px; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214,62,18,.1); }
.searchbar > svg { color: var(--muted); flex:none; }
.searchbar input { flex:1; border:none; background:none; font-family: var(--body); font-size: 16px; color: var(--ink); padding: 11px 4px; min-width: 0; }
.searchbar input:focus { outline:none; }
.searchbar input::placeholder { color: var(--muted); }
.searchbar { position: relative; }

/* podpowiedzi wyszukiwarki */
.search-suggest { position:absolute; left:0; right:0; top: calc(100% + 8px); background: var(--cream-2); border:1.5px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--sh-2); z-index: 40; overflow:hidden; }
.ss-item { display:flex; align-items:center; gap: var(--s2); padding: 11px 14px; border-bottom:1px solid var(--line); transition: background .15s; }
.ss-item:last-child { border-bottom:none; }
.ss-item:hover { background: var(--cream-3); }
.ss-flag { font-size: 20px; flex:none; }
.ss-info { flex:1; min-width:0; }
.ss-name { display:block; font-family: var(--display); font-weight:700; font-size: 15px; line-height:1.1; }
.ss-meta { display:block; font-size: 12px; color: var(--muted); margin-top:2px; }
.ss-score { font-family: var(--display); font-weight:800; color: var(--red); font-size: 16px; flex:none; }
.ss-empty { padding: 14px; font-size: 13.5px; color: var(--muted); }

.hero .ctas { margin-top: var(--s3); display:flex; gap: var(--s2); flex-wrap: wrap; }
.hero .trust { margin-top: var(--s3); display:flex; align-items:center; gap: var(--s2); font-size: 14px; color: var(--muted); }
.hero .trust .avatars { display:flex; }
.hero .trust .av { width: 30px; height: 30px; border-radius:50%; border:2px solid var(--cream); margin-left: -9px; background: var(--cream-3); display:grid; place-items:center; font-family: var(--display); font-weight:700; font-size:13px; color: var(--red); }
.hero .trust .av:first-child { margin-left: 0; }
.hero .trust .stars { color: var(--amber); letter-spacing: 1px; }

.hero .stats { margin-top: var(--s5); display:flex; gap: clamp(20px, 3vw, 48px); padding-top: var(--s4); border-top: 1.5px solid var(--line); }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n b { color: var(--red); font-weight: 800; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 7px; }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); }
.hero-media .ph { aspect-ratio: 4/5; }
.hero-media .ribbon { position:absolute; top: 18px; left: -1px; z-index:3; background: var(--green); color:#fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px 8px 14px; border-radius: 0 var(--r-pill) var(--r-pill) 0; box-shadow: var(--sh-1); }
.hero-media .tag { position:absolute; top: 16px; right: 16px; z-index:3; background: rgba(36,26,20,.84); color: var(--on-dark); backdrop-filter: blur(4px); font-size: 12px; letter-spacing: .04em; font-weight: 600; padding: 7px 13px; border-radius: var(--r-pill); }
.score-badge { position:absolute; left: -22px; bottom: 30px; z-index:4; background: var(--cream-2); border: 1.5px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: 14px 18px; display:flex; align-items:center; gap: var(--s2); }
.score-badge .val { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--red); line-height: 1; }
.score-badge .meta b { display:block; font-size: 14px; } .score-badge .meta span { font-size: 12.5px; color: var(--muted); }
.score-badge .stars { color: var(--amber); font-size: 12px; letter-spacing: 1px; }

/* ========================================================================== */
/*  SEKCJE — wspólne nagłówki                                                  */
/* ========================================================================== */
.section--cream3 { background: var(--cream-3); }
/* — odkrywaj portal — */
.portal-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: var(--s3); }
.portal-card { background: var(--cream-2); border:1.5px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); display:flex; flex-direction:column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.portal-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.portal-card.accent { background: linear-gradient(160deg,#FFFBF1, var(--cream-2)); border-color: rgba(245,172,63,.55); }
.portal-card .ic { width:46px; height:46px; border-radius:50%; background: rgba(214,62,18,.09); color: var(--red); display:grid; place-items:center; margin-bottom: var(--s3); }
.portal-card.accent .ic { background: rgba(245,172,63,.2); color: var(--amber-deep); }
.portal-card h3 { font-size: 21px; }
.portal-card p { color: var(--muted); font-size: 14px; margin-top: var(--s1); flex:1; }
.portal-card .go { margin-top: var(--s3); font-weight:600; color: var(--red); font-size: 14px; }
.portal-card:hover .go { color: var(--orange); }
@media (max-width: 980px){ .portal-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .portal-grid { grid-template-columns: 1fr; } }
.sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap: var(--s4); margin-bottom: var(--s6); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: var(--s2); }
.sec-head p { color: var(--muted); margin-top: var(--s2); max-width: 36ch; }

/* RANKING */
.rank-top { display:grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px,4vw,56px); margin-bottom: var(--s4); align-items:center; }
.rank-feature { position: relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap: var(--s3); }
.rf-circle { position: relative; width: min(100%, 460px); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 70px rgba(26,23,21,.18); }
.rank-feature .ph { position:absolute; inset:0; border-radius:50%; }
.rank-feature .ov { display:none; }
.rank-feature .medal { position:absolute; top: 6%; left: 6%; z-index:2; background: var(--amber); color: var(--ink); font-family: var(--display); font-weight:800; width: 46px; height:46px; border-radius:50%; display:grid; place-items:center; box-shadow: 0 3px 10px rgba(0,0,0,.25); border:2px solid #fff; }
.rank-feature .body { position:relative; z-index:2; padding: 0; color: var(--ink); }
.rank-feature .name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); }
.rank-feature .meta { margin-top: var(--s1); display:flex; gap: var(--s1); align-items:center; justify-content:center; flex-wrap:wrap; color: var(--muted); font-size: 14.5px; }
.rank-feature .scorebig { position:absolute; top: 6%; right: 6%; z-index:2; background: var(--cream-2); color: var(--red); font-family: var(--display); font-weight:800; font-size: 24px; width: 58px; height:58px; border-radius:50%; display:grid; place-items:center; box-shadow: var(--sh-1); }

.rank-aside { display:flex; flex-direction:column; gap: var(--s2); }
.rank-row { display:grid; grid-template-columns: 40px 1fr auto; align-items:center; gap: var(--s3); padding: var(--s2) var(--s3); background: var(--cream-2); border:1.5px solid var(--line); border-radius: var(--r-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.rank-row:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.rank-row .num { font-family: var(--display); font-weight:800; font-size: 26px; color: var(--line-2); text-align:center; font-variant-numeric: tabular-nums; }
.rank-row:hover .num { color: var(--red); }
.rank-row .name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.rank-row .where { color: var(--muted); font-size: 13.5px; margin-top: 2px; display:flex; gap: var(--s1); align-items:center; flex-wrap:wrap; }
.rank-row .score-pill { display:inline-flex; flex-direction:column; align-items:center; min-width: 58px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--cream-3); }
.rank-row .score-pill .v { font-family: var(--display); font-weight:800; font-size: 20px; color: var(--red); }
.rank-row .score-pill .k { font-size: 9.5px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); margin-top:2px; }

/* MAPA */
.map-grid { display:grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px,4vw,56px); align-items:stretch; }
.map-panel h2 { font-size: clamp(28px,3.4vw,44px); margin-top: var(--s2); }
.map-panel p { color: var(--muted); margin-top: var(--s2); }
.map-filters { margin-top: var(--s4); display:flex; flex-wrap:wrap; gap: var(--s1); }
.filter { min-height: 44px; border:1.5px solid var(--line-2); background: var(--cream-2); border-radius: var(--r-pill); padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--ink); transition: all .2s; }
.filter.is-active, .filter:hover { background: var(--red); color:#fff; border-color: var(--red); }
.map-cta { margin-top: var(--s5); }
.map-visual { position:relative; border-radius: var(--r-lg); overflow:hidden; min-height: 460px; box-shadow: var(--sh-2); border:1.5px solid var(--line); }
.map-visual .ph { position:absolute; inset:0; }
.pin { position:absolute; width: 18px; height:18px; border-radius:50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(36,26,20,.35); }
.pin::after { content:''; position:absolute; inset:4px; background: var(--cream-2); border-radius:50%; }
.pin.amber { background: var(--amber); } .pin.green { background: var(--green); } .pin.big { width:26px; height:26px; z-index:2; }
.near-pill { position:absolute; left: var(--s3); top: var(--s3); z-index:3; background: var(--cream-2); border:1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; font-size: 13.5px; font-weight: 600; display:flex; align-items:center; gap: var(--s1); box-shadow: var(--sh-1); }
.near-pill .ring { width: 9px; height:9px; border-radius:50%; background: var(--green); box-shadow: 0 0 0 4px rgba(82,170,36,.22); }

/* RECENZJA */
.review { display:grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px,4vw,56px); align-items:center; }
.review .ph { aspect-ratio: 5/4; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.review h3 { font-size: clamp(26px,3vw,38px); margin: var(--s2) 0; }
.review .excerpt { color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.review .quote { font-family: var(--serif); font-style: italic; font-weight: 500; }
.review .byline { margin-top: var(--s3); display:flex; align-items:center; gap: var(--s2); }
.review .avatar { width: 44px; height:44px; border-radius:50%; background: var(--cream-3); border:1.5px solid var(--line); display:grid; place-items:center; font-family: var(--display); font-weight:700; color: var(--red); }
.review .who b { display:block; font-size: 14.5px; } .review .who span { font-size: 13px; color: var(--muted); }
.review .read { margin-top: var(--s4); }

/* BLOG */
.cards-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.card { background: var(--cream-2); border:1.5px solid var(--line); border-radius: var(--r-lg); overflow:hidden; display:flex; flex-direction:column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card .media { position: relative; }
.card .ph { aspect-ratio: 16/10; }
.card .cat { position:absolute; left: var(--s3); top: var(--s3); }
.card .body { padding: var(--s4); flex:1; display:flex; flex-direction:column; }
.card h3 { font-size: 22px; line-height: 1.16; transition: color .2s; }
.card:hover h3 { color: var(--red); }
.card .meta { margin-top: auto; padding-top: var(--s3); font-size: 13px; color: var(--muted); display:flex; gap: var(--s1); align-items:center; }
.card .meta .dot { width: 3px; height:3px; border-radius:50%; background: var(--line-2); }

/* CIEKAWOSTKI (zielona) */
.trivia { background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }
.trivia::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.10), transparent 60%); pointer-events:none; }
.trivia h2 { color: #fff; }

/* mini-mapa na stronie głównej */.home-map { width:100%; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow:hidden; border:1.5px solid var(--line-strong); box-shadow: var(--sh-2); background: var(--cream-3); z-index:1; }
.map-visual { position: relative; }
.home-map-cta { position:absolute; right: 14px; bottom: 14px; z-index: 500; background: var(--red); color:#fff; font-weight:600; font-size: 13px; padding: 9px 15px; border-radius: 100px; box-shadow: var(--sh-2); }
.home-map-cta:hover { background: var(--orange); }
.leaflet-container { font-family: var(--body); }
.hm-pin { width:32px; height:32px; border-radius:50%; background: var(--red); border:2px solid #fff; box-shadow: 0 3px 8px rgba(36,26,20,.4); display:grid; place-items:center; overflow:hidden; }
.hm-pin span { color:#fff; font-family: var(--display); font-weight:800; font-size: 11px; display:grid; place-items:center; width:100%; height:100%; }
.hm-pin span img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.hm-pp { display:flex; flex-direction:column; gap:2px; font-family: var(--body); min-width: 150px; }
.hm-pp b { font-family: var(--display); font-size: 15px; }
.hm-pp span { font-size: 12.5px; color: var(--muted); }
.hm-pp .hm-sc { color: var(--gold-deep); font-weight:700; }
.hm-pp a { color: var(--red); font-weight:600; font-size: 13px; margin-top:4px; }
.map-filters .filter { text-decoration:none; }
.arrow--light { color: var(--amber); }
.arrow--light:hover { color: #fff; }

/* przewijany pas ciekawostek */
.trivia-marquee { margin-top: var(--s6); position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tm-track { display:flex; gap: var(--s3); width: max-content; animation: tmScroll 80s linear infinite; }
.trivia-marquee:hover .tm-track { animation-play-state: paused; }
@keyframes tmScroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.tm-card { flex: 0 0 320px; background: rgba(247,238,223,.06); border:1.5px solid rgba(247,238,223,.16); border-radius: var(--r-md); padding: var(--s4); display:flex; flex-direction:column; transition: border-color .2s, background .2s; }
.tm-card:hover { border-color: rgba(245,172,63,.5); background: rgba(247,238,223,.1); }
.tm-ic { color: var(--amber); display:flex; }
.tm-t { font-family: var(--display); font-weight:700; font-size: 18px; color: var(--on-dark); margin-top: var(--s2); line-height:1.2; }
.tm-d { font-size: 13.5px; color: var(--on-dark-mut); margin-top: var(--s1); line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media (prefers-reduced-motion: reduce){ .tm-track { animation:none; } }

/* — „Czy wiesz, że…” : featured + siatka + kategorie — */
.trivia .triv-intro { color: var(--on-dark-mut); font-family: var(--serif); font-size: 17px; line-height: 1.6; max-width: 46ch; margin-top: var(--s2); }
.triv2-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(18px,2.4vw,34px); margin-top: clamp(28px,3.4vw,52px); align-items: stretch; }
.triv-feat { position: relative; overflow: hidden; background: rgba(247,238,223,.07); border: 1.5px solid rgba(247,238,223,.18); border-radius: var(--r-lg); padding: clamp(26px,3vw,42px); display: flex; flex-direction: column; min-height: 340px; }
.triv-feat::before { content:''; position:absolute; left:0; top:0; bottom:0; width: 4px; background: linear-gradient(180deg, var(--amber), var(--red)); }
.triv-feat::after { content:''; position:absolute; right:-30%; top:-40%; width: 70%; height: 90%; background: radial-gradient(circle, rgba(245,172,63,.16), transparent 65%); pointer-events:none; }
.triv-feat-ic { color: var(--amber); display: inline-flex; }
.triv-feat-ic svg { width: 40px; height: 40px; }
.triv-feat-cat { display: inline-block; align-self: flex-start; margin-top: var(--s3); font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--amber); }
.triv-feat-t { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(23px,2.5vw,33px); line-height: 1.12; letter-spacing: -.01em; margin-top: 10px; }
.triv-feat-d { font-family: var(--serif); color: var(--on-dark-mut); font-size: 16.5px; line-height: 1.62; margin-top: var(--s3); flex: 1; }
.triv-feat.swap .triv-feat-ic, .triv-feat.swap .triv-feat-cat, .triv-feat.swap .triv-feat-t, .triv-feat.swap .triv-feat-d { opacity: 0; transform: translateY(8px); }
.triv-feat-ic, .triv-feat-cat, .triv-feat-t, .triv-feat-d { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.triv-feat-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); }
.triv-dots { display: flex; gap: 7px; }
.triv-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,238,223,.28); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.triv-dots i.on { background: var(--amber); width: 22px; border-radius: 5px; }
.triv-next { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1.5px solid rgba(247,238,223,.32); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 10px 16px; border-radius: var(--r-pill); transition: background .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease); }
.triv-next:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); gap: 11px; }
.triv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(13px,1.5vw,18px); }
.tc { background: rgba(247,238,223,.06); border: 1.5px solid rgba(247,238,223,.14); border-radius: var(--r-md); padding: clamp(17px,1.9vw,23px); display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.tc:hover { transform: translateY(-3px); border-color: rgba(245,172,63,.5); background: rgba(247,238,223,.1); }
.tc .ic { color: var(--amber); display: inline-flex; }
.tc .ic svg { width: 24px; height: 24px; }
.tc h4 { font-family: var(--display); font-weight: 700; color: #fff; font-size: 16.5px; line-height: 1.22; margin-top: 12px; letter-spacing: -.005em; }
.tc p { font-family: var(--serif); color: var(--on-dark-mut); font-size: 13.5px; line-height: 1.5; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.triv-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(24px,2.8vw,40px); }
.triv-cats a { display: inline-flex; align-items: center; gap: 8px; background: rgba(247,238,223,.07); border: 1px solid rgba(247,238,223,.2); color: var(--on-dark); padding: 9px 15px; border-radius: var(--r-pill); font-family: var(--sans); font-weight: 600; font-size: 13px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.triv-cats a svg { width: 16px; height: 16px; color: var(--amber); transition: color .2s var(--ease); }
.triv-cats a .c { font-weight: 700; color: var(--amber); transition: color .2s var(--ease); }
.triv-cats a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.triv-cats a:hover svg, .triv-cats a:hover .c { color: var(--ink); }
@media (max-width: 860px){ .triv2-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px){ .triv-cards { grid-template-columns: 1fr; } }

/* mini-kalkulator */
.mc-controls { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s2); padding: var(--s2) 0 var(--s3); border-bottom:1px solid rgba(247,238,223,.14); margin-bottom: var(--s1); }
.mc-field { display:flex; flex-direction:column; gap:5px; font-size: 11px; letter-spacing:.08em; text-transform:uppercase; color: var(--on-dark-mut); font-weight:600; }
.mc-field.mc-range { grid-column: 1 / -1; }
.mc-field b { color: var(--amber); font-family: var(--display); font-size: 13px; }
.mc-field input[type=number] { background: rgba(247,238,223,.08); border:1.5px solid rgba(247,238,223,.2); border-radius: var(--r-sm); padding: 9px 11px; color: var(--on-dark); font-family: var(--body); font-size: 15px; }
.mc-field input[type=number]:focus { outline:none; border-color: var(--amber); }
.mc-field input[type=range] { accent-color: var(--amber); }
.mc-more { display:inline-block; margin-top: var(--s3); font-size: 13px; font-weight:600; color: var(--amber); }
.mc-more:hover { color:#fff; }
.trivia-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,48px); margin-top: var(--s6); }
.fact { border-top: 2px solid rgba(247,238,223,.18); padding-top: var(--s3); }
.fact .n { font-family: var(--display); font-weight:800; font-size: 30px; color: var(--amber); line-height:1; }
.fact p { margin-top: var(--s2); color: var(--on-dark-mut); font-size: 17px; line-height: 1.55; }
.fact p b { color: var(--on-dark); font-weight: 600; }

/* PRZEPISY — duże kafle ze zdjęciem */
.recipes-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.recipe { position:relative; display:block; aspect-ratio: 4/5; overflow:hidden; background: var(--dark-2); border:none; padding:0; transition:none; }
.recipe:hover { transform:none; box-shadow:none; }
.recipe .ph { position:absolute; inset:0; width:100%; height:100%; border:none; }
.recipe > div:last-child { position:absolute; left:0; right:0; bottom:0; z-index:2; padding: clamp(18px,2vw,26px); background: linear-gradient(180deg, rgba(15,12,9,0) 0%, rgba(15,12,9,.85) 78%); }
.recipe h3 { color:#fff; font-family: var(--display); font-size: clamp(20px,1.6vw,25px); line-height:1.08; }
.recipe .steps { font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 8px; display:flex; gap: var(--s1); align-items:center; font-family: var(--sans); }
.recipe .steps .g { color: var(--amber); }
@media (max-width: 760px){ .recipes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .recipes-grid { grid-template-columns: 1fr; } .recipe { aspect-ratio: 16/10; } }

/* KALKULATOR (zielona) */
.calc { background: var(--green); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(28px,4vw,56px); display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,56px); align-items:center; position: relative; overflow: hidden; }
.calc::before { content:''; position:absolute; inset:0; background: radial-gradient(70% 90% at 0% 100%, rgba(255,255,255,.12), transparent 55%); pointer-events:none; }
.calc .inner { position: relative; z-index: 1; }
.calc h2 { color: var(--on-dark); font-size: clamp(28px,3.2vw,44px); margin-top: var(--s2); }
.calc p { color: var(--on-dark-mut); margin-top: var(--s2); }
.calc .cta { margin-top: var(--s4); }
.calc-card { position: relative; z-index:1; background: rgba(247,238,223,.05); border:1.5px solid rgba(247,238,223,.16); border-radius: var(--r-md); padding: var(--s4); }
.calc-card .h { display:flex; align-items:center; justify-content:space-between; padding-bottom: var(--s2); margin-bottom: var(--s1); border-bottom:1px solid rgba(247,238,223,.14); }
.calc-card .h .ic { width: 40px; height:40px; border-radius:50%; background: rgba(245,172,63,.16); display:grid; place-items:center; color: var(--amber); }
.calc-card .h .lab { font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--on-dark-mut); font-weight:600; }
.calc-card .row { display:flex; justify-content:space-between; align-items:center; padding: 12px 0; border-bottom:1px solid rgba(247,238,223,.10); font-size: 15px; }
.calc-card .row:last-of-type { border-bottom:none; }
.calc-card .row span { color: var(--on-dark-mut); }
.calc-card .row b { font-family: var(--display); color: var(--amber); font-size: 19px; font-variant-numeric: tabular-nums; }
.calc-card .note { margin-top: var(--s2); font-family: ui-monospace,Menlo,monospace; font-size: 11px; color: var(--on-dark-mut); letter-spacing:.03em; }

/* NEWSLETTER — band deep green (styl sklepowy) */
.news { text-align:center; background: var(--forest); color: var(--on-dark); }
.news h2 { font-size: clamp(28px,3.4vw,46px); margin-top: var(--s3); color:#fff; }
.news p { color: var(--on-dark-mut); margin: var(--s2) auto 0; max-width: 36ch; }
.news .rule-star span { color: var(--orange); }
.news form { margin: var(--s5) auto 0; display:flex; gap: var(--s1); max-width: 520px; background:#fff; border:1.5px solid transparent; padding: 7px; }
.news form:focus-within { box-shadow: 0 0 0 4px rgba(210,98,44,.3); }
.news input { flex:1; border:none; background:none; font-family: var(--body); font-size: 16px; padding: 12px 16px; min-width:0; color: var(--ink); }
.news input:focus { outline:none; }
.news .fine { margin-top: var(--s2); font-size: 13px; color: var(--on-dark-mut); }

/* STOPKA — premium, zwarta (butelkowa zieleń) */
.footer { background: var(--forest); color: var(--on-dark); padding-block: clamp(54px,6.5vw,84px) 0; position: relative; }
.footer::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--red), var(--amber)); }
.footer .container { max-width: var(--content); }
.foot-grid { display:grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: clamp(28px,3.5vw,60px); padding-bottom: clamp(38px,4.5vw,60px); }
.footer .logo-f { font-family: var(--display); font-weight:800; font-size: 30px; } .footer .logo-f b { color: var(--orange); }
.footer h4 { color:#fff; text-transform:uppercase; letter-spacing:.12em; font-family: var(--sans); font-size:12px; font-weight:700; margin-bottom: var(--s2); }
.footer .ftag { color: var(--on-dark-mut); margin-top: var(--s2); font-style: italic; max-width: 26em; }
.foot-lang { margin-top: var(--s3); }
.foot-lang .l { font-size: 11px; letter-spacing:.16em; text-transform:uppercase; color: var(--on-dark-mut); margin-bottom: var(--s1); }
.footer h4 { font-family: var(--body); font-size: 12.5px; letter-spacing:.16em; text-transform:uppercase; color: var(--amber); font-weight:600; margin-bottom: var(--s2); }
.footer ul { list-style:none; margin:0; padding:0; display:grid; gap: 11px; }
.footer ul a { color: var(--on-dark-mut); font-size: 15px; transition: color .2s; } .footer ul a:hover { color: var(--on-dark); }
.foot-bottom { margin: 0; width: auto; background: transparent; color: var(--on-dark-mut); padding: var(--s3) 0 var(--s4); border-top: 1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; align-items:center; gap: var(--s3); font-size: 13px; flex-wrap: wrap; text-align:left; }
.foot-bottom > span:not(.foot-credit) { color: var(--on-dark-mut); }
.foot-bottom .lang button { color: var(--on-dark-mut); } .foot-bottom .lang button[aria-current="true"]{ color:#fff;} .foot-bottom .lang button:hover{ color: var(--amber);} .foot-bottom .sep{ color: rgba(255,255,255,.2);}
.foot-credit { align-self: auto; margin: 0; width: auto; background: transparent; color: var(--on-dark-mut); padding: 0; display:inline-flex; align-items:center; justify-content:flex-end; gap:8px; }
.foot-credit a { display:inline-flex; align-items:center; gap:7px; color: var(--on-dark-mut); font-weight:600; transition: color .2s; }
.foot-credit a:hover { color: #fff; }
.foot-credit .ldm { height:15px; width:auto; filter: brightness(0) invert(.72); transition: filter .2s; }
.foot-credit a:hover .ldm { filter: brightness(0) invert(1); }

/* ========================================================================== */
/*  RESPONSYWNOŚĆ — breakpointy 1439 / 991 / 599                               */
/* ========================================================================== */
@media (max-width: 1439px){
  :root { --container: 1180px; }
}
@media (max-width: 991px){
  .hero .grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-media .ph { aspect-ratio: 16/11; }
  .rank-top { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; } .map-visual { min-height: 340px; }
  .review { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .recipes-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .trivia-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .mainnav .container { justify-content: flex-end; }
  .mainnav .links { display:none; }
  .mainnav .search-ic { display:none; }
  .nav-toggle { display:inline-grid; place-items:center; width:44px; height:44px; border:1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--cream-2); color: var(--ink); }
  .sticky nav { display:none; }
}
@media (max-width: 599px){
  body { font-size: 17px; }
  :root { --gutter: 16px; }
  .topbar .promo .hide-sm { display:none; }
  .masthead { padding-top: var(--s4); }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero .stats { gap: var(--s3); flex-wrap: wrap; }
  .searchbar { flex-wrap: wrap; border-radius: var(--r-md); padding: var(--s2); }
  .searchbar .btn { width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .cards-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .score-badge { left: var(--s2); bottom: var(--s2); padding: 10px 14px; }
  .score-badge .val { font-size: 28px; }
  .news form { flex-wrap: wrap; border-radius: var(--r-md); padding: var(--s2); }
  .news .btn { width: 100%; }
  .rank-feature { min-height: 300px; }
}

/* ——— tablet (600–991) ——— */
@media (min-width: 600px) and (max-width: 991px){
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .portal-grid { grid-template-columns: repeat(2,1fr); }
  .ticker .item { font-size: 15px; }
}
/* ——— mobile ——— */
@media (max-width: 599px){
  .ticker .track { padding-block: 10px; gap: 32px; }
  .ticker .item { font-size: 14px; gap: 32px; }
}

/* druk */
@media print {
  .topbar, .sticky, .ticker, .subhead, .m-nav, .mainnav .search-ic, .searchbar .btn { display: none !important; }
  body { background:#fff; } .reveal { opacity:1 !important; transform:none !important; }
}

/* ==========================================================================
   HERO SLIDER (pełna szerokość)
   ========================================================================== */
.hero-slider { position: relative; width: 100%; height: clamp(460px, 66vh, 700px); overflow: hidden; background: #fff; }
.hs-track { position: absolute; inset: 0; display: flex; align-items: center; will-change: transform; transition: transform .7s var(--ease); }
.hs-slide { position: relative; flex: 0 0 auto; width: min(74vw, 1080px); height: 100%; margin-inline: 10px; overflow: hidden; opacity: .35; transform: scale(.93); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; cursor: pointer; }
.hs-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hs-slide:not(.is-active) { pointer-events: auto; }
.hs-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-slide.is-active .hs-ph { animation: hsZoom 7s ease-out both; }
@keyframes hsZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .hs-slide.is-active .hs-ph { animation: none; } }
.hs-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,9,.15) 0%, rgba(15,12,9,.35) 50%, rgba(15,12,9,.85) 100%); }
.hs-body { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(28px,4vw,56px); }
.hs-body .container { width: 100%; padding: 0; max-width: 100%; }
.hs-kicker { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--s2); opacity: 1; }
.hs-title { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -.02em; max-width: 18ch; margin: 0; opacity: 1; }
.hs-sub { font-family: var(--serif); color: rgba(255,255,255,.88); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.5; max-width: 46ch; margin: var(--s2) 0 var(--s3); opacity: 1; }
.hs-cta { display: flex; gap: var(--s2); flex-wrap: wrap; opacity: 1; }
.hs-slide.is-active .hs-kicker { animation: hsUp .6s var(--ease) .05s both; }
.hs-slide.is-active .hs-title { animation: hsUp .6s var(--ease) .14s both; }
.hs-slide.is-active .hs-sub { animation: hsUp .6s var(--ease) .24s both; }
.hs-slide.is-active .hs-cta { animation: hsUp .6s var(--ease) .34s both; }
@keyframes hsUp { from { transform: translateY(18px); } to { transform: none; } }
@media (max-width: 700px){ .hs-slide { width: 86vw; height: 100%; } }
@media (prefers-reduced-motion: reduce){ .hs-slide.is-active :is(.hs-kicker,.hs-title,.hs-sub,.hs-cta){ animation:none; opacity:1; transform:none; } }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); border-color: #fff; }
/* Mercedes-style bottom nav z paskiem postępu */
.hs-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; gap: 0; padding-inline: max(calc(50% - var(--container)/2), clamp(16px,4vw,48px)); background: linear-gradient(180deg, rgba(15,12,9,0), rgba(15,12,9,.45)); }
.hs-tab { flex: 1 1 0; max-width: 280px; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 22px 20px 0; display: flex; flex-direction: column; gap: 4px; color: rgba(255,255,255,.55); transition: color .25s; position: relative; }
.hs-tab .num { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hs-tab .lbl { font-family: var(--sans); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hs-tab .prog { position: absolute; left: 0; right: 22px; bottom: 12px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.hs-tab .prog i { display: block; height: 100%; width: 0; background: var(--orange); }
.hs-tab.on { color: #fff; }
.hs-tab:hover { color: #fff; }
@media (max-width: 700px){ .hs-tab .lbl { font-size: 12px; } .hs-tab { padding: 14px 12px 16px 0; } }
.hs-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.hs-arrow:hover { background: rgba(255,255,255,.25); }
.hs-arrow.prev { left: clamp(12px, 2vw, 28px); } .hs-arrow.next { right: clamp(12px, 2vw, 28px); }
@media (max-width: 860px){ .hs-arrow { display: none; } .hs-overlay { background: linear-gradient(180deg, rgba(15,12,9,.35) 0%, rgba(15,12,9,.78) 100%); } }

/* ==========================================================================
   ODKRYWAJ PORTAL — mozaika w stylu Roland Garros (3 kafle + 1 pełna szerokość)
   ========================================================================== */
.portal-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
.portal-card { position: relative; display: block !important; aspect-ratio: 5/4; overflow: hidden; background: var(--dark-2); border: none !important; padding: 0 !important; transition: none; }
.portal-card.wide { grid-column: 1 / -1; aspect-ratio: auto; height: clamp(260px, 26vw, 380px); }
.portal-card:hover { transform: none !important; box-shadow: none; }
.portal-card .pc-ph { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease); }
.portal-card:hover .pc-ph { transform: scale(1.06); }
.portal-card .pc-ph::after { content: attr(data-ph); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.portal-card .pc-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,9,0) 50%, rgba(15,12,9,.4) 100%); transition: background .35s var(--ease); }
.portal-card:hover .pc-grad { background: linear-gradient(180deg, rgba(15,12,9,.08) 30%, rgba(15,12,9,.55) 100%); }
.portal-card .pc-num { display: none; }
.portal-card .pc-body { position: absolute; right: 0; bottom: 0; left: auto; padding: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.portal-card h3 { color: #fff !important; font-family: var(--sans); font-weight: 800 !important; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(14px,1.15vw,18px) !important; line-height: 1; background: rgba(33,29,25,.8); padding: 11px 16px; transition: background .3s var(--ease); }
.portal-card.wide h3 { font-size: clamp(17px,1.6vw,24px) !important; padding: 13px 22px; }
.portal-card:hover h3 { background: var(--red); }
.portal-card .pc-sub { color: #fff; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; line-height: 1; background: rgba(33,29,25,.55); padding: 0 16px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s var(--ease), padding .35s var(--ease); }
.portal-card:hover .pc-sub { max-height: 40px; opacity: 1; padding: 9px 16px; }
.portal-card .pc-go { display: none; }
@media (max-width: 760px){ .portal-grid { grid-template-columns: repeat(2,1fr) !important; } .portal-card { aspect-ratio: 4/3; } .portal-card.wide { grid-column: 1 / -1; height: clamp(200px,42vw,300px); } }
@media (max-width: 460px){ .portal-grid { grid-template-columns: 1fr !important; } .portal-card, .portal-card.wide { aspect-ratio: 16/10; height: auto; } }

/* ==========================================================================
   REDAKCJA POLECA — sekcja redakcyjna w stylu magazynowym
   ========================================================================== */
.editorial { background: #fff; }
.ed-head { display: flex; justify-content: flex-end; margin-bottom: clamp(28px,3.5vw,52px); }
.ed-title { text-align: right; line-height: 1; }
.ed-title .small { display: block; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .3em; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ed-title .big { display: inline-block; font-family: var(--display); font-weight: 700; text-transform: none; letter-spacing: -.018em; font-size: clamp(32px,4.6vw,60px); color: var(--ink); position: relative; padding-left: .35em; line-height: 1.02; }
.ed-title .big::before { content: ''; position: absolute; left: -.05em; top: -8%; bottom: -8%; width: 3px; background: var(--red); transform: skewX(-16deg); }
.ed-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(22px,3vw,56px); align-items: stretch; }
.ed-col { display: grid; grid-auto-rows: 1fr; gap: clamp(22px,3vw,46px); }
.ed-card { display: flex; flex-direction: column; }
.ed-ph { position: relative; width: 100%; overflow: hidden; background: var(--dark-2); }
.ed-card.land .ed-ph { aspect-ratio: 16/10; }
.ed-card.tall { height: 100%; }
.ed-card.tall .ed-ph { flex: 1; min-height: clamp(360px, 46vw, 640px); }
.ed-ph .img { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.ed-card:hover .ed-ph .img { transform: scale(1.05); }
.ed-eyebrow { color: var(--red); font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; margin: 20px 0 9px; }
.ed-card h3 { font-family: var(--display); font-weight: 700; text-transform: none; letter-spacing: -.014em; font-size: clamp(22px,2.1vw,30px); color: var(--ink); line-height: 1.08; }
.ed-go { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--serif); font-size: 15px; margin-top: 10px; transition: gap .25s var(--ease), color .25s var(--ease); }
.ed-go::after { content: '→'; transition: transform .25s var(--ease); }
.ed-card:hover .ed-go { color: var(--red); gap: 12px; }
@media (max-width: 820px){ .ed-grid { grid-template-columns: 1fr; } .ed-card.tall .ed-ph { min-height: clamp(280px,60vw,420px); } .ed-head { justify-content: flex-start; } .ed-title { text-align: left; } }

/* ==========================================================================
   RG-CAROUSEL — poziomy pas kart (blog, przepisy) w stylu Roland Garros
   ========================================================================== */
.rg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: clamp(22px,2.6vw,40px); }
.rg-head .rg-eyebrow { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.rg-head h2 { font-size: clamp(28px,3.4vw,46px); letter-spacing: -.01em; }
.rg-head .rg-sub { color: var(--muted); margin-top: 10px; font-size: 16px; }
.rg-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--red); color: #fff; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; padding: 13px 24px; border-radius: 100px; white-space: nowrap; transition: background .25s var(--ease), transform .25s var(--ease); }
.rg-pill:hover { background: var(--orange); transform: translateY(-2px); }
.rg-rail-wrap { position: relative; }
.rg-rail { --per: 4; --gap: clamp(14px,1.6vw,26px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.rg-rail::-webkit-scrollbar { display: none; }
.rg-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.rgc-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--dark-2); }
.rgc-media .img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease); }
.rg-card:hover .rgc-media .img { transform: scale(1.05); }
.rgc-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--red); color: #fff; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; padding: 5px 11px; border-radius: 100px; }
.rgc-cat { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--muted); margin-top: 16px; }
.rgc-title { font-family: var(--serif); font-size: 16.5px; line-height: 1.32; color: var(--ink); margin-top: 7px; transition: color .2s var(--ease); }
.rg-card:hover .rgc-title { color: var(--red); }
.rgc-meta { font-family: var(--sans); font-size: 12.5px; color: var(--red); font-weight: 600; margin-top: 9px; letter-spacing: .02em; }
.rg-arrow { position: absolute; top: 36%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; place-items: center; z-index: 6; color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease), opacity .2s; }
.rg-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.rg-arrow.prev { left: -13px; } .rg-arrow.next { right: -13px; }
.rg-arrow[disabled] { opacity: 0; pointer-events: none; }
.rg-carousel.on-dark .rg-head .rg-eyebrow { color: var(--on-dark-mut); }
.rg-carousel.on-dark .rg-head h2 { color: #fff; }
.rg-carousel.on-dark .rgc-cat { color: var(--on-dark-mut); }
.rg-carousel.on-dark .rgc-title { color: var(--on-dark); }
@media (max-width: 980px){ .rg-rail { --per: 2.4; } }
@media (max-width: 600px){ .rg-rail { --per: 1.25; } .rg-arrow { display: none; } .rg-head { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   MAPA NA STRONIE GŁÓWNEJ — pełna szerokość
   ========================================================================== */
.home-map-section { position: relative; }
.home-map-head { text-align: center; max-width: 720px; margin: 0 auto var(--s5); padding-inline: var(--gutter); }
.home-map-head h2 { font-size: clamp(30px,3.6vw,48px); margin-top: var(--s2); }
.home-map-head p { color: var(--muted); margin-top: var(--s2); font-size: 17px; }
.home-map-full { position: relative; width: 100%; height: clamp(420px, 56vh, 640px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.home-map-full #homeMap { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-map-filters { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 500; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 12px; }
.home-map-filters a { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 13px; padding: 10px 16px; box-shadow: var(--sh-1); transition: background .2s, color .2s; }
.home-map-filters a:hover, .home-map-filters a.primary { background: var(--red); color: #fff; border-color: var(--red); }

/* okrągłe znaczniki na mapie (wyjątek od globalnego border-radius:0) */
.hm-pin, .pmk .pin, .home-map .pin, .map-visual .pin { border-radius: 50% !important; }
.hm-pin .logo, .hm-pin span img, .pmk .logo, .pmk .rankbadge, .pp .ppflag { border-radius: 50% !important; }

/* okrągłe zdjęcie #1 w rankingu na stronie głównej (wyjątek) */
.rf-circle, .rf-circle .ph, .rank-feature .medal, .rank-feature .scorebig { border-radius: 50% !important; }

/* pasek postępu czytania */
.scroll-prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9998; pointer-events: none; background: transparent; }
.scroll-prog i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--red), var(--amber)); will-change: transform; }
/* magnetyczne przyciski */
.magnetic { transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }

/* ==========================================================================
   COOKIES — premium baner zgody
   ========================================================================== */
.cookie-bar { position: fixed; left: 50%; bottom: clamp(14px,2.5vw,28px); transform: translate(-50%, 24px); width: min(720px, calc(100vw - 32px)); z-index: 9999; background: var(--forest); color: var(--on-dark); box-shadow: 0 18px 50px rgba(10,30,22,.35); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); border-top: 3px solid var(--red); }
.cookie-bar.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookie-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px,2vw,22px); padding: clamp(16px,2vw,22px) clamp(18px,2.4vw,26px); }
.cookie-ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--amber); flex: none; }
.cookie-txt { display: flex; flex-direction: column; gap: 3px; }
.cookie-txt strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; }
.cookie-txt span { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--on-dark-mut); }
.cookie-txt a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cookie-act { display: flex; align-items: center; gap: 10px; flex: none; }
.cookie-btn { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 11px 18px; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.cookie-btn.solid { background: var(--red); color: #fff; }
.cookie-btn.solid:hover { background: var(--orange); }
.cookie-btn.ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.cookie-btn.ghost:hover { border-color: #fff; }
@media (max-width: 680px){
  .cookie-inner { grid-template-columns: 1fr; text-align: left; }
  .cookie-ic { display: none; }
  .cookie-act { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-btn { width: 100%; text-align: center; }
}
