/* =========================================================
   METAL MASTERS — Industrial Project Execution
   Homepage preview · design tokens + components
   ========================================================= */

:root {
  --graphite-900: #0f1113;
  --graphite-800: #16191c;
  --graphite-700: #1e2226;
  --graphite-600: #2a2f34;
  --graphite-500: #3a4046;
  --steel-400: #6b737b;
  --steel-300: #9aa2aa;
  --steel-200: #c9ced3;
  --paper: #f4f4f2;
  --white: #ffffff;
  --yellow: #f2b705;
  --yellow-dark: #c99600;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.mm-page {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.mm-page img { max-width: 100%; display: block; }
.mm-page :is(p, li, dd, h1, h2, h3) { text-wrap: pretty; }
.mm-page a { color: inherit; text-decoration: none; }
.mm-page ul { margin: 0; padding: 0; list-style: none; }
.mm-page :is(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}

.mm-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--dark { background: var(--graphite-800); color: var(--steel-200); }
.section--darker { background: var(--graphite-900); color: var(--steel-200); }
.section--paper { background: var(--paper); }
.section--dark h2, .section--darker h2,
.section--dark h3, .section--darker h3 { color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--yellow);
}
.section--dark .eyebrow, .section--darker .eyebrow, .hero .eyebrow { color: var(--yellow); }

.h-xl { font-size: clamp(48px, 7.5vw, 104px); color: var(--white); }
.h-lg { font-size: clamp(38px, 5vw, 68px); }
.h-md { font-size: clamp(30px, 3.4vw, 44px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--steel-400); }
.section--dark .muted, .section--darker .muted { color: var(--steel-300); }

.tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tagline b { color: var(--yellow); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--yellow); color: var(--graphite-900); }
.btn--primary:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark { background: var(--graphite-900); color: var(--white); }
.btn--dark:hover { background: var(--yellow); color: var(--graphite-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-900);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
}
.section--dark .link-arrow, .section--darker .link-arrow { color: var(--white); }
.link-arrow:hover { color: var(--yellow-dark); }
.section--dark .link-arrow:hover, .section--darker .link-arrow:hover { color: var(--yellow); }

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(242,183,5,.08), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #2b3136 0%, #181b1e 70%);
  color: var(--steel-300);
  min-height: 320px;
  isolation: isolate;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo__label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 1;
  font-size: 13px;
  line-height: 1.45;
  max-width: 44ch;
}
.photo__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 6px;
}
.photo::before, .photo::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--yellow);
  z-index: 1;
}
.photo::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.photo::after { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.photo:has(img) .photo__label, .photo:has(img)::before, .photo:has(img)::after { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(15,17,19,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.mm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.site-header.is-scrolled .mm-nav { height: 72px; }
.brand { display: flex; flex-direction: column; gap: 4px; }
.brand img { height: 26px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--yellow);
  text-transform: uppercase;
  white-space: nowrap;
}
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  background: none;
  border: 0;
  cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current] { color: var(--yellow); }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: var(--graphite-900);
  border-top: 3px solid var(--yellow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex;
  gap: 14px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-200);
}
.dropdown a span { color: var(--steel-400); min-width: 22px; }
.dropdown a:hover { background: var(--graphite-700); color: var(--white); }
.dropdown a:hover span { color: var(--yellow); }
.lang {
  display: flex;
  gap: 2px;
  margin-left: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.lang a { padding: 6px 8px; color: var(--steel-300); }
.lang a[aria-current] { color: var(--graphite-900); background: var(--yellow); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition: .2s;
}
.nav-toggle::before { top: 16px; }
.nav-toggle span { top: 23px; }
.nav-toggle::after { top: 30px; }
.nav-open .nav-toggle::before { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::after { top: 23px; transform: rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--steel-200);
  background: var(--graphite-900);
}
.hero .photo {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.hero .photo__label { left: auto; right: var(--gutter); top: 120px; bottom: auto; text-align: right; }
.hero .photo::before, .hero .photo::after { display: none; }
@media (max-width: 1023px) { .hero .photo__label { display: none; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,19,.92) 0%, rgba(15,17,19,.7) 45%, rgba(15,17,19,.15) 100%),
    linear-gradient(0deg, rgba(15,17,19,.85) 0%, transparent 40%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero h1 { max-width: 12ch; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  max-width: 34ch;
  margin: 0 0 20px;
}
.hero .lead { color: var(--steel-300); margin: 0 0 40px; }
.hero__foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: var(--steel-300);
}

/* ---------- Section heading block ---------- */
.head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 960px) {
  .head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
}
.head p { margin: 0; }

/* ---------- 2. Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 36px 36px;
  background: var(--white);
  min-height: 300px;
  transition: background .25s, color .25s;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: var(--yellow);
  transition: width .3s;
}
.service:hover { background: var(--graphite-800); color: var(--steel-300); }
.service:hover::before { width: 100%; }
.service:hover h3 { color: var(--white); }
.service__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow-dark);
}
.service h3 { font-size: 30px; transition: color .25s; }
.service p { margin: 0; flex: 1; }
.service .link-arrow { align-self: flex-start; }
.service:hover .link-arrow { color: var(--white); }

/* ---------- 3. Cooperation model ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  counter-reset: model;
}
.model {
  position: relative;
  padding: 44px 36px 40px;
  background: var(--graphite-700);
  border-left: 1px solid var(--graphite-500);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.model:nth-child(2) { background: var(--graphite-600); }
.model:nth-child(3) { background: var(--yellow); color: var(--graphite-900); }
.model:nth-child(3) h3, .model:nth-child(3) .model__kicker { color: var(--graphite-900); }
.model__num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--graphite-500);
}
.model:nth-child(2) .model__num { -webkit-text-stroke-color: var(--steel-400); }
.model:nth-child(3) .model__num { -webkit-text-stroke-color: var(--graphite-900); }
.model h3 { font-size: 38px; }
.model__q { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); line-height: 1.2; margin: 0; }
.model:nth-child(3) .model__q { color: var(--graphite-900); }
.model p { margin: 0; flex: 1; }
.model__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  padding-top: 18px;
  border-top: 1px solid currentColor;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.flow i { font-style: normal; color: var(--yellow); }

/* ---------- 4. Process ---------- */
.process-wrap { display: grid; gap: 48px; }
@media (min-width: 1024px) { .process-wrap { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.process-wrap .photo { min-height: 520px; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--steel-200);
}
.step:last-child { border-bottom: 1px solid var(--steel-200); }
.step__n {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow-dark);
  padding-top: 6px;
}
.step h3 { font-size: 30px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--steel-400); }
.process-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.process-line i { font-style: normal; color: var(--yellow-dark); }

