:root {
  color-scheme: light;
  --ink: #08254d;
  --navy: #081f3d;
  --navy-deep: #071a32;
  --blue: #2ab7f8;
  --blue-dark: #036590;
  --paper: #fff;
  --wash: #f0f5f8;
  --muted: #455a70;
  --line: #d9e4eb;
  --gutter: clamp(22px, 5.55vw, 84px);
  --wrap: 1440px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.6 Exo, system-ui, sans-serif; }
::selection { color: var(--navy-deep); background: #a0e1ff; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--blue-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p + p { margin-top: .8em; }
p { max-width: 70ch; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
.hero :focus-visible, .showcase :focus-visible, footer :focus-visible, .topline :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; z-index: 3; left: 12px; top: 8px; transform: translateY(-150%); padding: 10px 16px; background: white; }
.skip:focus { transform: none; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.button, .text-link, .hero-secondary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  text-decoration: none; font-weight: 800; line-height: 1.3;
}
.button {
  min-height: 51px; padding: 13px 19px; border: 1px solid var(--ink);
  border-radius: 4px; background: var(--ink); color: white; transition: background-color .18s, color .18s, border-color .18s;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: white; }
.button-blue { color: var(--navy-deep); background: var(--blue); border-color: var(--blue); }
.button-blue:hover { color: var(--navy-deep); background: #83d8fe; border-color: #83d8fe; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-light { color: white; border-color: #7294b0; background: transparent; }
.text-link { min-height: 44px; color: var(--blue-dark); }
.text-link:hover, .hero-secondary:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; }

.topline { background: var(--navy-deep); color: #d9e9f6; font-size: .76rem; font-weight: 700; }
.top-inner, .top-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topline a { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; text-decoration: none; white-space: nowrap; }
.topline a:hover { color: var(--blue); }
.topline a:focus-visible { outline-offset: -3px; }
.topline .icon { width: 15px; height: 15px; color: var(--blue); }
.branch-short { display: none; }
.contact-channels { display: flex; gap: 15px; padding-left: 17px; border-left: 1px solid #31475c; }
.nav-shell { background: white; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 1.6vw, 23px); }
.logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.logo img { width: clamp(166px, 15.3vw, 220px); height: auto; }
#navigation { display: flex; align-items: center; gap: clamp(13px, 1.75vw, 25px); }
#navigation a { font-size: .86rem; font-weight: 750; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
#navigation a[aria-current] { color: var(--blue-dark); text-decoration: underline; }
.nav-tools { display: flex; align-items: center; gap: clamp(8px, 1.25vw, 18px); }
.nav-funds { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .72rem; font-weight: 750; line-height: 1.2; text-decoration: none; }
.nav-funds img { width: 37px; height: 34px; }
.nav-funds:hover { text-decoration: underline; }
.nav-quote { min-height: 44px; font-size: .88rem; }
.menu-toggle { display: none; }

.hero { min-height: 610px; position: relative; display: grid; align-items: center; isolation: isolate; background: var(--navy); color: white; }
.hero-picture { position: absolute; z-index: -1; inset: 0 0 0 39%; }
.hero-picture picture { display: block; height: 100%; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; }
.hero-picture::after {
  position: absolute; inset: 0; content: ''; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 1%, rgb(8 31 61 / .49) 19%, transparent 48%);
}
.hero-copy { padding-block: 65px 73px; pointer-events: none; }
.hero-copy .actions { width: fit-content; pointer-events: auto; }
.hero h1 { font-size: clamp(3.8rem, 6.05vw, 6rem); line-height: .99; letter-spacing: -.04em; }
.hero h1 span { color: #6bd2ff; }
.hero-copy p { max-width: 34ch; margin-block: 28px 28px; font-size: clamp(1rem, 1.35vw, 1.125rem); color: #e0edf8; }
.hero-secondary { color: white; min-height: 44px; gap: 10px; }
.hero-secondary:hover { color: #a4e4ff; }
.hero-caption {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 25px; display: grid; grid-template-columns: 1fr auto;
  row-gap: 2px; column-gap: 26px; padding: 12px 16px 11px;
  border-radius: 4px; background: var(--navy-deep); color: white; text-decoration: none; line-height: 1.4;
}
.hero-caption span { grid-column: 1; color: #c7ddef; font-size: .76rem; }
.hero-caption strong { grid-column: 1; font-size: .9rem; }
.hero-caption .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); }
.hero-caption:hover { color: #a4e4ff; }

.journey { background: var(--wash); border-bottom: 1px solid var(--line); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.journey a {
  min-height: 106px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 17px 26px; border-right: 1px solid var(--line); text-decoration: none;
}
.journey a:hover { background: #e1f0f8; }
.journey a:first-child { border-left: 1px solid var(--line); }
.journey a > .icon:first-child { width: 26px; height: 26px; color: var(--blue-dark); }
.journey a > .icon:last-child { width: 18px; height: 18px; }
.journey strong, .journey small { display: block; }
.journey strong { font-size: 1.25rem; line-height: 1.2; }
.journey small { color: var(--muted); font-size: .82rem; margin-top: 4px; }

.section { padding-block: clamp(54px, 7vw, 108px); }
.home-offer { padding-top: clamp(45px, 6vw, 86px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 15px 40px; margin-bottom: clamp(21px, 3.2vw, 42px); }
.section-head p { margin-top: 11px; color: var(--muted); }
.section-head > .text-link { flex-shrink: 0; }
.category-grid, .branch-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.05vw, 29px); }
.category-card {
  display: block; color: var(--ink); text-decoration: none; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: white;
}
.category-card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.category-card > span { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 8px; padding: 17px 18px 19px; }
.category-card strong { font-size: clamp(1.04rem, 1.65vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; }
.category-card small { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
.category-card .icon { color: var(--blue-dark); }
.category-card:hover, .product-card:hover, .story:hover { border-color: var(--blue-dark); }
.showcase { background: var(--navy); color: white; padding-block: clamp(48px, 7vw, 98px); }
.showcase-grid { display: grid; grid-template-columns: minmax(240px, .71fr) minmax(0, 1.29fr); gap: clamp(32px, 6vw, 92px); align-items: center; }
.showcase p, .quote-strip p { color: #d9ebf8; margin-block: 18px 24px; }
.gallery { min-width: 0; }
.gallery figure { position: relative; background: var(--wash); border-radius: 8px; overflow: hidden; }
.gallery [data-photo] { display: block; width: 100%; height: auto; aspect-ratio: 1.74; object-fit: cover; }
.gallery figcaption { position: absolute; bottom: 0; left: 0; padding: 7px 15px; background: var(--navy-deep); color: white; font-size: .78rem; }
.gallery-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.gallery-controls button {
  border: 1px solid var(--line); border-radius: 4px; display: inline-flex; align-items: center;
  min-height: 44px; padding: 4px 9px 4px 4px; gap: 7px; background: white; color: var(--ink); font-size: .8rem; font-weight: 750; text-align: left;
}
.gallery-controls button img { width: 37px; height: 31px; border-radius: 2px; object-fit: cover; }
.gallery-controls button:hover, .gallery-controls [aria-pressed=true] { background: #d6f1fd; border-color: var(--blue-dark); }
.showcase .gallery-controls button { border-color: #49637e; background: var(--navy); color: #dcebf6; }
.showcase .gallery-controls [aria-pressed=true], .showcase .gallery-controls button:hover { border-color: var(--blue); color: white; }
.split-content { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: clamp(26px, 6.4vw, 98px); align-items: center; }
.split-content > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 8px; }
.split-content p { color: var(--muted); margin-top: 16px; margin-bottom: 19px; }
.soft { background: var(--wash); }
.branch-card { height: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.branch-card > img { width: 100%; aspect-ratio: 2; object-fit: cover; }
.branch-card > div { padding: clamp(17px, 2.9vw, 30px); }
.branch-card p { margin: 10px 0; color: var(--muted); }
.branch-card .secondary { font-size: .87rem; }
.branch-card a { display: block; line-height: 1.4; padding-block: 5px; overflow-wrap: anywhere; }
.branch-card .text-link { display: inline-flex; margin-top: 7px; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.story {
  display: grid; grid-template-columns: 1fr auto; align-items: center; align-content: start; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; overflow: hidden;
}
.story img { grid-column: 1 / -1; width: 100%; aspect-ratio: 2.08; object-fit: cover; }
.story strong { padding: 4px 0 15px 16px; font-size: 1.05rem; line-height: 1.3; }
.story > .icon { margin: 6px 15px 14px 0; color: var(--blue-dark); }
.story:not(:has(img)) strong { padding-top: 16px; }
.quote-strip { background: var(--navy); color: white; padding-block: clamp(40px, 6vw, 78px); }
.quote-strip > .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 48px; }
.quote-strip h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.quote-strip p { margin-bottom: 0; }
.quote-strip a { flex: none; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px 50px; }
.faq-layout details { padding-block: 11px; border-block-end: 1px solid var(--line); }
.faq-layout summary { font-weight: 800; padding-block: 8px; }
.faq-layout details p { margin-top: 4px; color: var(--muted); }

.page-intro { background: var(--wash); border-bottom: 1px solid var(--line); }
.page-intro > .wrap { padding-block: 28px clamp(35px, 6vw, 75px); }
.page-intro h1 { max-width: 16ch; margin-top: clamp(20px, 4vw, 49px); }
.page-intro p { max-width: 58ch; margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.breadcrumbs { display: flex; gap: 7px 11px; flex-wrap: wrap; align-items: center; font-size: .78rem; color: var(--muted); }
.breadcrumbs a { min-height: 27px; display: flex; align-items: center; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; padding-bottom: 23px; }
.catalog-toolbar label { font-weight: 800; }
.catalog-toolbar p { color: var(--muted); margin-left: auto; }
input, select, textarea { accent-color: var(--blue-dark); caret-color: var(--blue-dark); }
select, input:not([type=checkbox]), textarea { border: 1px solid #9aaec0; background: white; border-radius: 4px; padding: 10px 11px; min-height: 45px; }
.product-card { display: block; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; text-decoration: none; }
.product-card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.product-card > span { display: grid; grid-template-columns: 1fr auto; gap: 5px; align-items: center; padding: 13px; }
.product-card small { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.product-card small:empty { display: none; }
.product-card strong { line-height: 1.25; }
.product-card .icon { color: var(--blue-dark); width: 16px; }
.extra-catalog { margin-block: 22px; max-width: 850px; }
.extra-catalog summary { min-height: 44px; padding: 8px 0; font-weight: 800; }
.link-list { display: grid; gap: 6px; }
.link-list .text-link { border-bottom: 1px solid var(--line); }
.product-layout, .quote-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(25px, 5vw, 75px); align-items: start; }
.product-detail h2, .quote-layout h2 { margin-bottom: 13px; font-size: clamp(1.75rem, 3vw, 2.65rem); }
.product-maker { font-weight: 800; color: var(--blue-dark); margin-bottom: 8px; }
.product-detail p { color: var(--muted); }
.product-detail dl { margin-block: 18px 23px; }
.product-detail dl div { display: grid; grid-template-columns: minmax(100px, .45fr) minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.product-detail dt { font-weight: 800; }
.product-detail dd { margin: 0; }
.product-detail .text-link { display: flex; width: fit-content; margin-top: 7px; }
#zdjecia-produktu [data-photo] { object-fit: contain; }
.simple-list { margin-bottom: 24px; padding-left: 22px; }
.listing { margin-top: 22px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 7px; }
.jump-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-weight: 800; }
.jump-links a[aria-current], .jump-links a:hover { border-color: var(--blue-dark); color: var(--blue-dark); background: var(--wash); }
.support-link { margin-top: 16px; }
.design-layout { align-items: start; }
.design-layout > img { aspect-ratio: .93; }
.stages { margin: 0; padding-left: 1.3em; }
.stages li { padding: 12px 0 13px 9px; border-bottom: 1px solid var(--line); }
.stages li::marker { color: var(--blue-dark); font-weight: 800; }
.stages h2 { font-size: 1.45rem; }
.stages p { margin: 7px 0 0; color: var(--muted); }

.quote-layout form { padding: clamp(16px, 3vw, 29px); background: var(--wash); border-radius: 12px; }
.quote-layout aside { padding-block: 8px; }
.phone-large { font-size: 1.5rem; font-weight: 800; }
.quote-layout aside .text-link { margin-top: 13px; }
.demo-note { font-weight: 700; }
.quote-subject { margin-top: 14px; padding: 9px 12px; background: #dceef8; border-radius: 4px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 15px; margin-block: 16px; }
.form-fields label { display: block; min-width: 0; font-weight: 750; }
.form-fields label span { color: var(--muted); font-weight: 500; font-size: .82rem; }
.form-fields input, .form-fields textarea, .form-fields select { display: block; width: 100%; margin-top: 4px; }
.form-fields .wide { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: start; gap: 8px; margin-block: 10px 15px; }
.checkbox input { width: 19px; height: 19px; flex: none; }
#quote-status { padding: 12px; border: 1px solid var(--blue-dark); border-radius: 4px; margin-top: 15px; background: white; }

footer { background: var(--navy-deep); color: #e0ecf5; }
.footer-grid { padding-block: 46px 37px; display: grid; grid-template-columns: 1.3fr 1fr 1fr .75fr; gap: 23px 36px; }
.footer-grid h2 { color: white; font-size: 1rem; margin-bottom: 8px; letter-spacing: 0; }
.footer-grid p { margin-top: 8px; font-size: .87rem; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; font-size: .84rem; padding-bottom: 5px; }
footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-logo { background: white; border-radius: 4px; padding: 3px 9px; }
.footer-logo img { width: 170px; }
.eu img { background: white; border-radius: 3px; width: 50px; min-height: 30px; object-fit: contain; margin-bottom: 6px; }
.eu .icon { width: 14px; height: 14px; }
.footer-end { border-top: 1px solid #31475c; padding-block: 16px; display: flex; justify-content: space-between; gap: 9px 24px; color: #c6d5e3; font-size: .78rem; }
.footer-end > div { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1180px) {
  .nav-quote { display: none; }
}
@media (max-width: 900px) {
  .nav-inner { min-height: 66px; }
  #navigation { display: none; }
  .menu-toggle {
    display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line);
    background: white; border-radius: 4px; padding: 7px 10px; min-height: 44px; font-weight: 800;
  }
  .nav-inner:has(.menu-toggle[aria-expanded=true]) { flex-wrap: wrap; padding-block: 10px 16px; }
  .nav-inner:has(.menu-toggle[aria-expanded=true]) #navigation {
    display: grid; order: 2; width: 100%; gap: 0; padding-bottom: 5px;
  }
  #navigation a { border-top: 1px solid var(--line); padding: 3px 7px; }
  .hero { min-height: 525px; }
  .hero h1 { font-size: clamp(3.4rem, 7.2vw, 4.9rem); }
  .hero-caption { right: 22px; }
  .journey a { padding-inline: 14px; min-height: 90px; gap: 8px; }
  .journey strong { font-size: 1.05rem; }
  .journey small { font-size: .75rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .topline .top-mail { display: none; }
}
@media (max-width: 640px) {
  .top-inner, .top-contact { gap: 6px; }
  .topline a { min-height: 40px; }
  .topline .top-branches { gap: 5px; }
  .branch-names, .contact-channels span { display: none; }
  .branch-short { display: inline; }
  .contact-channels { gap: 1px; padding-left: 4px; }
  .contact-channels a { min-width: 36px; justify-content: center; }
  .topline .icon { width: 14px; height: 14px; }
  .contact-channels .icon { width: 18px; height: 18px; }
  .topline { font-size: .68rem; }
  .nav-inner { min-height: 65px; }
  .nav-inner .logo img { width: clamp(137px, 39vw, 164px); }
  .nav-funds { font-size: .65rem; gap: 5px; }
  .menu-toggle { font-size: .85rem; padding-inline: 8px; }
  .hero { display: flex; flex-direction: column; min-height: auto; align-items: stretch; }
  .hero-copy { padding-block: 32px 26px; }
  .hero h1 { font-size: clamp(2.35rem, 11.5vw, 4.1rem); }
  .hero-copy p { margin-block: 14px 17px; }
  .hero-picture { position: relative; z-index: auto; inset: auto; }
  .hero-picture img { aspect-ratio: 1.54; height: auto; object-position: 62% center; }
  .hero-picture::after { display: none; }
  .hero-caption { right: var(--gutter); bottom: 12px; column-gap: 10px; padding: 7px 10px; }
  .hero-caption span { font-size: .67rem; }
  .hero-caption strong { font-size: .76rem; }
  .hero-caption .icon { width: 16px; height: 16px; }
  .actions { gap: 8px 14px; }
  .hero .button { min-height: 45px; padding-inline: 12px; gap: 9px; font-size: .9rem; }
  .hero-secondary { font-size: .85rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey a, .journey a:first-child { min-height: 64px; padding-inline: 0; border: 0; border-bottom: 1px solid var(--line); gap: 12px; }
  .journey a:last-child { border-bottom: 0; }
  .journey small { margin-top: 2px; }
  .section-head { align-items: start; flex-direction: column; gap: 5px; }
  .section-head p { margin-top: 7px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card > span { padding: 11px; align-items: start; }
  .category-card .icon { width: 14px; height: 14px; }
  .category-card small { font-size: .74rem; line-height: 1.36; }
  .showcase-grid, .split-content, .product-layout, .quote-layout, .faq-layout { grid-template-columns: 1fr; }
  .showcase p { margin-block: 11px 15px; }
  .branch-grid, .story-grid, .project-grid { grid-template-columns: 1fr; }
  .branch-card { display: grid; grid-template-columns: minmax(95px, 32%) minmax(0, 1fr); }
  .branch-card > img { width: 100%; height: 100%; aspect-ratio: auto; }
  .branch-card > div { padding: 14px; }
  .branch-card a, .branch-card p { font-size: .87rem; }
  .story img { aspect-ratio: 2.45; }
  .quote-strip > .wrap { flex-direction: column; align-items: flex-start; }
  .quote-strip p { margin-top: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card > span { padding: 9px; gap: 6px 4px; }
  .product-card strong { font-size: .9rem; }
  .catalog-toolbar p { flex-basis: 100%; margin-left: 0; font-size: .86rem; }
  .gallery-controls { gap: 5px; }
  .form-fields { grid-template-columns: 1fr; }
  .footer-grid { gap: 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid a { overflow-wrap: anywhere; }
  .footer-end { flex-direction: column; }
}
@media (max-width: 370px) {
  .nav-funds { min-width: 44px; justify-content: center; }
  .nav-funds span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
