/*
Theme Name: Viking
Theme URI: http://viking.local
Author: Codex
Description: Tema custom per il progetto Viking.
Version: 1.0.0
Text Domain: viking
*/

:root {
  --bg: #f4efe6;
  --surface: #fffaf2;
  --ink: #141210;
  --muted: #61584d;
  --accent: #8c5a2b;
  --accent-2: #1f4057;
  --line: rgba(20, 18, 16, 0.12);
  --shadow: 0 18px 50px rgba(20, 18, 16, 0.08);
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DM-Sans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DM-Sans-VariableItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "New Science";
  src: url("assets/fonts/New-Science-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "New Science";
  src: url("assets/fonts/New-Science-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "New Science";
  src: url("assets/fonts/New-Science-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

#wpadminbar {
  top: auto !important;
  bottom: 0 !important;
}

html body.admin-bar {
  margin-top: 0 !important;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(140, 90, 43, 0.08), transparent 38%),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 100%);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

p {
  font-size: 16px;
}

.viking-home,
.azienda-page {
  display: flex;
  flex-direction: column;
}

.viking-home > section,
.azienda-page > section {
  width: 100%;
}

.viking-section-title {
  font-weight: var(--section-title-weight, 700) !important;
}

.viking-section-title strong {
  font-weight: 700;
}

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

a {
  color: var(--accent-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.15;
}

.site-shell {
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0 0;
  z-index: 60;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header--variant-1.site-header--scrolled {
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-header--variant-2.site-header--scrolled {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1.25rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  text-decoration: none;
  color: inherit;
}

.site-header__logo-image {
  display: block;
  width: auto;
  max-height: 56px;
}

.site-header__logo-text {
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__nav {
  justify-self: center;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-header__toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header__toggle-icon::before,
.site-header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle-icon::before {
  top: -6px;
}

.site-header__toggle-icon::after {
  top: 6px;
}

.site-header--mobile-open .site-header__toggle-icon {
  background: transparent;
}

.site-header--mobile-open .site-header__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header--mobile-open .site-header__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__menu-link {
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.site-header__nav-shell {
  display: grid;
  gap: 0;
  position: relative;
}

.site-header__nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
}

.site-header__mobile-panel {
  display: none;
}

.site-header__menu--top {
  align-items: center;
}

.site-header__menu-item {
  position: relative;
}

.site-header__menu-item.has-children > .site-header__menu-link {
  position: relative;
  padding-right: 1rem;
}

.site-header__menu-item.is-active > .site-header__menu-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-header__mega-panels {
  position: relative;
  z-index: 40;
  pointer-events: auto;
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: height 0.28s ease, opacity 0.2s ease;
}

.site-header--mega-open .site-header__mega-panels {
  height: var(--mega-menu-height, 0px);
  opacity: 1;
  visibility: visible;
}

.site-header__mega-panel {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0 30px 30px;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.84);
  box-shadow: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-header__mega-panel.is-active {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mega-menu-panel__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  gap: 2.5rem;
  align-items: stretch;
  padding-bottom: 50px;
}

.mega-menu-panel__levels {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(220px, 0.95fr);
  gap: 1.5rem;
  min-width: 0;
}

.mega-menu-panel__column {
  min-width: 0;
}

.mega-menu-panel__column--third[hidden] {
  display: none;
}

.mega-menu-panel__column--third {
  padding-left: 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.mega-menu-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-panel__list--second,
.mega-menu-panel__list--third {
  display: grid;
  gap: 0.5rem;
}

.mega-menu-panel__item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.mega-menu-panel__item--third > a {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.9;
}

.mega-menu-panel__item--third > a:hover,
.mega-menu-panel__item--third > a:focus {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.mega-menu-panel__item--second {
  padding: 0.2rem 0;
}

.mega-menu-panel__item--second > a {
  position: relative;
  padding-left: 1.1rem;
  text-decoration: none;
}

.mega-menu-panel__label {
  display: inline-block;
  transition: transform 0.2s ease;
}

.mega-menu-panel__item--second > a::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: currentColor;
}

.mega-menu-panel__third-source {
  display: none;
}

.mega-menu-panel__item--second > a:hover,
.mega-menu-panel__item--second > a:focus {
  text-decoration: none;
}

.mega-menu-panel__item--second > a:hover .mega-menu-panel__label,
.mega-menu-panel__item--second > a:focus .mega-menu-panel__label {
  transform: translateX(8px);
}

.mega-menu-panel__media {
  min-width: 0;
  display: grid;
  align-content: start;
}

.mega-menu-panel__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: contain;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.site-header__button {
  justify-self: end;
  align-self: start;
  border-bottom: 1px solid currentColor;
  padding: 30px 40px;
  text-decoration: none;
  font-size: 1.1rem;
  white-space: nowrap;
}

.site-header--variant-1,
.site-header--variant-1 .site-header__menu-link,
.site-header--variant-1 .site-header__button {
  color: #fff;
}

.site-header--variant-2,
.site-header--variant-2 .site-header__menu-link,
.site-header--variant-2 .site-header__button {
  color: #000;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.hero-panel,
.content-panel {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(2rem, 4vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.content-area h1,
.content-area h2,
.content-area h3 {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-area {
  padding: 112px 0 3rem;
}

.content-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.post-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.post-list article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.site-footer {
  color: #111;
  font-size: 0.95rem;
  background: #f1f1f1;
}

.site-footer__top {
  padding: 50px 0 0;
}

.site-footer__top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-bottom: 0;
}

.site-footer__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  padding: 0 2rem 0 0;
  border-right: 1px solid rgba(0, 0, 0, 0.22);
}

.site-footer__logo {
  display: block;
  max-width: 180px;
  width: auto;
  height: auto;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.site-footer__logo-text {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__brand-text {
  max-width: 46ch;
  color: #262626;
}

.site-footer__brand-text p:first-child {
  margin-top: 0;
}

.site-footer__widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100%;
}

.site-footer__widget-column {
  padding: 0 1.5rem 2rem;
  border-left: 1px solid rgba(0, 0, 0, 0.22);
}

.site-footer__widget-column ul {
  padding-left: 0;
  list-style: none;
}

.site-footer__widget-column:first-child {
  border-left: 0;
}

.footer-widget {
  display: grid;
  gap: 0.7rem;
}

.footer-widget__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-widget a {
  color: #111;
  text-decoration-thickness: 1px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.22);
  padding: 1rem 0;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-footer__bottom-left,
.site-footer__bottom-right {
  color: #111;
}

.site-footer__bottom-right a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-slider,
  .hero-slider__inner,
  .azienda-hero,
  .azienda-hero__inner,
  .sicurezza-industriale-hero,
  .sicurezza-industriale-hero__inner {
    min-height: auto;
    height: auto;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer__top-inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    padding: 0 0 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  }

  .site-footer__widgets {
    grid-template-columns: 1fr;
  }

  .site-footer__widget-column {
    padding: 1.25rem 0;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.22);
  }

  .site-footer__widget-column:first-child {
    border-top: 0;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
    #020202;
}

.hero-slider--has-image {
  background: var(--hero-bg) center bottom / cover no-repeat;
}

.hero-slider__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(1.25rem, 2vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-slider__brand-mark {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slider__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-slider__nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.hero-slider__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: -2rem;
}

.hero-slider__headline {
  display: flex;
  align-items: center;
}

.hero-slider__headline--left {
  justify-content: flex-end;
}

.hero-slider__headline--right {
  justify-content: flex-start;
}

.hero-slider__title {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-slider__media {
  display: flex;
  justify-content: center;
}

.hero-slider__media-frame {
  width: min(100%, 420px);
  aspect-ratio: 1.08 / 0.62;
  border-radius: 125px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider__video,
.hero-slider__video--placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__video--placeholder {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 199, 44, 0.85), transparent 28%),
    linear-gradient(135deg, rgba(56, 120, 255, 0.95), rgba(252, 191, 41, 0.95));
  position: relative;
}

.hero-slider__video--placeholder::before {
  content: "";
  position: absolute;
  inset: 10% 14%;
  border-radius: 30px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.04) 0 10px,
      rgba(255, 255, 255, 0.88) 10px 16px,
      rgba(255, 255, 255, 0.04) 16px 26px);
  mix-blend-mode: screen;
  opacity: 0.8;
}

.hero-slider__actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.viking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-width: 140px;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.viking-button--rounded {
  border-radius: 999px;
  background: var(--button-bg, #5d77c9);
  color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.viking-button--rounded:hover {
  color: #111;
}

.viking-button--arrow {
  border: 1px solid rgba(20, 18, 16, 0.7);
  background: transparent;
  color: var(--ink);
  position: relative;
  max-width: 315px;
  padding-right: 1.4rem;
}

.viking-button--arrow::after {
  content: "→";
  font-size: 1.15em;
  line-height: 1;
  margin-left: auto;
}

.viking-button--arrow:hover {
  background: transparent;
  color: var(--ink);
}

.hero-slider__caption {
  margin-top: 1rem;
  text-align: center;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-slider__caption p {
  margin: 0;
}

.azienda-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.76)),
    #000;
}

.azienda-hero--has-image {
  background: var(--azienda-hero-bg) center bottom / cover no-repeat;
}

.azienda-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 0 100px;
}

.azienda-hero__content {
  width: min(1100px, 100%);
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.azienda-hero__title {
  margin: 0;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.azienda-hero__subtitle {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
}

.azienda-hero__text {
  color: #fff;
}

.azienda-hero__text p:first-child {
  margin-top: 0;
}

.azienda-hero__text--primary {
  font-size: 16px;
  font-weight: 400;
}

.azienda-hero__text--secondary {
  font-size: 22px;
  font-weight: 400;
}

.sicurezza-industriale-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #141210;
  background: var(--section-bg, linear-gradient(180deg, rgba(245, 245, 245, 0.96), rgba(245, 245, 245, 0.84)));
}

.sicurezza-industriale-hero--has-image {
  background: var(--section-bg, #f5f5f5);
}

.sicurezza-industriale-hero--has-video {
  background: #f5f5f5;
}

.sicurezza-industriale-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sicurezza-industriale-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
}

.sicurezza-industriale-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 0 100px;
}

.sicurezza-industriale-hero__content {
  width: min(1100px, 100%);
  display: grid;
  gap: 1.6rem;
  justify-items: center;
  text-align: center;
}

.sicurezza-industriale-hero__kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #fdc72e;
  color: #000;
  font-size: 0.92rem;
  line-height: 1;
}

.sicurezza-industriale-hero__title {
  margin: 0;
  max-width: 1180px;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #141210;
}

.sicurezza-industriale-hero__title strong {
  font-weight: 700;
}

.sicurezza-industriale-hero__subtitle {
  margin: 0;
  max-width: 960px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: #141210;
}

.sicurezza-industriale-hero__subtitle strong {
  font-weight: 700;
}

.sicurezza-industriale-hero__text {
  max-width: 900px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #141210;
}

.sicurezza-industriale-hero__text p:first-child {
  margin-top: 0;
}

.sicurezza-industriale-subpages {
  position: relative;
  overflow: hidden;
  padding: 35px 0 100px;
  color: #141210;
  background: var(--section-bg, #fdc72e);
}

.sicurezza-industriale-subpages--has-video {
  background: #fdc72e;
}

.sicurezza-industriale-subpages__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sicurezza-industriale-subpages__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0);
  pointer-events: none;
}

.sicurezza-industriale-subpages__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.sicurezza-industriale-subpages__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  margin-bottom: 50px;
  color: #fff;
}

.sicurezza-industriale-subpages__breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.sicurezza-industriale-subpages__breadcrumb span[aria-hidden="true"] {
  color: #fff;
}

.sicurezza-industriale-subpages__breadcrumb span:last-child {
  color: #000;
  font-weight: 700;
}

.sicurezza-industriale-subpages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.sicurezza-industriale-subpages__card {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.sicurezza-industriale-subpages__image-frame {
  width: 100%;
  overflow: hidden;
}

.sicurezza-industriale-subpages__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.sicurezza-industriale-subpages__title {
  margin: 0;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.sicurezza-industriale-subpages__body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.sicurezza-industriale-subpages__text {
  flex: 0 0 calc(75% - 40px);
  max-width: none;
  font-size: 16px;
  line-height: 1.6;
}

.sicurezza-industriale-subpages__text p:first-child {
  margin-top: 0;
}

.sicurezza-industriale-subpages__footer {
  flex: 0 0 calc(25% - 40px);
  display: flex;
  justify-content: flex-start;
}

.sicurezza-industriale-subpages__button {
  width: 100%;
  min-width: 180px;
}

@media (max-width: 1024px) {
  .sicurezza-industriale-subpages__grid {
    grid-template-columns: 1fr;
  }

  .sicurezza-industriale-subpages__body {
    flex-direction: column;
    gap: 1.25rem;
  }

  .sicurezza-industriale-subpages__text,
  .sicurezza-industriale-subpages__footer {
    flex: 0 0 auto;
    width: 100%;
  }

  .sicurezza-industriale-subpages__footer {
    justify-content: flex-start;
  }

  .sicurezza-industriale-subpages__button {
    width: fit-content;
    min-width: 180px;
  }
}

.consulenza-tecnica-request__form--static {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 18, 16, 0.96);
  color: #fff;
  backdrop-filter: none;
}

.consulenza-tecnica-request__static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.5rem;
}

.consulenza-tecnica-request__static-field {
  display: grid;
  gap: 0.45rem;
}

.consulenza-tecnica-request__static-field--full {
  grid-column: 1 / -1;
}

.consulenza-tecnica-request__static-field label,
.consulenza-tecnica-request__static-field legend {
  font-size: 0.94rem;
  color: #fff;
}

.consulenza-tecnica-request__static-field input,
.consulenza-tecnica-request__static-field select,
.consulenza-tecnica-request__static-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: #fff;
  color: #141210;
}

.consulenza-tecnica-request__static-field textarea {
  min-height: 115px;
  resize: vertical;
}

.consulenza-tecnica-request__static-help {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
}

.consulenza-tecnica-request__static-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.consulenza-tecnica-request__static-privacy {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.consulenza-tecnica-request__static-privacy input {
  margin: 0 0.55rem 0 0;
  vertical-align: middle;
}

.site-header--variant-2 .site-header__mega-panel {
  background: rgba(255, 255, 255, 0.98);
  color: #141210;
}

.site-header--variant-2 .mega-menu-panel__item > a,
.site-header--variant-2 .mega-menu-panel__item--third > a,
.site-header--variant-2 .mega-menu-panel__label {
  color: #141210;
}

.site-header--variant-2 .mega-menu-panel__item--second > a::before {
  color: #141210;
}

.site-header--variant-2 .mega-menu-panel__column--third {
  border-left-color: rgba(20, 18, 16, 0.2);
}

@media (max-width: 1450px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-header__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: stretch;
  }

  .site-header__nav-shell {
    display: none;
  }

  .site-header__mobile-panel {
    display: none;
    width: 100%;
    padding: 0.5rem 0 1.35rem;
  }

  .site-header--mobile-open .site-header__mobile-panel {
    display: block;
  }

  .site-header__mobile-panel[hidden] {
    display: none !important;
  }

  .site-header__toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .site-header__button {
    display: none;
  }

  .site-header--variant-1 .site-header__toggle,
  .site-header--variant-1 .site-header__mobile-panel,
  .site-header--variant-1 .site-header__mobile-link,
  .site-header--variant-1 .site-header__mobile-subtoggle {
    color: #fff;
  }

  .site-header--variant-1 .site-header__mobile-panel {
    background: rgba(0, 0, 0, 0.92);
  }

  .site-header--variant-1 .site-header__toggle {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .site-header--variant-2 .site-header__toggle,
  .site-header--variant-2 .site-header__mobile-panel,
  .site-header--variant-2 .site-header__mobile-link,
  .site-header--variant-2 .site-header__mobile-subtoggle {
    color: #141210;
  }

  .site-header--variant-2 .site-header__mobile-panel {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header--variant-2 .site-header__toggle {
    border-color: rgba(20, 18, 16, 0.4);
  }

  .site-header__mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
  }

  .site-header__mobile-item {
    display: grid;
    gap: 0.35rem;
  }

  .site-header__mobile-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
  }

  .site-header__mobile-link {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.2;
  }

  .site-header__mobile-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
  }

.site-header__mobile-submenu {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.2rem;
}

.site-header__mobile-submenu[hidden] {
  display: none !important;
}

.site-header__mobile-submenu:not([hidden]) {
  display: grid;
}

  .site-header__mobile-submenu .site-header__mobile-list {
    padding-left: 0;
  }
}

.azienda-vision {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.72), rgba(0, 0, 0, 0.86)),
    #0a0a0c;
}

.azienda-vision--has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--azienda-vision-bg) center center / cover no-repeat;
  filter: brightness(0.7);
  pointer-events: none;
}