/* ---------- 5–8. Feature split sections ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 88px; }
  .split--reverse .split__media { order: -1; }
}
.split__media .photo { min-height: clamp(380px, 48vw, 620px); }
.split h2 { margin-bottom: 28px; }
.split .lead { margin: 0 0 36px; }
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 32px;
  margin-bottom: 40px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--steel-200);
  font-weight: 500;
}
.section--dark .checklist li, .section--darker .checklist li { border-color: var(--graphite-600); color: var(--steel-200); }
.checklist li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  transform: translateY(-1px);
}

/* ---------- 7. QA/QC ---------- */
.qa-intro { display: grid; gap: 48px; margin-bottom: 64px; }
@media (min-width: 1024px) { .qa-intro { grid-template-columns: 1fr 1fr; gap: 88px; align-items: stretch; } }
.qa-intro .photo { min-height: 440px; }
.qa-intro__text { display: flex; flex-direction: column; justify-content: center; }
.qa-intro__text h2 { margin-bottom: 28px; }
.qa-intro__text .lead { margin: 0 0 20px; }
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--graphite-600);
  border: 1px solid var(--graphite-600);
  margin-bottom: 48px;
}
.qa-card { background: var(--graphite-900); padding: 36px 30px; }
.qa-card h3 { font-size: 26px; margin-bottom: 18px; }
.qa-card h3::before { content: ""; display: block; width: 32px; height: 3px; background: var(--yellow); margin-bottom: 20px; }
.qa-card ul { display: grid; gap: 8px; color: var(--steel-300); }
.qa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.qa-foot .process-line { margin: 0; color: var(--white); font-size: 16px; }
.qa-foot .process-line i { color: var(--yellow); }

/* ---------- 9. Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.sector {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 28px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  position: relative;
}
.sector small {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--steel-400);
}
.sectors-note { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.sectors-note p { margin: 0; }
.sectors-note strong { font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: 16px; }

/* ---------- 10. Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.case {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--steel-200);
  transition: border-color .2s, transform .2s;
}
.case:hover { border-color: var(--graphite-900); transform: translateY(-4px); }
.case .photo { min-height: 220px; }
.case__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.case__tag { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--yellow-dark); }
.case h3 { font-size: 28px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 15px; }
.case dt { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--steel-400); padding-top: 2px; }
.case dd { margin: 0; font-weight: 500; }
.todo {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a5a00;
  background: #fff3cc;
  border: 1px dashed #d9a400;
  padding: 2px 8px;
}
.proof {
  margin-top: 64px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--graphite-900);
  color: var(--steel-300);
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) { .proof { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; } }
.proof h3 { color: var(--white); font-size: clamp(30px, 3.4vw, 44px); }
.proof h3 em { font-style: normal; color: var(--yellow); }
.proof p { margin: 0; }

/* ---------- 11. Why us ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px 40px; }
.why__item { padding-top: 28px; border-top: 3px solid var(--yellow); }
.why__item span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--steel-400); }
.why__item h3 { font-size: 30px; margin: 14px 0 14px; }
.why__item p { margin: 0; color: var(--steel-400); }

/* ---------- 12. Career teaser ---------- */
.career { position: relative; background: var(--graphite-900); color: var(--steel-200); overflow: hidden; }
.career__grid { display: grid; gap: 0; }
@media (min-width: 1024px) { .career__grid { grid-template-columns: 1fr 1fr; } }
.career .photo { min-height: 460px; }
.career__text { padding: clamp(56px, 8vw, 110px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .career__text { padding-left: clamp(48px, 6vw, 96px); max-width: 700px; } }
.career__text h2 { color: var(--white); margin-bottom: 24px; }
.career__text .lead { margin: 0 0 28px; color: var(--steel-300); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.roles li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--graphite-500);
  color: var(--white);
}

