:root {
  --bg: #05070d;
  --bg-2: #08111f;
  --panel: rgba(10, 20, 34, 0.78);
  --panel-solid: #0a1422;
  --line: rgba(18, 151, 255, 0.22);
  --line-strong: rgba(18, 151, 255, 0.44);
  --text: #ffffff;
  --muted: #cbd5e1;
  --soft: #93a4b8;
  --electric: #1297ff;
  --electric-2: #0b8ff0;
  --corporate: #111b7a;
  --white: #ffffff;
  --success: #25d366;
  --danger: #ff6678;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 190px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--electric);
  transition: transform 180ms ease;
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.btn-primary {
  color: #00101f;
  background: linear-gradient(135deg, var(--electric), #5fc0ff);
  box-shadow: 0 12px 32px rgba(18, 151, 255, 0.24);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-card {
  width: 100%;
  color: var(--white);
  background: rgba(18, 151, 255, 0.14);
  border-color: var(--line-strong);
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section-dark,
.section-panel {
  position: relative;
  overflow: hidden;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(8, 17, 31, 0.96)),
    repeating-linear-gradient(90deg, rgba(18, 151, 255, 0.06) 0 1px, transparent 1px 120px);
}

.section-panel {
  background:
    linear-gradient(180deg, #07101d 0%, #05070d 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 96px);
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 120px 0 96px;
}

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

.hero-media {
  background-image: url("../img/control-industrial.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.82) 44%, rgba(5, 7, 13, 0.44) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.28) 0%, rgba(5, 7, 13, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #76c8ff;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 730px;
  margin-bottom: 22px;
  font-size: 4.65rem;
  font-weight: 900;
}

.energy-title {
  overflow: hidden;
}

.energy-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(-34px, 22px, 0) skewX(-8deg);
  filter: blur(12px);
  animation: energyWordIn 820ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 115ms);
  text-shadow: 0 0 0 rgba(18, 151, 255, 0);
}

.energy-word::after {
  content: "";
  display: inline-block;
  width: 0.42em;
}

@keyframes energyWordIn {
  0% {
    opacity: 0;
    transform: translate3d(-34px, 22px, 0) skewX(-8deg);
    filter: blur(12px);
    color: #74c7ff;
    text-shadow: 0 0 34px rgba(18, 151, 255, 0.9);
  }
  58% {
    opacity: 1;
    transform: translate3d(8px, -3px, 0) skewX(2deg);
    filter: blur(1px);
    color: #ffffff;
    text-shadow: 0 0 28px rgba(18, 151, 255, 0.72);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewX(0);
    filter: blur(0);
    color: #ffffff;
    text-shadow: 0 0 0 rgba(18, 151, 255, 0);
  }
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #eef6ff;
  font-size: 1.2rem;
}

.hero-note {
  max-width: 660px;
  margin: -12px 0 28px;
  color: #b9dcff;
  font-weight: 700;
}

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

.hero-indicators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 32px;
}

.hero-indicators span,
.quote-points span,
.project-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 20, 34, 0.68);
  color: #dceeff;
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-indicators span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px;
}

section:not(.hero) {
  padding: 94px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.automation-copy h2,
.quote-aside h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.automation-copy p,
.quote-aside p {
  color: var(--muted);
  font-size: 1.05rem;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 25, 41, 0.82), rgba(6, 14, 26, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
}

.about-copy {
  padding: 30px;
  color: #dce8f6;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-metrics article,
.why-card,
.project-chip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.about-metrics article {
  padding: 22px;
}

.about-metrics article:hover,
.why-card:hover,
.project-chip:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(18, 151, 255, 0.08);
}

.about-metrics strong,
.why-card span,
.service-kicker {
  display: inline-flex;
  color: #74c7ff;
  font-weight: 900;
}

.about-metrics h3,
.why-card h3 {
  margin: 10px 0 8px;
  font-size: 1.13rem;
}

.about-metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.leader-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  align-items: stretch;
  margin-top: 26px;
  overflow: hidden;
}

