:root {
  --ink: #17212f;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #f7f9fc;
  --white: #ffffff;
  --red: #c5162e;
  --red-dark: #8f1021;
  --navy: #153a5b;
  --steel: #eef2f6;
  --shadow: 0 24px 70px rgba(17, 29, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(21, 34, 50, 0.1);
  backdrop-filter: blur(18px);
}

.topbar,
.mainbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.topbar {
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.site-header.is-scrolled .topbar,
.site-header.is-open .topbar {
  border-color: var(--line);
  color: var(--muted);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar-links span {
  font-weight: 800;
}

.mainbar {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 24, 39, 0.88), rgba(13, 24, 39, 0.48) 46%, rgba(13, 24, 39, 0.1)),
    linear-gradient(0deg, rgba(13, 24, 39, 0.36), rgba(13, 24, 39, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 132px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffccd4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 600px;
  margin: 52px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.hero-stats dt {
  font-size: 25px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.category-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.category-strip a {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.category-strip a:last-child {
  border-right: 0;
}

.category-strip a:hover {
  color: var(--red);
  background: #fbfcfe;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child,
.quality p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 29, 47, 0.06);
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card .product-detail {
  color: #42526a;
  font-size: 14px;
}

.product-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card a {
  align-self: end;
  margin-top: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.product-visual {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4f7fb, #dde5ef);
}

.product-visual img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  display: block;
}

.product-visual::before {
  left: 28px;
  bottom: 0;
  width: 8px;
  height: 132px;
  border-radius: 8px 8px 0 0;
  background: #9aa7b5;
}

.product-visual::after {
  left: 36px;
  top: 36px;
  width: 132px;
  height: 72px;
  border-radius: 0 8px 8px 0;
  background: var(--red);
  box-shadow: 16px 18px 0 rgba(21, 58, 91, 0.18);
  transform: skewY(-5deg);
}

.product-card.navy .product-visual::after {
  background: var(--navy);
}

.product-card.white .product-visual::after {
  border: 1px solid var(--line);
  background: var(--white);
}

.process {
  background: var(--ink);
  color: var(--white);
}

.process .eyebrow {
  color: #ffb8c4;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: steps;
}

.timeline article {
  position: relative;
  padding-top: 62px;
}

.timeline article::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  font-weight: 800;
}

.timeline span {
  position: absolute;
  top: 20px;
  left: 56px;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.quality-panel {
  display: grid;
  gap: 12px;
}

.quality-panel div {
  padding: 22px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 29, 47, 0.06);
}

.quality-panel strong,
.quality-panel span {
  display: block;
}

.quality-panel span {
  margin-top: 4px;
  color: var(--muted);
}

.reference-band {
  background: var(--white);
}

.references {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.reference-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.reference-logos span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfe;
  font-weight: 800;
}

.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.button.outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-grid time {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.news-grid p {
  margin: 0;
  color: var(--muted);
}

.seo-section {
  background: var(--ink);
  color: var(--white);
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.seo-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quote-band {
  background: linear-gradient(135deg, var(--steel), #ffffff);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfe;
}

textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: var(--ink);
}

.floating-quote {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(197, 22, 46, 0.28);
  font-weight: 800;
}

@media (max-width: 920px) {
  .topbar {
    display: none;
  }

  .mainbar {
    min-height: 70px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(13, 24, 39, 0.9), rgba(13, 24, 39, 0.52));
  }

  .intro,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -28px;
  }

  .references,
  .seo-content {
    grid-template-columns: 1fr;
  }

  .reference-logos,
  .news-grid,
  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .category-strip {
    grid-template-columns: 1fr 1fr;
  }

  .category-strip a {
    min-height: 68px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 68px 0;
  }

  .contact-form {
    padding: 18px;
  }

  .split {
    align-items: start;
    flex-direction: column;
  }
}