/* ---------- 13. Final CTA ---------- */
.cta-final { display: grid; }
@media (min-width: 960px) { .cta-final { grid-template-columns: 1.6fr 1fr; } }
.cta-final__main { background: var(--yellow); color: var(--graphite-900); padding: clamp(56px, 8vw, 110px) var(--gutter); }
.cta-final__side { background: var(--graphite-700); color: var(--steel-300); padding: clamp(56px, 8vw, 110px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.cta-final__inner { max-width: 720px; margin-left: auto; }
.cta-final__main .eyebrow { color: var(--graphite-900); }
.cta-final__main .eyebrow::before { background: var(--graphite-900); }
.cta-final__main h2 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 16px; }
.cta-final__main .sub { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; text-transform: uppercase; line-height: 1.1; margin: 0 0 24px; }
.cta-final__main p { margin: 0 0 36px; max-width: 54ch; font-size: 18px; }
.cta-final__side h3 { color: var(--white); font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.cta-final__side p { margin: 0 0 32px; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--graphite-900); color: var(--steel-300); padding-top: 88px; font-size: 16px; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 64px; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-brand .sub { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .08em; color: var(--white); text-transform: uppercase; margin: 0 0 8px; }
.footer-brand .tagline { font-size: 13px; }
.site-footer h4 { font-size: 15px; letter-spacing: .18em; color: var(--white); margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--graphite-600);
  font-size: 14px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile navigation ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 40px;
    background: var(--graphite-900);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s;
  }
  .nav-open .menu { transform: none; }
  .nav-open .site-header { background: var(--graphite-900); }
  .nav-open .mm-nav { height: 72px; }
  .menu > li { border-bottom: 1px solid var(--graphite-600); }
  .menu > li > a, .menu > li > button { height: 60px; font-size: 20px; width: 100%; justify-content: space-between; padding: 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    padding: 0 0 12px;
    display: none;
    min-width: 0;
    background: transparent;
  }
  .menu > li.is-open .dropdown { display: block; }
  .dropdown a { padding: 10px 0; }
  .lang { margin: 24px 0 0; }
}

/* =========================================================
   SUBPAGES
   ========================================================= */
.hero .photo img { object-position: 70% center; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  background: var(--graphite-900);
  color: var(--steel-200);
}
.page-hero .photo { position: absolute; inset: 0; min-height: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,19,.94) 0%, rgba(15,17,19,.72) 50%, rgba(15,17,19,.25) 100%),
    linear-gradient(0deg, rgba(15,17,19,.9) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero__content { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(44px, 6.2vw, 88px); color: var(--white); max-width: 16ch; margin-bottom: 24px; }
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero .hero__sub { margin-bottom: 36px; max-width: 48ch; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--steel-400);
}
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span[aria-current] { color: var(--white); }

/* ---------- Intro + scope card ---------- */
.intro { display: grid; gap: 48px; }
@media (min-width: 1024px) { .intro { grid-template-columns: 1.15fr 1fr; gap: 88px; align-items: start; } }
.intro h2 { margin-bottom: 28px; }
.intro .lead { margin: 0 0 20px; }
.intro p { margin: 0 0 18px; }
.scope-card { background: var(--graphite-900); color: var(--steel-200); padding: clamp(32px, 4vw, 48px); border-top: 4px solid var(--yellow); }
.scope-card h3 { color: var(--white); font-size: 28px; margin-bottom: 24px; }
.scope-card .checklist { grid-template-columns: 1fr; margin: 0; }
.scope-card .checklist li { border-color: var(--graphite-600); color: var(--steel-200); }
.scope-card .note { margin: 24px 0 0; font-size: 15px; color: var(--steel-300); }
.scope-card--wide .checklist { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 28px; }

