:root {
  color-scheme: dark;
  --bg: #05090d;
  --bg-deep: #020609;
  --surface: #0d171e;
  --surface-2: #111d25;
  --surface-3: #17232b;
  --text: #f1f4f6;
  --muted: #a4afb7;
  --steel: #b7c0c6;
  --line: rgba(113, 151, 173, 0.28);
  --line-strong: rgba(112, 175, 211, 0.44);
  --accent: #159fdf;
  --accent-bright: #41bdff;
  --accent-deep: #006fae;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(23, 61, 82, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 61, 82, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

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

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  background: rgba(3, 8, 12, 0.94);
  border-bottom: 1px solid rgba(108, 146, 168, 0.2);
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 1fr) 230px;
  margin: 0 auto;
  max-width: 1320px;
  min-height: var(--header-height);
  padding: 0 28px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  width: max-content;
}

.brand img {
  filter: drop-shadow(0 0 8px rgba(21, 159, 223, 0.22));
  height: 47px;
  object-fit: contain;
  width: 47px;
}

.brand span {
  display: grid;
  line-height: 0.88;
}

.brand strong {
  color: #c2c8cc;
  font-size: 1.45rem;
  font-weight: 800;
}

.brand small {
  color: #c2c8cc;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav {
  align-items: stretch;
  display: flex;
  gap: 48px;
  height: var(--header-height);
  justify-content: center;
}

.main-nav a {
  align-items: center;
  color: #d8dfe3;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color 160ms ease;
  white-space: nowrap;
}

