:root {
  --night: #07101b;
  --blue: #173d67;
  --blue-soft: #214f7f;
  --gold: #cdae7e;
  --gold-grad: linear-gradient(90deg, #a8875a 0%, #d6b98a 35%, #f1e1b5 55%, #d2b384 75%, #a8875a 100%);
  --lime: #d8ff3e;
  --cream: #f3eee4;
  --muted: #b6c5d3;
  --line: rgba(205, 174, 126, 0.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  padding-top: 88px;
}
a { color: inherit; text-decoration: none; }
.shell {
  max-width: 1360px;
  padding: 0 36px;
  margin: auto;
}
.eyebrow, .menu, .nav-cta, .button, .tag, .site-footer, .form label {
  font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
  letter-spacing: 0.02em;
}
.eyebrow {
  font-size: 14px;
  line-height: 1.2;
  color: var(--lime);
}
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 88px;
  background: #060606;
}
nav .shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.site-nav .shell { position: relative; }
.language-switch {
  position: absolute;
  z-index: 130;
  top: 25px;
  right: 36px;
  width: 56px;
  height: 36px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #060606;
  color: var(--cream);
  font: 600 13px "Space Grotesk", "Manrope", Arial, sans-serif;
  cursor: pointer;
}
.menu { padding-right: 78px; }
.logo { height: 56px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.logo-custom {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 15px;
  color: #f0eadf;
}
.menu .nav-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #f0eadf;
  cursor: pointer;
  transition: 0.2s;
}
.menu .nav-link:hover,
.menu .nav-link.active {
  color: var(--gold);
}
.nav-cta, .button {
  display: inline-block;
  background: var(--lime);
  color: #07101b;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.nav-cta:hover, .button:hover {
  transform: translateY(-2px);
  background: #e6ff80;
}
.view-section {
  display: none;
}
.view-section.active {
  display: block;
}
.hero {
  position: relative;
  --hero-h: max(calc(100svh - 88px), min(56.25vw, calc(115svh - 88px)));
  height: calc(100vh - 88px);
  height: var(--hero-h);
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: radial-gradient(circle at 65% 35%, rgba(33, 79, 127, 0.8), #07101b 75%);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 27, 0.55) 0%, rgba(7, 16, 27, 0.12) 45%, rgba(7, 16, 27, 0) 100%),
              linear-gradient(0deg, rgba(7, 16, 27, 0.6) 0%, transparent 35%);
}
.hero-inner {
  position: relative;
  padding: 36px 0 0;
  margin: 0 0 0 5vw;
  max-width: 760px;
}
.hero-quote {
  position: absolute;
  z-index: 1;
  top: auto;
  right: 5vw;
  bottom: 36px;
  margin: 0;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  text-align: right;
}
.hero-quote span { display: block; white-space: nowrap; }
.hero h1 {
  margin: 19px 0 24px;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.hero h1 .gold {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 0.5px rgba(255, 245, 210, 0.45);
}
.contact-lead {
  font-size: clamp(24px, 2.2vw, 32px) !important;
  line-height: 1.15 !important;
  color: var(--cream) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 28px !important;
  max-width: 520px;
}
.contact-info { margin: 0 0 30px !important; }
.contact-info a { color: var(--gold); }
.page-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.page-cta p { margin: 0; color: var(--muted); font-size: 20px; }
.page-sub {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-logo {
  display: block;
  width: min(460px, 70vw);
  height: auto;
  margin: 0 0 22px;
}
.partners { padding: 90px 0 100px; }
.partners h2 {
  margin: 14px 0 26px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  padding: 0.04em 0.06em 0.14em 0;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.partners-text p {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.7;
  color: #e4edf5;
  margin: 0 0 20px;
}
.partners-text .partners-lead {
  color: var(--gold);
  font-size: 22px;
  margin: 34px 0 30px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-grid .logo-cell {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #08090a;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-grid .logo-cell img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}
.logo-grid .logo-cell.wide {
  grid-column: 1 / -1;
}
.logo-grid .logo-cell.wide img { max-height: 48px; }
@media (max-width: 980px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid .logo-cell { height: 110px; }
}
.hero-sub {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  max-width: 560px;
  line-height: 1.5;
}
.hero p {
  max-width: 640px;
  color: #edf1f4;
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 32px;
}
section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.head-left { grid-template-columns: 1fr !important; max-width: 900px; }
.head {
  display: grid;
  grid-template-columns: 0.78fr 2fr;
  gap: 45px;
  margin-bottom: 52px;
}
.head h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.lead {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
  max-width: 620px;
  margin: 21px 0 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(33, 79, 127, 0.5), transparent);
  transition: 0.25s;
}
.card { cursor: pointer; }
.service-row { scroll-margin-top: 120px; transition: background 0.6s; }
.service-row.flash { background: rgba(216, 255, 62, 0.08); }
.card:hover {
  background: rgba(216, 255, 62, 0.08);
}
.card h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
  background: var(--blue);
}
.split-copy {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.split-copy h2 span {
  display: block;
  color: var(--gold);
}
.split-copy p {
  color: #edf1f4;
  line-height: 1.6;
  max-width: 500px;
  font-size: 20px;
}
.split-art {
  background: #060d17 url("split-art.svg") center / cover no-repeat;
  min-height: 370px;
}
.works {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(525px, auto) minmax(320px, auto);
  gap: 16px;
}
@media (min-width: 981px) {
  .works { transform: translate(0.5px, 0.28125px); }
}
.work {
  min-height: 310px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #b8976a, #27517d 55%, #07101b);
}
.work-castello-video {
  grid-column: 1;
  grid-row: 1;
  min-height: 525px;
  background: linear-gradient(145deg, #cdae7e, #365b7c 47%, #07101b);
}
.work-has-video {
  grid-column: 2 / span 2;
  grid-row: 1;
  min-height: 525px;
}
.work-portrait-video {
  grid-column: 4;
  grid-row: 1;
  min-height: 525px;
}
.work-secondary-video {
  grid-row: 2;
  min-height: 320px;
}
.work-recitation-video { grid-column: 1 / span 2; }
.work-dagora-video { grid-column: 3 / span 2; }
.work-castello-video, .work-portrait-video { align-items: flex-start; }
.work-backdrop-video {
  position: absolute;
  z-index: 0;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.02);
  transform-origin: center;
}
.work-backdrop-portrait { object-fit: contain; background: #07101b; }
.work div {
  position: relative;
  z-index: 1;
}
.work > div { z-index: 2; }
.work h3, .work p {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.work-has-video h3, .work-has-video p {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 255, 255, 0.22);
}
.tag {
  color: var(--lime);
  font-size: 14px;
}
.work h3 {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 8px 0;
  font-weight: 600;
}
.work p {
  margin: 0;
  color: #f1f4f6;
  font-size: 17px;
}
.work-has-video p {
  color: #fff;
  font-weight: 600;
}
.project {
  background: var(--cream);
  color: #10223a;
}
.project .eyebrow { color: #607900; }
.project h2 {
  max-width: 900px;
  margin: 18px 0 40px;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.project p {
  max-width: 480px;
  line-height: 1.6;
  color: #485a6d;
  font-size: 20px;
}
.project .button {
  background: var(--blue);
  color: var(--lime);
}
.page-hero {
  padding: 160px 0 80px;
  background: radial-gradient(circle at 72% 10%, #3b77ac, transparent 37%), var(--blue);
}
.page-hero h1 {
  margin: 17px 0 0;
  font-size: clamp(50px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.page-hero h1 i {
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.page-content {
  padding: 80px 0;
}
.copy-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}
.copy-grid p {
  font-size: 20px;
  line-height: 1.7;
  color: #dfe7ee;
  margin: 0 0 24px;
}
.timeline { position: relative; }
.tl-item {
  position: relative;
  padding: 0 0 26px 72px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 35px;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(205, 174, 126, 0.12);
  z-index: 1;
}
.tl-item::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 40px;
  bottom: -22px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(205, 174, 126, 0.25));
}
.tl-item:last-child::after { display: none; }
.tl-item:last-child { padding-bottom: 0; }
.tl-card {
  padding: 18px 26px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(33, 79, 127, 0.28), rgba(7, 16, 27, 0.2));
  border-radius: 4px;
}
.tl-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.tl-meta {
  margin: 4px 0 12px;
  font-size: 15px;
  color: var(--muted);
}
.bio .tl-card p { margin: 0; }
.bio p {
  font-size: 19px;
  line-height: 1.75;
  color: #e4edf5;
}
.bio-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  align-items: start;
}
.bio-photo {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  object-fit: cover;
}
.bio-placeholder {
  width: 100%;
  height: 420px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #173d67, #07101b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-align: center;
  padding: 20px;
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.service-row h3 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.service-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 18px;
}
.form {
  max-width: 720px;
  display: grid;
  gap: 20px;
}
.form label {
  font-size: 15px;
  color: var(--gold);
}
input, textarea {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: #102946;
  color: var(--cream);
  border: 1px solid var(--line);
  font: 17px "Manrope", Arial, sans-serif;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.map {
  height: 340px;
  background: #0a1625;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-placeholder {
  background: radial-gradient(ellipse at center, rgba(33, 79, 127, 0.5), #0a1625 72%);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
}
.map-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 16px;
}
.map-link:hover { color: var(--cream); }
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .shell { padding: 0 20px; }

  .hero { min-height: 420px; }
  .hero-quote {
    right: 20px;
    bottom: 36px;
    font-size: clamp(20px, 4.2vw, 36px);
  }
  .head, .copy-grid, .bio-wrap { grid-template-columns: 1fr; gap: 24px; }
  .tl-item { padding-left: 44px; }
  .tl-item::before { left: 8px; }
  .tl-item::after { left: 7px; }
  .cards { grid-template-columns: 1fr; }
  .logo { height: 44px; }
  .card { min-height: 200px; }
  .split { grid-template-columns: 1fr; }
  .split-copy { padding: 50px 20px; }
  .split-art { min-height: 250px; }
  .works { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-castello-video, .work-portrait-video, .work-has-video, .work-secondary-video, .work-recitation-video, .work-dagora-video { grid-column: 1; grid-row: auto; }
  .work { min-height: 260px; }
  .work.work-castello-video, .work.work-portrait-video {
    min-height: 0;
    aspect-ratio: 9 / 16;
  }
  .work-castello-video .work-backdrop-video { object-fit: contain; background: #07101b; }
  .work-has-video, .work-secondary-video { min-height: 260px; }
  .project-row { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: 1fr; }
  .hero p, .lead, .copy-grid p, .bio p, .project p, .service-row p, .split-copy p { font-size: 17px; }
}

/* ---------- Links styled as before ---------- */
a.card { color: inherit; text-decoration: none; }
a.button, a.nav-cta { text-decoration: none; }
.brand { text-decoration: none; }

/* ---------- Client strip under the video ---------- */
.client-strip {
  background: #08090a;
  border-bottom: 1px solid var(--line);
}
.client-strip-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 92px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.client-strip-label {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--muted);
  max-width: 150px;
  line-height: 1.35;
}
.client-strip-logos {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  padding-right: 24px;
}
.client-strip-logos img {
  height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.9;
}
.client-strip-logos img[alt^="RSI"] { height: 44px; }
.client-strip-more {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 16px;
  white-space: nowrap;
  transition: color 0.2s;
}
.client-strip-more:hover { color: var(--cream); }

/* ---------- Quotes (Chi siamo) ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  max-width: 1080px;
}
.quote {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(7, 16, 27, 0.35);
}
.quote blockquote {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
}
.quote figcaption {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Numbers (Chi siamo) ---------- */
.numbers { padding: 70px 0 90px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.number {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.number:last-child { border-right: 0; }
.number-value {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.1;
  padding: 0 0.06em 0.1em 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.number-label { font-size: 17px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  color: var(--muted);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer-tagline { margin: 0; max-width: 300px; line-height: 1.6; }
.footer-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-legal a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-legal {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(205, 174, 126, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Soft fade-in on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s;
}
.to-top svg { width: 18px; height: 18px; display: block; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.to-top:hover { background: var(--lime); color: #07101b; }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .language-switch { top: 25px; right: 72px; }
  .menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: #060606;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    font-size: 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .menu .nav-link { font-size: 26px; }
  .menu .nav-cta { font-size: 18px; margin-top: 10px; }
  .menu { padding-right: 0; }
  .menu-open .menu { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .client-strip-inner { flex-wrap: wrap; gap: 16px; justify-content: center; text-align: center; }
  .client-strip-label { max-width: none; width: 100%; }
  .client-strip-logos { flex-wrap: wrap; justify-content: center; gap: 22px 28px; width: 100%; }
  .client-strip-logos img { height: 26px; }
  .client-strip-logos img[alt^="RSI"] { height: 34px; }
  .quotes { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number:nth-child(2) { border-right: 0; }
  .number:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .map { height: 280px; }
  .hero-inner { margin-left: 0; padding-top: 20px; }
  .page-hero { padding: 130px 0 60px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .hero-quote { font-size: clamp(18px, 5vw, 27px); }
}
.brand { position: relative; z-index: 120; }

.split-art-2 { background-image: url("split-art-2.svg"); }
.split-reverse { background: #0f2c4b; }
/* Partners intro */
.partners-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 10px;
  max-width: 920px;
}
.partners-text .partners-statement {
  max-width: none;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.45;
  color: var(--cream);
}
.partners-statement em { font-style: normal; color: var(--gold); }
.partners-text .partners-trust {
  max-width: none;
  margin: 6px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.partners-trust strong { color: var(--cream); font-weight: 600; }
.hero video { filter: brightness(1.12) saturate(1.05); }
@media (max-width: 980px) {
  .partners-intro { grid-template-columns: 1fr; gap: 24px; }
  .split-reverse .split-art { order: 2; }
}

/* ---------- Typography: Space Grotesk for titles and UI ---------- */
h1, h2, h3, .number-value, .contact-lead, .partners-statement, .client-strip-more, .footer-title {
  font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
}
h1, h2 { letter-spacing: -0.035em !important; }
h3 { letter-spacing: -0.02em; }
.hero p { font-family: "Space Grotesk", "Manrope", Arial, sans-serif; letter-spacing: -0.01em; }
.quote blockquote { font-style: normal; }
.button, .nav-cta { letter-spacing: 0.03em; }

/* ---------- Metodo (Galleria) ---------- */
.method { padding: 90px 0 10px; }
.method-head { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.method-head h2 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; font-weight: 600; }
.method-head p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.method-step { padding: 28px 26px 30px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.method-step:last-child { border-right: 0; margin-right: 0; }
.method-num { display: block; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 18px; }
.method-step h3 { margin: 0 0 10px; font-size: 26px; font-weight: 600; }
.method-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Numeri e riconoscimenti ---------- */
.numbers-title { margin: 0 0 28px; font-size: clamp(30px, 3vw, 44px); font-weight: 600; }
.awards { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 26px; border-left: 1px solid var(--line); }
.award { min-height: 110px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); border-left: 0; background: rgba(6, 6, 6, 0.35); }
.award-name { font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 600; color: var(--cream); }
.award-meta { font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - 88px); display: flex; align-items: center; }
.notfound-code { margin: 0 0 10px; font-family: "Space Grotesk", sans-serif; font-size: clamp(80px, 12vw, 160px); line-height: 0.9; font-weight: 700; color: rgba(205, 174, 126, 0.25); }
.notfound-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.button-ghost:hover { background: rgba(205, 174, 126, 0.12); }

/* ---------- Loader (homepage, once per visit) ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: #060606; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity 0.45s ease, visibility 0.45s; }
.loader img { width: min(360px, 70vw); height: auto; opacity: 0; animation: loaderIn 0.4s ease forwards; }
.loader-bar { width: min(220px, 50vw); height: 1px; background: rgba(205, 174, 126, 0.2); position: relative; overflow: hidden; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform: translateX(-100%); animation: loaderBar 1.4s ease-in-out infinite; }
.loader.done, .no-loader .loader { opacity: 0; visibility: hidden; }
@keyframes loaderIn { to { opacity: 1; } }
@keyframes loaderBar { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .loader img, .loader-bar::after { animation: none; opacity: 1; } }

@media (max-width: 980px) {
  .method-head { grid-template-columns: 1fr; gap: 16px; }
  .method-steps { grid-template-columns: 1fr 1fr; }
  .method-step { margin-right: 0; padding: 24px 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .awards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .method-steps { grid-template-columns: 1fr; }
}
