/* Visual refresh: white surfaces, deep cobalt accents, compact centered banners. */
:root {
  --navy: #101c33;
  --blue: #f4f6fa;
  --blue2: #ffffff;
  --panel: #ffffff;
  --ink: #19243a;
  --muted: #5f6d82;
  --line: #d9e0ea;
  --cyan: #063ca6;
  --cobalt: #063ca6;
  --cobalt-deep: #082c7d;
  --paper: #fbfcfe;
}
html { scroll-padding-top: 28px; }
body { background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.75; }
.shell { width: min(1200px, calc(100% - 64px)); }
.eyebrow, .serial { color: var(--cobalt); font-size: 11px; letter-spacing: .15em; }
.section { padding: 78px 0; }
.section.alt { background: #f4f6fa; }
.section.panelblue { background: #fff; }
.section h2 { font-size: clamp(42px, 4.7vw, 64px); line-height: 1.04; }
.section h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.copy p, .rich-text p { color: #455267; }
.section-head { display: block; text-align: center; margin: 0 auto 36px; max-width: 850px; }
.section-head p { max-width: 740px; margin: 17px auto 0; color: #536176; }
.section-head h2 { margin-top: 12px; }

/* Match the translucent navigation bar on ALTANA. */
.site-header { position: fixed; height: 78px; background: linear-gradient(105deg, rgba(3, 7, 13, .89), rgba(14, 20, 31, .77) 55%, rgba(3, 7, 13, .88)); border-bottom: 1px solid rgba(158, 203, 255, .23); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.header-inner { gap: 20px; }
.brand { min-width: 150px; }
.brand img { width: 150px; }
.nav { gap: clamp(14px, 1.8vw, 27px); }
.nav a { font-size: 17px; color: #f7f9fc; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active { border-bottom: 2px solid #2858c8; }
.header-cta { border-color: #b7c8f6; color: #fff; padding: 9px 15px; }
.header-cta:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.site-footer { padding: 48px 0 20px; background: #041322; color: #a9bdd0; }
.site-footer .shell { display: block; width: min(1180px, calc(100% - 56px)); }
.site-footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; padding-bottom: 35px; }
.site-footer-brand img { width: 175px; height: auto; filter: brightness(0) invert(1); }
.site-footer-brand p { max-width: 360px; margin: 16px 0 0; color: #a9bdd0; font-size: 13px; line-height: 1.6; }
.site-footer-contact h2 { margin: 0 0 15px; color: #fff; font: 800 18px/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.site-footer-contact a, .site-footer-contact p { display: block; margin: 0 0 8px; color: #d1e0ed; font-size: 13px; line-height: 1.55; }
.site-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(177,207,238,.2); color: #8199ae; font-size: 11px; }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 9px 22px; }
.site-footer-legal a { color: #c7d7e6; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin: 12px 0 0; color: #a9bdd0; font-size: 11px; line-height: 1.5; }
.privacy-note a { color: #d8e9ff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 650px) {
  .site-footer .shell { width: calc(100% - 36px); }
  .site-footer-main { grid-template-columns: 1fr; gap: 30px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* The film remains the hero, but the banner is shorter and its message is centered. */
.hero { height: min(69svh, 590px); min-height: 500px; max-height: 590px; text-align: center; }
.hero-shade { background: rgba(5, 11, 25, .57); }
.hero-content { padding-top: 68px; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: #d7e3ff; }
.hero h1 { font-size: clamp(72px, 8vw, 112px); line-height: .87; max-width: 1050px; margin-top: 21px; }
.hero h1 { color: #fff; }
.hero h1 span { font-size: clamp(46px, 6.5vw, 88px); color: #fff; }
.hero .lede { max-width: 620px; font-size: 17px; line-height: 1.6; color: #f3f5fa; margin: 28px auto 29px; }
.hero-actions { justify-content: center; }
.hero-bottom { bottom: 23px; }
.hero-bottom .serial, .scroll-indicator { color: #eef2fa; }
.scroll-indicator i { background: #fff; }
.btn { min-height: 47px; padding: 10px 19px; background: var(--cobalt); color: #fff; border-color: var(--cobalt); border-radius: 4px; font-size: 11px; letter-spacing: .08em; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #fff; transform: translateY(-2px); }
.btn.outline { color: var(--cobalt); border-color: #b6c4dc; background: transparent; }
.btn.outline:hover { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
.hero .btn.outline { color: #fff; border-color: rgba(255,255,255,.75); }
.hero .btn.outline:hover { background: #fff; color: var(--cobalt-deep); border-color: #fff; }

/* Editorial content on clean surfaces. */
.intro-grid { grid-template-columns: .72fr 1.28fr; gap: min(8vw, 100px); align-items: start; }
.intro-grid h2 { margin-top: 19px; }
.intro-grid .copy { font-size: 15px; }
.rule-label { border-color: var(--cobalt); }
.intro-grid .btn.outline { margin-top: 30px !important; }

/* A single photographic backdrop and restrained frosted labels replace heavy blue cards. */
#oferta { background: #152033 url('assets/produkcja-naczep-back-768x512.jpg') center 42% / cover no-repeat; isolation: isolate; }
#oferta::before { content: ''; position: absolute; inset: 0; background: rgba(8, 16, 34, .76); z-index: -1; }
#oferta .eyebrow { color: #bdcdf7; }
#oferta h2 { color: #fff; }
#oferta .section-head p { color: #e0e6f0; }
#oferta { padding: 62px 0; }
#oferta .section-head { margin-bottom: 27px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: rgba(225, 233, 249, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: hidden; }
.service { min-height: 125px; padding: 20px 14px 16px; border: 0; border-right: 1px solid rgba(255,255,255,.26); border-radius: 0; background: transparent; box-shadow: none; text-align: center; align-items: center; justify-content: center; gap: 5px; }
.service:last-child { border-right: 0; }
.service:hover { background: rgba(255,255,255,.12); transform: none; }
.service .num { color: #c1d0fa; font-size: 10px; letter-spacing: .14em; }
.service h3 { color: #fff; font-size: clamp(27px, 2.7vw, 38px); margin: 0; }
.service .arrow { color: #fff; font-size: 16px; align-self: center; }

.split, .split.reverse { grid-template-columns: 1fr 1fr; min-height: 455px; }
.split-media { min-height: 455px; }
.split-content, .split.reverse .split-content { background: #fff; padding: clamp(38px, 6vw, 80px); }
.split.reverse .split-content { background: #f4f6fa; }
.split-content h2 { max-width: 530px; }
.split-content .copy { margin: 20px 0 25px; }
.split-content .copy p { font-size: 14px; line-height: 1.75; }
.split-content .btn { align-self: flex-start; }
.associated-grid { gap: 14px; }
.associated { min-height: 330px; border: 0; border-radius: 5px; }
.associated:before { background: rgba(6, 14, 30, .68); }
.associated h3 { color: #fff; font-size: 30px; }
.associated p { color: #f1f3f8; }
.associated .link-line { color: #d3dfff; }

/* Every inner-page masthead follows the same compact centered rhythm. */
.page-hero { min-height: 350px; text-align: center; align-items: center; }
.page-hero img { opacity: .64; }
.page-hero:after { background: rgba(5, 11, 25, .62); }
.page-hero .shell { padding: 110px 0 43px; }
.page-hero .serial { color: #dce7ff; }
.page-hero h1 { font-size: clamp(54px, 7vw, 88px); max-width: 950px; margin: 11px auto 0; line-height: .93; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 670px; margin: 16px auto 0; font-size: 15px; line-height: 1.65; color: #f3f6fb; }
.content-frame { grid-template-columns: 190px minmax(0, 1fr); gap: min(7vw, 90px); }
.side-index { border-color: var(--cobalt); }
.side-index a { color: #5c6a7d; }
.side-index a:hover { color: var(--cobalt); }
.rich-text h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--ink); }
.rich-text ol { background: transparent; border: 0; gap: 8px; }
.rich-text li { background: #f3f6fa; color: #2e3c51; border: 1px solid #e7ebf2; border-radius: 4px; }
.rich-text ol li:before { color: var(--cobalt); }
.process-figure img { height: 360px; border-radius: 4px; }
.process-figure figcaption { color: #6c7788; }

.spec-intro img { height: 365px; border-radius: 4px; }
.benefits { gap: 12px; }
.benefit { background: #fff; border-color: #e0e6ef; color: #34435a; border-radius: 4px; }
.benefit span { color: var(--cobalt); }
.machine { background: #fff; border-color: #e1e6ee; border-radius: 5px; grid-template-columns: minmax(270px, .78fr) 1.22fr; }
.machine-image { min-height: 420px; }
.machine-content { padding: 32px; }
.machine-content h3 { font-size: 40px; }
.machine .price { color: var(--cobalt); }
.spec-list li { color: #46556b; border-color: #e4e9f0; }
.spec-list b { color: #6b7b91; }

.contact { background: #f4f6fa; padding: 76px 0; }
.contact h2 { font-size: clamp(46px, 5vw, 70px); }
.contact > .shell > .contact-grid > div:first-child > p { color: #536176; }
.contact-detail { border-color: #dce3ec; }
.contact-detail b { color: var(--cobalt); }
.contact-detail p { color: #26364c; }
.contact-detail a:hover { color: var(--cobalt); }
.contact-form { background: #fff; border-color: #e0e5ed; border-radius: 5px; box-shadow: 0 12px 35px rgba(20, 38, 75, .06); }
.contact-form h3 { font-size: 32px; }
.field label { color: #68778e; }
.field input, .field textarea, .field select { background: #f7f9fc; border-color: #dce3ed; color: #1f2c41; border-radius: 3px; }
.field input:focus, .field textarea:focus { border-color: var(--cobalt); }
.form-note { color: #6d798b; }
.map-frame { filter: grayscale(1); margin-top: 16px; border-radius: 4px; }
.footer { background: #0b1528; }
.footer a:hover { color: #fff; }
.reveal { opacity: 1; transform: none; transition: none; }

@media (max-width: 1100px) {
  .nav { gap: 12px; }
  .nav a { font-size: 15px; }
  .associated-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .site-header { height: 68px; }
  .shell { width: min(100% - 36px, 1200px); }
  .menu-btn { border-color: rgba(255,255,255,.32); }
  .nav { top: 68px; background: #0a1428; }
  .nav a { border-color: rgba(255,255,255,.14); font-size: 21px; }
  .hero { height: min(73svh, 570px); min-height: 500px; }
  .hero-content { padding-top: 54px; }
  .hero h1 { font-size: clamp(59px, 10vw, 86px); }
  .hero h1 span { font-size: clamp(39px, 7.6vw, 68px); }
  .hero .lede { font-size: 15px; max-width: 540px; }
  .section { padding: 62px 0; }
  .intro-grid, .spec-intro, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split-media { min-height: 335px; }
  .split-content, .split.reverse .split-content { padding: 43px 6vw; }
  .page-hero { min-height: 310px; }
  .page-hero .shell { padding: 105px 0 42px; }
  .page-hero h1 { font-size: clamp(50px, 9vw, 74px); }
  .content-frame, .machine { grid-template-columns: 1fr; }
  .side-index { border-color: var(--cobalt); }
  .machine-image { min-height: 330px; }
}
@media (max-width: 560px) {
  .hero { min-height: 480px; max-height: 530px; }
  .hero h1 { font-size: clamp(54px, 13vw, 70px); }
  .hero h1 span { font-size: clamp(34px, 8.1vw, 45px); }
  .hero .lede { margin: 21px auto 22px; }
  .hero-bottom { bottom: 15px; justify-content: center; }
  .hero-bottom .serial { display: none; }
  .hero-actions { gap: 9px; }
  .hero .btn { min-height: 43px; padding: 9px 12px; font-size: 10px; }
  .section-head { margin-bottom: 27px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .service { min-height: 112px; padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.26); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-child(n+3) { border-bottom: 0; }
  .service h3 { font-size: 24px; }
  .service .num { font-size: 9px; }
  .service .arrow { font-size: 13px; }
  .associated-grid, .benefits, .rich-text ol, .spec-list { grid-template-columns: 1fr; }
  .associated { min-height: 285px; }
  .page-hero { min-height: 285px; }
  .page-hero h1 { font-size: clamp(44px, 11vw, 60px); }
  .page-hero p { font-size: 13px; }
  .contact h2 { font-size: clamp(41px, 11vw, 55px); }
  .contact-form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* More breathing room and larger body copy outside the retained offer section. */
.section:not(#oferta) { padding-block: 92px; }
.section:not(#oferta) h2 { font-weight: 800; }
.intro-grid .copy, .split-content .copy p, .rich-text p { font-size: 16px; line-height: 1.85; }
.split-content .copy { margin-block: 28px 32px; }
.contact-detail p { font-size: 15.5px; }
.hero-bottom:has(.serial:only-child) { justify-content: flex-start; }

/* Compact language switcher shared by all four language versions. */
.lang-switch { display: flex; align-items: center; gap: 7px; white-space: nowrap; margin-left: 3px; }
.lang-switch a { color: #abb8ce; font: 800 10px/1 Manrope, sans-serif; letter-spacing: .05em; padding: 7px 2px; }
.lang-switch a + a { border-left: 1px solid #58647b; padding-left: 9px; }
.lang-switch a[aria-current="page"] { color: #fff; }
.lang-switch a:hover { color: #fff; }
.localized-copy { font-size: 16px; line-height: 1.85; }
.localized-copy p { color: #455267; margin: 0 0 1.2em; }
.localized-copy h2 { font-size: clamp(34px, 4vw, 54px); margin: 1.3em 0 .35em; }
.localized-copy ul, .localized-copy ol { padding-left: 1.3em; color: #455267; }
.localized-copy li { margin-bottom: .7em; }
.localized-copy img { width: 100%; height: auto; border-radius: 4px; }
.hero h1.localized-hero-title { font-family: Manrope, Arial, sans-serif; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.06; letter-spacing: -.055em; max-width: 990px; text-transform: none; }
.inloader-callout { background: #fff; text-align: center; }
.inloader-callout .shell { max-width: 830px; }
.inloader-callout h2 { margin: 14px 0 0; }
.inloader-callout p { margin: 19px auto 23px; color: #506076; font-size: 16px; letter-spacing: .025em; }
.localized-block { max-width: 900px; margin: 0 auto 50px; }
.localized-block:last-child { margin-bottom: 0; }
.localized-block h2 { margin-top: 0; }
.localized-media { margin: 34px 0; }
.localized-media img { width: 100%; max-height: 470px; object-fit: cover; }
.localized-specs { column-count: 2; column-gap: 30px; }
.localized-specs p { break-inside: avoid; }
@media (max-width: 1100px) { .lang-switch { margin-left: auto; } }
@media (max-width: 800px) {
  .lang-switch { order: 3; margin-left: auto; }
  .menu-btn { order: 4; margin-left: 0; }
  .nav { order: 5; }
  .localized-specs { column-count: 1; }
  .section:not(#oferta) { padding-block: 68px; }
  .hero h1.localized-hero-title { font-size: clamp(36px, 8vw, 57px); letter-spacing: -.045em; }
}
@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .brand { min-width: 0; }
  .brand img { width: 112px; }
  .lang-switch { gap: 2px; margin-left: auto; }
  .lang-switch a { font-size: 9px; padding-inline: 1px; }
  .lang-switch a + a { padding-left: 5px; }
  .menu-btn { width: 38px; height: 38px; padding: 7px; }
}

/* Polish home: compact, centered editorial sections around the retained hero and offer. */
.home-page .home-about,
.home-page .home-production,
.home-page .home-renovation { padding-block: 76px; }
.home-page .home-about,
.home-page .home-renovation { background: #fff; }
.home-page .home-production { background: #f4f6fa; }
.home-container { max-width: 1120px; }
.home-section-head { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.home-section-head h2 { margin: 12px auto 0; font: 800 clamp(46px, 5vw, 66px)/.98 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.home-section-head > p { max-width: 610px; margin: 18px auto 0; color: #526177; font-size: 17px; line-height: 1.7; }
.home-rule { display: block; width: 52px; height: 3px; margin: 24px auto 0; background: var(--cobalt); }
.home-intro { max-width: 840px; margin: 0 auto 30px; text-align: center; }
.home-intro p { margin: 0 auto 11px; color: #34445a; font-size: 17px; line-height: 1.75; }
.home-intro p:first-child { color: #182740; font-size: 20px; font-weight: 800; line-height: 1.55; }
.home-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; max-width: 960px; margin: 30px auto 0; padding-top: 28px; border-top: 1px solid #dce3ec; }
.home-story > div { min-width: 0; }
.home-story p { margin: 12px 0 0; color: #455267; font-size: 15.5px; line-height: 1.8; }
.home-center-action { margin-top: 30px; text-align: center; }
.home-feature { display: grid; grid-template-columns: .96fr 1.04fr; gap: 38px; align-items: center; max-width: 1080px; margin: 0 auto; }
.home-feature-media { position: relative; align-self: stretch; min-height: 380px; border-radius: 6px; overflow: hidden; background: #e8edf5; }
.home-feature-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; filter: none; }
.home-photo-tag { position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 8px 12px; background: #0b1b39; color: #fff; font: 800 10px/1.2 Manrope, sans-serif; letter-spacing: .13em; }
.home-feature-copy { padding: 6px 0; }
.home-feature-copy > p { margin: 0 0 19px; color: #34445a; font-size: 16px; line-height: 1.8; }
.home-feature-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 29px; padding-top: 22px; border-top: 1px solid #ccd5e2; }
.home-feature-link .eyebrow { max-width: 170px; line-height: 1.5; }
.home-renovation-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; max-width: 1010px; margin: 0 auto; background: #f4f6fa; border-radius: 6px; overflow: hidden; }
.home-renovation-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px; text-align: center; }
.home-renovation-copy p { max-width: 400px; margin: 0 0 25px; color: #34445a; font-size: 17px; line-height: 1.75; }
.home-renovation-card img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: center; filter: none; }
@media (max-width: 800px) {
  .home-page .home-about,
  .home-page .home-production,
  .home-page .home-renovation { padding-block: 62px; }
  .home-story { gap: 24px; }
  .home-feature { grid-template-columns: 1fr; gap: 24px; }
  .home-feature-media { min-height: 340px; }
  .home-renovation-card { grid-template-columns: 1fr; }
  .home-renovation-card img { min-height: 300px; max-height: 350px; }
}
@media (max-width: 560px) {
  .home-section-head { margin-bottom: 28px; }
  .home-section-head h2 { font-size: clamp(43px, 11vw, 58px); }
  .home-section-head > p { font-size: 15px; }
  .home-intro p { font-size: 15px; }
  .home-intro p:first-child { font-size: 18px; }
  .home-story { grid-template-columns: 1fr; gap: 21px; }
  .home-story p { font-size: 15px; }
  .home-feature-media { min-height: 270px; }
  .home-feature-copy > p { font-size: 15px; }
  .home-feature-link { align-items: flex-start; flex-direction: column; }
  .home-renovation-copy { padding: 29px 24px; }
  .home-renovation-copy p { font-size: 15.5px; }
}
