/* =========================================================
   ALRIM – one-page website
   ========================================================= */

:root {
  --bg-0: #08080f;
  --bg-1: #0d0d18;
  --bg-2: #12121f;
  --card: #161626;
  --line: rgba(255, 255, 255, .09);
  --light: #f3f4f8;
  --light-2: #e8e9f1;
  --ink: #0e0f1d;
  --ink-2: #4b4d63;
  --text: #e9e9f2;
  --muted: #a3a5bb;
  --accent: #6d35f2;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(109, 53, 242, .14);
  --radius: 10px;
  --header-h: 78px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

/* ---------- icons ---------- */
svg.ic,
.stats__icon, .area__icon, .card__icon, .card__arrow, .spec__icon,
.banner__icon, .banner__arrow, .footer__social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
svg.ic { width: 18px; height: 18px; }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.h4 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.accent { color: var(--accent-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(109, 53, 242, .7);
}
.btn--primary:hover { background: #7c47ff; transform: translateY(-2px); }
.btn--outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--outline:hover { border-color: var(--accent-2); background: var(--accent-soft); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(8, 8, 15, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 170px; height: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 10px 18px; font-size: 14px; border-color: var(--accent-2); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s, top .3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 15, .92) 0%, rgba(8, 8, 15, .72) 38%, rgba(8, 8, 15, .15) 75%),
    linear-gradient(0deg, rgba(8, 8, 15, 1) 0%, rgba(8, 8, 15, 0) 40%),
    linear-gradient(180deg, rgba(8, 8, 15, .7) 0%, rgba(8, 8, 15, 0) 22%),
    url("../img/hero.jpg") center 65% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content { margin-bottom: auto; padding-top: 8vh; }
.hero__title {
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero__lead {
  max-width: 470px;
  font-size: 18px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.stats__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__icon { width: 36px; height: 36px; color: var(--accent-2); stroke-width: 1.5; }
.stats__item strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.stats__item span { font-size: 14px; color: var(--muted); }

/* =========================================================
   GENERIC SECTIONS
   ========================================================= */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section--dark { background: var(--bg-1); }
.section--dark2 { background: var(--bg-0); }
.section--light { background: var(--light); color: var(--ink); }
.section--light p { color: var(--ink-2); }
.section p + p { margin-top: 16px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__text p { color: var(--muted); }
.about__media {
  position: relative;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(109, 53, 242, .55), transparent 30%);
  z-index: 1;
  pointer-events: none;
}
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.areas__title { margin: 90px 0 28px; }
.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.area {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  background: var(--bg-1);
  transition: background .3s;
}
.area:hover { background: var(--bg-2); }
.area__icon { width: 30px; height: 30px; color: var(--accent-2); stroke-width: 1.5; }
.area strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.area span { font-size: 14px; color: var(--muted); }

/* =========================================================
   WHAT WE DO
   ========================================================= */
.wwd__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.wwd__head .h2 { margin-bottom: 0; }
.wwd__lead { color: var(--muted); max-width: 440px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, .55);
  box-shadow: 0 24px 50px -24px rgba(109, 53, 242, .55);
}
.card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 30px; height: 30px; color: var(--accent-2); margin-bottom: 18px; stroke-width: 1.5; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.card__arrow { width: 20px; height: 20px; margin-top: auto; color: #fff; transition: transform .3s var(--ease), color .3s; }
.card:hover .card__arrow { transform: translateX(6px); color: var(--accent-2); }

/* =========================================================
   SERVICE
   ========================================================= */
.service__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}
.service__intro .btn { margin-top: 32px; }
.service__scope {
  border-left: 1px solid rgba(14, 15, 29, .12);
  padding-left: 40px;
}
.service__media {
  position: relative;
  align-self: stretch;
}
.service__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 4px;
}
.service__media::after {
  content: "";
  position: absolute;
  right: -24px; bottom: -24px;
  width: 55%; height: 45%;
  background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
  opacity: .9;
  z-index: -0;
  pointer-events: none;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.service__media img { position: relative; z-index: 1; }

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}
.checklist li + li { margin-top: 11px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--light li { color: var(--text); }
.checklist--light li::before { background: var(--accent-2); }

/* =========================================================
   SPARE PARTS
   ========================================================= */
.parts { padding: 0; min-height: 720px; display: flex; align-items: center; }
.parts__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.parts__media img { width: 100%; height: 100%; object-fit: cover; }
.parts__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 24, .1), rgba(13, 13, 24, .35));
}
/* purple accent stripe along the diagonal edge */
.parts::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 10%);
  width: 10%;
  background: linear-gradient(180deg, var(--accent), rgba(109, 53, 242, 0));
  clip-path: polygon(100% 0, 100% 0, 0 100%, -6% 100%);
  clip-path: polygon(96% 0, 100% 0, 4% 100%, 0 100%);
  z-index: 1;
  opacity: .9;
}
.parts__grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.parts__content { grid-column: 2; padding: 110px 0 110px 24px; }
.parts__lead { color: var(--muted); margin-bottom: 28px; }