.main-nav a::after {
  background: var(--accent);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions,
.language-switcher,
.footer-languages {
  align-items: center;
  display: flex;
}

.header-actions {
  gap: 17px;
  justify-content: flex-end;
}

.language-switcher {
  gap: 8px;
}

.language-switcher > span,
.footer-languages > span {
  background: rgba(151, 175, 189, 0.38);
  height: 14px;
  width: 1px;
}

.language-switcher button,
.footer-languages button {
  background: transparent;
  border: 0;
  color: #7f8d96;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 1px;
}

.language-switcher button:hover,
.language-switcher button.is-active,
.footer-languages button:hover,
.footer-languages button.is-active {
  color: var(--accent-bright);
}

.button {
  align-items: center;
  background: linear-gradient(180deg, #1ba9e7 0%, #0073b5 100%);
  border: 1px solid rgba(98, 199, 247, 0.52);
  border-radius: 2px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(0, 100, 157, 0.22);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 600;
  gap: 15px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px 0 22px;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: rgba(128, 222, 255, 0.82);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 17px;
}

.button-small {
  font-size: 0.85rem;
  min-height: 38px;
  padding-left: 17px;
}

.main-nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.detail-trigger:focus-visible,
.detail-close:focus-visible,
.language-switcher button:focus-visible,
.footer-languages button:focus-visible,
.footer-column a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

main {
  min-height: 0;
}

.view[hidden] {
  display: none !important;
}

.view.is-active {
  animation: view-enter 260ms ease-out;
}

.view:focus {
  outline: none;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  background: #03080c;
  border-bottom: 1px solid var(--line);
  min-height: calc(100svh - var(--header-height) - 48px);
  overflow: hidden;
  position: relative;
}

.hero-background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-edge-fade {
  background:
    linear-gradient(90deg, rgba(3, 8, 12, 0.18) 0%, rgba(3, 8, 12, 0.02) 48%, transparent 70%),
    linear-gradient(0deg, rgba(3, 8, 12, 0.28) 0%, transparent 22%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1320px;
  min-height: calc(100svh - var(--header-height) - 48px);
  padding: 64px 28px 145px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #f3f5f6;
  font-size: 5rem;
  font-weight: 760;
  line-height: 0.98;
  margin: 0 0 18px;
}

.hero p {
  color: #d6dde1;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.28;
  margin: 0 0 31px;
  max-width: 520px;
}

.section {
  min-height: 0;
  padding: 34px 28px 64px;
}

.section-shell {
  margin: 0 auto;
  max-width: var(--max);
  width: 100%;
}

.section-title {
  margin-bottom: 14px;
}

.section-title h2 {
  color: #f1f3f4;
  font-size: 2.25rem;
  font-weight: 740;
  line-height: 1;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
  width: max-content;
}

.section-title h2::after {
  background: var(--accent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 66px;
}

.section-solutions {
  background:
    linear-gradient(180deg, rgba(6, 12, 17, 0.96), rgba(3, 8, 12, 0.98)),
    var(--bg);
}

.solution-grid {
  background: rgba(10, 18, 24, 0.8);
  border: 1px solid rgba(103, 142, 165, 0.28);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 8px;
}

.solution-card {
  appearance: none;
  align-items: center;
  background: linear-gradient(180deg, rgba(20, 31, 39, 0.94), rgba(9, 17, 23, 0.98));
  border: 1px solid rgba(111, 148, 170, 0.28);
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 294px;
  padding: 27px 15px 22px;
  position: relative;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease;
  width: 100%;
}

.solution-card:hover {
  border-color: rgba(65, 189, 255, 0.52);
  transform: translateY(-2px);
}

.solution-icon {
  align-items: center;
  color: var(--accent-bright);
  display: flex;
  height: 82px;
  justify-content: center;
  margin-bottom: 22px;
  width: 82px;
}

.solution-icon svg {
  fill: none;
  filter: drop-shadow(0 5px 7px rgba(0, 140, 210, 0.22));
  height: 70px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  width: 70px;
}

.solution-title {
  color: #f1f4f6;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.28;
  margin: 0 0 10px;
}

.solution-description {
  display: none;
}

.detail-cue {
  align-items: center;
  bottom: 12px;
  color: #7f9aaa;
  display: flex;
  height: 24px;
  justify-content: center;
  opacity: 0.68;
  position: absolute;
  right: 10px;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
  width: 24px;
}

.detail-cue svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.detail-trigger:hover .detail-cue,
.detail-trigger:focus-visible .detail-cue {
  color: var(--accent-bright);
  opacity: 1;
  transform: translateX(2px);
}

.section-products {
  background: #050b10;
}

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

.product-card {
  appearance: none;
  background: linear-gradient(180deg, rgba(20, 31, 39, 0.95), rgba(9, 16, 22, 0.98));
  border: 1px solid rgba(126, 160, 180, 0.36);
  border-radius: 4px;
  box-shadow: var(--shadow);
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
  width: 100%;
}

.product-card:hover {
  border-color: rgba(65, 189, 255, 0.6);
  transform: translateY(-2px);
}

.product-card img {
  aspect-ratio: 1.42;
  object-fit: cover;
  width: 100%;
}

.product-description {
  border-top: 1px solid rgba(96, 141, 167, 0.25);
  color: #d7dde1;
  display: block;
  font-size: 1.04rem;
  line-height: 1.42;
  margin: 0;
  min-height: 78px;
  padding: 18px 28px;
  text-align: center;
}

.product-card .detail-cue {
  background: rgba(3, 9, 13, 0.82);
  border: 1px solid rgba(102, 166, 201, 0.45);
  bottom: auto;
  height: 34px;
  right: 12px;
  top: 12px;
  width: 34px;
}

.section-engineering {
  background: #050a0e;
}

.engineering-panel {
  background: #071017;
  border: 1px solid rgba(123, 164, 188, 0.35);
  border-radius: 4px;
  box-shadow: var(--shadow);
  min-height: 530px;
  overflow: hidden;
  position: relative;
}

.engineering-panel > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.capability-list {
  background: rgba(7, 15, 21, 0.92);
  border-right: 1px solid rgba(118, 166, 193, 0.4);
  bottom: 0;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  left: 0;
  position: absolute;
  top: 0;
  width: 34%;
  z-index: 2;
}

.capability-list > button {
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(101, 144, 169, 0.3);
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  min-width: 0;
  padding: 12px 17px;
  position: relative;
  text-align: left;
  transition: background-color 160ms ease;
  width: 100%;
}

.capability-list > button:last-child {
  border-bottom: 0;
}

.capability-list > button:hover {
  background: rgba(20, 63, 84, 0.3);
}

.capability-list .detail-cue {
  bottom: auto;
  position: relative;
  right: auto;
}

.capability-list svg {
  fill: none;
  height: 37px;
  stroke: var(--accent-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  width: 37px;
}

.capability-list strong {
  color: #e1e7ea;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.87rem;
  font-weight: 520;
  line-height: 1.34;
}

.contact-view {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 26, 35, 0.96), rgba(4, 10, 14, 0.99)),
    var(--bg);
  display: flex;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  padding: 64px 28px;
  position: relative;
}

.contact-view::before {
  background:
    linear-gradient(rgba(41, 137, 188, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 137, 188, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  inset: 0 0 0 48%;
  mask-image: linear-gradient(90deg, transparent, black 42%);
  position: absolute;
}

.contact-stage {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  position: relative;
  z-index: 1;
}

.contact-heading h2 {
  color: #f2f4f5;
  font-size: 4rem;
  line-height: 0.98;
  margin: 0 0 22px;
  max-width: 520px;
}

.contact-heading p {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.16rem;
  line-height: 1.55;
  margin: 0;
  max-width: 510px;
}

.contact-details {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
}

.contact-details > a,
.contact-details > span {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #e2e8eb;
  display: grid;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  gap: 18px;
  grid-template-columns: 27px 1fr;
  min-width: 0;
  padding: 22px 4px;
}

.contact-details > :last-child {
  border-bottom: 0;
}

.contact-details svg {
  fill: none;
  height: 25px;
  stroke: var(--accent-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 25px;
}

body.detail-open {
  overflow: hidden;
}

.detail-dialog {
  background: #071017;
  border: 1px solid rgba(110, 176, 211, 0.5);
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  color: var(--text);
  max-height: calc(100svh - 40px);
  max-width: 820px;
  overflow: hidden;
  padding: 0;
  width: calc(100vw - 40px);
}

.detail-dialog[open] {
  animation: detail-enter 220ms ease-out;
}

.detail-dialog::backdrop {
  backdrop-filter: blur(5px);
  background: rgba(1, 5, 8, 0.8);
}

@keyframes detail-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100svh - 42px);
}

.detail-header {
  align-items: flex-start;
  background:
    linear-gradient(rgba(35, 118, 161, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 118, 161, 0.08) 1px, transparent 1px),
    #0b171f;
  background-size: 32px 32px;
  border-bottom: 1px solid rgba(104, 157, 186, 0.34);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 30px 25px;
  position: relative;
}

.detail-header::before {
  background: var(--accent);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.detail-category {
  color: var(--accent-bright);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-header h2 {
  color: #f2f5f6;
  font-size: 2.25rem;
  font-weight: 740;
  line-height: 1.08;
  margin: 0;
  max-width: 660px;
}

.detail-close {
  align-items: center;
  appearance: none;
  background: rgba(7, 16, 22, 0.88);
  border: 1px solid rgba(112, 158, 184, 0.4);
  border-radius: 2px;
  color: #b9c5cb;
  cursor: pointer;
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  padding: 0;
  transition: border-color 160ms ease, color 160ms ease;
}

.detail-close:hover {
  border-color: var(--accent-bright);
  color: #ffffff;
}

.detail-close svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
  width: 20px;
}

.detail-content {
  overflow-y: auto;
  padding: 25px 30px 30px;
  scrollbar-color: rgba(65, 189, 255, 0.45) transparent;
}

.detail-summary {
  color: #c5cfd4;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.58;
  margin: 0 0 26px;
  max-width: 730px;
}

.detail-sections {
  border-bottom: 1px solid rgba(103, 148, 174, 0.28);
  border-top: 1px solid rgba(103, 148, 174, 0.28);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-sections section {
  border-left: 1px solid rgba(103, 148, 174, 0.28);
  min-width: 0;
  padding: 21px 21px 18px;
}

.detail-sections section:first-child {
  border-left: 0;
}

.detail-sections h3 {
  color: #f0f3f5;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 13px;
}

.detail-sections ul {
  color: #aebac1;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  line-height: 1.52;
  margin: 0;
  padding-left: 18px;
}

.detail-sections li + li {
  margin-top: 9px;
}

.detail-sections li::marker {
  color: var(--accent-bright);
}

.detail-footer {
  align-items: center;
  background: #071017;
  border-top: 1px solid rgba(104, 157, 186, 0.3);
  display: flex;
  justify-content: flex-end;
  min-height: 76px;
  padding: 16px 30px;
}

.project-band {
  background:
    linear-gradient(100deg, rgba(24, 39, 49, 0.98), rgba(7, 14, 19, 0.98)),
    var(--surface);
  border-bottom: 1px solid rgba(111, 153, 176, 0.3);
  border-top: 1px solid rgba(111, 153, 176, 0.3);
  position: relative;
}

.project-band::after {
  background: var(--accent);
  bottom: 0;
  content: "";
  left: 31%;
  opacity: 0.74;
  position: absolute;
  top: 0;
  transform: skewX(-19deg);
  width: 2px;
}

body[data-view="contacto"] .project-band {
  display: none;
}

.project-band-inner {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: 0.8fr 1.1fr auto;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 110px;
  padding: 21px 0;
}

.project-band h2 {
  color: #f3f4f5;
  font-size: 2.3rem;
  line-height: 1;
  margin: 0;
}

.project-band p {
  color: #c7d0d5;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

.site-footer {
  background: #03080c;
  border-top: 1px solid rgba(101, 140, 163, 0.2);
}

.footer-main {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.35fr 1.05fr 0.72fr 1.05fr 0.9fr;
  margin: 0 auto;
  max-width: var(--max);
  padding: 42px 0 39px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand img {
  height: 52px;
  width: 52px;
}

.footer-brand-block > p {
  color: #aab4bb;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.58;
  margin: 0;
  max-width: 245px;
}

.footer-column {
  align-content: start;
  display: grid;
  gap: 9px;
}

.footer-column h3 {
  color: #eef2f4;
  font-size: 0.92rem;
  font-weight: 650;
  margin: 5px 0 6px;
}

.footer-column a,
.footer-column > span {
  color: #aeb8be;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.76rem;
  line-height: 1.4;
}

.footer-column a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(97, 136, 158, 0.22);
  color: #77848c;
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 47px;
}

.footer-languages {
  gap: 17px;
}

.footer-languages button {
  color: #9ba6ad;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .site-header-inner,
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header-inner {
    grid-template-columns: 190px minmax(0, 1fr) 205px;
  }

  .main-nav {
    gap: 34px;
  }

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

  .project-band-inner,
  .footer-main,
  .footer-bottom {
    margin-left: 28px;
    margin-right: 28px;
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 102px;
  }

  .site-header-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    padding: 9px 20px 0;
  }

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

  .brand strong {
    font-size: 1.12rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button {
    display: none;
  }

  .main-nav {
    border-top: 1px solid rgba(101, 140, 163, 0.2);
    flex: 0 0 calc(100% + 40px);
    gap: 32px;
    height: 43px;
    justify-content: flex-start;
    margin: 0 -20px;
    order: 3;
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 0.78rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 48px);
  }

  .hero-background {
    object-position: 61% center;
  }

  .hero-edge-fade {
    background:
      linear-gradient(90deg, rgba(3, 8, 12, 0.9) 0%, rgba(3, 8, 12, 0.62) 52%, rgba(3, 8, 12, 0.08) 100%),
      linear-gradient(0deg, rgba(3, 8, 12, 0.42) 0%, transparent 32%);
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height) - 48px);
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.35rem;
    max-width: 440px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .engineering-panel {
    min-height: 0;
  }

  .engineering-panel > img {
    aspect-ratio: 16 / 10;
    height: auto;
    position: relative;
  }

  .capability-list {
    border-right: 0;
    position: relative;
    width: 100%;
  }

  .capability-list > button {
    min-height: 72px;
  }

  .contact-stage {
    gap: 56px;
    grid-template-columns: 1fr;
  }

  .contact-heading h2 {
    font-size: 3.4rem;
  }

  .project-band-inner {
    gap: 28px;
    grid-template-columns: 1fr auto;
    padding: 25px 0;
  }

  .project-band p {
    grid-column: 1;
    grid-row: 2;
  }

  .project-band .button {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .project-band::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-nav {
    flex-basis: calc(100% + 28px);
    gap: 25px;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-background {
    object-position: 62% center;
  }

  .hero-edge-fade {
    background:
      linear-gradient(90deg, rgba(3, 8, 12, 0.95) 0%, rgba(3, 8, 12, 0.72) 63%, rgba(3, 8, 12, 0.2) 100%),
      linear-gradient(0deg, rgba(3, 8, 12, 0.62) 0%, transparent 38%);
  }

  .hero-content {
    justify-content: flex-end;
    padding: 70px 20px 58px;
  }

  .hero h1 {
    font-size: 3.1rem;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 1.18rem;
    line-height: 1.32;
    max-width: 330px;
  }

  .section {
    padding: 29px 16px 46px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .solution-grid {
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px;
  }

  .solution-card {
    min-height: 225px;
    padding: 20px 10px;
  }

  .solution-icon {
    height: 58px;
    margin-bottom: 12px;
    width: 58px;
  }

  .solution-icon svg {
    height: 52px;
    width: 52px;
  }

  .solution-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .product-description {
    font-size: 0.93rem;
    min-height: 0;
    padding: 16px 20px;
  }

  .engineering-panel > img {
    aspect-ratio: 4 / 3;
    object-position: 57% center;
  }

  .capability-list > button {
    gap: 13px;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    min-height: 66px;
    padding: 10px 14px;
  }

  .capability-list svg {
    height: 30px;
    width: 30px;
  }

  .capability-list strong {
    font-size: 0.82rem;
  }

  .contact-view {
    padding: 50px 18px;
  }

  .contact-stage {
    gap: 40px;
  }

  .contact-heading h2 {
    font-size: 2.8rem;
  }

  .contact-heading p {
    font-size: 1rem;
  }

  .contact-details > a,
  .contact-details > span {
    font-size: 0.88rem;
    gap: 13px;
    grid-template-columns: 24px minmax(0, 1fr);
    overflow-wrap: anywhere;
    padding: 18px 2px;
  }

  .detail-dialog {
    max-height: calc(100svh - 20px);
    width: calc(100vw - 20px);
  }

  .detail-shell {
    max-height: calc(100svh - 22px);
  }

  .detail-header {
    gap: 16px;
    padding: 22px 20px 19px;
  }

  .detail-header h2 {
    font-size: 1.65rem;
    line-height: 1.12;
  }

  .detail-close {
    flex-basis: 38px;
    height: 38px;
  }

  .detail-content {
    padding: 21px 20px 24px;
  }

  .detail-summary {
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .detail-sections {
    grid-template-columns: 1fr;
  }

  .detail-sections section {
    border-left: 0;
    border-top: 1px solid rgba(103, 148, 174, 0.28);
    padding: 18px 5px;
  }

  .detail-sections section:first-child {
    border-top: 0;
  }

  .detail-footer {
    min-height: 68px;
    padding: 13px 20px;
  }

  .project-band-inner {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 28px 0;
    text-align: center;
  }

  .project-band h2 {
    font-size: 2rem;
  }

  .project-band p {
    font-size: 0.9rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    margin-left: 20px;
    margin-right: 20px;
    padding: 34px 0;
  }

  .footer-brand-block > p {
    max-width: 340px;
  }

  .footer-column {
    border-top: 1px solid rgba(101, 140, 163, 0.2);
    padding-top: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 15px 0;
  }
}

@media (max-width: 350px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 190px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .view.is-active {
    animation: none;
  }

  .button,
  .solution-card,
  .product-card,
  .detail-cue {
    transition: none;
  }

  .detail-dialog[open] {
    animation: none;
  }
}
