/* ============================================================
   Digital Oriented — design system ripreso da wonderful.ai
   Font: Inter Tight (display) · Inter (body) · Fragment Mono (label)
   ============================================================ */

:root {
  --bg: #fafafa;
  --bg-2: #f2f2f2;
  --bg-3: #eaeaea;
  --dark: #0b1621;      /* navy scuro del deck */
  --dark-2: #13222f;
  --gray: #393939;
  --muted: #777;
  --text: #000;
  --white-70: rgba(255, 255, 255, 0.7);
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --font-display: "Inter Tight", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Fragment Mono", monospace;
  --container: 1360px;
  --gutter: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
}

h2 {
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--gray);
}

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

/* ---------- Etichette mono ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.label--dark { color: rgba(255, 255, 255, 0.5); }

/* ---------- Bottoni pill ---------- */
.btn {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: var(--bg-3); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.25); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 13px;
  display: block;
  filter: invert(1);
  transition: filter 0.35s ease;
}
.nav.is-scrolled .nav__logo img { filter: none; }
.nav__links {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: 4px;
  transition: background 0.35s ease;
}
.nav.is-scrolled .nav__links { background: rgba(0, 0, 0, 0.05); }
.nav__links a {
  font-size: 14px;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, color 0.35s ease;
}
.nav.is-scrolled .nav__links a { color: #000; }
.nav__links a:hover { background: rgba(255, 255, 255, 0.15); }
.nav.is-scrolled .nav__links a:hover { background: rgba(0, 0, 0, 0.06); }
.nav__cta { font-size: 14px; padding: 10px 18px; }
.nav.is-scrolled .nav__cta { background: var(--dark); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 22, 33, 0.85) 0%, rgba(11, 22, 33, 0.2) 50%),
    rgba(11, 22, 33, 0.35);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
}
.hero__title {
  font-size: clamp(52px, 5.7vw, 82px);
  letter-spacing: -0.06em;
  line-height: 1.05;
  color: #fafafa;
  max-width: 10ch;
}
.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  max-width: 340px;
  text-align: right;
}
.hero__sub {
  color: var(--white-70);
  font-size: 15px;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 12px; }

/* Reveal parole (hero + heading) */
[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
[data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-split].is-in .w > span { transform: translateY(0); }

/* ============================================================
   TECH GRID
   ============================================================ */
.tech { padding: 96px 0; }
.tech .label { margin-bottom: 28px; }
.tech__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.tech__cell {
  background: var(--bg-2);
  border-radius: 4px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #9a9a9a;
  transition: color 0.3s ease, background 0.3s ease;
}
.tech__cell:hover { color: var(--gray); background: var(--bg-3); }

/* ---------- Numeri chiave ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.stat {
  background: var(--bg-2);
  border-radius: 4px;
  padding: 36px 32px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gray);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* ============================================================
   WORK / SERVIZI CARDS
   ============================================================ */
.work { padding: 40px 0 120px; }
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.work__head h2 { max-width: 560px; }
.work__arrows { display: flex; gap: 8px; }
.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.arrow-btn:hover { background: var(--bg-3); }
.work__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.work__track::-webkit-scrollbar { display: none; }
.work-card {
  position: relative;
  flex: 0 0 380px;
  height: 420px;
  border-radius: var(--radius-sm);
  padding: 24px;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}
.work-card:hover { transform: translateY(-6px); }
.work-card h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.work-card__arrow {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease;
}
.work-card:hover .work-card__arrow { transform: translate(4px, -4px); }
.work-card__tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.work-card--a { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-travel.jpg") center/cover; }
.work-card--b { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-realestate.jpg") center/cover; }
.work-card--c { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-legal.jpg") center/cover; }
.work-card--d { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-logistics.jpg") center/cover; }
.work-card--e { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-sustain.jpg") center/cover; }
.work-card--f { background: linear-gradient(180deg, rgba(11,22,33,0.45), rgba(11,22,33,0.78)), url("../assets/img/card-social.jpg") center/cover; }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { padding: 180px 0; background: var(--bg); }
.statement__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 1000px;
}
.statement__text .sw { transition: opacity 0.4s linear; opacity: 0.12; }

/* ============================================================
   PLATFORM / ORB
   ============================================================ */
.platform {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(11, 22, 33, 0.55), rgba(11, 22, 33, 0.35) 50%, rgba(11, 22, 33, 0.8)),
    url("../assets/img/landscape.jpg") center/cover no-repeat;
}
.platform__bg { position: absolute; inset: 0; }
.platform__orb {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffb37a 0%, #ff5f1f 45%, #7a1e00 85%);
  box-shadow: 0 40px 120px rgba(255, 95, 31, 0.35), 0 0 80px rgba(255, 140, 60, 0.25);
}
.platform__orb::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 60, 0.18), transparent 60%);
}
.platform__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter);
  transform: translateY(-120px);
}
.platform__content h2 { color: #fafafa; max-width: 620px; }
.platform__content p { color: var(--white-70); font-size: 15px; }

/* ============================================================
   DUAL CARDS
   ============================================================ */
.dual { background: var(--dark); padding: 120px 0; }
.dual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dual-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dual-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fafafa;
}
.dual-card__text { color: var(--white-70); font-size: 15px; max-width: 340px; }
.dual-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   SETTORI
   ============================================================ */