.azienda-vision__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.8rem;
}

.azienda-vision__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 1rem;
  line-height: 1;
}

.azienda-vision__title {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.azienda-vision__title strong {
  font-weight: 700;
}

.azienda-vision__box {
  width: min(1120px, 100%);
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding: 2.5rem 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  background: transparent;
  backdrop-filter: brightness(0.9);
  -webkit-backdrop-filter: brightness(0.9);
}

.azienda-vision__column {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

.azienda-vision__logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.azienda-vision__text {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.55;
}

.azienda-vision__text p:first-child {
  margin-top: 0;
}

.azienda-approccio {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #141210;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 245, 0.96)),
    #f4f4f4;
}

.azienda-approccio--has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--azienda-approccio-bg) center center / cover no-repeat;
  filter: brightness(1.05) blur(2px);
  transform: scale(1.02);
  pointer-events: none;
  opacity: 0.28;
}

.azienda-approccio__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 4rem;
  align-items: flex-start;
}

.azienda-approccio__content {
  display: grid;
  gap: 1.4rem;
}

.azienda-approccio__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 1rem;
  line-height: 1;
}

.azienda-approccio__title {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #141210;
}

.azienda-approccio__title strong {
  font-weight: 700;
}

.azienda-approccio__text {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(20, 18, 16, 0.9);
}

