
/* Okna dachowe VELUX — nowa, lekka oprawa zgodna z pozostałą stroną Kubiczek. */
.mono-velux-page {
  --velux-graphite: #58595b;
  --velux-yellow: #ffdd00;
  --velux-silver: #c7c8ca;
  --velux-ink: #222326;
  --velux-soft: #f3f3f1;
  --velux-line: rgba(88,89,91,.16);
  color: var(--velux-graphite);
  background: #fff;
}
.mono-velux-page .site-header.mono-header {
  position: relative;
  inset: auto;
  background: var(--velux-graphite);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.mono-velux-page .header-row { min-height: 96px; }
.mono-velux-page main { overflow: clip; }
.velux-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--velux-graphite);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}
.velux-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--velux-yellow);
}
.velux-hero {
  padding: 58px 0 62px;
  background: #fff;
}
.velux-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: center;
}
.velux-hero-copy { max-width: 650px; }
.velux-hero h1 {
  margin: 0;
  color: var(--velux-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.velux-hero h2 {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--velux-graphite);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.03em;
}
.velux-hero-copy > p:not(.velux-kicker) {
  max-width: 610px;
  margin: 19px 0 0;
  color: var(--velux-graphite);
  font-size: .96rem;
  line-height: 1.72;
}
.velux-hero-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 19px;
  background: var(--velux-yellow);
  color: var(--velux-ink);
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease;
}
.velux-hero-link:hover,
.velux-hero-link:focus-visible { transform: translateY(-2px); }
.velux-hero-media {
  position: relative;
  min-height: 400px;
  margin: 0;
}
.velux-hero-media::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -18px;
  width: 34%;
  height: 7px;
  z-index: 2;
  background: var(--velux-yellow);
}
.velux-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
}
.velux-anchor-nav {
  background: var(--velux-soft);
  border-top: 1px solid rgba(88,89,91,.06);
  border-bottom: 1px solid rgba(88,89,91,.09);
}
.velux-anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.velux-anchor-grid a {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-left: 1px solid var(--velux-line);
  color: var(--velux-graphite);
  text-decoration: none;
  transition: background-color .18s ease;
}
.velux-anchor-grid a:last-child { border-right: 1px solid var(--velux-line); }
.velux-anchor-grid a:hover,
.velux-anchor-grid a:focus-visible { background: var(--velux-yellow); }
.velux-anchor-grid span { color: rgba(88,89,91,.56); font-size: .59rem; font-weight: 800; letter-spacing: .14em; }
.velux-anchor-grid strong { color: var(--velux-ink); font-size: .77rem; font-weight: 600; }
.velux-modules { background: #fff; }
.velux-module {
  padding: clamp(58px, 7vw, 88px) 0;
  scroll-margin-top: 98px;
  background: #fff;
}
.velux-module:nth-child(even) { background: var(--velux-soft); }
.velux-module-inner { min-width: 0; }
.velux-module-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 880px;
  margin-bottom: 34px;
}
.velux-module-number {
  min-width: 46px;
  padding-top: 8px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--velux-yellow);
  color: rgba(88,89,91,.52);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.velux-module-heading .velux-kicker { margin-bottom: 8px; }
