/* ABERG — statyczna strona firmowa
   Kolory i typografia odtworzone z oryginalnego motywu Elementor (Montserrat,
   akcent #2D81FF, granat #0A3154, tekst #141414). */

:root {
  /* Strona ABERG jest w przewadze CIEMNA (czarne/granatowe tło, jasny tekst) —
     potwierdzone w archiwum aberg.com. Jasne (.alt) sekcje to świadome "wyspy"
     (np. Spare Parts), nie reguła. */
  --c-bg: #0b0d12;
  --c-bg-alt: #ffffff;
  --c-text: #eef1f5;
  --c-text-muted: #a9b3c1;
  --c-border: rgba(255, 255, 255, 0.12);
  --c-accent: #2d81ff;
  --c-accent-dark: #1f63cc;
  --c-navy: #0a3154;
  --c-navy-dark: #050608;
  --c-ink: #141414;
  --c-ink-muted: #5c6470;
  --font-main: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* clip (not hidden) on body: hidden turns body into a scroll container and breaks the sticky header */
html { overflow-x: hidden; }
body { overflow-x: clip; }
a, button, .btn, .nav-toggle, .hs-arrow, .hs-dots button { touch-action: manipulation; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); text-transform: uppercase; letter-spacing: 0.03em; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--c-text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--c-navy-dark); }
.btn-white { background: #fff; color: var(--c-navy); }
.btn-white:hover { background: var(--c-accent); color: #fff; }
/* Wewnątrz jasnych "wysp" (.alt) przyciski outline wracają do ciemnego wariantu */
.block.alt .btn-outline { border-color: var(--c-navy); color: var(--c-navy); }
.block.alt .btn-outline:hover { background: var(--c-navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-navy-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { width: 100%; max-width: 1600px; padding: 0 40px; }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; min-width: 0; }
.header-wg { display: flex; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo { flex-shrink: 0; }
.logo img { height: 38px; width: auto; }
.eu-badge { flex-shrink: 0; }
.eu-badge img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; row-gap: 4px; min-width: 0; }
.main-nav a {
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  color: #bbbaba;
}
.main-nav a:hover { color: #fff; }
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang-switch { display: flex; gap: 6px; font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 2px 0; color: #8a8f96; }
.lang-switch a.active { color: #fff; }
.lang-switch a:hover { color: #fff; }

/* ---------- Hero slider (odtworzony z oryginalnego "ABERG SERVICE / ABERG CONNECT / ..." sliderа w nagłówku) ---------- */
.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #05060a;
}
.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}
.hs-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.35), rgba(5,6,10,.75));
}
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-content { position: relative; z-index: 1; max-width: 720px; padding: 0 24px; }
.hs-content h1 { color: #fff; margin-bottom: 10px; }
.hs-content p { color: #dfe6ee; font-size: 18px; margin-bottom: 26px; }
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 18px;
  opacity: .7;
  transition: opacity .2s;
}
.hs-arrow:hover { opacity: 1; }
.hs-prev { left: 4px; }
.hs-next { right: 4px; }
.hs-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 2; display: flex; gap: 8px; justify-content: center; }
.hs-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hs-dots button.is-active { background: #fff; }


.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #12151d 0%, #0b0d12 100%);
  text-align: center;
}
.hero p.lead { max-width: 720px; margin: 0 auto 28px; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  padding: 56px 0;
  background: var(--c-navy-dark);
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #cfe0f2; max-width: 640px; margin: 0 auto; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; border-top: 1px solid var(--c-border); }
/* .alt = jasna "wyspa" na tle ciemnej strony (np. Spare Parts) — wymuszamy ciemny tekst */
section.block.alt {
  background: var(--c-bg-alt);
  color: var(--c-ink);
}
section.block.alt p { color: var(--c-ink-muted); }
section.block.alt .eyebrow { color: var(--c-accent); }
section.block.navy { background: var(--c-navy-dark); color: #fff; }
section.block.navy h2, section.block.navy h3 { color: #fff; }
section.block.navy p { color: #c7d7e6; }
.block-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid #e4e7ec;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p { color: var(--c-ink-muted); }
.card img.icon { width: 46px; height: 46px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card ul { margin: 0; padding-left: 18px; color: var(--c-ink-muted); }
.card ul li { margin-bottom: 6px; }
/* Warianty kart osadzonych na ciemnym tle bez białego tła (np. lista korzyści) */
.card.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.15); box-shadow: none; }
.card.on-dark p, .card.on-dark ul { color: #c7d7e6; }

.stat { text-align: center; }
.stat .num { font-size: 44px; font-weight: 700; color: var(--c-accent); }
.stat .label { font-size: 14px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .04em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Karta-link do mapy serwisów, zastępuje surowy zrzut ekranu */
.map-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45,129,255,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  transition: border-color .2s, background .2s;
}
.map-cta:hover { border-color: var(--c-accent); background: linear-gradient(135deg, rgba(45,129,255,.22), rgba(255,255,255,.05)); }
.map-cta .map-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-cta .map-cta-icon svg { width: 26px; height: 26px; }
.map-cta .map-cta-text { flex: 1; }
.map-cta .map-cta-text strong { display: block; color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.map-cta .map-cta-text span { color: #a9b3c1; font-size: 14px; }
.map-cta .map-cta-arrow { flex-shrink: 0; font-size: 26px; color: var(--c-accent); }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.brand-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.brand-tabs a {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-weight: 600;
  font-size: 14px;
}
.brand-tabs a:hover, .brand-tabs a.active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

.contact-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,.04);
  color: #fff;
}
.contact-card p { color: #c7d7e6; }
.contact-card .person { font-weight: 700; margin-top: 14px; }
.contact-card .role { color: #a9b3c1; font-size: 14px; margin-bottom: 10px; }
.contact-card .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
/* Kontakt page uses contact-cards on the default dark body background too — keep them on a
   dark "surface" that fits the rest of the site instead of the archived design's white cards: */
.block:not(.navy):not(.alt) .contact-card,
.block.alt .contact-card {
  background: linear-gradient(180deg, #141a24 0%, #0e131b 100%);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.block:not(.navy):not(.alt) .contact-card .role,
.block.alt .contact-card .role { color: #a9b3c1; }
.block:not(.navy):not(.alt) .contact-card .btn-outline,
.block.alt .contact-card .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.block:not(.navy):not(.alt) .contact-card .btn-outline:hover,
.block.alt .contact-card .btn-outline:hover { background: #fff; color: var(--c-navy-dark); }

.job-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  background: rgba(255,255,255,.04);
}
.job-card h3 { margin-bottom: 4px; }
.job-card .job-meta { color: var(--c-accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.job-card details summary { cursor: pointer; font-weight: 600; color: #fff; margin-top: 10px; }
.job-card details[open] summary { margin-bottom: 10px; }
.job-card .req-list { columns: 2; column-gap: 32px; }
.job-card .req-list li { break-inside: avoid; margin-bottom: 6px; }
.job-card p, .job-card li { color: #c7d7e6; }
.job-card h4 { color: #fff; margin-top: 18px; }

.site-footer .container { max-width: 1500px; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 0 44px;
}
.partner-logos img { height: 38px; width: auto; max-width: 120px; object-fit: contain; opacity: .9; }

.legal-block { max-width: 820px; margin: 0 auto; }
.legal-block h3 { margin-top: 32px; }
.legal-block .pdf-links { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 36px; }
.legal-block details { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; background: rgba(255,255,255,.04); }
.legal-block details summary { cursor: pointer; font-weight: 700; }
.legal-block .legal-text { white-space: pre-line; font-size: 14px; color: #c7d7e6; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy-dark); color: #cfd8e3; padding: 56px 0 24px; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid a { display: block; margin-bottom: 8px; font-size: 14px; color: #b9c4d1; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #91a0b1;
}
.footer-logo img { height: 30px; margin-bottom: 14px; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-size: 110px; font-weight: 700; color: var(--c-accent); line-height: 1; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Seven menu items need ~1360px at default spacing; tighten the bar before falling back to the hamburger. */
@media (min-width: 1281px) and (max-width: 1439px) {
  .site-header .container { padding-left: 24px; padding-right: 24px; }
  .site-header .bar { gap: 14px; }
  .header-brand { gap: 12px; }
  .main-nav { column-gap: 6px; }
}

@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  /* Full-screen overlay; z-index -1 keeps it inside the header's stacking context,
     so the logo, language switch and the X button stay on top of it. */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 96px 24px 40px;
    background: var(--c-navy-dark);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
  .main-nav a { padding: 12px 16px; font-size: 20px; letter-spacing: .04em; color: #e6e9ee; }
  .main-nav a:first-child { margin-top: auto; }
  .main-nav a:last-child { margin-bottom: auto; }
  html.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav, .nav-toggle span { transition: none !important; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-card .req-list { columns: 1; }
  .hero { padding: 48px 0; }
  section.block { padding: 44px 0; }
}

@media (max-width: 560px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .header-wg { display: none; }
}

@media (max-width: 370px) {
  .logo img { height: 26px !important; }
  .header-actions { gap: 6px; }
}

/* ---------- Modernizacja (ReTrailer) + Realizacje ---------- */
.accent { color: var(--c-accent); }
section.block.deep { background: linear-gradient(180deg, #13213a 0%, #0d1628 100%); }
section.block.deep p { color: #c7d7e6; }
.lead-strong { font-weight: 600; }
section.block.deep .lead-strong { color: #fff; }

.mod-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 96px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.mod-hero .eyebrow { color: #8ab4f5; }
.mod-hero h1 { color: #fff; margin: 10px 0 30px; }

.eco-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split .eco-graphic img { width: 100%; max-width: 318px; box-shadow: none; border-radius: 0; }
.eco-title { margin: 72px 0 28px; text-align: center; font-size: 22px; }
.eco-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.eco-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.eco-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent); }
.eco-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eco-label { font-weight: 600; color: #fff; }
.eco-value { font-size: 22px; font-weight: 700; color: var(--c-accent); }

.ba-switch { max-width: 900px; margin: 0 auto 48px; }
.ba-view { display: grid; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.ba-view img { grid-area: 1 / 1; width: 100%; aspect-ratio: 757 / 400; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.ba-view img.is-active { opacity: 1; visibility: visible; }
.ba-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-tabs button { padding: 14px; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: #c7d7e6; background: #1b2231; cursor: pointer; }
.ba-tabs button:first-child { border-radius: 0 0 0 var(--radius); }
.ba-tabs button:last-child { border-radius: 0 0 var(--radius) 0; }
.ba-tabs button.is-active { color: #fff; background: var(--c-accent); }

.check-cols { max-width: 900px; margin: 0 auto; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: #c7d7e6; }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--c-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.rz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 560px)); justify-content: center; gap: 28px; }
.rz-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #141a24 0%, #0e131b 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.rz-card:hover { border-color: rgba(45,129,255,.6); }
.rz-pair { display: grid; grid-template-columns: 1fr 1fr; }
.rz-pair figure { position: relative; margin: 0; }
.rz-pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rz-pair figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,6,8,.75);
  border-radius: 4px;
}
.rz-body { padding: 22px 24px 26px; }
.rz-body h3 { font-size: 18px; }
.rz-body p { font-size: 15px; color: var(--c-text-muted); }
.rz-more { font-size: 14px; font-weight: 600; color: var(--c-accent); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 56px 0 40px; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 46px);
  width: calc(100% - 72px);
  height: 2px;
  background: rgba(45,129,255,.35);
}
.step-dot { display: grid; place-items: center; width: 76px; height: 76px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--c-accent); border-radius: 50%; }
.step-label { font-size: 15px; font-weight: 600; color: #fff; }

.contact-icon { display: block; margin-bottom: 8px; }
.contact-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--c-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.rz-title { max-width: 900px; margin: 0 auto; font-size: clamp(26px, 4vw, 42px); }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--c-accent); }
.rz-intro { align-items: start; }
.rz-facts { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 56px; }
.rz-facts-box { align-self: start; padding: 24px; background: rgba(255,255,255,.03); border: 1px solid var(--c-border); border-radius: var(--radius); }
.rz-data { margin: 0; }
.rz-data div { padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.rz-data div:last-child { border-bottom: 0; }
.rz-data dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-muted); }
.rz-data dd { margin: 4px 0 0; font-weight: 600; color: #fff; }

.gallery-title { margin: 32px 0 16px; }
/* 5 photos: first one 2x2 + four 1x1 fills a 4-column grid exactly (two full rows) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.gallery-item:hover img { opacity: .85; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,6,8,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: none; border: 0; cursor: pointer; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { top: 50%; left: 8px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 8px; transform: translateY(-50%); }
html.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .mod-hero { min-height: 480px; padding: 72px 0; }
  .eco-stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .steps li:last-child { grid-column: 1 / -1; }
  .rz-facts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-row: span 1; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-view img, .lightbox, .gallery-item img { transition: none !important; }
}
