:root {
  --blue: #0035c5;
  --blue-dark: #002993;
  --ink: #111827;
  --muted: #5f6979;
  --line: #dfe3e9;
  --soft: #f4f6f9;
  --dark: #07101f;
  --shell: min(1240px, calc(100% - 64px));
  --shadow: 0 22px 60px rgba(10, 22, 45, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #7ba2ff;
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #a7beff;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.08);
}

.button.ghost:hover,
.button.white {
  color: var(--ink);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 750;
}

.text-link span {
  transition: transform 0.25s;
}

.text-link:hover span {
  transform: translateX(5px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.3s;
}

.site-header.solid {
  color: var(--ink);
  border-color: transparent;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 26px rgba(10, 22, 45, 0.08);
  backdrop-filter: blur(12px);
}

.site-header.solid .header-inner {
  min-height: 76px;
}

.brand {
  position: relative;
  z-index: 3;
  width: 220px;
  flex: none;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.site-header.solid .brand img {
  filter: none;
}

.site-header nav,
.site-header nav > ul,
.site-header nav > ul > li,
.nav-product-line {
  display: flex;
  align-items: center;
}

.site-header nav {
  gap: 30px;
}

.site-header nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-header nav > ul {
  gap: 27px;
}

.site-header nav > ul > li > a,
.nav-product-line > a {
  position: relative;
  padding: 28px 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.site-header nav > ul > li > a::after,
.nav-product-line > a::after {
  position: absolute;
  bottom: 21px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}

.site-header nav a[aria-current="page"]::after,
.site-header nav > ul > li > a:hover::after,
.nav-product-line > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-product-line button {
  width: 28px;
  height: 28px;
  padding: 7px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-product-line button svg {
  width: 100%;
  transition: transform 0.2s;
}

.nav-product-line button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.has-submenu {
  position: relative;
}

.has-submenu > ul {
  position: absolute;
  top: calc(100% - 6px);
  left: -20px;
  display: block;
  min-width: 230px;
  padding: 10px !important;
  color: var(--ink);
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.has-submenu > ul.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-submenu > ul a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f4;
  font-size: 0.86rem;
  font-weight: 650;
}

.has-submenu > ul li:last-child a {
  border-bottom: 0;
}

.has-submenu > ul a:hover {
  color: var(--blue);
  background: var(--soft);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header.solid .header-cta {
  color: #fff;
  background: var(--blue);
}

.menu-button {
  z-index: 3;
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.25s ease;
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide picture,
.hero-slide picture img {
  width: 100%;
  height: 100%;
}

.hero-slide picture {
  position: absolute;
  inset: 0;
}

.hero-slide picture img {
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide.active.direction-0 picture img {
  animation: kenburns-left 7.8s ease-out both;
}

.hero-slide.active.direction-1 picture img {
  animation: kenburns-right 7.8s ease-out both;
}

.hero-slide.active.direction-2 picture img {
  animation: kenburns-up 7.8s ease-out both;
}

@keyframes kenburns-left {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.13) translateX(-1.5%); }
}

@keyframes kenburns-right {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.13) translateX(1.5%); }
}

@keyframes kenburns-up {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.13) translateY(-1.5%); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 22, 0.88) 0%, rgba(4, 10, 22, 0.54) 45%, rgba(4, 10, 22, 0.12) 75%),
    linear-gradient(0deg, rgba(3, 8, 18, 0.46), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  max-width: 1180px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.hero-content h1,
.hero-content .hero-title {
  max-width: 850px;
  margin-bottom: 26px;
  color: #fff;
}

.hero-copy {
  max-width: none;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  white-space: nowrap;
}

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

.hero-dots {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition:
    width 0.25s,
    background 0.25s;
}

.hero-dot.active {
  width: 54px;
  background: #fff;
}

.hero-pause {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 8, 18, 0.34);
  cursor: pointer;
  place-items: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.hero-pause:hover,
.hero-pause:focus-visible {
  border-color: #fff;
  background: rgba(3, 8, 18, 0.68);
}

.hero-pause span {
  font-size: 0.78rem;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 31px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.scroll-cue span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  content: "";
  background: #fff;
  animation: scroll-line 1.8s infinite;
}

@keyframes scroll-line {
  to { transform: translateY(200%); }
}

.section {
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 9vw;
}

.split h2 {
  margin-bottom: 0;
}

.intro .split {
  gap: 6vw;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.intro h2 {
  font-size: clamp(2.5rem, 3.75vw, 3.8rem);
}

.prose {
  color: var(--muted);
  font-size: 1.04rem;
}

.prose p {
  margin-bottom: 22px;
}

.lead {
  padding-top: 13px;
}

.trust {
  display: grid;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.trust article {
  padding: 34px 30px 0;
  border-right: 1px solid var(--line);
}

.trust article:first-child {
  padding-left: 0;
}

.trust article:last-child {
  border-right: 0;
}

.trust strong,
.trust span {
  display: block;
}

.trust strong {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

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

.products-section,
.values {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.centered {
  display: block;
  max-width: 1050px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered h2 {
  white-space: nowrap;
}

.section-heading.centered p:last-child {
  color: var(--muted);
}

.heading-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

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

.product-card {
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  text-align: left;
  background: var(--dark);
  cursor: pointer;
}

.product-card img,
.product-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-card img {
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-shade {
  background: linear-gradient(0deg, rgba(2, 7, 17, 0.92), rgba(2, 7, 17, 0.05) 70%);
}

.product-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 24px;
  left: 22px;
}

.product-label small,
.product-label strong {
  display: block;
}

.product-label small {
  margin-bottom: 8px;
  color: #a9bdf9;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-label strong {
  padding-right: 25px;
  font-size: 1.13rem;
  line-height: 1.25;
}

.product-label i {
  position: absolute;
  right: 0;
  bottom: 0;
  font-style: normal;
  transition: transform 0.25s;
}

.product-card:hover img {
  transform: scale(1.07);
}

.product-card:hover .product-label i {
  transform: translateX(5px);
}

.dialog-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 32px;
  overflow: auto;
  background: rgba(2, 7, 17, 0.83);
  place-items: center;
  backdrop-filter: blur(8px);
}

.product-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100svh - 64px);
  padding: 54px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--ink);
  background: var(--soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.dialog-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.dialog-heading > p:last-child {
  color: var(--muted);
}

.dialog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.dialog-grid button {
  position: relative;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: var(--dark);
  cursor: pointer;
}

.dialog-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.4s;
}

.dialog-grid button:hover img {
  transform: scale(1.06);
}

.dialog-grid span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.dialog-detail {
  display: grid;
  align-items: center;
  gap: 35px;
  grid-template-columns: 0.8fr 1fr;
}

.dialog-detail img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.dialog-detail p {
  color: var(--muted);
}

.dialog-back {
  margin-top: 28px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.sectors-section {
  background: #fff;
}

.sector-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.sector-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  min-height: 245px;
  padding: 32px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: var(--dark);
  background-position: center;
  background-size: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.sector-grid article::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(2, 8, 21, 0.48), rgba(2, 8, 21, 0.86)),
    linear-gradient(90deg, rgba(0, 53, 197, 0.2), transparent 70%);
  transition: background 0.35s ease;
}

.sector-grid article:hover {
  filter: saturate(1.08);
}

.sector-grid article:hover::before {
  background:
    linear-gradient(180deg, rgba(0, 34, 126, 0.54), rgba(2, 8, 21, 0.86)),
    linear-gradient(90deg, rgba(0, 53, 197, 0.38), transparent 70%);
}

.sector-carpintaria {
  background-image: url("assets/images/sectors/carpintaria.webp");
}

.sector-serralharia {
  background-image: url("assets/images/sectors/serralharia-ferro-inox.webp");
}

.sector-construcao-civil {
  background-image: url("assets/images/sectors/construcao-civil.webp");
}

.sector-instaladores {
  background-image: url("assets/images/sectors/instaladores.webp");
}

.sector-caixilharias-aluminio {
  background-image: url("assets/images/sectors/caixilharias-aluminio.webp");
}

.sector-gesso-cartonado {
  background-image: url("assets/images/sectors/gesso-cartonado.webp");
}

.sector-manutencao-estruturas-metalicas {
  background-image: url("assets/images/sectors/manutencao-estruturas-metalicas.webp");
}

.sector-grid span {
  display: block;
  margin-bottom: 25px;
  color: #aac0ff;
  font-size: 0.7rem;
  font-weight: 800;
}

.sector-grid article:hover span {
  color: #dbe5ff;
}

.sector-grid h3 {
  margin-bottom: 14px;
  color: #fff;
}

.sector-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.sector-grid article:hover p {
  color: #fff;
}

.consultation {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: #fff;
  background: url("assets/images/sections/advice.webp") center / cover;
}

.consultation-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 18, 0.95), rgba(3, 8, 18, 0.68) 46%, rgba(3, 8, 18, 0.05) 80%);
}

.consultation .shell {
  position: relative;
}

.consultation .shell > div {
  max-width: 610px;
}

.consultation h2 {
  margin-bottom: 20px;
  color: #fff;
}

.consultation .shell > div > p:not(.eyebrow) {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.inner-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  padding: 170px 0 80px;
  color: #fff;
  background: url("assets/images/sections/stockroom.webp") center / cover;
}

.inner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 18, 0.94), rgba(3, 8, 18, 0.62) 50%, rgba(3, 8, 18, 0.25));
}

