:root {
  --ink: #11171b;
  --ink-soft: #263238;
  --muted: #637078;
  --line: #d9dedb;
  --paper: #f4f2ed;
  --white: #ffffff;
  --gv: #5ce000;
  --gvc: #f39200;
  --gvt: #bd00bd;
  --dark: #0f1518;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

#aziende,
#sviluppo,
#pionca,
#costruzioni,
#trivellazioni,
#valore,
#contatti {
  scroll-margin-top: 96px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 54px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 23, 27, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.hero-actions,
.hero-proof,
.unit-card,
.unit-top,
.unit-link,
.process-line,
footer {
  display: flex;
}

.brand {
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  position: relative;
  display: block;
}

.brand-name::after {
  content: "";
  width: 42px;
  height: 2px;
  display: block;
  margin-top: 9px;
  background: var(--ink);
}

nav {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

nav a,
.button,
.unit-link,
footer a {
  text-decoration: none;
}

.mark-window {
  display: inline-block;
  overflow: hidden;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.mark-window img {
  display: block;
  max-width: none;
  height: 100%;
}

.mark-window.large {
  width: 126px;
  height: 126px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 21, 24, 0.95) 0%, rgba(15, 21, 24, 0.75) 42%, rgba(15, 21, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 21, 24, 0.8) 0%, rgba(15, 21, 24, 0.08) 48%, rgba(15, 21, 24, 0.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  padding: 96px 68px 160px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f2f5f3;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 880px;
  font-size: 4.45rem;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.hero-copy > p:not(.kicker) {
  max-width: 710px;
  margin-top: 24px;
  color: #e3e8ea;
  font-size: 1.08rem;
}

.hero-actions {
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-proof {
  position: relative;
  z-index: 2;
  align-items: stretch;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-proof div {
  --proof-color: var(--ink);
  flex: 1 1 0;
  min-height: 116px;
  padding: 26px 54px;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--proof-color);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  color: var(--proof-color);
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-gv {
  --proof-color: var(--gv);
}

.proof-gvc {
  --proof-color: var(--gvc);
}

.proof-gvt {
  --proof-color: var(--gvt);
}

.intro,
.project-section,
.capability-section,
.investor-section,
.contacts {
  padding: 92px 68px;
  border-bottom: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(520px, 1fr);
  gap: 64px;
  align-items: start;
  background: var(--white);
}

.intro .kicker {
  grid-column: 1;
}

.intro h2 {
  grid-column: 1 / -1;
  max-width: 1180px;
}

.intro p:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 1.06rem;
}

.business-units {
  padding: 92px 68px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f3ee 100%);
  border-bottom: 1px solid var(--line);
}

.business-heading {
  max-width: 1120px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(520px, 1fr);
  gap: 24px 64px;
  align-items: end;
}

.section-label,
.unit-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-label {
  color: var(--muted);
}

.business-heading h2 {
  grid-column: 1 / -1;
  max-width: 1020px;
}

.business-heading p:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.unit-card {
  position: relative;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 23, 27, 0.12);
  border-radius: 6px;
}

.unit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--unit-color);
}

.unit-top {
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-left: 4px;
}

.unit-top .mark-window {
  width: 74px;
  height: 74px;
}

.unit-card h3 {
  max-width: 430px;
  margin-top: 7px;
  font-size: 1.62rem;
}

.unit-card > p {
  color: var(--muted);
  font-size: 0.98rem;
}

.unit-label,
.unit-link {
  color: var(--unit-color);
}

.unit-list {
  margin: 26px 0 0;
  padding: 18px 0 0;
  display: grid;
  gap: 10px;
  list-style: none;
  border-top: 1px solid rgba(17, 23, 27, 0.12);
}

.unit-list li {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.unit-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 10px;
  background: var(--unit-color);
  border-radius: 50%;
  vertical-align: 1px;
}

.unit-link {
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  padding-top: 30px;
  font-weight: 700;
}

.unit-link::after {
  content: ">";
  margin-left: 9px;
}

.unit-gv {
  --unit-color: var(--gv);
}

.unit-gvc {
  --unit-color: var(--gvc);
}

.unit-gvt {
  --unit-color: var(--gvt);
}

.capability-section,
.contacts {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 64px;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 22px;
}

.section-copy p:not(.kicker),
.contacts address {
  color: var(--muted);
  font-size: 1.03rem;
}

.project-section {
  padding: 0;
  background: #f2f8ee;
}

.project-feature {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.project-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 24, 0.82) 0%, rgba(15, 21, 24, 0.48) 44%, rgba(15, 21, 24, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 21, 24, 0.72) 0%, rgba(15, 21, 24, 0.08) 56%);
}

