:root {
  --granito-950: #09121D;
  --granito-900: #0E1B2B;
  --granito-800: #14283F;
  --granito-700: #1B3854;
  --acciaio-600: #2E5778;
  --acciaio-400: #6F94B0;
  --acciaio-300: #8FB0C9;
  --ocra-600: #B9741F;
  --ocra-500: #D08A2C;
  --ocra-300: #E8C089;
  --calce: #F4F2EC;
  --calce-2: #ECE9E1;
  --cemento-100: #DAD7CF;
  --cemento-200: #BCB9B0;
  --cemento-300: #98968E;
  --cemento-400: #6E6D67;
  --cemento-500: #4A4A46;
  --inchiostro: #15171A;
  --white: #FFFFFF;
  --line: rgba(20, 40, 63, 0.14);
  --line-strong: rgba(20, 40, 63, 0.28);
  --line-light: rgba(244, 242, 236, 0.18);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-height: 76px;
  --wrap: 1280px;
  --shadow-soft: 0 18px 50px rgba(14, 27, 43, 0.12);
  --shadow-strong: 0 28px 80px rgba(14, 27, 43, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--calce);
  color: var(--inchiostro);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--ocra-500);
  color: var(--granito-950);
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ocra-500);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding: 128px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ocra-500);
  color: var(--granito-950);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--ocra-500);
}

.credential-bar {
  position: relative;
  z-index: 52;
  min-height: 38px;
  display: flex;
  align-items: center;
  background: var(--granito-950);
  color: var(--cemento-100);
}

.credential-track {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.credential-track > span {
  position: relative;
}

.credential-track > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--acciaio-400);
}

.credential-track a {
  margin-left: auto;
  color: var(--ocra-300);
}

.credential-track a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.92);
  backdrop-filter: saturate(150%) blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 242, 236, 0.98);
  box-shadow: 0 8px 30px rgba(14, 27, 43, 0.08);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cemento-500);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--ocra-500);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--granito-900);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta,
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-cta {
  flex: 0 0 auto;
  background: var(--granito-800);
  color: var(--calce);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--ocra-500);
  color: var(--granito-950);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--granito-900);
  transition: transform 200ms ease;
}

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

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

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 49;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 40px 32px 28px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  background: var(--calce);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu nav {
  display: grid;
  align-content: start;
}

.mobile-menu nav a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
}

.mobile-menu nav a span {
  color: var(--ocra-600);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.mobile-menu-footer {
  display: grid;
  gap: 6px;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mobile-menu-footer p {
  margin-bottom: 0;
  color: var(--cemento-400);
}

.mobile-menu-footer a {
  color: var(--granito-800);
  font-weight: 600;
}

.hero {
  position: relative;
  height: calc(100svh - 150px);
  min-height: 540px;
  max-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: var(--granito-900);
}

.hero-media,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.015);
  animation: hero-settle 1200ms ease-out both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 18, 29, 0.96) 0%, rgba(14, 27, 43, 0.84) 42%, rgba(14, 27, 43, 0.32) 72%, rgba(14, 27, 43, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 18, 29, 0.72) 0%, transparent 48%);
}