.azienda-approccio__text p:first-child {
  margin-top: 0;
}

.azienda-approccio__visual {
  display: flex;
  justify-content: flex-end;
}

.azienda-approccio__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(20, 18, 16, 0.14);
}

.azienda-approccio__image--placeholder {
  aspect-ratio: 4 / 3;
  background: rgba(20, 18, 16, 0.08);
}

.azienda-consulenza {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #141210;
  background: var(--section-bg, #f5f5f5);
}

.azienda-consulenza__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.azienda-consulenza__content {
  width: min(1120px, 100%);
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  text-align: center;
}

.azienda-consulenza__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 1rem;
  line-height: 1;
}

.azienda-consulenza__title {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(2.25rem, 4.4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #141210;
}

.azienda-consulenza__title strong {
  font-weight: 700;
}

.azienda-consulenza__title p {
  margin: 0;
}

.azienda-consulenza__text {
  max-width: 920px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(20, 18, 16, 0.92);
}

.azienda-consulenza__text p:first-child {
  margin-top: 0;
}

.azienda-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: #000;
}

.azienda-banner--has-image {
  background: var(--azienda-banner-bg) center center / cover no-repeat;
}

.azienda-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
}

.azienda-banner__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.azienda-banner__content {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
}

.azienda-banner__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 1rem;
  line-height: 1;
}