.inner-hero .shell {
  position: relative;
}

.inner-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.5rem);
}

.inner-hero .shell > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.08rem;
}

.about-copy {
  align-items: start;
}

.value-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article {
  min-height: 285px;
  padding: 40px;
  border: 1px solid var(--line);
  background: #fff;
}

.value-grid article + article {
  border-left: 0;
}

.value-grid span,
.service-cards span {
  display: block;
  margin-bottom: 65px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.value-grid p,
.service-layout > div:first-child > p:last-child,
.service-cards p {
  color: var(--muted);
}

.service-layout {
  display: grid;
  align-items: start;
  gap: 8vw;
  grid-template-columns: 0.78fr 1.22fr;
}

.service-layout > div:first-child {
  position: sticky;
  top: 130px;
}

.service-layout h2 {
  margin-bottom: 28px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.service-cards article {
  min-height: 285px;
  padding: 35px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-cards article:nth-child(-n + 2) {
  border-top: 1px solid var(--line);
}

.service-cards article:nth-child(odd) {
  border-left: 1px solid var(--line);
}

.sector-grid.compact article {
  min-height: 215px;
}

.products-page {
  background: var(--soft);
}

.contact-section {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  gap: 6vw;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-details > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 44px 0 34px;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list svg,
.footer-contact svg {
  width: 23px;
  height: 23px;
  flex: none;
  color: var(--blue);
}

.contact-list small,
.contact-list em {
  display: block;
}

.contact-list small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-list em {
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

.contact-form {
  padding: 48px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 32px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  color: #313846;
  font-size: 0.8rem;
  font-weight: 750;
}

.contact-form label span {
  color: var(--blue);
}

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

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cfd5df;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
}

.contact-form input {
  height: 50px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(0, 53, 197, 0.13);
}

.form-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-note a {
  color: var(--blue);
  text-decoration: underline;
}

.legal {
  width: min(850px, calc(100% - 64px));
  color: var(--muted);
}

.legal h2,
.legal h3 {
  color: var(--ink);
}

.legal h2 {
  margin: 52px 0 16px;
  font-size: 1.8rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 32px 0 12px;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  padding: 82px 0 55px;
  grid-template-columns: 1.25fr 0.65fr 1fr 1fr;
}

.footer-grid > section {
  padding: 0 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-grid > section:first-child {
  padding-left: 0;
}

.footer-grid > section:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-grid h2 {
  margin-bottom: 23px;
  color: #fff;
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 9px;
  font-size: 0.84rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand img {
  width: 205px;
  height: auto;
  margin-bottom: 23px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 280px;
  margin: 0;
  font-size: 0.86rem;
}

.footer-contact {
  display: grid;
  gap: 18px;
}

.footer-contact > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.83rem;
}

.footer-contact small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
}

.footer-contact svg {
  color: #7fa1ff;
}

.complaints {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0;
  line-height: 0;
  background: transparent;
}

.complaints img {
  width: 120px;
  height: 50px;
  background: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-align: center;
}

.footer-bottom a {
  margin-left: 4px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  padding: 32px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.93), rgba(3, 8, 18, 0.7)),
    url("assets/images/sections/stockroom.webp") center / cover;
  place-items: center;
}

.not-found > div {
  max-width: 700px;
}

.not-found h1 {
  margin-bottom: 20px;
  color: #fff;
}

.not-found > div > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 980px);
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav > ul {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    max-width: 680px;
    white-space: normal;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-grid > section:last-child {
    padding: 45px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 40px, 720px);
  }

  .header-inner,
  .site-header.solid .header-inner {
    min-height: 74px;
  }

  .brand {
    width: 190px;
  }

  .menu-button {
    display: block;
  }

  .site-header nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    max-height: 100svh;
    padding: 96px 20px 28px;
    overflow-y: auto;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.25s,
      transform 0.25s;
  }

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

  .site-header nav > ul,
  .site-header nav > ul > li {
    display: block;
  }

  .site-header nav > ul {
    gap: 0;
  }

  .site-header nav > ul > li {
    border-bottom: 1px solid var(--line);
  }

  .site-header nav > ul > li > a,
  .nav-product-line > a {
    display: block;
    padding: 15px 4px;
  }

  .site-header nav > ul > li > a::after,
  .nav-product-line > a::after {
    display: none;
  }

  .nav-product-line {
    justify-content: space-between;
  }

  .nav-product-line button {
    width: 42px;
    height: 42px;
    padding: 11px;
  }

  .has-submenu > ul {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 10px 14px !important;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .has-submenu > ul.show {
    display: block;
  }

  .has-submenu > ul a {
    padding: 9px 4px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(3, 8, 18, 0.87), rgba(3, 8, 18, 0.43));
  }

  .hero-content {
    padding-top: 64px;
  }

  .hero-content h1,
  .hero-content .hero-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .scroll-cue {
    display: none;
  }

  .hero-dots {
    right: 20px;
    bottom: 26px;
  }

  .section {
    padding: 78px 0;
  }

  .split,
  .service-layout,
  .contact-layout {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .intro .split {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .section-heading.centered h2 {
    white-space: normal;
  }

  .service-layout > div:first-child {
    position: static;
  }

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

  .trust article,
  .trust article:first-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link,
  .section-heading .heading-note {
    display: inline-flex;
    margin-top: 24px;
  }

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

  .product-card {
    min-height: 360px;
  }

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

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

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

  .consultation {
    min-height: 500px;
    background-position: 63% center;
  }

  .consultation-shade {
    background: rgba(3, 8, 18, 0.78);
  }

  .inner-hero {
    min-height: 460px;
    padding: 140px 0 62px;
  }

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

  .value-grid article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

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

  .footer-grid > section:nth-child(2) {
    border-right: 0;
  }

  .footer-grid > section:nth-child(3) {
    padding: 42px 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .footer-grid > section:last-child {
    padding: 42px 0 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .brand {
    width: 175px;
  }

  .hero {
    height: 100svh;
    min-height: 650px;
  }

  .hero-content {
    padding-top: 74px;
  }

  .hero-content h1,
  .hero-content .hero-title {
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 13.3vw, 4.3rem);
  }

  .hero-copy {
    margin-bottom: 27px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .hero-dots {
    left: 16px;
    justify-content: center;
  }

  .section {
    padding: 65px 0;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .product-grid,
  .sector-grid,
  .service-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 390px;
  }

  .sector-grid article,
  .sector-grid.compact article {
    min-height: 200px;
  }

  .sector-grid span {
    margin-bottom: 30px;
  }

  .dialog-backdrop {
    padding: 12px;
  }

  .product-dialog {
    max-height: calc(100svh - 24px);
    padding: 50px 20px 28px;
  }

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

  .dialog-grid button {
    min-height: 230px;
  }

  .inner-hero {
    min-height: 440px;
    padding: 130px 0 52px;
  }

  .inner-hero h1 {
    font-size: 2.9rem;
  }

  .value-grid article {
    min-height: 235px;
    padding: 30px;
  }

  .service-cards article {
    min-height: 230px;
  }

  .service-cards article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .service-cards article:nth-child(2) {
    border-top: 0;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .legal {
    width: calc(100% - 32px);
  }

  .footer-grid {
    display: block;
    padding: 58px 0 24px;
  }

  .footer-grid > section,
  .footer-grid > section:first-child,
  .footer-grid > section:nth-child(3),
  .footer-grid > section:last-child {
    padding: 0 0 32px;
    border: 0;
    text-align: center;
  }

  .footer-grid > section + section {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .footer-brand img,
  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-contact > div {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom .shell {
    min-height: 84px;
    line-height: 1.5;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
