/* Kaminski & Rosa Sp. z o.o. — site styles */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend Exa";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lexend-exa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend Exa";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lexend-exa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1B1F26;
  --ink-2: #5A5E70;
  --ink-3: #8A8E9E;
  --line: #E3E5EA;
  --line-strong: #CDD0D8;
  --bg: #FFFFFF;
  --surface: #F5F6F8;
  --dark: #12131B;
  --dark-2: #1A1C27;
  --dark-line: #2A2D3B;
  --on-dark: #EEF1F5;
  --on-dark-2: #A7A9BA;
  --accent: #3B5BDB;
  --accent-soft: #EDF1FD;
  --accent-on-dark: #8FA3F4;
  --ok: #3FB27F;

  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-wide: "Lexend Exa", "Lexend", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(18, 19, 27, .04), 0 8px 24px -12px rgba(18, 19, 27, .12);
  --shadow-lg: 0 2px 4px rgba(18, 19, 27, .04), 0 24px 48px -20px rgba(18, 19, 27, .28);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 18ch;
}
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { background: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* The logo files carry built-in clear space (60/944 of their width);
   the negative margin aligns the lettering with the content edge. */
.brand { display: block; flex: none; margin-left: calc(-240px * 60 / 944); }
.brand img { width: 240px; height: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.lang {
  display: flex;
  align-items: center;
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
}
.lang a { padding: 2px 8px; color: var(--ink-3); transition: color .2s; }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a:hover, .lang a[aria-current] { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: .7;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: var(--ink-2); }
.hero .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 80px 0 0;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-value {
  display: block;
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }

/* Console card */
.console {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dark-line);
}
.console-title { font-weight: 400; }
.console-title small {
  display: block;
  font-family: var(--font-wide);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 4px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(63, 178, 127, .12);
  color: #7FD3AC;
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(63, 178, 127, .25);
}
.console-chart { padding: 22px 0 8px; }
.console-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--on-dark-2);
  font-size: 13px;
  margin-bottom: 12px;
}
.console-chart-head strong { color: var(--on-dark); font-size: 22px; letter-spacing: -0.02em; }
.console-chart svg { width: 100%; height: auto; }

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
}
.console-metrics div { background: var(--dark-2); padding: 14px 16px; }
.console-metrics span { display: block; font-size: 12px; color: var(--on-dark-2); }
.console-metrics strong { display: block; font-size: 17px; margin-top: 2px; }

.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 12px;
  color: var(--on-dark-2);
}
.pipeline li { display: flex; align-items: center; gap: 7px; }
.pipeline li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(143, 163, 244, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2L10 5' fill='none' stroke='%238FA3F4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pipeline .sep { flex: 1; height: 1px; margin: 0 8px; background: var(--dark-line); }
.pipeline .sep::before { display: none; }

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section-surface { background: var(--surface); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lead { margin: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tags li {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-2);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 12px;
}

/* Approach (dark) */
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--on-dark-2); }
.section-dark .lead { color: var(--on-dark-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 32px 28px 8px 0;
  border-top: 1px solid var(--dark-line);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--accent-on-dark);
}
.step-num {
  display: block;
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent-on-dark);
  margin-bottom: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step-time { display: block; font-size: 13px; color: var(--on-dark-2); margin-bottom: 16px; }
.step p { color: var(--on-dark-2); font-size: 15.5px; }

.assurances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.assurance {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark);
}
.assurance svg { width: 22px; height: 22px; flex: none; color: var(--accent-on-dark); margin-top: 2px; }
.assurance strong { display: block; font-size: 15px; }
.assurance span { display: block; font-size: 13.5px; color: var(--on-dark-2); line-height: 1.5; margin-top: 2px; }

/* Case studies */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
}
.case:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.case-body { padding: 32px 32px 28px; flex: 1; }
.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-3);
}
.case-meta .industry {
  font-family: var(--font-wide);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.case h3 { font-size: 22px; margin-bottom: 12px; }
.case p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.case-kpis {
  padding: 22px 32px 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.case-kpis > span { display: block; margin-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.case-kpis li { display: flex; gap: 10px; font-size: 15px; font-weight: 400; line-height: 1.5; }
.case-kpis li + li { margin-top: 6px; }
.case-kpis li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8.5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Company */
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.company-grid .section-title { margin-bottom: 28px; }
.company-text p { color: var(--ink-2); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }

.principles { display: grid; gap: 16px; }
.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.principle-num {
  font-family: var(--font-wide);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding-top: 3px;
}
.principle h3 { font-size: 18px; margin-bottom: 6px; }
.principle p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Careers band */
.careers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding: 40px 48px;
  border-radius: 20px;
  background: var(--dark);
  color: var(--on-dark);
}
.careers h3 { font-size: 24px; margin-bottom: 6px; }
.careers p { margin: 0; color: var(--on-dark-2); font-size: 15.5px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}
.contact-grid .section-title { margin-bottom: 24px; }
.contact-details { margin-top: 44px; display: grid; gap: 22px; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-details .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
}
.contact-details .ico svg { width: 20px; height: 20px; }
.contact-details span { display: block; font-size: 13px; color: var(--ink-2); }
.contact-details a, .contact-details address { font-style: normal; font-weight: 400; }
.contact-details a:hover { color: var(--accent); }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 400; }
.field label .opt { color: var(--ink-3); font-weight: 300; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235A5E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 91, 219, .14);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}
.form-note { margin: 0; font-size: 13px; color: var(--ink-2); }
.form-status { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark-2);
  font-size: 15px;
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand img { width: 260px; height: auto; margin: -16px 0 0 calc(-260px * 60 / 944); }
.footer-brand p { max-width: 34ch; margin-top: 8px; }
.footer-col h4 {
  font-family: var(--font-wide);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 20px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col address { font-style: normal; }

.legal {
  padding-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7E8194;
}
.legal p { margin: 0; max-width: 88ch; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .services-grid, .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .assurances { grid-template-columns: repeat(2, 1fr); }
  .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(18, 19, 27, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav .btn, .nav .lang { align-self: flex-start; }
  .lang { font-size: 13px; }
  .lang a:first-child { padding-left: 0; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero .console { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .hero { padding: 56px 0 72px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .stat, .stat + .stat { padding: 24px 16px 0 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .console { padding: 20px; }
  .console-metrics { grid-template-columns: 1fr 1fr; }
  .console-metrics div:last-child { grid-column: 1 / -1; }
  .pipeline .sep { margin: 0 4px; }
  .pipeline li { gap: 5px; font-size: 11px; }
  .services-grid, .cases, .steps, .assurances { grid-template-columns: 1fr; }
  .card, .case-body { padding: 28px 24px; }
  .case-kpis { padding: 20px 24px 24px; }
  .facts { display: flex; flex-wrap: wrap; gap: 20px 40px; }
  .facts dd { font-size: 18px; white-space: nowrap; }
  .principle { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .careers { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .form-card { padding: 24px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand img { width: 240px; margin-left: calc(-240px * 60 / 944); }
  .legal { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pipeline li::before { display: none; }
}