/* ---------- Cards (generic grid) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.card { background: var(--white); padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; }
.card__num { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--yellow-dark); }
.card h3 { font-size: 26px; }
.card p { margin: 0; color: var(--steel-400); }
.card ul { display: grid; gap: 6px; color: var(--graphite-700); font-weight: 500; }
.section--darker .cards, .section--dark .cards { background: var(--graphite-600); border-color: var(--graphite-600); }
.section--darker .card, .section--dark .card { background: var(--graphite-900); }
.section--darker .card p, .section--dark .card p { color: var(--steel-300); }
.section--darker .card ul, .section--dark .card ul { color: var(--steel-200); }

/* ---------- Horizontal process ---------- */
.hsteps { display: grid; grid-template-columns: 1fr; gap: 0 28px; }
@media (min-width: 640px) { .hsteps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .hsteps { grid-template-columns: repeat(5, 1fr); } }
.hstep { position: relative; padding: 28px 0 32px 0; border-top: 3px solid var(--steel-200); }
.hstep::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--yellow); }
.section--darker .hstep, .section--dark .hstep { border-color: var(--graphite-500); }
.hstep span { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; color: var(--yellow-dark); }
.section--darker .hstep span, .section--dark .hstep span { color: var(--yellow); }
.hstep h3 { font-size: 24px; margin: 10px 0 10px; }
.hstep p { margin: 0; color: var(--steel-400); font-size: 16px; }
.section--darker .hstep p, .section--dark .hstep p { color: var(--steel-300); }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
.spec th { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); width: 36%; }
.spec td { font-weight: 500; }
.table-wrap { overflow-x: auto; }