.leader-photo {
  min-height: 360px;
  background: #08111f;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.leader-copy h3 {
  margin-bottom: 10px;
  font-size: 2.35rem;
  font-weight: 900;
}

.leader-copy strong {
  display: block;
  max-width: 620px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.1rem;
}

.leader-copy p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.story-grid,
.presence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.story .section-heading p:not(.eyebrow) {
  text-align: left;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article,
.purpose-card,
.value-card,
.experience-card,
.presence-map,
.process-step,
.cta-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.timeline article {
  position: relative;
  min-height: 150px;
  padding: 24px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 7px rgba(18, 151, 255, 0.14);
}

.timeline span,
.process-step span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #74c7ff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p,
.purpose-card p,
.value-card p,
.process-step p,
.cta-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.purpose-card {
  padding: 30px;
  background: linear-gradient(180deg, rgba(12, 25, 41, 0.86), rgba(6, 14, 26, 0.9));
}

.purpose-card h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.value-grid,
.experience-grid,
.process-grid,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.experience-card,
.process-step {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.value-card:hover,
.experience-card:hover,
.process-step:hover,
.cta-card:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(18, 151, 255, 0.08);
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.services-corporate .section-heading {
  max-width: 980px;
}

.industry-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.industry-gallery figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #08111f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.industry-gallery img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.industry-gallery figure:hover img {
  transform: scale(1.04);
}

.industry-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 7, 13, 0.74);
  color: #eaf5ff;
  font-size: 0.86rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

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

.service-text .service-body {
  padding: 22px;
}

.service-text .service-body h3 {
  min-height: 94px;
  font-size: 1.22rem;
}

.service-body p {
  color: var(--muted);
}

.service-text .service-body ul {
  gap: 8px;
  font-size: 0.92rem;
}

.experience-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  color: #eaf5ff;
  font-weight: 800;
}

.presence-card {
  padding: 34px;
}

.presence-card h2 {
  margin-bottom: 14px;
  font-size: 2.6rem;
}

.presence-card p {
  color: var(--muted);
}

.presence-map {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px;
  background:
    radial-gradient(circle at 24% 20%, rgba(18, 151, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(12, 25, 41, 0.84), rgba(6, 14, 26, 0.9));
}

.presence-map span {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(18, 151, 255, 0.14);
  color: #9ed8ff;
  font-weight: 900;
}

.presence-map strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.35rem;
}

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

.process-step {
  min-height: 190px;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cta-section {
  padding: 80px 0;
}

.cta-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(12, 25, 41, 0.86), rgba(6, 14, 26, 0.92));
}

.cta-card h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.cta-card .btn {
  margin-top: auto;
}

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

.faq-item {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.faq-item summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--white);
  font-weight: 850;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--electric);
  font-size: 1.45rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 20px;
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #08111f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-kicker {
  margin-bottom: 9px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.service-body h3 {
  min-height: 70px;
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.service-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.service-body li::marker {
  color: var(--electric);
}

.service-body b {
  color: var(--white);
}

.service-body .btn {
  margin-top: auto;
}

.automation-grid,
.quote-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.automation-copy {
  max-width: 560px;
}

.control-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 30, 50, 0.82), rgba(6, 13, 23, 0.94)),
    repeating-linear-gradient(90deg, rgba(18, 151, 255, 0.08) 0 1px, transparent 1px 54px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric);
}

.panel-header span:nth-child(2) {
  background: #ffffff;
}

.panel-header span:nth-child(3) {
  background: var(--corporate);
}

.control-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 28px;
  list-style: none;
}

.control-panel li {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #e8f4ff;
  font-weight: 750;
}

.control-panel li::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(18, 151, 255, 0.12);
}

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

.why-card {
  min-height: 148px;
  padding: 24px;
}

.why-card h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-chip {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 18px;
}

.quote-aside {
  align-self: start;
  padding-top: 10px;
}

.quote-after-hero {
  padding: 40px 0 78px !important;
  border-top: 1px solid rgba(18, 151, 255, 0.18);
}