.industries { padding: 140px 0; }
.industries h2 { margin-bottom: 40px; }
.industries__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.tab {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.tab:hover { background: var(--bg-3); }
.tab.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.industries__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 60px 24px;
  transition: background-image 0.35s ease;
}
.industries__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 22, 33, 0.75), rgba(11, 22, 33, 0.3));
}
.industries__card > * { position: relative; }
.industries__title {
  font-size: clamp(48px, 6.5vw, 96px);
  letter-spacing: -0.05em;
  color: #fafafa;
  transition: opacity 0.35s ease;
}
.industries__meta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.industries__meta p { color: var(--white-70); font-size: 15px; }
.industries__meta .btn--dark { background: #fff; color: #000; }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: 40px 0 140px; }
.team__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.team__intro { display: flex; flex-direction: column; gap: 20px; }
.team__intro p { color: var(--muted); line-height: 1.6; max-width: 460px; }
.team__links { display: flex; flex-direction: column; gap: 12px; }
.team-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: background 0.3s ease;
}
.team-card:hover { background: var(--bg-3); }
.team-card--alt { background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); }
.team-card p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.team-card__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.team-card:hover .team-card__circle { transform: translateX(6px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: #fff; padding: 96px 0 64px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 80px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nav__logo--footer img { height: 15px; filter: invert(1) !important; }
.footer__brand > p { color: var(--white-70); font-size: 14px; max-width: 240px; }
.footer__copy { font-size: 12px; color: rgba(255, 255, 255, 0.4); margin-top: 24px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.footer__cols .label { margin-bottom: 18px; }
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--white-70);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer__cols a:hover { color: #fff; }

/* ============================================================
   REVEAL GENERICO
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .nav__links { display: none; }
  .hero__content { flex-direction: column; align-items: flex-start; }
  .hero__aside { align-items: flex-start; text-align: left; }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__cell { height: 90px; font-size: 18px; }
  .stats { grid-template-columns: 1fr; }
  .work-card { flex: 0 0 300px; height: 360px; }
  .dual__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .statement { padding: 120px 0; }
}

/* ============================================================
   PAGINE INTERNE
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--dark);
  color: #fafafa;
  padding: 200px 0 90px;
  overflow: hidden;
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 22, 33, 0.95), rgba(11, 22, 33, 0.4));
}
.page-hero .container { position: relative; }
.page-hero .label { color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: 28px; }
.page-hero h1 {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: 820px;
}
.page-hero .lead {
  margin-top: 26px;
  color: var(--white-70);
  font-size: 17px;
  line-height: 1.6;
  max-width: 580px;
}
.page-hero .hero__actions { margin-top: 36px; display: flex; gap: 12px; }

.section { padding: 110px 0; }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #fafafa; }
.section--dark h2 { color: #fafafa; }
.section .label { display: block; margin-bottom: 24px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin-top: 18px; line-height: 1.6; }
.section--dark .section-head p { color: var(--white-70); }

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

.info-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-card h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gray);
}
.info-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.info-card .label { margin-bottom: 6px; }
.info-card--dark { background: var(--dark-2); border-color: rgba(255, 255, 255, 0.07); }
.info-card--dark h3 { color: #fafafa; }
.info-card--dark p { color: var(--white-70); }

/* righe servizio / storia alternate */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 90px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.feature-row:first-of-type { border-top: none; }
.feature-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature-row__media img,
.feature-row__media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.feature-row:hover .feature-row__media img { transform: scale(1.03); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gray);
  margin: 14px 0 18px;
}
.feature-row p { color: var(--muted); line-height: 1.65; }
.feature-row .btn { margin-top: 28px; align-self: flex-start; }
.feature-row__body { display: flex; flex-direction: column; align-items: flex-start; }

.check-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: "\203A\203A";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -2px;
}
.section--dark .check-list li { color: rgba(255, 255, 255, 0.85); }

/* metriche risultato */
.metric-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.metric-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  background: var(--bg-2);
  border-radius: 6px;
  padding: 10px 14px;
}
.section--dark .metric-list li, .info-card--dark .metric-list li { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); }