/* ---------- Highlight block ---------- */
.highlight { display: grid; gap: 40px; background: var(--graphite-900); color: var(--steel-300); }
@media (min-width: 1024px) { .highlight { grid-template-columns: 1fr 1fr; gap: 0; } }
.highlight .photo { min-height: 420px; }
.highlight__text { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.highlight__text h2 { color: var(--white); margin-bottom: 24px; }
.highlight__text .lead { color: var(--steel-200); margin: 0 0 24px; }
.highlight__text .checklist { grid-template-columns: 1fr; }
.highlight__text .checklist li { border-color: var(--graphite-600); color: var(--steel-200); }

/* ---------- Compact models ---------- */
.models--compact .model { padding: 32px 30px; gap: 12px; }
.models--compact .model h3 { font-size: 30px; }
.models--compact .model__num { font-size: 56px; }

/* ---------- Service nav ---------- */
.service-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.service-nav a {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 26px 28px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  transition: background .2s, color .2s;
}
.service-nav a span { font-size: 15px; letter-spacing: .14em; color: var(--yellow-dark); }
.service-nav a:hover { background: var(--graphite-800); color: var(--white); }
.service-nav a[aria-current] { background: var(--yellow); color: var(--graphite-900); pointer-events: none; }
.service-nav a[aria-current] span { color: var(--graphite-900); }

/* grid fixes: no grey filler cells on uneven rows */
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; background: transparent; border: 0; border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.card { border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.section--darker .cards, .section--dark .cards { background: transparent; border-color: var(--graphite-600); }
.section--darker .card, .section--dark .card { border-color: var(--graphite-600); }
.service-nav { grid-template-columns: 1fr; }
@media (min-width: 600px) { .service-nav { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .service-nav { grid-template-columns: repeat(3, 1fr); } }

/* header readability + language switch */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(180deg, rgba(15,17,19,.75) 0%, rgba(15,17,19,0) 100%);
  pointer-events: none;
  transition: opacity .25s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header .mm-nav { position: relative; }
.menu > li.lang > a { height: auto; padding: 6px 9px; letter-spacing: .1em; color: var(--steel-300); }
.menu > li.lang > a[aria-current] { color: var(--graphite-900); background: var(--yellow); }
.menu > li.lang > a:hover:not([aria-current]) { color: var(--yellow); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 78px); max-width: 20ch; }

/* =========================================================
   O NAS · REALIZACJE · KARIERA · KONTAKT · LEGAL
   ========================================================= */

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 28px 0 28px 32px; border-left: 2px solid var(--steel-200); position: relative; }
.tl-item::before { content: ""; position: absolute; left: -8px; top: 34px; width: 14px; height: 14px; background: var(--yellow); }
.tl-item:last-child { border-left-color: var(--yellow); }
@media (min-width: 900px) { .tl-item { grid-template-columns: 180px 1fr; gap: 40px; } }
.tl-date { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .06em; color: var(--yellow-dark); }
.tl-item h3 { font-size: 26px; margin-bottom: 6px; }
.tl-where { font-weight: 600; color: var(--graphite-600); margin: 0 0 10px; }
.tl-item p { margin: 0; color: var(--steel-400); }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 40px; }
@media (min-width: 1024px) { .founder { grid-template-columns: 1.2fr 1fr; gap: 88px; align-items: center; } }
.founder__card { background: var(--graphite-900); color: var(--steel-300); padding: clamp(32px, 4vw, 52px); border-top: 4px solid var(--yellow); }
.founder__card h3 { color: var(--white); font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.founder__role { font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 28px; }
.founder__card .checklist { grid-template-columns: 1fr; margin: 0; }
.founder__card .checklist li { border-color: var(--graphite-600); color: var(--steel-200); }
.founder p { margin: 0 0 18px; }

/* ---------- Facts (only verifiable) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--graphite-600); border-left: 1px solid var(--graphite-600); }
.fact { padding: 32px 28px; border-right: 1px solid var(--graphite-600); border-bottom: 1px solid var(--graphite-600); }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--white); margin-bottom: 10px; }
.fact span { color: var(--steel-300); font-size: 15px; }

/* ---------- Case study ---------- */
.case-list { display: grid; gap: 32px; }
.cs { display: grid; background: var(--white); border: 1px solid var(--steel-200); }
@media (min-width: 1024px) { .cs { grid-template-columns: 360px 1fr; } }
.cs__side { background: var(--graphite-900); color: var(--steel-300); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.cs__num { font-family: var(--font-display); font-weight: 700; letter-spacing: .18em; color: var(--yellow); font-size: 15px; }
.cs__side h3 { color: var(--white); font-size: 30px; }
.cs__meta { display: grid; gap: 14px; margin: 0; }
.cs__meta div { display: grid; gap: 2px; }
.cs__meta dt { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-400); }
.cs__meta dd { margin: 0; color: var(--white); font-weight: 500; }
.cs__body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-content: start; }
.cs__body h4 { font-size: 17px; letter-spacing: .14em; color: var(--yellow-dark); margin-bottom: 12px; }
.cs__body p { margin: 0; }
.cs__body .checklist { margin: 0; }
.cs__cols { display: grid; gap: 28px; }
@media (min-width: 720px) { .cs__cols { grid-template-columns: 1fr 1fr; } }
.cs__gallery { border: 1px dashed var(--steel-300); padding: 16px 20px; color: var(--steel-400); font-size: 15px; }
.badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; background: var(--yellow); color: var(--graphite-900); align-self: flex-start; }
.badge--outline { background: transparent; color: var(--yellow); border: 1px solid var(--yellow); }
.note-box { padding: 24px 28px; border-left: 4px solid var(--yellow); background: var(--paper); color: var(--graphite-700); }
.note-box p { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 44px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.form legend { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; padding: 0 0 14px; margin-bottom: 8px; border-bottom: 2px solid var(--yellow); width: 100%; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.hint { font-size: 14px; color: var(--steel-400); margin: 0; }
.req { color: var(--yellow-dark); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form select, .form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--graphite-900);
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--graphite-900); box-shadow: 0 0 0 3px rgba(242,183,5,.45); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--steel-300); background: var(--white);
  font-weight: 500; cursor: pointer; transition: .15s;
}
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--steel-400); background: var(--white); }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--graphite-900); background: #fff8e1; }
.choice input:checked + span::before { background: var(--yellow); border-color: var(--graphite-900); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,183,5,.45); }
.file-drop { display: grid; gap: 8px; padding: 22px; border: 2px dashed var(--steel-300); background: var(--white); }
.file-drop input { font: inherit; font-size: 15px; max-width: 100%; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 14px; color: var(--graphite-600); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--graphite-900); }
.consent a { text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-status { display: none; padding: 18px 22px; background: var(--graphite-900); color: var(--white); border-left: 4px solid var(--yellow); }
.form-status.is-visible { display: block; }
.form-panel { background: var(--paper); padding: clamp(20px, 5vw, 64px); }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) { .contact-layout { grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; } .contact-aside { position: sticky; top: 100px; } }
.contact-aside { display: grid; gap: 24px; }
.contact-card { background: var(--graphite-900); color: var(--steel-300); padding: 36px 32px; }
.contact-card h3 { color: var(--white); font-size: 26px; margin-bottom: 18px; }
.contact-card address { font-style: normal; display: grid; gap: 6px; }
.contact-card a { color: var(--white); }
.contact-card a:hover { color: var(--yellow); }
.contact-card--yellow { background: var(--yellow); color: var(--graphite-900); }
.contact-card--yellow h3 { color: var(--graphite-900); }
.contact-card--yellow p { margin: 0 0 20px; }

/* ---------- Offers ---------- */
.offers-empty { display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--graphite-600); }
@media (min-width: 960px) { .offers-empty { grid-template-columns: 1.3fr auto; align-items: center; } }
.offers-empty h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.offers-empty p { margin: 0; }

/* ---------- Role groups (career) ---------- */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.role { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px; border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); background: var(--white); }
.role__tag { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--yellow-dark); }
.role h3 { font-size: 30px; }
.role p { margin: 0; color: var(--steel-400); }
.role ul { display: grid; gap: 6px; flex: 1; }
.role li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.role li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--yellow); }
.role .link-arrow { align-self: flex-start; margin-top: 8px; }

