:root {
  --amber: #f5b000;
  --amber-soft: #ffd36a;
  --ink: #050505;
  --graphite: #15171a;
  --charcoal: #0c1012;
  --steel: #4a6473;
  --copper: #b76d21;
  --mist: #f4f5f2;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(10, 14, 16, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 16, 0.025) 1px, transparent 1px),
    var(--mist);
  background-size: 36px 36px;
  color: var(--graphite);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.brand img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
}

.main-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(5, 5, 5, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: linear-gradient(135deg, rgba(245, 176, 0, 0.32), rgba(255, 255, 255, 0.45));
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
  scroll-margin-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding-top: calc(var(--header-height) + 44px);
}

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

.hero-media {
  transform: translateY(calc(var(--parallax, 0) * 0.12px)) scale(1.06);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.14)),
    radial-gradient(circle at 74% 22%, rgba(245, 176, 0, 0.42), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
}

.hero-grid {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 72%);
  opacity: 0.36;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--copper), transparent);
  opacity: 0.95;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(245, 176, 0, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.48);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.signal-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(245, 176, 0, 0.15), 0 0 20px rgba(245, 176, 0, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.68;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 6vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions,
.btn {
  display: flex;
  align-items: center;
}

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

.btn {
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.34), transparent 54%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(245, 176, 0, 0.27);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 9px;
}

.hero-status {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.72), rgba(20, 24, 26, 0.58));
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.hero-status div {
  position: relative;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-status div::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0.86;
}

.hero-status div:last-child {
  border-right: 0;
}

.hero-status strong {
  display: block;
  color: var(--amber-soft);
  font-size: 1.25rem;
}

.hero-status span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.hero-diagnostic {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 1px;
  width: min(700px, 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-diagnostic span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(5, 5, 5, 0.32);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.intro-band {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-block: 1px solid rgba(245, 176, 0, 0.32);
}

.ticker {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  white-space: nowrap;
}

.ticker span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(245, 176, 0, 0.34);
  transform: rotate(18deg);
}

.about::after {
  content: "";
  position: absolute;
  left: 6vw;
  bottom: 58px;
  width: 130px;
  height: 3px;
  background: var(--amber);
}

.about .section-grid {
  position: relative;
  z-index: 1;
}

.section-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.section-copy h2,
.section-heading h2,
.carousel-copy h2,
.process-panel h2,
.contact-copy h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-copy p,
.contact-copy p,
.process-panel p {
  color: rgba(21, 23, 26, 0.72);
  font-size: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.metrics span {
  color: rgba(21, 23, 26, 0.62);
  font-size: 0.84rem;
  font-weight: 750;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  border: 1px solid rgba(245, 176, 0, 0.5);
  border-radius: var(--radius);
}

.image-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-panel {
  position: absolute;
  left: -20px;
  bottom: 28px;
  width: min(310px, calc(100% - 28px));
  padding: 20px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(245, 176, 0, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.floating-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-panel strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.command {
  padding-block: clamp(46px, 7vw, 94px);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.92), rgba(12, 16, 18, 0.94)),
    url("assets/energy-storage.jpg") center / cover;
  color: var(--white);
}

.command-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(5, 5, 5, 0.48);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.command-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.command-copy h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.command-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.command-board {
  display: grid;
  gap: 12px;
}

.command-board article {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
}

.command-board article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--amber);
}

.command-board span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--amber-soft);
  font-weight: 950;
}

.command-board h3 {
  margin-bottom: 8px;
}

.command-board p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.services {
  background:
    radial-gradient(circle at 18% 14%, rgba(245, 176, 0, 0.22), transparent 26%),
    radial-gradient(circle at 82% 80%, rgba(74, 100, 115, 0.34), transparent 28%),
    linear-gradient(180deg, var(--ink), #12191d 64%, var(--ink));
  color: var(--white);
}

.section-heading {
  max-width: 1110px;
  margin: 0 auto 38px;
}

.services .section-heading h2 {
  color: var(--white);
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: 245px 1fr;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 28%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 176, 0, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  position: relative;
  padding: 24px;
}

.service-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(245, 176, 0, 0.34);
  border-radius: 999px;
  color: var(--amber-soft);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--amber);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-body h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.service-body p,
.service-body li {
  color: rgba(255, 255, 255, 0.74);
}

.service-body ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 18px;
  margin-top: 9px;
  font-size: 0.94rem;
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.carousel-section {
  padding: clamp(76px, 10vw, 126px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, var(--white), #eef2f3);
}

.carousel-copy {
  max-width: 900px;
  margin: 0 auto 32px;
}

.carousel {
  position: relative;
  max-width: 1160px;
  height: clamp(360px, 56vw, 650px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel-track,
.slide,
.slide img {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 650ms ease, transform 900ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.74));
}

.slide figcaption {
  position: absolute;
  left: clamp(18px, 4vw, 42px);
  right: clamp(18px, 4vw, 42px);
  bottom: 36px;
  z-index: 2;
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.48);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  background: var(--amber);
  color: var(--ink);
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 32px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--amber);
}

.process {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.72)),
    url("assets/energy-storage.jpg") center / cover fixed;
}

.process-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.process-steps div {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.process-steps div::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.process-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 950;
}

.process-steps h3 {
  margin-bottom: 10px;
}

.contact {
  background:
    radial-gradient(circle at 82% 14%, rgba(245, 176, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #f7f7f4, #e9edf0);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 850;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--amber);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(21, 23, 26, 0.78);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 176, 0, 0.18);
}

.captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 46px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  background: #f5f3ed;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
}

.captcha span {
  display: block;
  color: rgba(21, 23, 26, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.captcha strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.captcha-refresh {
  display: grid;
  place-items: center;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--steel);
  font-weight: 850;
}

.form-status.is-error {
  color: #a7271f;
}

.form-status.is-success {
  color: #245c3b;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 42px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer img {
  height: 42px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.48);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .process {
    background-attachment: scroll;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) - 6px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    border-radius: var(--radius);
  }

  .section-grid,
  .contact-grid,
  .command-shell,
  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-status {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: 2;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 30px;
  }

  .hero-status div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-status div:last-child {
    border-bottom: 0;
  }

  .image-stack,
  .image-main {
    min-height: 420px;
    height: 420px;
  }

  .floating-panel {
    left: 16px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

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

  .brand {
    height: 44px;
    max-width: calc(100vw - 84px);
  }

  .brand img {
    height: 30px;
    width: auto;
    max-width: calc(100vw - 120px);
  }

  .section {
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
    padding-inline: 16px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .metrics,
  .contact-form,
  .captcha {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-rows: 220px 1fr;
  }

  .carousel {
    height: 470px;
  }

  .carousel-btn {
    top: auto;
    bottom: 52px;
    transform: none;
  }

  .slide figcaption {
    bottom: 94px;
    font-size: 1.35rem;
  }

  .contact-form .full {
    grid-column: auto;
  }
}
