/* Varna, 20.09.2026: dokumenty +50%, napisy małych kafli +100%.
 * Ikony po wcześniejszym powiększeniu zostały zmniejszone o 30%. */
@media screen {
  .btn-primary { font-size:21px; }
  .site-footer>.wrap { font-size:18px; }
  .copy-tile>.pill { font-size:18px; }
  .copy-tile .lead { font-size:25.5px; max-width:600px; line-height:1.65; }
  .hero-cta { font-size:16.5px; }

  /* Dokumenty: pełny tekst, tytuły, opisy, daty i tabele. */
  .doc-hero h1 { font-size:clamp(48px,6.3vw,78px); overflow-wrap:anywhere; hyphens:manual; }
  .doc-hero .sub { font-size:22.5px; }
  .doc-hero .pill { font-size:18px; }
  .doc-hero .inner { width:85%; }
  .sheet { font-size:22.5px; line-height:1.7; }
  .sheet h2 { font-size:39px; line-height:1.35; }
  .sheet h3 { font-size:30px; line-height:1.4; }
  .sheet table { font-size:21px; }
  .sheet th { font-size:18px; }
  .sheet td,.sheet th { padding:21px 19px; }
  .sheet>p { max-width:1050px; }
  .sheet li { margin-bottom:16px; }
  .legal .sheet { max-width:1120px; }
  .table-scroll { overflow-x:auto; margin:24px 0; outline-offset:4px; }
  .table-scroll table { margin:0; }
  .pricing .doc-hero h1 { font-size:85.5px; }
  .pricing .sheet>p:first-child { font-size:22.5px; }
  .sheet .congress-copy h2 { font-size:30px; }
  .congress-price { font-size:108px; }
  .congress-terms { font-size:19.5px; line-height:1.7; }
  .congress-copy { min-width:0; }
  .subscription-table td:first-child { font-size:22.5px; }
  .subscription-table td:nth-child(2) { font-size:85.5px; }
  .subscription-table td:nth-child(3) { font-size:22.5px; line-height:1.7; }
  .subscription-table tr { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); column-gap:36px; }
  .packages-table td:nth-child(2) { font-size:27px; white-space:normal; }

  /* Kafle nawigacji i zasad: podwójny tekst wymaga szerszych pól. */
  .tiles-s { gap:14px; }
  .tile-s { font-size:22px; min-height:205px; padding:22px; line-height:1.35; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:20px; }
  /* Ikony mają 70% poprzedniego wymiaru SVG i własne miejsce w układzie. */
  .tile-s .ico { display:flex; width:66.15px; height:66.15px; }
  .tile-s .ico svg { width:66.15px; height:66.15px; }
  .landing>.tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
  .landing>.tiles .nav-tile { min-height:265px; padding:32px; }
  .landing>.tiles .nav-tile .ico { width:71.05px; height:71.05px; flex:none; }
  .landing>.tiles .nav-tile .ico svg { width:71.05px; height:71.05px; }
  .landing>.tiles .nav-tile .t { font-size:40px; line-height:1.2; }
  .landing>.tiles .nav-tile .d { font-size:22px; max-width:540px; line-height:1.55; }
  .nav-tile .body { min-width:0; }
  .hero-actions .nav-tile { min-height:250px; padding:24px; gap:22px; flex-direction:column; align-items:flex-start; }
  .hero-actions .nav-tile .t { font-size:48px; line-height:1.15; }
  .hero-actions .nav-tile .d { font-size:20px; max-width:none; line-height:1.45; }
  .hero-actions .nav-tile .ico { display:flex; width:68.6px; height:68.6px; }
  .hero-actions .nav-tile .ico svg { width:68.6px; height:68.6px; }
  .zasady .d { font-size:26px; line-height:1.65; }
  .zasady .tile { padding:30px; flex-direction:column; gap:22px; }
  .zasady .ico { display:flex; width:58.8px; height:58.8px; }
  .zasady .ico svg { width:58.8px; height:58.8px; }
}
@media screen and (min-width:1800px) {
  .copy-tile .lead { font-size:27px; }
}
@media screen and (max-width:1200px) {
  .copy-tile>.pill { font-size:16.5px; }
  .copy-tile .lead { font-size:22.5px; }
  .hero-actions .nav-tile .t { font-size:42px; }
  .hero-actions .nav-tile .d { font-size:18px; }
  .hero-actions .nav-tile { flex-direction:column; align-items:flex-start; gap:18px; }
  .congress-price { font-size:93px; }
  .subscription-table tr { grid-template-columns:1fr; gap:18px; }
  .subscription-table td:nth-child(3) { grid-column:1; grid-row:3; }
}
@media screen and (max-width:1050px) {
  .tile-s { font-size:20px; }
  .tiles-s { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media screen and (max-width:760px) {
  /* Telefon wraca do typografii sprzed powiększenia. Komputer zachowuje duży tekst. */
  .btn-primary { font-size:12px; padding:11px 15px; gap:12px; }
  .site-footer>.wrap { font-size:11px; }
  .copy-tile>.pill { font-size:10px; }
  .copy-tile .lead { font-size:14px; }
  .hero-cta { font-size:10px; }
  .doc-hero h1 { font-size:36px; hyphens:auto; }
  .doc-hero .inner { width:100%; }
  .doc-hero .sub { font-size:13px; max-width:100%; }
  .doc-hero .pill { font-size:10px; }
  .sheet { font-size:14px; line-height:1.7; padding:25px 20px; }
  .sheet h2 { font-size:24px; margin:28px 0 16px; }
  .legal .sheet h2 { font-size:22px; }
  .legal .table-scroll table { min-width:520px; }
  .sheet h3 { font-size:19px; margin:22px 0 12px; }
  .sheet table { font-size:14px; }
  .sheet th { font-size:12px; }
  .sheet li { margin-bottom:10px; }
  .sheet .packages-table { font-size:11px; }
  .sheet td,.sheet th { padding:13px 8px; }
  .packages-table td:nth-child(2) { font-size:14px; }
  .pricing .doc-hero h1 { font-size:42px; }
  .pricing .sheet>p:first-child { font-size:13px; }
  .sheet .congress-copy h2 { font-size:17px; }
  .congress-copy { padding:22px 20px; }
  .congress-price { font-size:57px; line-height:1.1; }
  .congress-terms { font-size:12px; }
  .subscription-table td:first-child { font-size:15px; }
  .subscription-table td:nth-child(2) { font-size:48px; line-height:1.1; }
  .subscription-table td:nth-child(3) { font-size:13px; }
  .subscription-table tr { padding:24px 20px; gap:12px; }
  .tile-s { font-size:10px; min-height:150px; padding:14px; flex-basis:150px; gap:12px; }
  .tiles-s { display:flex; gap:10px; }
  .hero-actions { grid-template-columns:1.1fr 1fr; gap:10px; }
  .hero-actions .nav-tile { flex-direction:column; align-items:flex-start; gap:12px; min-height:175px; padding:18px 15px; }
  .hero-actions .nav-tile .ico { width:53.9px; height:53.9px; }
  .hero-actions .nav-tile .ico svg { width:53.9px; height:53.9px; }
  .hero-actions .nav-tile .t { font-size:21px; }
  .hero-actions .app-link .t { font-size:19px; white-space:normal; }
  .hero-actions .nav-tile .d { font-size:8px; }
  .landing>.tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .landing>.tiles .nav-tile { min-height:230px; padding:18px 14px; }
  .landing>.tiles .nav-tile .ico { margin-bottom:16px; }
  .landing>.tiles .nav-tile .t { font-size:18px; }
  .landing>.tiles .nav-tile .d { font-size:10px; }
  .zasady .tile { padding:22px 20px; flex-direction:column; gap:14px; }
  .zasady .d { font-size:13px; }
}
@media screen and (max-width:360px) {
  .hero-actions .nav-tile .t { font-size:20px; }
  .landing>.tiles .nav-tile .t { font-size:16px; }
  .congress-price { font-size:49px; }
  .doc-hero { padding:26px 20px; }
  .sheet { padding:25px 17px; }
}

/* Jedna geometria górnej belki na wszystkich podstronach. */
@media screen {
  html { scrollbar-gutter:stable; }
  main.doc,main.hero.start { width:100%; max-width:1440px; margin:0 auto; padding:34px 40px 70px; }
  .doc .doc-hero,.start .doc-hero { width:100%; height:340px; min-height:340px; margin:0 0 26px; padding:32px 42px; border:0; }
  .doc .doc-hero h1,.start .doc-hero h1 { max-width:980px; font-size:clamp(38px,4.1vw,58px); line-height:1.12; margin:0 0 18px; }
  .doc .doc-hero .sub { margin:0 0 18px; line-height:1.5; }
  .doc .doc-hero .meta { line-height:1.5; }
  .doc .doc-hero .inner,.start .doc-hero .inner { width:calc(100% - 240px); }
  .doc .doc-art,.start .doc-art { inset:0 12px 0 auto; width:280px; display:flex; align-items:center; mask-image:none; opacity:.8; }
  .doc .doc-art img,.start .doc-art img { height:auto; width:100%; object-fit:contain; object-position:center; will-change:auto; }
  .start .doc-hero .brand-hero { margin-bottom:12px; }
  .start .doc-hero .mark-hero { width:44px; height:44px; }
  .start .doc-hero h1 { margin-bottom:12px; }
  .start .doc-hero .lead { font-size:18px; line-height:1.5; margin:0 0 16px; }
}
@media screen and (min-width:761px) and (max-width:1050px) {
  main.doc,main.hero.start { padding-inline:24px; }
  .doc .doc-hero,.start .doc-hero { padding:28px 32px; }
  .doc .doc-hero .inner,.start .doc-hero .inner { width:calc(100% - 160px); }
  .doc .doc-art,.start .doc-art { width:210px; right:0; opacity:.55; }
  .doc .doc-hero h1,.start .doc-hero h1 { font-size:40px; }
  .doc .doc-hero .sub { font-size:20px; }
}
@media screen and (max-width:760px) {
  main.doc,main.hero.start { padding:23px 17px 45px; }
  .doc .doc-hero,.start .doc-hero { height:290px; min-height:290px; padding:26px 24px; }
  .doc .doc-hero .inner,.start .doc-hero .inner { width:100%; }
  .doc .doc-hero h1,.start .doc-hero h1 { font-size:30px; line-height:1.12; letter-spacing:-.035em; margin-bottom:16px; }
  .doc .doc-hero .sub { font-size:13px; margin-bottom:14px; }
  .doc .doc-art,.start .doc-art { width:150px; right:8px; opacity:.28; }
  .start .doc-hero .lead { font-size:13px; }
}
@media screen and (max-width:360px) {
  .doc .doc-hero,.start .doc-hero { padding:24px 20px; }
  .doc .doc-hero h1,.start .doc-hero h1 { font-size:28px; hyphens:none; }
}
