:root {
  --black: #000000;
  --white: #ffffff;
  --red: #C21927;
  --ink: #000000;
  --text: #5f6265;
  --soft: #f5f5f3;
  --line: #e5e5e2;
  --max: 1180px;
  --pad: clamp(18px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1, h2, h3, p { margin-top: 0; }
p { overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: normal; hyphens: none; letter-spacing: -.035em; }
h1 { font-size: clamp(43px, 5.1vw, 68px); line-height: 1.03; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.06; margin-bottom: 24px; }
h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
p { color: var(--text); }
.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.site-header :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .contact-card :focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 3px var(--red);
}

/* Shared brand elements */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow span { width: 30px; height: 3px; background: var(--red); }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 22px;
  border: 2px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--black); border-color: var(--black); }
.button.secondary { background: transparent; color: var(--ink); border-color: #cfd1d2; }
.button.secondary:hover { color: var(--white); background: var(--black); border-color: var(--black); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; padding-block: 92px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}
.section-head h2, .section-head p { margin-bottom: 0; }
.section-head > p { max-width: 520px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--red);
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 78px;
  border-bottom: 3px solid var(--red);
  background: var(--black);
}
.header-inner {
  width: min(1240px, calc(100% - 36px));
  height: 75px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.brand {
  width: clamp(145px, 15vw, 200px);
  flex: 0 0 auto;
  overflow: hidden;
}
.brand img { width: 100%; height: 66px; object-fit: contain; }
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px, 1.65vw, 24px);
}
.main-nav a {
  position: relative;
  color: #d3d3d3;
  font-size: clamp(13px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: .035em;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(.3);
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { opacity: 1; transform: scaleX(1); }
.header-cta {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.menu-toggle { display: none; }
.brand { order: 1; }
.main-nav { order: 2; }
.lang-switch { order: 3; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #303030; border-radius: 4px; background: #101010; }
.lang-switch a { min-width: 28px; padding: 4px 5px; border-radius: 2px; color: #d7d7d7; font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-align: center; }
.lang-switch a:hover { color: var(--white); background: #242424; }
.lang-switch a.active { color: var(--white); background: var(--red); }
.header-cta { order: 4; }
.menu-toggle { order: 5; }

/* Home hero */
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(68px, 8vw, 108px) clamp(40px, 7vw, 108px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.hero-copy h1 { max-width: 760px; }
.hero-copy h1 em { color: var(--red); font-style: normal; }
.hero-copy > p { max-width: 690px; margin-bottom: 34px; font-size: 18px; }
.hero-media { position: relative; min-height: 620px; overflow: hidden; background: var(--soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  content: "";
}
.hero-media span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: max(var(--pad), calc((100% - var(--max)) / 2));
  background: var(--red);
  color: var(--white);
}
.trust-strip div { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.32); }
.trust-strip div:first-child { border-left: 1px solid rgba(255,255,255,.32); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 17px; }
.trust-strip span { color: rgba(255,255,255,.78); font-size: 13px; }

/* Cards and features */
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service-cards article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); }
.service-cards article:last-child { border: 0; }
.service-cards small, .service-rows small, .process-grid small, .value-grid small {
  display: block;
  margin-bottom: 52px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .12em;
}
.service-cards p { margin-bottom: 0; font-size: 15px; }
.feature-clean {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 570px;
  background: var(--soft);
}
.feature-image { min-height: 570px; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { align-self: center; max-width: 620px; padding: 70px clamp(36px, 7vw, 98px); }
.feature-copy > p { margin-bottom: 28px; }
.feature-copy ul { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.feature-copy li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.feature-copy li svg { color: var(--red); }

/* Customer carousel */
.customers { overflow: hidden; scroll-margin-top: 88px; }
.carousel { position: relative; }
.carousel-view { overflow-x: auto; overflow-y: hidden; scroll-behavior: auto; scrollbar-width: none; touch-action: pan-x; }
.carousel-view::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; width: max-content; gap: 14px; }
.customer-logo {
  width: 178px;
  height: 154px;
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: 80px 34px;
  align-items: center;
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.customer-logo:hover { border-color: var(--red); transform: translateY(-2px); }
.customer-logo img { width: 100%; height: 80px; object-fit: contain; }
.customer-logo span {
  min-height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  white-space: normal;
}
.carousel-hit {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 58px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 34px;
  opacity: 0;
  cursor: pointer;
  transition: opacity .2s ease;
}
.carousel:hover .carousel-hit, .carousel-hit:focus-visible { opacity: 1; }
.carousel-hit.prev { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), transparent); }
.carousel-hit.next { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,.72), transparent); }

/* Partners */
.partners { border-top: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.partner-grid article {
  min-height: 245px;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
}
.partner-logo {
  width: 210px;
  height: 110px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}
.partner-logo img { width: calc(100% - 24px); max-height: 86px; object-fit: contain; }
.partner-logo--techims { border-color: var(--black); background: var(--black); }
.partner-logo--techims img { width: calc(100% - 14px); max-height: none; }
.partner-grid small { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.partner-grid p { margin-bottom: 0; font-size: 15px; }

/* CTA and footer */
.cta-band {
  min-height: 290px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 60px;
  padding: 64px max(var(--pad), calc((100% - var(--max)) / 2));
  background: var(--black);
  color: var(--white);
}
.cta-band p { margin-bottom: 8px; color: var(--white); font-weight: 800; }
.cta-band h2 { margin-bottom: 0; }
.cta-band > div:last-child { display: grid; justify-items: start; gap: 18px; }
.cta-band > div:last-child > a:first-child { font-size: 21px; font-weight: 800; }
.site-footer { padding: 68px max(var(--pad), calc((100% - var(--max)) / 2)) 22px; border-top: 3px solid var(--red); background: var(--black); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr .8fr .8fr; gap: 60px; }
.footer-main section { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-main h2 { margin-bottom: 10px; font-size: 15px; letter-spacing: .04em; }
.footer-main a, .footer-main p { color: #b7b7b7; font-size: 14px; }
.footer-main a:hover { color: var(--white); }
.footer-main .footer-contact-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; cursor: pointer; }
.footer-main .footer-contact-link svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--red); }
.footer-main .footer-contact-link span { border-bottom: 1px solid transparent; }
.footer-main .footer-contact-link:hover span, .footer-main .footer-contact-link:focus-visible span { border-bottom-color: currentColor; }
.footer-brand img { width: 205px; height: 74px; object-fit: contain; margin-bottom: 8px; }
.footer-brand p { max-width: 380px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #292929; color: #878787; font-size: 12px; }

/* Consistent inner-page header */
.page-intro {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-bottom: 1px solid var(--line);
}
.page-intro > div { display: flex; flex-direction: column; justify-content: center; padding: 70px max(var(--pad), calc((100vw - var(--max)) / 2)); padding-right: clamp(40px, 7vw, 100px); }
.page-intro > div, .reference-hero > div, .service-rows article > *, .faq-list summary > * { min-width: 0; }
.page-intro h1 { max-width: 790px; }
.page-intro p { max-width: 720px; margin-bottom: 0; font-size: 18px; }
.page-intro > img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }

/* Service and process pages */
.service-rows { border-top: 1px solid var(--line); }
.service-rows article {
  display: grid;
  grid-template-columns: 70px minmax(200px, .8fr) minmax(280px, 1.6fr) auto;
  align-items: center;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-rows small, .service-rows h3, .service-rows p { margin-bottom: 0; }
.service-rows a { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 14px; font-weight: 800; white-space: nowrap; }
.process { padding-top: 32px; }
.process-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.process-grid article, .value-grid article { min-height: 235px; padding: 28px; border-right: 1px solid var(--line); }
.process-grid article:last-child, .value-grid article:last-child { border: 0; }
.process-grid small, .value-grid small { margin-bottom: 42px; }
.process-grid p, .value-grid p { margin-bottom: 0; font-size: 15px; }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.story > div:last-child { padding-top: 46px; }
.story > div:last-child p { font-size: 18px; }
.values { padding-top: 0; }

/* Projects */
.project-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-cards > a { display: block; border: 1px solid var(--line); background: var(--white); }
.project-cards img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-cards a > div { padding: 24px 26px 26px; }
.project-cards small { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.project-cards h3 { margin: 9px 0 8px; }
.project-cards p { margin: 0; font-size: 15px; }
.reference-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: var(--soft);
}
.reference-hero > div { align-self: center; padding: 70px max(var(--pad), calc((100vw - var(--max)) / 2)); padding-right: 70px; }
.reference-hero > div > a { display: inline-block; margin-bottom: 38px; color: var(--text); font-size: 14px; font-weight: 700; }
.reference-hero > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.project-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.project-summary > p { padding-top: 42px; font-size: 18px; }
.gallery { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; overflow: hidden; background: var(--soft); }
.gallery-grid figure.wide { grid-column: 1 / -1; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid .wide img { aspect-ratio: 16/8; }

/* FAQ */
.faq { max-width: 940px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { overflow: visible; border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 24px; height: 24px; flex: 0 0 24px; color: var(--red); font-size: 22px; line-height: 24px; text-align: center; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 800px; padding: 0 42px 24px 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; }
.contact-layout aside { align-self: start; position: sticky; top: 120px; }
.contact-layout aside > a { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-weight: 700; }
.contact-layout aside > a:last-child { border-bottom: 1px solid var(--line); }
.contact-layout aside > a svg { flex: 0 0 auto; margin-top: 4px; color: var(--red); }
.contact-layout aside small { display: block; color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 34px; border-top: 4px solid var(--red); background: var(--soft); }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #a8aaa7; border-radius: 2px; outline: 0; background: var(--white); color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(194,25,39,.12); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .consent { display: flex; grid-template-columns: none; align-items: flex-start; flex-direction: row; gap: 10px; font-weight: 400; }
.contact-form .consent input { width: 19px; min-height: 19px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--red); }
.contact-form .consent a { color: var(--red); font-weight: 700; }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled { cursor: wait; opacity: .68; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note, .form-status { margin: 0; font-size: 12px; }
.form-status.error { color: var(--red); font-weight: 700; }
.form-status.success, .form-status.preview { color: var(--ink); font-weight: 700; }
.form-status.success { padding-left: 10px; border-left: 3px solid var(--red); }

/* Legal and 404 */
.legal { width: min(820px, calc(100% - 2 * var(--pad))); margin-inline: auto; padding: 90px 0 110px; }
.legal h1 { margin-bottom: 54px; }
.legal h2 { margin: 42px 0 12px; font-size: 25px; }
.legal a { color: var(--red); font-weight: 700; }
.not-found { min-height: 66vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: min(860px, calc(100% - 2 * var(--pad))); margin-inline: auto; padding: 80px 0; }

/* Standalone digital contact card */
body:has(.contact-card) { min-height: 100vh; background: var(--black); }
body:has(.contact-card) .site-header, body:has(.contact-card) .site-footer { display: none; }
.contact-card {
  width: min(100%, 480px);
  min-height: 100vh;
  margin-inline: auto;
  padding: 36px 24px 32px;
  color: var(--white);
  background: var(--black);
}
.contact-card > img { width: 236px; height: 88px; object-fit: contain; margin: 0 auto 24px; }
.contact-card-language { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.contact-card-language .lang-switch { margin: 0; }
.contact-card > small { display: block; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-align: center; }
.contact-card h1 { margin: 18px 0 4px; font-size: 38px; text-align: center; }
.contact-card > p { margin-bottom: 30px; text-align: center; }
.card-data { display: grid; margin-bottom: 20px; border-top: 1px solid #2d2d2d; }
.card-data a { display: flex; align-items: center; gap: 14px; padding: 15px 6px; border-bottom: 1px solid #2d2d2d; color: var(--white); }
.card-data svg { color: var(--red); }
.contact-card .save-contact { width: 100%; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card-actions a { min-height: 48px; display: grid; place-items: center; border: 1px solid #343434; border-radius: 3px; font-size: 14px; font-weight: 700; }
.card-actions a:last-child { grid-column: 1 / -1; }

@media (max-width: 1080px) {
  body.menu-open { overflow: hidden; }
  .site-header { height: 68px; }
  .header-inner { height: 65px; width: calc(100% - 28px); justify-content: space-between; gap: 14px; }
  .brand { position: relative; z-index: 102; width: 154px; }
  .brand img { height: 58px; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 25px; height: 2px; background: var(--white); transition: .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 68px 0 0;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: clamp(22px, 6vw, 34px) var(--pad) 32px;
    overflow-y: auto;
    border-bottom: 3px solid var(--red);
    background: var(--black);
    counter-reset: mobile-menu;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav::before {
    margin-bottom: 10px;
    color: var(--red);
    content: attr(data-menu-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
  }
  .main-nav a {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 2px;
    border-bottom: 1px solid #282828;
    color: var(--white);
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    counter-increment: mobile-menu;
  }
  .main-nav a::before {
    width: 28px;
    flex: 0 0 28px;
    color: var(--red);
    content: "0" counter(mobile-menu);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
  }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--red); }
  .main-nav a:last-child {
    min-height: 54px;
    margin-top: 16px;
    padding-inline: 16px;
    border: 1px solid var(--red);
    background: var(--red);
    color: var(--white);
  }
  .main-nav a:last-child::before { color: var(--white); }
  .header-cta { display: none; }
  .lang-switch { position: relative; z-index: 102; margin-left: auto; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-cards article { border-bottom: 1px solid var(--line); }
  .service-cards article:nth-child(2) { border-right: 0; }
  .service-cards article:nth-last-child(-n+2) { border-bottom: 0; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid article { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 24px; }
  .partner-logo { width: 210px; height: 96px; }
  .partner-logo img { width: calc(100% - 22px); max-height: 72px; }
  .partner-logo--techims img { width: calc(100% - 12px); max-height: none; }
}

@media (max-width: 800px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(40px, 11vw, 54px); }
  h2 { font-size: clamp(31px, 8vw, 40px); }
  .section { padding-block: 64px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 58px var(--pad); }
  .hero-copy > p { font-size: 16px; }
  .hero-media { min-height: 320px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); padding-inline: 0; }
  .trust-strip div, .trust-strip div:first-child { border: 1px solid rgba(255,255,255,.3); border-left: 0; border-bottom: 0; }
  .service-cards { grid-template-columns: 1fr; }
  .service-cards article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .service-cards article:last-child { border-bottom: 0 !important; }
  .service-cards small { margin-bottom: 28px; }
  .feature-clean { grid-template-columns: 1fr; }
  .feature-image { min-height: 350px; }
  .feature-copy { padding: 56px var(--pad); }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid article { grid-template-columns: 180px 1fr; gap: 22px; padding: 24px; }
  .partner-logo { width: 180px; height: 90px; }
  .cta-band { grid-template-columns: 1fr; gap: 30px; padding-block: 54px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .page-intro { min-height: 0; grid-template-columns: 1fr; }
  .page-intro > div { padding: 58px var(--pad); }
  .page-intro > img { min-height: 310px; max-height: 430px; }
  .service-rows article { grid-template-columns: 50px 1fr; gap: 10px 20px; padding: 26px 0; }
  .service-rows article small { grid-row: 1 / 4; align-self: start; padding-top: 5px; }
  .service-rows article p, .service-rows article a { grid-column: 2; }
  .process-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2), .value-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2), .value-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story, .project-summary { grid-template-columns: 1fr; gap: 10px; }
  .story > div:last-child, .project-summary > p { padding-top: 0; }
  .reference-hero { min-height: 0; grid-template-columns: 1fr; }
  .reference-hero > div { padding: 56px var(--pad); }
  .reference-hero > img { min-height: 360px; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .contact-layout aside { position: static; }
}

@media (max-width: 560px) {
  .actions .button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { padding: 18px var(--pad); }
  .service-cards article { padding: 26px; }
  .section-head .eyebrow { margin-bottom: 18px; }
  .customer-logo { width: 168px; height: 148px; }
  .partner-grid article { grid-template-columns: 1fr; }
  .partner-logo { width: min(240px, 100%); height: 96px; }
  .partner-logo img { width: calc(100% - 28px); max-height: 74px; }
  .partner-logo--techims img { width: calc(100% - 16px); max-height: none; }
  .cta-band { min-height: 0; gap: 22px; padding-block: 40px; }
  .cta-band h2 { font-size: 31px; }
  .site-footer { padding-top: 42px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .footer-brand, .footer-main section:nth-child(2) { grid-column: 1 / -1; }
  .footer-main section { gap: 2px; }
  .footer-main h2 { margin-bottom: 4px; }
  .footer-main a { min-height: 44px; display: flex; align-items: center; }
  .footer-main p { margin-bottom: 0; }
  .footer-bottom { margin-top: 28px; }
  .footer-bottom { flex-direction: column; }
  .process-grid, .value-grid, .project-cards, .gallery-grid { grid-template-columns: 1fr; }
  .process-grid article, .value-grid article { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .process-grid article:last-child, .value-grid article:last-child { border-bottom: 0 !important; }
  .project-cards { gap: 18px; }
  .gallery-grid figure.wide { grid-column: auto; }
  .gallery-grid .wide img, .gallery-grid img { aspect-ratio: 4/3; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .contact-form .full { grid-column: auto; }
  .reference-hero > img { min-height: 300px; }
  .legal h1 { font-size: 36px; }
}

@media (max-width: 380px) {
  .brand { width: 126px; }
  .lang-switch a { min-width: 25px; padding-inline: 3px; }
  h1 { font-size: clamp(32px, 9.5vw, 34px); }
  .legal h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
