/* VIVE — wspólny arkusz trzech niezależnych stron.
   1. Zmienne  2. Podstawy  3. Nagłówek  4. Sekcje  5. RWD  6. Druk
   Zmiana kolorów i szerokości strony: zmienne w :root poniżej. */
:root {
  --blue: #283e91;
  --blue-dark: #182752;
  --ink: #17213a;
  --muted: #5e6574;
  --line: #dbe0e9;
  --surface: #f4f6fa;
  --white: #fff;
  --page-width: 1160px;
  --gutter: clamp(22px, 5vw, 72px);
  --header-height: 116px;
}

/* Podstawy: cała treść działa także przy wyłączonym JavaScript. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, main:focus-visible { outline: 3px solid #397ddc; outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: 26px; }
p + p { margin-top: 20px; }
strong { font-weight: 600; }
.container { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--blue-dark); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; font-weight: 600; }
.muted { color: var(--muted); }
.arrow { font-size: 22px; line-height: 1; font-weight: 400; }

/* Nagłówek. Menu mobilne jest opcjonalnym ulepszeniem JS. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex-shrink: 0; text-decoration: none; }
.brand img { width: 124px; height: 88px; object-fit: contain; }
.brand-placeholder { font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.brand-placeholder small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .07em; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 14px 0; text-decoration: none; color: #424a5c; font-size: 13px; }
.site-nav a::after { content: ''; position: absolute; height: 2px; background: var(--blue); inset: auto 0 6px; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav .group-nav { padding-left: 28px; border-left: 1px solid var(--line); }
.menu-toggle { display: none; align-items: center; gap: 12px; border: 1px solid var(--line); background: white; padding: 10px 14px; color: var(--ink); cursor: pointer; font-size: 13px; }
.menu-icon { width: 17px; height: 12px; border-top: 1px solid; border-bottom: 1px solid; }

/* Wprowadzenie. Brak zewnętrznych zdjęć i fontów; wszystko jest lokalne. */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 62px 0 40px; }
.hero-top { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.hero-top::before { content: ''; width: 24px; height: 2px; background: var(--blue); }
.hero-main { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 55px; padding: 32px 0 46px; }
.hero h1 { font-size: clamp(42px, 6.8vw, 82px); letter-spacing: -.065em; color: var(--blue-dark); }
.hero h1 span { display: block; }
.hero-description { max-width: 620px; font-size: 21px; line-height: 1.5; margin-top: 25px; color: #4c5873; }
.hero-symbol { width: 180px; mix-blend-mode: multiply; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #d5dce9; padding-top: 23px; }
.hero-bottom > p { font-size: 12px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; color: var(--blue); font-size: 13px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Sekcje: numer / nagłówek po lewej, treść po prawej. */
.section { padding: 86px 0; }
.section-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.section-label { display: flex; align-items: center; gap: 14px; color: var(--blue); margin-bottom: 22px; }
.section-label span { color: #8b94a9; }
.section-title { font-size: 30px; }
.section-content > h2 { max-width: 770px; margin: -7px 0 30px; }
.section-content > p { color: var(--muted); }
.section-content > .lead { font-size: 19px; line-height: 1.65; color: var(--ink); }
.company-about { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.company-about h3 { margin-bottom: 22px; }
.company-about p { color: var(--muted); }
.company-about .closing { color: var(--blue-dark); }
.contact-section { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.contact-item h3 { font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; font-weight: 600; }
.contact-item address { font-style: normal; line-height: 1.7; }
.contact-item .company-name { display: block; margin-bottom: 4px; font-weight: 600; }
.phone { font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.phone:hover { text-decoration: underline; }
.contact-secondary { font-size: 13px; color: var(--muted); margin-top: 8px; }
.registry { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 12px 30px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.registry div { display: flex; gap: 8px; }
.registry dt, .registry dd { margin: 0; }
.registry dd { color: var(--ink); }
.corporate-section { border-bottom: 1px solid var(--line); }
.corporate-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); }
.corporate-heading::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.announcement h3 { font-size: 34px; margin-bottom: 25px; }
.announcement p { color: var(--muted); }
.documents { margin-top: 35px; }
.documents > h3 { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; color: var(--muted); font-weight: 600; }
.document { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); padding: 22px; text-decoration: none; background: var(--surface); }
a.document:hover { border-color: var(--blue); background: #edf1fa; }
.document-icon { width: 38px; height: 46px; display: grid; place-items: center; border: 1px solid #a7b2cb; color: var(--blue); font-size: 10px; font-weight: 600; flex-shrink: 0; }
.document-info { flex: 1; min-width: 0; }
.document-info strong { display: block; font-size: 15px; }
.document-info small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.document-status { font-size: 11px; color: var(--muted); white-space: nowrap; }
.draft-label { display: inline-block; margin-top: 18px; font-size: 11px; color: var(--muted); }

/* Stopka i odnośniki do pięciu spółek Grupy. */
.group-section { padding: 60px 0; color: white; background: var(--blue-dark); }
.group-section .section-label { color: #c6d2f2; }
.group-section .section-label span { color: #96a6ca; }
.group-section h2 { font-size: 33px; }
.group-description { margin-top: 20px; color: #b7c3df; font-size: 13px; max-width: 210px; }
.company-list { margin: 0; padding: 0; list-style: none; }
.company-list li { border-bottom: 1px solid #3a4769; }
.company-list li:first-child { border-top: 1px solid #3a4769; }
.company-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 62px; padding: 15px 0; font-size: 18px; line-height: 1.4; text-decoration: none; }
.company-link small { color: #b5c2e0; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
a.company-link:hover { color: #b9d2ff; }
.company-link[aria-disabled] { color: #c8d1e6; }
.company-link[aria-current] { color: white; }
.site-footer { background: var(--blue-dark); color: #b7c3df; }
.footer-legal { border-top: 1px solid #3a4769; padding: 25px 0 20px; font-size: 11px; line-height: 1.8; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0 30px; font-size: 11px; }
.footer-bottom a { display: inline-flex; gap: 15px; align-items: center; text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* RWD: tablet i telefon. Bez stałych wysokości treści i poziomego przewijania. */
@media (max-width: 1000px) {
  .section-grid { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; }
  .site-nav { gap: 22px; }
  .site-nav .group-nav { padding-left: 20px; }
  .hero-main { grid-template-columns: 1fr 140px; gap: 24px; }
  .hero-symbol { width: 140px; }
  .contact-grid { gap: 28px; }
}
@media (max-width: 760px) {
  :root { --header-height: 94px; }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 10px; }
  .brand img { width: 104px; height: 73px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 4px 22px; padding: 12px 0 7px; }
  .site-nav a { font-size: 13px; }
  .site-nav .group-nav { padding-left: 0; border: 0; }
  .menu-ready .menu-toggle { display: inline-flex; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .menu-ready .site-nav a { padding: 11px 0; }
  .hero { padding: 38px 0 26px; }
  .hero-main { padding: 25px 0 32px; grid-template-columns: 1fr; }
  .hero-symbol { display: none; }
  .hero h1 { font-size: clamp(40px, 9.5vw, 64px); }
  .hero-description { font-size: 18px; margin-top: 22px; }
  .hero-bottom { align-items: flex-start; }
  .hero-bottom > p { max-width: 130px; font-size: 11px; }
  .hero-bottom .text-link { gap: 16px; font-size: 12px; }
  .section { padding: 50px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-label { margin-bottom: 12px; }
  .section-title { font-size: 28px; }
  .section-content > h2 { margin-top: 0; }
  .section-content > .lead { font-size: 17px; }
  .company-about { margin-top: 30px; padding-top: 28px; }
  .company-about h3 { font-size: 24px; }
  .contact-grid { gap: 28px 20px; }
  .contact-item { font-size: 14px; }
  .phone { font-size: 19px; }
  .announcement h3 { font-size: 29px; }
  .document { padding: 17px; gap: 13px; flex-wrap: wrap; }
  .document-status { width: 100%; padding-left: 51px; }
  .group-section { padding: 43px 0; }
  .group-description { max-width: none; margin-top: 12px; }
  .company-link { font-size: 16px; }
  .footer-legal { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 420px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; gap: 12px; }
  .hero-bottom > p { max-width: none; }
  .hero-bottom .text-link { width: 100%; }
  .company-link { flex-wrap: wrap; gap: 3px 16px; }
  .footer-bottom { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  html { scroll-padding-top: 0; }
  body { color: #000; font-size: 11pt; }
  .container { width: 100%; }
  .site-header { position: static; }
  .site-nav, .menu-toggle, .hero-symbol, .hero-bottom, .group-section, .footer-bottom a { display: none !important; }
  .hero, .section { padding: 22px 0; background: white; }
  .hero h1 { font-size: 36pt; }
  .section-grid { grid-template-columns: 1fr; gap: 12px; }
  h2 { font-size: 22pt; }
  h3, .announcement h3 { font-size: 17pt; }
  .document, .contact-item { break-inside: avoid; }
  .site-footer { background: white; color: #333; }
  .footer-legal { border-color: #ddd; }
}