.quote-conversion {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.quote-cta-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 10%, rgba(18, 151, 255, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(12, 25, 41, 0.82), rgba(6, 14, 26, 0.9));
  box-shadow: var(--shadow);
}

.quote-cta-copy {
  padding: 26px 26px 18px;
}

.quote-cta-copy h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.quote-cta-copy p:not(.eyebrow) {
  color: var(--muted);
}

.quote-benefits {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quote-benefits span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: #eaf5ff;
  font-weight: 800;
}

.quote-benefits span::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(18, 151, 255, 0.12);
}

.quote-cta-image {
  position: relative;
  min-height: 260px;
  margin: 0;
}

.quote-cta-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.quote-cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 26, 0.05), rgba(6, 14, 26, 0.74));
}

.quote-cta-image figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #eaf5ff;
  font-size: 0.92rem;
  font-weight: 850;
}

.quote-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.quote-points span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px;
}

.quote-form {
  padding: 26px;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

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

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(18, 151, 255, 0.12);
}

.form-grid input.is-invalid,
.form-grid select.is-invalid,
.form-grid textarea.is-invalid {
  border-color: var(--danger);
}

.form-alert {
  min-height: 24px;
  margin: 14px 0 0;
  color: #ffd9df;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-actions {
  margin-top: 16px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
}

.contact-card img {
  width: 260px;
  max-width: 100%;
}

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

.contact-list a {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: var(--line-strong);
}

.contact-list strong {
  color: var(--white);
}

.contact-list span {
  color: var(--muted);
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1320;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.9) contrast(1.06);
}

.site-footer {
  padding: 44px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #02050a;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-contact span {
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: #eaf5ff;
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

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

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

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    max-height: calc(100vh - 82px);
    padding: 14px 20px 24px;
    overflow-y: auto;
    background: rgba(5, 7, 13, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 200ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.04rem;
  }

  h1 {
    font-size: 3.55rem;
  }

  .hero-indicators,
  .industry-gallery,
  .service-grid,
  .service-grid.corporate-grid,
  .value-grid,
  .experience-grid,
  .process-grid,
  .cta-grid,
  .why-grid,
  .project-grid,
  .expanded-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .automation-grid,
  .story-grid,
  .presence-grid,
  .quote-conversion,
  .quote-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .automation-copy {
    max-width: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 72px;
  }

  .main-nav {
    inset: 72px 0 auto 0;
    max-height: calc(100vh - 72px);
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 66px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.86) 100%),
      linear-gradient(180deg, rgba(5, 7, 13, 0.22), rgba(5, 7, 13, 0.94));
  }

  h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .automation-copy h2,
  .quote-aside h2 {
    font-size: 2.05rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

  .btn,
  .header-cta {
    width: 100%;
    min-height: 50px;
  }

  .hero-indicators,
  .about-metrics,
  .industry-gallery,
  .leader-profile,
  .service-grid,
  .service-grid.corporate-grid,
  .purpose-grid,
  .value-grid,
  .experience-grid,
  .process-grid,
  .cta-grid,
  .why-grid,
  .project-grid,
  .expanded-grid,
  .faq-grid,
  .quote-points,
  .form-grid {
    grid-template-columns: 1fr;
  }

  section:not(.hero) {
    padding: 70px 0;
  }

  .service-body h3 {
    min-height: auto;
  }

  .quote-form,
  .quote-cta-copy,
  .contact-card,
  .leader-copy,
  .presence-card,
  .presence-map,
  .purpose-card,
  .cta-card,
  .about-copy {
    padding: 20px;
  }

  .leader-photo {
    min-height: 320px;
  }

  .service-text .service-body h3 {
    min-height: auto;
  }

  .purpose-grid {
    margin-bottom: 46px;
  }

  .quote-cta-image,
  .quote-cta-image img,
  .industry-gallery figure,
  .industry-gallery img {
    min-height: 220px;
  }

  .map-card,
  .map-card iframe {
    min-height: 330px;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .energy-word {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}