/* ---------- Legal text ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 56px 0 18px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--graphite-700); }
.legal ul, .legal ol { padding-left: 22px; list-style: disc; display: grid; gap: 8px; margin: 0 0 18px; }
.legal ol { list-style: decimal; }
.legal a { text-decoration: underline; }
.draft-banner { background: #fff3cc; border: 1px dashed #d9a400; color: #6b4700; padding: 18px 22px; margin-bottom: 48px; }
.draft-banner strong { display: block; margin-bottom: 4px; }
.page-hero--short { min-height: 52vh; min-height: 52svh; }
.page-hero--plain { min-height: 0; }
.page-hero--plain::after { display: none; }

.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.case { border-top: 4px solid var(--yellow); }

/* =========================================================
   POPRAWKI PO PRZEGLĄDZIE (01.10.2026)
   ========================================================= */

/* Przyciski: kolory muszą wygrać z .mm-page a { color: inherit } */
.mm-page a.btn--primary { color: var(--graphite-900); }
.mm-page a.btn--primary:hover { color: var(--graphite-900); }
.mm-page a.btn--dark { color: var(--white); }
.mm-page a.btn--dark:hover { color: var(--graphite-900); }
.mm-page a.btn--ghost { color: var(--white); }
.mm-page a.btn--ghost:hover { color: var(--yellow); }
.mm-page a.link-arrow { color: var(--graphite-900); }
.section--dark .mm-page a.link-arrow,
.mm-page .section--dark a.link-arrow,
.mm-page .section--darker a.link-arrow,
.mm-page .service:hover a.link-arrow { color: var(--white); }

/* Nagłówek: czytelność na jasnych zdjęciach + hover, który nie znika */
.site-header::before { inset: 0 0 -60px 0; background: linear-gradient(180deg, rgba(15,17,19,.92) 0%, rgba(15,17,19,.55) 60%, rgba(15,17,19,0) 100%); }
.menu > li > a, .menu > li > button { position: relative; }
.menu > li > a::after, .menu > li > button::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .2s;
}
.menu > li > a:hover, .menu > li > button:hover { color: var(--white); }
.menu > li > a:hover::after, .menu > li > button:hover::after { transform: scaleX(1); }
.menu > li > a[aria-current="page"] { color: var(--yellow); }
.menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.menu > li.lang > a::after { display: none; }

/* Sekcje CTA: ciemne tło zamiast żółtego — biały tekst jest czytelny */
.cta-final__main { background: var(--graphite-900); color: var(--steel-200); }
.cta-final__main h2, .cta-final__main .sub { color: var(--white); }
.cta-final__main .eyebrow { color: var(--yellow); }
.cta-final__main .eyebrow::before { background: var(--yellow); }
.cta-final__main p { color: var(--steel-300); }
.cta-final__main .mm-page a.btn--dark,
.mm-page .cta-final__main a.btn--dark { background: var(--yellow); color: var(--graphite-900); }
.mm-page .cta-final__main a.btn--dark:hover { background: var(--white); }
.cta-final__side { background: var(--graphite-800); }

.contact-card--yellow { background: var(--graphite-800); color: var(--steel-300); }
.contact-card--yellow h3 { color: var(--white); }
.mm-page .contact-card--yellow a.btn--dark { background: var(--yellow); color: var(--graphite-900); }
.mm-page .contact-card--yellow a.btn--dark:hover { background: var(--white); }

/* Stopka: logo w szerokości tekstu + spójne kolory nazwy */
.footer-brand img { height: auto; width: 230px; max-width: 100%; margin-bottom: 20px; }
.footer-brand .sub { color: var(--yellow); font-size: 16px; letter-spacing: .14em; }
.footer-brand .tagline { color: var(--steel-300); }

/* Prawy panel CTA: przycisk musi wyglądać na klikalny */
.cta-final { position: relative; }
@media (min-width: 960px) { .cta-final__side { border-left: 1px solid rgba(255,255,255,.10); } }
.cta-final__side .eyebrow { color: var(--yellow); }
.cta-final__side .eyebrow::before { background: var(--yellow); }
.cta-final__side p { color: var(--steel-300); }
.mm-page .cta-final__side a.btn--ghost {
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
}
.mm-page .cta-final__side a.btn--ghost:hover {
  background: var(--yellow);
  color: var(--graphite-900);
  border-color: var(--yellow);
}

/* Stopka: logo w szerokości napisu pod nim + LinkedIn */
.footer-brand img { width: 248px; }
.mm-page a.footer-social,
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--steel-200);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.mm-page a.footer-social:hover,
.footer-social:hover { border-color: var(--yellow); color: var(--graphite-900); background: var(--yellow); }

/* Rozwijane menu: przejście do strony zbiorczej „Usługi” */
.dropdown__all {
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--yellow) !important;
  font-size: 13px !important;
  letter-spacing: .14em !important;
}
.dropdown__all i { font-style: normal; transition: transform .2s; }
.dropdown__all:hover i { transform: translateX(4px); display: inline-block; }

/* =========================================================
   POPRAWKI PO TEŚCIE NA TELEFONIE (01.10.2026)
   ========================================================= */

/* Zwinięte menu stoi poza ekranem po prawej — bez tego stronę da się
   przesuwać palcem w bok. „clip” nie psuje position:sticky, „hidden” to zapas. */