.velux-module-heading h2 {
  margin: 0;
  color: var(--velux-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.velux-module-intro {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--velux-graphite);
  font-size: .92rem;
  line-height: 1.7;
}
/* Nie ingerujemy w zawartość modułów VELUX; zapewniamy im jedynie pełną szerokość. */
.nulead-slot {
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.velux-contact {
  background: var(--velux-soft);
}
.velux-contact-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 42px;
}
.velux-contact-copy { max-width: 760px; }
.velux-contact-copy h2 {
  margin: 0;
  color: var(--velux-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.velux-contact-copy > p:not(.velux-kicker) {
  margin: 14px 0 0;
  color: var(--velux-graphite);
  font-size: .9rem;
  line-height: 1.65;
}
.velux-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
}
.velux-contact-links a {
  min-height: 66px;
  display: grid;
  align-content: center;
  padding: 11px 16px;
  border: 1px solid var(--velux-line);
  background: #fff;
  color: var(--velux-ink);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.velux-contact-links a:hover,
.velux-contact-links a:focus-visible { border-color: var(--velux-yellow); background: var(--velux-yellow); }
.velux-contact-links span { font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.velux-contact-links strong { margin-top: 3px; font-size: .9rem; }
@media (max-width: 1000px) {
  .velux-hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .velux-contact-inner { grid-template-columns: 1fr; gap: 26px; }
  .velux-contact-links { max-width: 560px; }
}
@media (max-width: 780px) {
  .mono-velux-page .header-row { min-height: 88px; }
  .velux-hero { padding: 45px 0 48px; }
  .velux-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .velux-hero-media,
  .velux-hero-media img { min-height: 330px; }
  .velux-anchor-nav .container { width: 100%; }
  .velux-anchor-grid { display: flex; overflow-x: auto; scrollbar-width: none; }
  .velux-anchor-grid::-webkit-scrollbar { display: none; }
  .velux-anchor-grid a { min-width: 210px; flex: 0 0 auto; }
}
@media (max-width: 620px) {
  .velux-hero { padding: 38px 0 42px; }
  .velux-hero h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .velux-hero-media,
  .velux-hero-media img { min-height: 255px; }
  .velux-hero-media::before { left: -10px; bottom: -10px; height: 5px; }
  .velux-module { padding: 46px 0; }
  .velux-module-heading { grid-template-columns: 1fr; gap: 11px; margin-bottom: 26px; }
  .velux-module-number { min-width: 40px; width: fit-content; }
  .velux-module-heading h2 { font-size: clamp(1.75rem, 8.6vw, 2.35rem); }
  .velux-contact-links { grid-template-columns: 1fr; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .velux-hero-link,
  .velux-anchor-grid a,
  .velux-contact-links a { transition: none; }
}

/* Korekta 2026-07-14: hero bez zdjęcia; żółte kreski tylko przy numerach 01–03. */
.velux-kicker {
  gap: 0;
}
.velux-kicker::before {
  display: none;
}
.velux-hero {
  padding: 46px 0 50px;
}
.velux-hero-grid {
  display: block;
}
.velux-hero-copy {
  max-width: 900px;
}
.velux-hero h1 {
  max-width: 850px;
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
}
.velux-hero h2,
.velux-hero-copy > p:not(.velux-kicker) {
  max-width: 760px;
}

@media (max-width: 1000px) {
  .velux-hero-grid {
    display: block;
  }
}

@media (max-width: 780px) {
  .velux-hero {
    padding: 38px 0 42px;
  }
}

@media (max-width: 620px) {
  .velux-hero {
    padding: 34px 0 38px;
  }
}

/* Spójny dolny CTA — taki sam układ i przycisk jak na stronie Materiały budowlane. */
.velux-contact { background:var(--velux-soft); color:var(--velux-graphite); }
.velux-contact-inner { min-height:150px; display:flex; align-items:center; justify-content:space-between; gap:36px; padding-top:35px; padding-bottom:38px; }
.velux-contact-copy { max-width:790px; }
.velux-contact-copy .velux-kicker { margin-bottom:12px; }
.velux-contact-copy h2 { margin:0; color:var(--velux-ink); font-family:"Open Sans",Arial,sans-serif; font-size:clamp(1.55rem,2.3vw,2.25rem); font-weight:400; line-height:1.12; letter-spacing:-.04em; text-wrap:balance; }
.velux-contact-copy > p:not(.velux-kicker) { max-width:680px; margin:12px 0 0; color:var(--velux-graphite); font-size:.84rem; line-height:1.6; }
.velux-contact-button { min-height:45px; display:inline-flex; align-items:center; justify-content:center; gap:12px; flex:0 0 auto; padding:0 20px; border:1px solid var(--velux-yellow); background:var(--velux-yellow); color:var(--velux-ink); font-size:.71rem; font-weight:800; white-space:nowrap; text-decoration:none; transition:background-color .18s ease,border-color .18s ease; }
.velux-contact-button:hover,.velux-contact-button:focus-visible { border-color:var(--velux-ink); background:transparent; }
@media (max-width:620px) { .velux-contact-inner { align-items:flex-start; flex-direction:column; gap:24px; } .velux-contact-button { width:100%; min-height:50px; } }


/* Final 2026-07-18: Kubiczek advisory copy displayed before external VELUX modules. */
.velux-hero-copy { max-width: 980px; }
.velux-hero h2 { max-width: 820px; }
.velux-hero-copy > p:not(.velux-kicker) { max-width: 940px; }
.velux-guidance {
  padding: 0 0 48px;
  background: #fff;
}
.velux-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.velux-guidance-card {
  position: relative;
  min-width: 0;
  padding: 30px 32px 32px;
  background: var(--velux-soft);
  border-top: 4px solid var(--velux-yellow);
}
.velux-guidance-card .velux-kicker { margin-bottom: 11px; }
.velux-guidance-card h2 {
  margin: 0;
  color: var(--velux-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.25rem, 1.45vw, 1.38rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
@media (min-width: 821px) {
  .velux-guidance-card h2 {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}
.velux-guidance-card > p:not(.velux-kicker) {
  margin: 17px 0 0;
  color: var(--velux-graphite);
  font-size: .9rem;
  line-height: 1.72;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}
@media (max-width: 820px) {
  .velux-guidance-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .velux-guidance { padding-bottom: 36px; }
  .velux-guidance-card { padding: 25px 22px 27px; }
}