.azienda-banner__title {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #fff;
}

.azienda-banner__title p {
  margin: 0;
}

.azienda-banner__text {
  max-width: 920px;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.azienda-banner__text p:first-child {
  margin-top: 0;
}

.azienda-banner__button {
  width: fit-content;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.azienda-banner__button:hover,
.azienda-banner__button:focus,
.azienda-banner__button:active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.consulenza-tecnica-request {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--section-bg, #f5f5f5);
}

.consulenza-tecnica-request__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
}

.consulenza-tecnica-request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}

.consulenza-tecnica-request__content {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.consulenza-tecnica-request__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
}

.consulenza-tecnica-request__title {
  margin: 0;
  max-width: 580px;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: #141210;
}

.consulenza-tecnica-request__title p {
  margin: 0;
}

.consulenza-tecnica-request__text {
  max-width: 580px;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(20, 18, 16, 0.92);
}

.consulenza-tecnica-request__text p:first-child {
  margin-top: 0;
}

.consulenza-tecnica-request__form {
  min-height: 100%;
  padding: 2rem;
  border: 1px solid rgba(20, 18, 16, 0.12);
  border-radius: 24px;
  background: transparent;
  backdrop-filter: none;
}

.consulenza-tecnica-request__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px dashed rgba(20, 18, 16, 0.22);
  border-radius: 18px;
  color: rgba(20, 18, 16, 0.72);
  text-align: center;
  padding: 1rem;
}