@media (max-width: 1180px) {
  html { overflow-x: hidden; overflow-x: clip; }
  body { overflow-x: hidden; overflow-x: clip; }
  .menu { max-width: 100%; }
}

/* Kafelki zdjęciowe zakresu wykonawczego (strona główna) */
.shots { display: grid; gap: 2px; background: var(--graphite-600); }
@media (min-width: 600px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--graphite-900);
}
@media (max-width: 599px) { .shot { aspect-ratio: 4 / 3; } }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,17,19,.92) 0%, rgba(15,17,19,.35) 45%, rgba(15,17,19,.05) 100%);
}
.shot span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}
.shot span i { font-style: normal; color: var(--yellow); transition: transform .25s; }
.shot:hover img { transform: scale(1.05); }
.shot:hover span i { transform: translateX(5px); }
.mm-page a.shot { color: var(--white); }

/* Zwinięte menu nie wyjeżdża poza ekran (na telefonie powodowało to
   przewijanie strony w bok) — zamiast przesunięcia przycinamy je w miejscu. */
@media (max-width: 1180px) {
  .menu {
    transform: none;
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition: clip-path .3s;
  }
  .nav-open .menu { transform: none; clip-path: inset(0 0 0 0); pointer-events: auto; }
}
@media (max-width: 1180px) { .menu .caret { margin-right: 8px; } }

/* Formularze na bardzo wąskich ekranach (320 px) */
.form-grid, .form .field, .choices, .form-panel { min-width: 0; }
.form input, .form select, .form textarea { max-width: 100%; }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } }
/* Pole wyboru pliku ma dużą szerokość własną — bez tego rozpycha formularz */
.file-drop { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.file-drop input, input[type="file"] { min-width: 0; width: 100%; max-width: 100%; }
.file-drop .label, .file-drop .hint { min-width: 0; overflow-wrap: anywhere; }

/* =========================================================
   FORMINATOR — dopasowanie do wyglądu strony
   ========================================================= */
.mm-page .forminator-ui.forminator-custom-form { font-family: var(--font-body); color: var(--graphite-900); }
.mm-page .forminator-row { display: grid; gap: 20px; margin: 0 0 20px; }
@media (min-width: 720px) { .mm-page .forminator-row { grid-template-columns: repeat(12, 1fr); } }
.mm-page .forminator-col { min-width: 0; }
@media (min-width: 720px) {
  .mm-page .forminator-col-12 { grid-column: span 12; }
  .mm-page .forminator-col-6 { grid-column: span 6; }
  .mm-page .forminator-col-4 { grid-column: span 4; }
}
.mm-page .forminator-field { display: grid; gap: 8px; align-content: start; min-width: 0; }

/* Nagłówek sekcji — jak legenda w projekcie */
.mm-page .forminator-field-section { margin-top: 20px; }
.mm-page .forminator-field-section .forminator-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 0 14px;
  margin: 0;
  border-bottom: 2px solid var(--yellow);
}
.mm-page .forminator-row:first-child .forminator-field-section { margin-top: 0; }

.mm-page .forminator-label { font-weight: 600; font-size: 15px; margin: 0; }
.mm-page .forminator-required { color: var(--yellow-dark); }
.mm-page .forminator-description { font-size: 14px; color: var(--steel-400); margin: 0; }

.mm-page .forminator-input,
.mm-page .forminator-textarea,
.mm-page .forminator-ui select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--graphite-900);
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-radius: 0;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.mm-page .forminator-textarea { min-height: 140px; resize: vertical; }
.mm-page .forminator-input:focus,
.mm-page .forminator-textarea:focus,
.mm-page .forminator-ui select:focus {
  outline: none;
  border-color: var(--graphite-900);
  box-shadow: 0 0 0 3px rgba(242,183,5,.45);
}

/* Pola wyboru */
.mm-page .forminator-field-checkbox .forminator-checkbox { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--steel-300); background: var(--white); cursor: pointer; margin: 0 0 8px; }
.mm-page .forminator-checkbox-box { flex: none; width: 18px; height: 18px; border: 2px solid var(--steel-400); background: var(--white); border-radius: 0; }
.mm-page .forminator-checkbox input:checked + .forminator-checkbox-box { background: var(--yellow); border-color: var(--graphite-900); }
.mm-page .forminator-checkbox-label { font-weight: 500; }