.brands { margin-bottom: 36px; border-top: 1px solid var(--line); }
.brands__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  transition: background .25s, padding .25s;
}
.brands__row:hover { background: rgba(255, 255, 255, .025); padding-left: 8px; }
.brands dt { font-weight: 600; color: #fff; }
.brands dd { margin: 0; color: var(--muted); letter-spacing: .01em; }

/* =========================================================
   GENSETS
   ========================================================= */
.gensets__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.gensets__media { position: relative; }
.gensets__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.gensets__badge {
  position: absolute;
  left: 0; bottom: -28px;
  background: var(--accent);
  color: #fff;
  padding: 18px 26px;
  border-radius: 6px;
  box-shadow: 0 20px 40px -18px rgba(109, 53, 242, .8);
}
.gensets__badge strong { display: block; font-size: 30px; line-height: 1; font-weight: 800; }
.gensets__badge span { font-size: 13px; opacity: .85; }

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid rgba(14, 15, 29, .1);
}
.spec { display: flex; gap: 16px; padding: 0 24px; border-left: 1px solid rgba(14, 15, 29, .1); }
.spec:first-child { border-left: 0; padding-left: 0; }
.spec__icon { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.5; }
.spec h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.spec p { font-size: 14px; line-height: 1.55; }

.banner {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(100deg, var(--bg-1) 0%, #171433 70%, #2a1a6e 100%);
  color: #fff;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.banner::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 120px;
  background: var(--accent);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .85;
}
.banner:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(109, 53, 242, .8); }
.banner__icon { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: var(--accent-2); }
.banner__text { flex: 1; }
.banner__text strong { display: block; font-size: 17px; margin-bottom: 4px; }
.banner__text span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.banner__arrow { width: 26px; height: 26px; position: relative; z-index: 1; margin-right: 20px; transition: transform .3s var(--ease); }
.banner:hover .banner__arrow { transform: translateX(6px); }

/* =========================================================
   WORKWEAR
   ========================================================= */