@media (max-width: 1100px) {
  .hero-slider__content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 0;
  }

  .hero-slider__headline--left,
  .hero-slider__headline--right {
    justify-content: center;
    text-align: center;
  }

  .hero-slider__title {
    max-width: 12ch;
  }

}

@media (max-width: 640px) {
  .hero-slider__nav {
    gap: 0.75rem;
    padding-inline: 0.9rem;
  }

  .hero-slider__media-frame {
    border-radius: 28px;
  }

  .viking-button {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .azienda-hero__title {
    font-size: clamp(2.5rem, 7vw, 3.75rem);
  }

  .azienda-hero__subtitle {
    font-size: clamp(1.4rem, 4vw, 1.75rem);
  }

  .azienda-hero__text--secondary {
    font-size: 1.05rem;
  }

  .azienda-vision__box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .azienda-vision__title {
    max-width: 100%;
  }

  .azienda-approccio__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .azienda-approccio__visual {
    justify-content: flex-start;
  }

  .azienda-approccio__image {
    width: 100%;
  }

  .azienda-consulenza__title {
    max-width: 100%;
  }
}

.about-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 245, 245, 0.92)),
    #f4f2ef;
}

.about-section--has-image {
  background: var(--about-bg) center/cover no-repeat;
}

.about-section__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
}

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