/* Przesyłanie pliku */
.mm-page .forminator-field-upload .forminator-file-upload { padding: 22px; border: 2px dashed var(--steel-300); background: var(--white); }
.mm-page .forminator-button-upload { background: var(--graphite-900); color: var(--white); border: 0; padding: 12px 22px; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.mm-page .forminator-button-upload:hover { background: var(--yellow); color: var(--graphite-900); }

/* Zgody */
.mm-page .forminator-field-consent .forminator-checkbox__wrapper { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.mm-page .forminator-consent__label, .mm-page .forminator-checkbox__label { font-size: 14px; color: var(--graphite-600); line-height: 1.5; }
.mm-page .forminator-consent__label a { text-decoration: underline; color: var(--graphite-900); }

/* Przycisk wysyłki */
.mm-page .forminator-button-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 34px;
  background: var(--yellow);
  color: var(--graphite-900);
  border: 0;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.mm-page .forminator-button-submit:hover { background: var(--graphite-900); color: var(--white); }

/* Komunikaty */
.mm-page .forminator-response-message { padding: 18px 22px; background: var(--graphite-900); color: var(--white); border-left: 4px solid var(--yellow); margin-bottom: 24px; }
.mm-page .forminator-response-message.forminator-error { border-left-color: #d6453c; }
.mm-page .forminator-error-message { color: #b3261e; font-size: 14px; }

/* Forminator ma bardzo mocne własne style — poniżej nadpisania z wyższą wagą */
.mm-page .forminator-ui.forminator-custom-form .forminator-field-section .forminator-title,
.mm-page .forminator-ui .forminator-field-section .forminator-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--graphite-900) !important;
  padding: 0 0 14px !important;
  margin: 0 !important;
  border-bottom: 2px solid var(--yellow) !important;
}
.mm-page .forminator-ui .forminator-field-section { margin-top: 20px; }
.mm-page .forminator-ui .forminator-row:first-child .forminator-field-section { margin-top: 0; }

.mm-page .forminator-ui .forminator-label {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--graphite-900) !important;
}
.mm-page .forminator-ui .forminator-input,
.mm-page .forminator-ui .forminator-textarea,
.mm-page .forminator-ui select {
  border-radius: 0 !important;
  border-color: var(--steel-300) !important;
  background-color: var(--white) !important;
  color: var(--graphite-900) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  min-height: 52px !important;
}
.mm-page .forminator-ui .forminator-input:focus,
.mm-page .forminator-ui .forminator-textarea:focus,
.mm-page .forminator-ui select:focus {
  border-color: var(--graphite-900) !important;
  box-shadow: 0 0 0 3px rgba(242,183,5,.45) !important;
}

/* Opcje wyboru w siatce, tak jak w projekcie */
.mm-page .forminator-ui .forminator-field-checkbox,
.mm-page .forminator-ui .forminator-field-radio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.mm-page .forminator-ui .forminator-field-checkbox > .forminator-label,
.mm-page .forminator-ui .forminator-field-radio > .forminator-label,
.mm-page .forminator-ui .forminator-field-checkbox > .forminator-description,
.mm-page .forminator-ui .forminator-field-checkbox > .forminator-error-message { grid-column: 1 / -1; }
.mm-page .forminator-ui .forminator-field-checkbox .forminator-checkbox,
.mm-page .forminator-ui .forminator-field-radio .forminator-radio { margin: 0 !important; }
@media (max-width: 420px) {
  .mm-page .forminator-ui .forminator-field-checkbox,
  .mm-page .forminator-ui .forminator-field-radio { grid-template-columns: 1fr; }
}

.mm-page .forminator-ui .forminator-button-submit {
  border-radius: 0 !important;
  background: var(--yellow) !important;
  color: var(--graphite-900) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  min-height: 58px !important;
  padding: 0 34px !important;
}
.mm-page .forminator-ui .forminator-button-submit:hover { background: var(--graphite-900) !important; color: var(--white) !important; }
.mm-page .forminator-ui .forminator-button-upload { border-radius: 0 !important; }

/* Bardzo wąskie ekrany (do 400 px): siatki z szerokimi kolumnami
   schodzą do jednej kolumny, żeby nic nie wystawało poza ekran. */
@media (max-width: 400px) {
  .services,
  .models,
  .cases,
  .cards,
  .cards--3,
  .role-grid,
  .service-nav,
  .facts,
  .why { grid-template-columns: 1fr; }
}

/* Opcje wyboru: siatka jest na wewnętrznym .forminator-field, nie na kolumnie */
.mm-page .forminator-ui .forminator-field-checkbox,
.mm-page .forminator-ui .forminator-field-radio { display: block; }
.mm-page .forminator-ui .forminator-field-checkbox .forminator-field,
.mm-page .forminator-ui .forminator-field-radio .forminator-field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.mm-page .forminator-ui .forminator-field-checkbox .forminator-field > .forminator-label,
.mm-page .forminator-ui .forminator-field-checkbox .forminator-field > .forminator-description,
.mm-page .forminator-ui .forminator-field-checkbox .forminator-field > .forminator-error-message,
.mm-page .forminator-ui .forminator-field-radio .forminator-field > .forminator-label,
.mm-page .forminator-ui .forminator-field-radio .forminator-field > .forminator-description { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .mm-page .forminator-ui .forminator-field-checkbox .forminator-field,
  .mm-page .forminator-ui .forminator-field-radio .forminator-field { grid-template-columns: 1fr; }
}