/* clienti / partner strip */
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.strip-cell {
  background: var(--bg-2);
  border-radius: 4px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #9a9a9a;
  transition: color 0.3s ease, background 0.3s ease;
}
.strip-cell:hover { color: var(--gray); background: var(--bg-3); }
.section--dark .strip-cell { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.55); }
.section--dark .strip-cell:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* card settore con immagine */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 22, 33, 0.85), rgba(11, 22, 33, 0.15) 60%);
}
.industry-card__body { position: relative; color: #fff; }
.industry-card__body h3 { font-size: 26px; letter-spacing: -0.02em; font-weight: 300; }
.industry-card__body p { color: var(--white-70); font-size: 14px; margin-top: 8px; line-height: 1.5; }

/* contatti */
.contact-links { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.contact-links a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  color: #fafafa;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: color 0.3s ease;
}
.contact-links a span.arrow { font-size: 0.6em; }
.contact-links a:hover { color: #fff; }
.contact-links .label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
@media (max-width: 640px) {
  .contact-links .label {
    position: static;
    transform: none;
    display: block;
    margin-bottom: 6px;
  }
  .contact-links a { flex-direction: column; gap: 4px; }
}

/* CTA finale */
.cta-band { background: var(--dark); text-align: center; padding: 140px 0; }
.cta-band h2 { color: #fafafa; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.05em; max-width: 760px; margin: 0 auto 32px; }

/* nav: voce attiva */
.nav__links a.is-current { background: rgba(255, 255, 255, 0.18); }
.nav.is-scrolled .nav__links a.is-current { background: rgba(0, 0, 0, 0.08); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 150px 0 60px; }
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .feature-row--flip .feature-row__media { order: 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ICONE/FRECCE — forza presentazione testo (coerenza mobile/desktop)
   ============================================================ */
.work-card__arrow,
.team-card__circle,
.arrow-btn,
.contact-links .arrow,
.mobile-menu__links a,
.btn {
  font-variant-emoji: text;
}

/* ============================================================
   MENU MOBILE (fullscreen)
   ============================================================ */
.nav__burger { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 0 var(--gutter);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 12vw, 66px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fafafa;
  transition: opacity 0.2s ease;
}
.mobile-menu__links a:active { opacity: 0.6; }
.mobile-menu .btn { align-self: flex-start; margin-top: 28px; font-size: 17px; padding: 16px 28px; }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 101;
  }
  .nav__burger span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }
  .nav.is-scrolled .nav__burger span { background: #000; }
  body.menu-open .nav { background: transparent; border-bottom-color: transparent; }
  body.menu-open .nav__logo img { filter: invert(1) !important; }
  body.menu-open .nav__burger span { background: #fff !important; }
  body.menu-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* ============================================================
   PAGINE LEGALI
   ============================================================ */
.legal { max-width: 820px; }
.legal h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin: 56px 0 16px;
}
.legal h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray);
  margin: 32px 0 10px;
}
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #000; }
.legal .label { display: block; margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,0.08); color: var(--muted); vertical-align: top; }
.legal th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--gray); }
