:root {
  --bg: #020707;
  --surface: rgba(7, 16, 13, 0.68);
  --surface-soft: rgba(10, 25, 18, 0.54);
  --line: rgba(128, 255, 111, 0.18);
  --text: #f4fff1;
  --muted: #b8c8bc;
  --green: #78ff63;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(42, 255, 91, 0.13), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(42, 255, 91, 0.10), transparent 34%),
    linear-gradient(180deg, #03100a 0%, #020707 44%, #020707 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(120, 255, 99, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 255, 99, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.72;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), black 20%, black 88%, rgba(0, 0, 0, 0.72));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 7, 0.86), transparent 22%, transparent 78%, rgba(2, 7, 7, 0.78)),
    radial-gradient(circle at 50% 26%, rgba(120, 255, 99, 0.06), transparent 38%);
}

.language-toggle {
  position: fixed;
  top: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 30px);
  z-index: 20;
  appearance: none;
  border: 1px solid rgba(128, 255, 111, 0.36);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(120, 255, 99, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(4, 12, 10, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(128, 255, 111, 0.72);
}

.language-toggle:focus-visible {
  outline: 3px solid rgba(120, 255, 99, 0.5);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(360px, 55svh) 1fr;
  background: transparent;
}

.brand-visual {
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 34px) clamp(16px, 3vw, 50px) clamp(10px, 1.4vw, 24px);
  background: transparent;
}

/*
  L'immagine NON è un background e NON usa cover.
  Così resta sempre intera: nessun taglio su monitor grandi o finestre molto larghe.
*/
.brand-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1250px);
  max-height: min(50svh, 620px);
  object-fit: contain;
  object-position: center;
  border-radius: clamp(12px, 1.4vw, 24px);
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.38));
}

.content-panel {
  display: grid;
  align-items: center;
  padding: clamp(20px, 3vw, 42px);
  background: transparent;
}

.content-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}

.copy-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(120, 255, 99, 0.35);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.15vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 680px;
  margin: clamp(12px, 1.45vw, 17px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.55;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.4;
}

.contact-line span {
  color: var(--green);
  font-size: 0.82em;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-line a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 255, 99, 0.45);
  overflow-wrap: anywhere;
}

.contact-line a:hover {
  color: var(--green);
}

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

.highlight-card {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(120, 255, 99, 0.10), rgba(255, 255, 255, 0.035)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.highlight-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.highlight-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (min-width: 1700px) {
  .page-shell {
    grid-template-rows: minmax(420px, 54svh) 1fr;
  }

  .brand-image {
    max-width: 1250px;
    max-height: 52svh;
  }
}

@media (max-height: 820px) and (min-width: 981px) {
  .page-shell {
    grid-template-rows: minmax(300px, 49svh) 1fr;
  }

  .brand-image {
    max-height: 45svh;
  }

  .content-panel {
    padding-block: 18px;
  }

  h1 {
    font-size: clamp(1.9rem, 3.55vw, 3.15rem);
  }

  .highlight-card {
    min-height: 126px;
    padding: 16px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    min-height: 100svh;
    grid-template-rows: auto auto;
  }

  .brand-visual {
    padding: 62px 12px 12px;
  }

  .brand-image {
    width: 100%;
    max-width: 100%;
    max-height: none;
    border-radius: 16px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .copy-block {
    text-align: center;
  }

  .lead,
  .contact-line {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .highlights {
    width: min(720px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .language-toggle {
    padding: 0.68rem 0.86rem;
    font-size: 0.8rem;
  }

  .content-panel {
    padding: 24px 16px 30px;
  }

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

  .highlight-card {
    min-height: auto;
  }
}