.viking-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.viking-bg-overlay,
.about-section__overlay,
.deepdives-section__overlay,
.contacts-section__overlay,
.azienda-hero__overlay,
.azienda-vision__overlay,
.azienda-approccio__overlay,
.azienda-consulenza__overlay,
.azienda-banner__overlay,
.consulenza-tecnica-request__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
  z-index: 0;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.about-section__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding-top: 1.5rem;
}

.about-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 18, 16, 0.08);
}

.about-section__title {
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.about-section__text {
  margin-top: 50px;
  font-size: 1.05rem;
}

.about-section__text p:first-child {
  margin-top: 0;
}

.about-section__button,
.about-box__button {
  min-width: 180px;
}

.about-section__button {
  margin-top: auto;
}

.about-section__boxes {
  display: grid;
  gap: 1.15rem;
}

.about-box {
  position: relative;
  min-height: 300px;
  padding: 1.1rem;
  overflow: hidden;
  color: #000;
  background:
    var(--about-box-hover-bg) center/cover no-repeat,
    var(--about-box-bg, #d3d9e7);
}

.about-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--about-box-bg, #d3d9e7);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform: translateX(0);
  z-index: 0;
}

.about-box:hover::before {
  transform: translateX(-100%);
}

.about-box__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--about-box-overlay-color, #000000);
  opacity: var(--about-box-overlay-opacity, 0.35);
  pointer-events: none;
  z-index: 0;
}

.about-box__number,
.about-box__content {
  position: relative;
  z-index: 1;
}

.about-box__number,
.about-box__title,
.about-box__text {
  transition: color 0.3s ease;
}

.about-box__number {
  display: inline-block;
  font-size: 2rem;
  line-height: 1;
}

.about-box__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: calc(300px - 2.2rem);
}

.about-box__copy {
  display: grid;
  gap: 20px;
}

.about-box__actions {
  display: grid;
  gap: 0.8rem;
  justify-items: end;
  margin-top: auto;
}