.project-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-copy {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 136px));
  margin: 0 68px 68px;
  padding-left: 28px;
  color: var(--white);
  border-left: 6px solid var(--gv);
}

.project-label {
  margin: 0 0 14px;
  color: var(--gv);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-copy p:not(.project-label) {
  max-width: 680px;
  margin-top: 22px;
  color: #e6ece8;
  font-size: 1.04rem;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.28fr);
  gap: 64px;
  padding: 68px;
  align-items: start;
}

.project-text > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.case-label {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-text h3 {
  margin-bottom: 18px;
  font-size: 1.72rem;
}

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

.project-support figure,
.field-visual {
  margin: 0;
}

.project-support img,
.field-visual img {
  width: 100%;
  display: block;
  border-radius: 6px 6px 0 0;
  object-fit: cover;
  background: #dfe5df;
}

.project-support img {
  aspect-ratio: 16 / 10;
}

.project-support figcaption {
  min-height: 78px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 23, 27, 0.12);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 0.84rem;
}

.fact-list {
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.fact-list div {
  padding: 16px 0;
  border-top: 1px solid rgba(17, 23, 27, 0.14);
}

.fact-list dt {
  color: var(--ink);
  font-weight: 700;
}

.fact-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.gvc-section {
  background: #f8f1e7;
}

.gvc-section .kicker {
  color: var(--gvc);
}

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

.value-grid article {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 23, 27, 0.12);
  border-radius: 6px;
}

.value-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.91rem;
}

.gvt-section {
  color: var(--white);
  background: #13181c;
}

.gvt-section .kicker {
  color: var(--gvt);
}

.gvt-section .section-copy p:not(.kicker) {
  color: #d2dadd;
}

.process-line {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.process-line span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}

.field-visual {
  margin: 0;
}

.field-visual img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px 6px 0 0;
}

.field-visual figcaption {
  padding: 14px 16px;
  color: #d2dadd;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 0.82rem;
}

.investor-section {
  background: var(--white);
}

.investor-section .section-copy {
  max-width: 1050px;
  margin-bottom: 42px;
}

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

.contacts {
  background: #0f1417;
  color: var(--white);
}

.contacts .kicker {
  color: #f2f5f3;
}

.contacts address {
  color: #d9e0e4;
  font-style: normal;
}

.contacts a {
  color: var(--white);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px 68px;
  background: #090d0f;
  color: #d9e0e4;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 30px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-copy {
    padding: 76px 38px 130px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .intro,
  .capability-section,
  .contacts {
    grid-template-columns: 1fr;
  }

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

  .project-copy {
    width: min(760px, calc(100% - 76px));
    margin: 0 38px 54px;
  }

  .intro .kicker,
  .intro h2,
  .intro p:last-child {
    grid-column: auto;
  }

  .business-heading,
  .unit-grid,
  .value-grid,
  .investor-grid {
    grid-template-columns: 1fr;
  }

  .business-heading h2,
  .business-heading p:last-child {
    grid-column: auto;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof {
    flex-direction: column;
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 22px;
  }

  nav {
    gap: 16px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 21, 24, 0.94), rgba(15, 21, 24, 0.28));
  }

  .hero-copy {
    padding: 58px 22px 38px;
  }

  h1 {
    font-size: 2.24rem;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy > p:not(.kicker) {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof div,
  .intro,
  .business-units,
  .unit-card,
  .capability-section,
  .investor-section,
  .contacts {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro,
  .business-units,
  .unit-card,
  .capability-section,
  .investor-section,
  .contacts {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .unit-card {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .unit-top {
    gap: 14px;
    margin-bottom: 22px;
  }

  .unit-top .mark-window {
    width: 64px;
    height: 64px;
  }

  .unit-card h3 {
    font-size: 1.34rem;
  }

  .project-feature {
    min-height: 620px;
  }

  .project-feature::after {
    background: linear-gradient(180deg, rgba(15, 21, 24, 0.88), rgba(15, 21, 24, 0.3) 46%, rgba(15, 21, 24, 0.84));
  }

  .project-copy {
    width: auto;
    margin: 0 22px 38px;
    padding-left: 18px;
    border-left-width: 5px;
  }

  .project-copy p:not(.project-label) {
    font-size: 0.96rem;
  }

  .project-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 22px 58px;
  }

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

  .project-support img,
  .field-visual img {
    aspect-ratio: 4 / 3;
  }

  footer {
    flex-direction: column;
    padding: 24px 22px;
  }
}