.workwear { padding: 0; }
.workwear__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr .8fr;
  gap: 56px;
  align-items: center;
  max-width: none;
  padding-left: 0;
}
.workwear__media { align-self: stretch; position: relative; }
.workwear__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.workwear__text { padding: 100px 0; }
.workwear__text p { color: var(--muted); }
.workwear__text .btn { margin-top: 32px; }
.workwear__range {
  padding: 36px 40px 36px 0;
  position: relative;
}
.workwear__range::before {
  content: "";
  position: absolute;
  left: -28px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(139, 92, 246, .45);
  background: var(--accent-soft);
  border-radius: 999px;
  color: #ddd6fe;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--bg-0); isolation: isolate; }
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(8, 8, 15, .88) 35%, rgba(8, 8, 15, .94) 100%),
    url("../img/contact-bg.jpg") center / cover no-repeat;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px 64px;
  align-items: start;
}
.contact__intro p { color: var(--muted); }
.contact__vat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px !important;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text) !important;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact__vat .ic { color: var(--accent-2); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.office {
  padding: 30px;
  background: rgba(22, 22, 38, .75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: border-color .3s, transform .35s var(--ease);
}
.office:hover { border-color: rgba(139, 92, 246, .55); transform: translateY(-4px); }
.office__country {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}
.office__flag { width: 28px; height: 19px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.office__flag--pl { background: linear-gradient(180deg, #fff 50%, #dc143c 50%); }
.office__flag--es { background: linear-gradient(180deg, #aa151b 25%, #f1bf00 25%, #f1bf00 75%, #aa151b 75%); }
.office__list li { display: flex; gap: 14px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.office__list li + li { margin-top: 14px; }
.office__list .ic { color: var(--accent-2); margin-top: 3px; }
.office__list a { color: var(--text); transition: color .2s; }
.office__list a:hover { color: var(--accent-2); }

.worldmap { grid-column: 1 / -1; margin-top: 10px; opacity: .95; }
.worldmap svg { width: 100%; max-height: 380px; }
.worldmap .dot { fill: rgba(255, 255, 255, .16); }
.worldmap .pin-ring { fill: none; stroke: var(--accent-2); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.worldmap .pin-dot { fill: var(--accent-2); }
.worldmap .pin-label { fill: #fff; font: 600 11px "Inter", sans-serif; }
.worldmap .pin-line { stroke: rgba(139, 92, 246, .6); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #050509; border-top: 1px solid var(--line); padding: 26px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo img { width: 130px; }
.footer__copy { font-size: 13px; color: var(--muted); }
.footer__social {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { color: #fff; border-color: var(--accent); background: var(--accent); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .offices .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4) { transition-delay: .3s; }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .nav__list { gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service__grid { grid-template-columns: 1fr 1fr; }
  .service__media { grid-column: 1 / -1; }
  .service__media img { min-height: 0; height: 380px; object-position: center 30%; }
  .service__media::after { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .spec:nth-child(3) { border-left: 0; padding-left: 0; }
  .workwear__grid { grid-template-columns: 1fr 1fr; padding-left: 24px; }
  .workwear__media { grid-column: 1 / -1; margin: 0 -24px; }
  .workwear__media img { min-height: 0; height: 340px; clip-path: none; }
  .workwear__text { padding: 20px 0 80px; }
  .workwear__range { padding: 20px 0 80px; }
  .workwear__range::before { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    background: rgba(8, 8, 15, .97);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 18px; }
  .nav__link { font-size: 22px; font-weight: 600; }
  .logo img { width: 140px; }

  .section { padding: 80px 0; }
  .stats { grid-template-columns: 1fr; gap: 22px; margin-top: 56px; }
  .stats__item { border-left: 0; padding: 0; }

  .about__grid, .wwd__head, .gensets__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { clip-path: none; border-radius: 6px; overflow: hidden; }
  .areas__title { margin-top: 64px; }
  .areas { grid-template-columns: 1fr 1fr; }

  .parts { flex-direction: column; min-height: 0; }
  .parts::before { display: none; }
  .parts__media { position: relative; width: 100%; height: 320px; clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
  .parts__grid { grid-template-columns: 1fr; }
  .parts__content { grid-column: 1; padding: 50px 0 80px; }

  .gensets__media img { clip-path: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero__lead { font-size: 16px; }
  .cards, .areas, .offices, .specs { grid-template-columns: 1fr; }
  .service__grid { grid-template-columns: 1fr; }
  .service__scope { border-left: 0; padding-left: 0; }
  .spec { border-left: 0; padding-left: 0; }
  .brands__row { grid-template-columns: 1fr; gap: 2px; }
  .banner { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .banner::after { width: 70px; }
  .banner__arrow { display: none; }
  .workwear__grid { grid-template-columns: 1fr; padding-left: 20px; gap: 0; }
  .workwear__media { margin: 0 -20px; }
  .workwear__text { padding-bottom: 30px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