.about-box__title {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.about-box__text {
  max-width: 48ch;
  font-size: 1rem;
}

.about-box__text p:first-child {
  margin-top: 0;
}

.about-box__button {
  width: fit-content;
  min-width: 180px;
  justify-self: end;
}

.about-box:hover {
  color: #fff;
}

.about-box:hover .about-box__number,
.about-box:hover .about-box__title,
.about-box:hover .about-box__text {
  color: #fff;
}

.about-box__button,
.about-box__button:hover,
.about-box__button:focus,
.about-box__button:active {
  color: var(--ink);
  border-color: rgba(20, 18, 16, 0.7);
  background: transparent;
}

.about-box__button::after {
  color: currentColor;
}

.about-box__button:hover::after,
.about-box__button:focus::after,
.about-box__button:active::after {
  color: currentColor;
}

.services-section {
  position: relative;
  overflow: hidden;
  background: var(--section-bg, #fff);
  padding: 100px 0;
}

.services-section__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.services-section__intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.services-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #f2f2f2;
}

.services-section__title {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.services-section__text {
  max-width: 68ch;
}

.services-section__text p:first-child {
  margin-top: 0;
}

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

.service-card {
  display: grid;
  gap: 1rem;
  padding: 15px;
  background: transparent;
  transition: background-color 0.3s ease;
}

.service-card:hover {
  background: #e8e8e8;
}

.service-card__media {
  display: block;
  aspect-ratio: 2 / 1.2;
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__image--placeholder {
  background: linear-gradient(135deg, #d6dde9, #f0f3f8);
}

.service-card__body {
  display: grid;
  gap: 0.9rem;
}

.service-card__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.service-card__title a {
  color: inherit;
  text-decoration: none;
}

.service-card__excerpt {
  font-size: 0.98rem;
}

.service-card__excerpt p:first-child {
  margin-top: 0;
}

.service-card__button {
  width: fit-content;
  margin-top: 0.4rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.service-card__button:hover,
.service-card__button:focus,
.service-card__button:active {
  background: #000;
  color: #fff;
  border-color: #fff;
}

.service-card__button:hover::after,
.service-card__button:focus::after,
.service-card__button:active::after {
  color: #fff;
}

.products-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background: var(--section-bg, linear-gradient(180deg, #3f3f3f 0%, #000000 100%));
}

.products-section__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.products-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.products-section__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  min-height: 100%;
}

.products-section__intro-copy {
  display: grid;
  gap: 50px;
}

.products-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
}

.products-section__title {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.products-section__text {
  max-width: 68ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.84);
}

.products-section__text p:first-child {
  margin-top: 0;
}

.products-section__visual {
  display: grid;
  align-content: end;
}

.products-section__image-frame {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.products-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.products-section__image-frame--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(70, 99, 171, 0.5), transparent 36%),
    radial-gradient(circle at 70% 60%, rgba(253, 199, 46, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.products-section__list {
  display: grid;
  align-content: start;
  gap: 0;
}

.product-row {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.product-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.product-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--product-hover, #4663AB);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 0;
}

.product-row:hover::before,
.product-row:focus-within::before {
  transform: translateX(0);
}

.product-row__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  padding: 1rem 1.1rem;
}

.product-row__meta,
.product-row__link {
  position: relative;
  z-index: 1;
}

.product-row__meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: inherit;
  transition: color 0.3s ease;
}

.product-row__index {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
  padding-top: 0.15rem;
}

.product-row__arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 0.2rem;
}

.product-row__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.5vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.product-row__link {
  display: inline-flex;
  justify-self: end;
  width: fit-content;
  white-space: nowrap;
  color: #fff;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.product-row__link:hover,
.product-row__link:focus,
.product-row__link:active {
  color: #fff;
  opacity: 1;
}

.product-row__link:hover::after,
.product-row__link:focus::after,
.product-row__link:active::after {
  color: #fff;
}

.product-row:hover .product-row__arrow,
.product-row:focus-within .product-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

.product-row:hover .product-row__meta,
.product-row:focus-within .product-row__meta,
.product-row:hover .product-row__link,
.product-row:focus-within .product-row__link {
  color: #fff;
  opacity: 1;
}

@media (max-width: 1200px) {
  .product-row__inner {
    grid-template-columns: 1fr;
  }

  .product-row__link {
    justify-self: start;
  }
}

@media (max-width: 1100px) {
  .products-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 80px 0;
  }

  .products-section__grid {
    gap: 40px;
  }
}

.partners-section {
  padding: 100px 0;
  overflow: hidden;
  background: var(--section-bg, #fff);
}

.partners-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.partners-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #f2f2f2;
}

.partners-slider {
  position: relative;
}

.partners-slider__viewport {
  overflow: hidden;
}

.partners-slider__track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.5s ease;
}

.partners-slider__item {
  flex: 0 0 calc((100% - 6rem) / 5);
  min-width: 0;
}

.partners-slider__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 0;
  text-decoration: none;
  border-radius: 0;
  background: transparent;
  transition: transform 0.3s ease;
}

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

.partners-slider__logo {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .partners-slider__item {
    flex-basis: calc((100% - 4.5rem) / 4);
  }
}

@media (max-width: 900px) {
  .partners-slider__item {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

@media (max-width: 640px) {
  .partners-section {
    padding: 80px 0;
  }

  .partners-slider__item {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

.sectors-section {
  padding: 100px 0;
  background: var(--section-bg, #262626);
  color: #fff;
}

.sectors-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 100px;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.sectors-section__intro {
  display: grid;
  gap: 1.5rem;
}

.sectors-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #e8e8e8;
  color: #000;
}

.sectors-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12rem;
  align-items: start;
}

.sectors-section__title {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.sectors-section__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.84);
}

.sectors-section__text p:first-child {
  margin-top: 0;
}

.sectors-section__button {
  margin-top: 1.4rem;
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.sectors-section__button:hover,
.sectors-section__button:focus,
.sectors-section__button:active {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sectors-section__button:hover::after,
.sectors-section__button:focus::after,
.sectors-section__button:active::after {
  color: #fff;
}

.sectors-section__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.sector-card {
  display: grid;
  gap: 1rem;
  color: #fff;
}

.sector-card__media {
  overflow: hidden;
  aspect-ratio: 1.2 / 0.9;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
}

.sector-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sector-card__image--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 35%),
    linear-gradient(135deg, rgba(95, 137, 255, 0.45), rgba(255, 255, 255, 0.04));
}

.sector-card__body {
  display: grid;
  gap: 0.8rem;
}

.sector-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sector-card__tag {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.sector-card__tag--automation {
  background: #4663ab;
  color: #fff;
}

.sector-card__tag--safety {
  background: #fdc72e;
  color: #111;
}

.sector-card__title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.sector-card__text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.sector-card__text p:first-child {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .sectors-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sectors-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sectors-section {
    padding: 80px 0;
  }

  .sectors-section__cards {
    grid-template-columns: 1fr;
  }
}

.method-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--section-bg, #fff);
  color: var(--ink);
}

.method-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
}

.method-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #f2f2f2;
}

.method-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: stretch;
}

