:root {
  --bg: #070908;
  --bg-soft: #101412;
  --panel: #151a17;
  --panel-strong: #1c231f;
  --text: #f4f1e8;
  --muted: #b8beb7;
  --line: rgba(244, 241, 232, 0.14);
  --green: #38d66f;
  --green-dark: #178a43;
  --orange: #f49a2c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --header-height: 76px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid transparent;
  background: rgba(7, 9, 8, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 9, 8, 0.92);
}

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

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 10px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.brand small {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.nav-toggle {
  position: relative;
  z-index: 22;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 92px 28px 32px;
  background: rgba(7, 9, 8, 0.96);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav a {
  color: var(--muted);
  font-size: clamp(1.45rem, 7vw, 2.25rem);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 54px) 0 64px;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.98) 0%, rgba(7, 9, 8, 0.86) 38%, rgba(7, 9, 8, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 9, 8, 0.95) 0%, rgba(7, 9, 8, 0) 42%),
    radial-gradient(circle at 72% 46%, rgba(56, 214, 111, 0.18), transparent 28%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(4rem, 21vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 9vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero__subtitle {
  margin: 18px 0 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero__copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 3.6vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.button--primary {
  background: var(--green);
  color: #061009;
  box-shadow: 0 18px 50px rgba(56, 214, 111, 0.18);
}

.button--secondary {
  border-color: rgba(244, 241, 232, 0.24);
  background: rgba(244, 241, 232, 0.06);
  color: var(--text);
}

.section {
  padding: 74px 0;
}

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

.section-heading p,
.diagnostic p,
.about p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
}

.services {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.service-card__mark {
  width: max-content;
  margin-bottom: 34px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.diagnostic {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(56, 214, 111, 0.12), transparent 45%),
    var(--panel);
}

.diagnostic__layout {
  display: grid;
  gap: 24px;
}

.diagnostic p {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 4vw, 1.45rem);
}

.work {
  background: var(--bg);
}

.work-grid {
  display: grid;
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 260ms ease, opacity 260ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.work-card figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 8, 0.96) 38%);
}

.work-card strong {
  font-size: 1.06rem;
}

.work-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about {
  background: var(--bg-soft);
}

.about__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.about__logo {
  width: min(340px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.about__logo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 8px 11px;
  border: 1px solid rgba(56, 214, 111, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(56, 214, 111, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact {
  background:
    linear-gradient(135deg, rgba(56, 214, 111, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(244, 154, 44, 0.12), transparent 36%),
    var(--panel-strong);
}

.contact__layout {
  display: grid;
  gap: 28px;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.48);
}

.contact-line span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.contact-line--main {
  border-color: rgba(56, 214, 111, 0.42);
  background: rgba(56, 214, 111, 0.1);
}

.site-footer {
  padding: 26px 0 92px;
  border-top: 1px solid var(--line);
  background: #050605;
  color: var(--muted);
}

.footer__layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.footer__layout p {
  margin: 0;
}

.footer__layout a {
  color: var(--green);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 19;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #25d366;
  color: #061009;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  font-weight: 950;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

@media (min-width: 700px) {
  .section-shell {
    width: min(1120px, calc(100% - 56px));
  }

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

  .hero__actions {
    gap: 14px;
  }

  .button {
    padding-inline: 22px;
  }
}

@media (min-width: 960px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    padding-inline: 30px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand small {
    max-width: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    transform: none;
  }

  .site-nav a {
    font-size: 0.88rem;
    font-weight: 800;
  }

  .hero {
    min-height: 94vh;
  }

  .hero__content {
    padding-top: 42px;
  }

  .section {
    padding: 104px 0;
  }

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

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

  .diagnostic__layout,
  .about__layout,
  .contact__layout {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-line--main {
    grid-column: span 2;
  }
}
