:root {
  --ink: #17212b;
  --muted: #62707d;
  --line: #d7dee5;
  --panel: #ffffff;
  --soft: #f5f7f2;
  --steel: #22384a;
  --blue: #0a5c8f;
  --green: #2d7d6b;
  --yellow: #f2b705;
  --shadow: 0 22px 60px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fbfcfd;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 8px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 222, 229, 0.78);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled,
.site-header.is-open {
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: min(172px, 42vw);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/industrial-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 20, 28, 0.88) 0%, rgba(12, 20, 28, 0.62) 44%, rgba(12, 20, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 20, 28, 0.66), rgba(12, 20, 28, 0.06) 46%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(64px, 10vw, 116px) clamp(18px, 8vw, 104px);
  padding-top: 130px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow) {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

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

.button.primary {
  color: #111820;
  background: var(--yellow);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.intro-grid,
.emergency-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro p,
.emergency p,
.split p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(23, 33, 43, 0.07);
}

.service-card p,
.timeline p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #111820;
  background: var(--yellow);
  font-weight: 900;
}

.emergency {
  background: #edf6f8;
}

.emergency-grid {
  align-items: stretch;
}

.emergency-panel {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 34px;
  border: 1px solid rgba(10, 92, 143, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.1);
}

.emergency-panel span {
  display: inline-flex;
  width: 86px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-size: 1.45rem;
  font-weight: 900;
}

.emergency-panel p {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline div {
  min-height: 230px;
  padding: 28px;
  background: #fff;
}

.timeline span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sector-list span {
  min-height: 58px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 33, 43, 0.08);
  font-weight: 800;
}

.contact {
  color: #fff;
  background: var(--steel);
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-panel a::after {
  content: ">";
  color: var(--blue);
}

.contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #dce6ee;
  background: #101820;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 20, 28, 0.86), rgba(12, 20, 28, 0.28));
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    margin: 0 auto 54px;
  }

  .intro-grid,
  .emergency-grid,
  .split,
  .contact-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(142px, 48vw);
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .sector-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 20px;
  }

  .contact-panel a {
    align-items: flex-start;
    word-break: break-word;
  }
}