.method-section__intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.method-section__title {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.method-section__text {
  max-width: 56ch;
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.method-section__text p:first-child {
  margin-top: 0;
}

.method-section__button {
  margin-top: auto;
  width: fit-content;
}

.method-section__items {
  display: grid;
  gap: 0;
}

.method-item {
  padding: 1.1rem 0 1.2rem;
  border-top: 1px solid rgba(20, 18, 16, 0.16);
}

.method-item:first-child {
  border-top: 0;
}

.method-item:last-child {
  border-bottom: 1px solid rgba(20, 18, 16, 0.16);
}

.method-item__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
}

.method-item__text {
  color: var(--muted);
  font-size: 0.98rem;
}

.method-item__text p:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .method-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .method-section {
    padding: 80px 0;
  }
}

.deepdives-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 14, 42, 0.55), rgba(6, 8, 16, 0.82)),
    #081022;
}

.deepdives-section--has-image {
  background: var(--deepdives-bg) center/cover no-repeat;
}

.deepdives-section__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
}

.deepdives-section__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.deepdives-section__kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

.deepdives-section__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.deepdives-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.deepdives-card__image {
  width: 100%;
  height: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 0.9rem;
}

.deepdives-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.deepdives-card__title {
  margin: 0;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
}

.deepdives-card__title p {
  margin: 0;
}

.deepdives-card__text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.deepdives-card__text p:first-child {
  margin-top: 0;
}

.deepdives-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 1rem;
}

.deepdives-card__link,
.deepdives-card__arrow {
  color: #fff;
  text-decoration: none;
}

.deepdives-card__link {
  font-size: 0.95rem;
  opacity: 0.9;
}

.deepdives-card__arrow {
  font-size: 1.35rem;
  line-height: 1;
}

.contacts-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 4, 8, 0.52), rgba(4, 4, 8, 0.78)),
    #000;
}

.contacts-section--has-image {
  background: var(--contacts-bg) center center / cover no-repeat;
}

.contacts-section--has-video {
  background: #000;
}

.contacts-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.contacts-section__overlay {
  position: absolute;
  inset: 0;
  background: var(--section-overlay-color, #000000);
  opacity: var(--section-overlay-opacity, 0.35);
  pointer-events: none;
}

.contacts-section__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.contacts-section__content {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
  max-width: 1120px;
}

.contacts-section__title {
  margin: 0;
  font-family: "New Science", "DM Sans", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
}

.contacts-section__text {
  max-width: 1120px;
  font-size: 22px;
  color: #fff;
}

.contacts-section__text p:first-child {
  margin-top: 0;
}

.contacts-section__button {
  width: fit-content;
  border-color: #fff;
  color: #fff;
}

.contacts-section__button:hover,
.contacts-section__button:focus,
.contacts-section__button:active {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

@media (max-width: 1200px) {
  .deepdives-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .deepdives-section {
    padding: 80px 0;
  }

  .deepdives-section__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contacts-section {
    padding: 80px 0;
  }

  .contacts-section__inner {
    min-height: 360px;
  }

  .contacts-section__content {
    gap: 1.4rem;
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }

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

@media (max-width: 1100px) {
  .about-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
  }

  .about-box {
    min-height: 260px;
  }

  .about-box__content {
    gap: 1.2rem;
  }

  .about-box__actions {
    justify-items: start;
  }

  .about-box__button {
    justify-self: start;
  }
}

.viking-metabox {
  padding: 0.25rem 0 1rem;
}

.viking-metabox__section {
  display: grid;
  gap: 1rem;
}

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

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

.viking-grid__full {
  grid-column: 1 / -1;
}

.viking-grid label,
.viking-field--wysiwyg,
.viking-media-field {
  display: grid;
  gap: 0.4rem;
}

.viking-grid span,
.viking-field--wysiwyg > span,
.viking-media-field > span {
  font-weight: 600;
}

.viking-grid input,
.viking-grid select,
.viking-media-field input,
.viking-field--wysiwyg .wp-editor-wrap {
  width: 100%;
}

.viking-media-field {
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid #dcdcde;
  border-radius: 12px;
  background: #fff;
}

.viking-media-field__preview {
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #c3c4c7;
  border-radius: 10px;
  background: #f8f9fa;
  max-width: 250px;
}

.viking-media-preview,
.viking-media-preview__image,
.viking-media-preview__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viking-media-preview__image {
  max-width: 250px;
  height: auto;
}

.viking-media-preview--empty {
  min-height: 160px;
  color: #646970;
  font-style: italic;
}

.viking-media-field__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