.hero-grid,
.contact-grid {
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(244, 242, 236, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, transparent 80%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 64px;
  padding: 50px 0 78px;
}

.hero-content {
  max-width: 820px;
  color: var(--calce);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--ocra-600);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--ocra-300);
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--calce);
  font-family: var(--display);
  font-size: 78px;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(244, 242, 236, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

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

.btn.primary {
  background: var(--ocra-500);
  color: var(--granito-950);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: var(--ocra-300);
}

.btn.glass {
  border-color: rgba(244, 242, 236, 0.42);
  background: rgba(9, 18, 29, 0.18);
  color: var(--calce);
  backdrop-filter: blur(10px);
}

.btn.glass:hover {
  border-color: var(--calce);
  background: var(--calce);
  color: var(--granito-950);
}

.hero-proof {
  align-self: center;
  padding: 22px 0 22px 24px;
  border-left: 1px solid rgba(244, 242, 236, 0.3);
  color: var(--calce);
}

.proof-label,
.proof-copy {
  display: block;
  color: var(--acciaio-300);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin: 10px 0 2px;
  font-family: var(--display);
  font-size: 84px;
  line-height: 0.9;
}

.proof-line {
  width: 52px;
  height: 3px;
  margin: 20px 0;
  background: var(--ocra-500);
}

.hero-proof p {
  margin-bottom: 0;
  color: rgba(244, 242, 236, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

.hero-footer {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: rgba(244, 242, 236, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-footer > span:last-child {
  text-align: right;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll i {
  width: 32px;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 242, 236, 0.28);
}

.hero-scroll i::after {
  content: "";
  display: block;
  width: 12px;
  height: 1px;
  background: var(--ocra-500);
  animation: scroll-line 1800ms ease-in-out infinite;
}

.metrics {
  padding: 32px 0;
  background: var(--granito-950);
  color: var(--calce);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 28px;
  border-left: 1px solid var(--line-light);
}

.metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric strong {
  display: block;
  color: var(--calce);
  font-family: var(--display);
  font-size: 48px;
  line-height: 0.96;
}

.metric strong span {
  color: var(--ocra-500);
  font-size: 28px;
}

.metric p {
  margin: 9px 0 0;
  color: var(--acciaio-300);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.company {
  background: var(--calce);
}

.company-layout {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 42px;
}

.section-index {
  color: var(--cemento-200);
  font-family: var(--display);
  font-size: 74px;
  font-weight: 800;
  line-height: 0.88;
}

.section-copy h2,
.section-header h2,
.services-heading h2,
.clients-layout h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.02;
}

.company-body {
  padding-top: 34px;
}

.company-body p {
  color: var(--cemento-500);
}

.company-body .lead {
  color: var(--granito-900);
  font-size: 22px;
  line-height: 1.55;
}

.company-signature {
  display: grid;
  gap: 6px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.company-signature span {
  color: var(--cemento-400);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.company-signature strong {
  color: var(--granito-800);
  font-family: var(--display);
  font-size: 20px;
}

.projects {
  overflow: hidden;
  background: var(--calce-2);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 72px;
}

.section-header > p {
  margin-bottom: 4px;
  color: var(--cemento-500);
}

.section-header.compact {
  margin-bottom: 50px;
}

.project {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 120px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.project-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--granito-800);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-visual:hover img {
  transform: scale(1.035);
}

.project-giolitti .project-visual-wide {
  grid-column: 1 / span 8;
  height: 500px;
}

.project-giolitti .project-visual-tall {
  grid-column: 9 / span 4;
  height: 500px;
}

.project-giolitti .project-visual-tall img {
  object-position: center 36%;
}

.project-giolitti .project-info {
  grid-column: 2 / span 7;
  padding-top: 26px;
}

.project-ulivi {
  align-items: end;
}

.project-ulivi .project-info {
  grid-column: 1 / span 4;
  padding: 0 20px 24px 0;
}

.project-ulivi .project-visual-main {
  grid-column: 5 / span 8;
  height: 570px;
}

.status,
.image-caption {
  position: absolute;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.status {
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 3px;
  background: rgba(9, 18, 29, 0.88);
  color: var(--calce);
  backdrop-filter: blur(8px);
}

.status-live {
  background: var(--ocra-500);
  color: var(--granito-950);
}

.status-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--granito-950);
  box-shadow: 0 0 0 0 rgba(9, 18, 29, 0.3);
  animation: pulse 1800ms ease-out infinite;
}

.image-caption {
  right: 18px;
  bottom: 16px;
  color: rgba(244, 242, 236, 0.76);
  text-shadow: 0 1px 6px rgba(9, 18, 29, 0.5);
}

.project-client {
  margin-bottom: 10px;
  color: var(--ocra-600);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-info h3,
.project-hospital h3 {
  margin-bottom: 16px;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.04;
}

.project-info > p:not(.project-client) {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--cemento-500);
}

.project-info dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-info dl div {
  min-width: 0;
  padding: 14px 16px;
  background: var(--calce);
}

.project-info dt {
  margin-bottom: 4px;
  color: var(--cemento-400);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-info dd {
  margin-bottom: 0;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-hospital {
  display: grid;
  grid-template-columns: 130px minmax(230px, 0.9fr) minmax(280px, 1.1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 40px;
  border-radius: 4px;
  background: var(--granito-800);
  color: var(--calce);
}

.project-hospital h3 {
  margin-bottom: 0;
  color: var(--calce);
}

.project-hospital > p {
  margin-bottom: 0;
  color: var(--cemento-100);
}

.hospital-mark {
  height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(244, 242, 236, 0.2);
  background:
    linear-gradient(rgba(244, 242, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.hospital-mark span {
  display: block;
  height: 32%;
  background: var(--calce);
}

.hospital-mark span:nth-child(2) {
  height: 52%;
  background: var(--acciaio-300);
}

.hospital-mark span:nth-child(3) {
  height: 74%;
}

.hospital-mark span:nth-child(4) {
  height: 96%;
  background: var(--ocra-500);
}

.hospital-meta {
  display: grid;
  gap: 8px;
  color: var(--acciaio-300);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--granito-900);
  color: var(--calce);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  opacity: 0.22;
  background:
    linear-gradient(rgba(244, 242, 236, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.services .wrap {
  position: relative;
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 70px;
}

.services-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

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

.services-heading > p:last-child {
  margin-bottom: 4px;
  color: var(--acciaio-300);
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-list article {
  min-height: 116px;
  display: grid;
  grid-template-columns: 64px minmax(240px, 0.9fr) minmax(300px, 1.1fr) 36px;
  align-items: center;
  gap: 28px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-light);
  transition: background 180ms ease, padding 180ms ease;
}

.service-list article:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(244, 242, 236, 0.06);
}

.service-number {
  color: var(--ocra-300);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.service-list h3 {
  margin-bottom: 0;
  color: var(--calce);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.service-list p {
  margin-bottom: 0;
  color: var(--cemento-200);
}

.service-symbol {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 242, 236, 0.3);
  border-radius: 50%;
  color: var(--ocra-300);
  font-family: var(--mono);
  font-size: 16px;
}

.process {
  background: var(--calce);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 26px 28px 26px 0;
  border-top: 2px solid var(--granito-800);
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 22px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-top: 2px solid var(--granito-800);
  border-right: 2px solid var(--granito-800);
}

.process-list span {
  display: block;
  margin-bottom: 48px;
  color: var(--ocra-600);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 22px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--cemento-500);
  font-size: 15px;
}

.clients {
  padding: 76px 0;
  border-block: 1px solid var(--line);
  background: var(--calce-2);
}

.clients-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 64px;
}

.clients-layout h2 {
  font-size: 38px;
}

.client-names {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.client-names span {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--calce);
  color: var(--granito-800);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.certifications {
  overflow: hidden;
  background: var(--calce);
}

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

.cert-card {
  min-height: 348px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(rgba(20, 40, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 63, 0.04) 1px, transparent 1px),
    var(--white);
  background-size: 24px 24px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.cert-card:hover,
.cert-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--ocra-500);
  box-shadow: var(--shadow-soft);
}

.cert-card.cert-soa {
  background:
    linear-gradient(rgba(244, 242, 236, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, 0.06) 1px, transparent 1px),
    var(--granito-800);
  background-size: 24px 24px;
  color: var(--calce);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
}

.cert-top i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--ocra-500);
  color: var(--granito-950);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.cert-card:not(.cert-soa) .cert-top i {
  background: var(--granito-800);
  color: var(--calce);
}

.cert-top b {
  color: var(--cemento-400);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
}

.cert-soa .cert-top b {
  color: var(--acciaio-300);
}

.cert-type {
  margin-bottom: 8px;
  color: var(--cemento-400);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.cert-soa .cert-type {
  color: var(--acciaio-300);
}

.cert-card h3 {
  margin-bottom: 10px;
  color: var(--granito-900);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
}

.cert-soa h3 {
  color: var(--calce);
}

.cert-card p {
  margin-bottom: 24px;
  color: var(--cemento-500);
  font-size: 14px;
}

.cert-soa p {
  color: var(--cemento-100);
}

.cert-action {
  margin-top: auto;
  color: var(--granito-800);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.cert-soa .cert-action {
  color: var(--ocra-300);
}

.soa-note {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--cemento-500);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 180ms ease, background 180ms ease;
}

.soa-note:hover {
  border-color: var(--ocra-500);
  background: var(--white);
}

.soa-note span:last-child {
  color: var(--granito-800);
  white-space: nowrap;
}

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 86px;
  background: var(--granito-800);
  color: var(--calce);
}

.contact-grid {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 56px 80px;
  align-items: end;
}

.contact h2 {
  max-width: 760px;
  color: var(--calce);
  font-size: 64px;
}

.contact-action p {
  margin-bottom: 28px;
  color: var(--cemento-100);
}

.contact-mail {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border: 1px solid rgba(244, 242, 236, 0.3);
  border-radius: 4px;
  background: var(--ocra-500);
  color: var(--granito-950);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-mail:hover {
  transform: translateY(-3px);
  background: var(--ocra-300);
}

.contact address {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.8fr;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(244, 242, 236, 0.24);
  color: var(--cemento-100);
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
}

.contact address strong {
  color: var(--calce);
}

.contact address a {
  justify-self: end;
  color: var(--ocra-300);
  overflow-wrap: anywhere;
}

.footer {
  padding: 52px 0 24px;
  background: var(--granito-950);
  color: var(--cemento-200);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 60px;
  padding-bottom: 44px;
}

.footer-brand {
  color: var(--calce);
}

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

.footer-main p {
  margin-bottom: 0;
  color: var(--cemento-300);
  font-family: var(--mono);
  font-size: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ocra-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 242, 236, 0.12);
  color: var(--cemento-400);
  font-family: var(--mono);
  font-size: 10px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  border: 1px solid rgba(244, 242, 236, 0.18);
  border-radius: 4px;
  background: var(--granito-900);
  color: var(--calce);
  font-family: var(--mono);
  font-size: 17px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ocra-500);
  color: var(--granito-950);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1.015); }
}

@keyframes scroll-line {
  0% { transform: translateX(-14px); }
  50% { transform: translateX(26px); }
  100% { transform: translateX(-14px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(9, 18, 29, 0.36); }
  70% { box-shadow: 0 0 0 7px rgba(9, 18, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(9, 18, 29, 0); }
}

@media (max-width: 1180px) {
  .section-pad {
    padding: 104px 0;
  }

  .nav-links {
    gap: 24px;
  }

  .project-giolitti .project-visual-wide,
  .project-giolitti .project-visual-tall {
    height: 440px;
  }

  .project-ulivi .project-visual-main {
    height: 500px;
  }

  .project-hospital {
    grid-template-columns: 110px 1fr 1.25fr;
  }

  .hospital-meta {
    grid-column: 2 / -1;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

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

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

  .site-header {
    backdrop-filter: none;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 40px));
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

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

  .hero {
    min-height: 560px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-proof strong {
    font-size: 68px;
  }

  .company-layout {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .company-body {
    grid-column: 2;
    padding-top: 0;
  }

  .section-header,
  .services-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-heading .eyebrow {
    grid-column: auto;
    margin-bottom: -4px;
  }

  .project-giolitti .project-visual-wide {
    grid-column: 1 / span 8;
  }

  .project-giolitti .project-visual-tall {
    grid-column: 9 / span 4;
  }

  .project-giolitti .project-info {
    grid-column: 1 / span 9;
  }

  .project-ulivi .project-info {
    grid-column: 1 / span 5;
  }

  .project-ulivi .project-visual-main {
    grid-column: 6 / span 7;
  }

  .service-list article {
    grid-template-columns: 50px minmax(220px, 0.8fr) minmax(240px, 1.2fr) 32px;
    gap: 18px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 0;
  }

  .clients-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-action {
    max-width: 540px;
  }

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

  .contact address a {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section-pad {
    padding: 82px 0;
  }

  .credential-track {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .credential-track::-webkit-scrollbar {
    display: none;
  }

  .credential-track a {
    display: none;
  }

  .hero {
    height: calc(100svh - 210px);
    min-height: 500px;
    max-height: 620px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 40px 0 80px;
  }

  .hero-proof {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    max-width: 560px;
    font-size: 17px;
  }

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

  .hero-scroll {
    display: none;
  }

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

  .metric {
    min-height: 88px;
    padding: 4px 20px;
  }

  .metric:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .section-copy h2,
  .section-header h2,
  .services-heading h2,
  .contact h2 {
    font-size: 42px;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-index {
    font-size: 48px;
  }

  .company-body {
    grid-column: auto;
  }

  .company-body .lead {
    font-size: 19px;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .project {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

  .project-giolitti .project-visual-wide,
  .project-giolitti .project-visual-tall,
  .project-giolitti .project-info,
  .project-ulivi .project-info,
  .project-ulivi .project-visual-main {
    grid-column: 1;
  }

  .project-giolitti .project-visual-wide,
  .project-ulivi .project-visual-main {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-giolitti .project-visual-tall {
    display: none;
  }

  .project-giolitti .project-info {
    padding-top: 16px;
  }

  .project-ulivi .project-info {
    order: 2;
    padding: 18px 0 0;
  }

  .project-ulivi .project-visual-main {
    order: 1;
  }

  .project-info h3,
  .project-hospital h3 {
    font-size: 32px;
  }

  .project-hospital {
    grid-template-columns: 86px 1fr;
    gap: 24px;
    padding: 28px;
  }

  .hospital-mark {
    height: 86px;
  }

  .project-hospital > p,
  .hospital-meta {
    grid-column: 1 / -1;
  }

  .service-list article {
    grid-template-columns: 40px 1fr 30px;
    gap: 16px;
    padding: 22px 0;
  }

  .service-list h3 {
    font-size: 21px;
  }

  .service-list p {
    grid-column: 2 / -1;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-list li {
    min-height: 150px;
    padding: 24px 0;
  }

  .process-list li:not(:last-child)::after {
    display: none;
  }

  .process-list span {
    margin-bottom: 28px;
  }

  .clients {
    padding: 64px 0;
  }

  .cert-grid {
    display: flex;
    gap: 12px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cert-grid::-webkit-scrollbar {
    display: none;
  }

  .cert-card {
    min-width: min(82vw, 340px);
    scroll-snap-align: start;
  }

  .contact {
    padding: 82px 0 68px;
  }

  .contact h2 {
    font-size: 46px;
  }

  .contact address {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .credential-track {
    gap: 20px;
    font-size: 10px;
  }

  .credential-track > span::after {
    right: -11px;
  }

  .brand {
    gap: 10px;
    font-size: 13px;
  }

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

  .mobile-menu {
    padding: 24px 16px 22px;
  }

  .mobile-menu nav a {
    min-height: 68px;
    font-size: 28px;
  }

  .hero {
    min-height: 500px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 18, 29, 0.94), rgba(14, 27, 43, 0.56)),
      linear-gradient(0deg, rgba(9, 18, 29, 0.74), transparent 58%);
  }

  .hero-grid {
    background-size: 54px 54px;
  }

  .hero-layout {
    padding: 30px 0 74px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-footer {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .hero-footer > span:last-child {
    display: none;
  }

  .metrics {
    padding: 28px 0;
  }

  .metric strong {
    font-size: 40px;
  }

  .metric p {
    font-size: 10px;
  }

  .section-copy h2,
  .section-header h2,
  .services-heading h2,
  .contact h2 {
    font-size: 36px;
  }

  .project-info h3,
  .project-hospital h3 {
    font-size: 29px;
  }

  .project-info dl {
    grid-template-columns: 1fr;
  }

  .project-info dl div {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
    gap: 14px;
  }

  .project-info dt {
    margin-bottom: 0;
  }

  .project-hospital {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hospital-mark {
    width: 104px;
  }

  .hospital-meta {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 32px 1fr;
  }

  .service-symbol {
    display: none;
  }

  .service-list p {
    grid-column: 2;
  }

  .client-names {
    grid-template-columns: 1fr;
  }

  .client-names span {
    min-height: 78px;
    font-size: 21px;
  }

  .soa-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .footer-links {
    grid-column: auto;
    grid-template-columns: repeat(2, auto);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-layout {
    padding-top: 28px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
