/* ---------- 0. Self-hosted fonts (EB Garamond + Plus Jakarta Sans), latin + latin-ext ---------- */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Ricolfi & C. S.p.A. — Sistema sito web v2
   Coerente con "Ricolfi Group Brand Manual.html" (Brand System)
   Palette ufficiale Pantone + EB Garamond + Inter
   Trend 2026: kinetic type, light editorial, dot-style map,
   subtle scroll animations, grounded color palette
   ========================================================= */

/* ---------- 1. Variabili ---------- */
:root {
  /* === Brand System canonical tokens (added 2026-06-19) ===
     Names mirror the official Brand Manual palette so editorial surfaces
     (hero blocks, paper-like sections) can share one source of truth.
     The functional variables below stay for backwards compatibility. */
  --brand-red:   #B4060A;     /* Primary — PMS 200 C */
  --brand-cream: #F5EFE0;     /* Companion — PMS 9183 C, paper surface */
  --brand-ink:   #15191F;     /* Ink Black — editorial text on light */
  --brand-grey:  #607A8A;     /* Sea Grey — technical labels, navigation */
  --brand-ghost: #827C6E;     /* Ink Ghost — captions, hairlines */

  --rosso: #B4060A;
  --rosso-dark: #8a0508;
  --rosso-soft: #f7e8e8;
  --crema: #F5EFE0;            /* alias of --brand-cream for editorial blocks */
  --grigio-medio: #BFBFBF;
  --grigio-chiaro: #EFEFEF;
  --grigio-bg: #f7f7f7;
  --grigio-line: #e8e8e8;
  --nero: #000000;
  --testo: #1a1a1a;
  --testo-soft: #555;
  --testo-mute: #888;

  --serif: 'EB Garamond', 'Garamond', 'Georgia', serif;
  --sans:  'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono:  'SF Mono', Menlo, Consolas, monospace;

  --max:   1280px;
  --max-wide: 1480px;
  --gutter: clamp(20px, 3.5vw, 56px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.16);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--testo);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--rosso); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--rosso); color: #fff; }

/* ---------- 3. Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--nero);
}
h1 { font-size: clamp(40px, 6vw, 78px); }
h2 { font-size: clamp(32px, 4.5vw, 54px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: 22px; }
p  { margin: 0 0 1em; }
em.accent { font-style: italic; color: var(--rosso); }

.occhiello {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rosso);
  margin-bottom: 22px;
}
.occhiello::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--rosso);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--testo-soft);
  max-width: 62ch;
}

/* ---------- 4. Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--alt { background: var(--grigio-bg); }

.section-head { max-width: 760px; margin-bottom: 64px; }

/* ---------- 5. Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all .25s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--rosso);
  color: #fff;
}
.btn--primary:hover {
  background: var(--rosso-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180,6,10,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--nero);
  border: 1.5px solid var(--nero);
}
.btn--ghost:hover {
  background: var(--nero);
  color: #fff;
}
.btn--light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--light:hover { background: #fff; color: var(--nero); border-color: #fff; }
.btn .arrow { transition: transform .25s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rosso);
  border-bottom: 1.5px solid var(--rosso);
  padding-bottom: 4px;
  transition: gap .25s var(--ease-out);
}
.link-arrow:hover { gap: 14px; color: var(--rosso-dark); }

/* ---------- 6. Topbar (header) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .25s var(--ease-out);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 32px;
  transition: padding .25s var(--ease-out);
  will-change: padding;
  max-width: var(--max-wide);
  flex-wrap: nowrap;
}
.topbar.is-scrolled { box-shadow: var(--shadow-sm); }
.topbar.is-scrolled .topbar__inner { padding-top: 14px; padding-bottom: 14px; }

.brand-mark { display: inline-block; transform-origin: left center; flex-shrink: 0; }
.brand-mark img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform .25s var(--ease-out);
  transform-origin: left center;
}
.topbar.is-scrolled .brand-mark img { transform: scale(0.82); }

.nav {
  display: flex;
  gap: clamp(16px, 1.8vw, 28px);
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav__link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--testo);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__link:hover { color: var(--rosso); }
.nav__link.is-active { color: var(--rosso); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rosso);
}
.nav__lang {
  background: var(--rosso);
  color: #fff;
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  transition: background .2s var(--ease-out);
}
.nav__lang .active {
  color: #fff;
  background: rgba(0,0,0,0.18);
  padding: 1px 6px;
  margin-right: 2px;
}
.nav__lang:hover { background: var(--rosso-dark); }

.nav-toggle {
  display: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nero);
  margin: 5px 0;
  transition: all .25s var(--ease-out);
}

/* Dropdown menu (Sedi estere) — no arrow, hover-only reveal */
.nav__dropdown { position: relative; }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  min-width: 280px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
  z-index: 200;
  border-top: 2px solid var(--rosso);
}
.nav__dropdown:hover .nav__submenu,
.nav__dropdown:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav__submenu a {
  padding: 12px 24px;
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background .15s var(--ease-out);
  text-decoration: none;
}
.nav__submenu a:hover { background: var(--grigio-chiaro); }
.nav__submenu a small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
}
.nav__submenu a span {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.005em;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 9vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(180,6,10,0.05), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.97) 100%),
    url('../img/photos/world-map-2.webp') no-repeat center / cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 0.7px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero__content { position: relative; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.0;
  margin: 0 0 32px;
  letter-spacing: -0.022em;
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-in 0.9s var(--ease-out) forwards;
}
.hero__title .word:nth-child(1) { animation-delay: 0.05s; }
.hero__title .word:nth-child(2) { animation-delay: 0.18s; }
.hero__title .word:nth-child(3) { animation-delay: 0.31s; }
.hero__title .word:nth-child(4) { animation-delay: 0.44s; }
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--testo-soft);
  max-width: 56ch;
  margin: 0 0 40px;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 0.6s forwards;
}
.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 0.8s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.hero__visual::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--rosso);
  z-index: 2;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: ken-burns 20s var(--ease-out) infinite alternate;
}
@keyframes ken-burns {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.16) translate(-2%, -1%); }
}
.hero__visual::after {
  content: "Aerial view · Container terminal";
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}

.hero__monogram {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.035;
  pointer-events: none;
  z-index: -1;
}

.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--rosso);
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fade-in 1.4s var(--ease-out) 1.1s forwards;
  line-height: 1;
}
.hero__tagline::before {
  content: "";
  width: 64px;
  height: 1.5px;
  background: var(--rosso);
  flex-shrink: 0;
}
.hero__tagline .dot {
  font-style: normal;
  color: var(--grigio-medio);
  margin: 0 4px;
  font-size: 0.75em;
}

/* ---------- 8. Stats strip ---------- */
.stats {
  background: var(--nero);
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(180,6,10,0.18), transparent 60%);
  pointer-events: none;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
  position: relative;
}
.stat {
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat__num em { color: var(--rosso); font-style: normal; }
.stat__num .pre { color: rgba(255,255,255,0.6); font-size: 0.55em; vertical-align: 0.4em; margin-right: 0.05em; }
.stat__num .post { color: rgba(255,255,255,0.6); font-size: 0.45em; vertical-align: 0.5em; margin-left: 0.08em; }
.stat__label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  line-height: 1.4;
}

/* ---------- 9. Sezione Chi Siamo (intro) ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.intro__visual {
  aspect-ratio: 5/4;
  overflow: hidden;
  position: relative;
}
.intro__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.intro__visual:hover img { transform: scale(1.05); }
.intro__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,6,10,0.08), transparent 60%);
  z-index: 1;
}

/* ---------- 10. Servizi grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grigio-line);
  border: 1px solid var(--grigio-line);
}
.svc {
  background: #fff;
  padding: 40px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .3s var(--ease-out);
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.svc:hover { background: var(--grigio-chiaro); }
.svc:hover::before { transform: scaleX(1); }

/* Variante informativa, non cliccabile (es. IMDG) */
.svc--static { cursor: default; }
.svc--static:hover { background: #fff; }
.svc--static:hover::before { transform: scaleX(0); }
.svc--static .svc__arrow {
  opacity: 1;
  transform: none;
  color: var(--testo-mute);
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12.5px;
  font-weight: 400;
}

/* Indirizzi email su .svc (Contatti diretti per reparto) — distintivi e cliccabili */
.svc__mail {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rosso);
  background: var(--grigio-chiaro);
  padding: 3px 9px;
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 2px;
  border-left: 2px solid var(--rosso);
  transition: all .15s var(--ease-out);
}
.svc:hover .svc__mail {
  background: var(--rosso);
  color: #fff;
  border-left-color: var(--nero);
}

/* Variante compatta per timeline cronologica */
.services-grid--timeline .svc {
  padding: 28px 22px 24px;
  min-height: 0;
  gap: 10px;
}
.services-grid--timeline .svc__title {
  font-size: 18px;
  line-height: 1.18;
}
.services-grid--timeline .svc__desc {
  font-size: 13px;
  line-height: 1.5;
}
.services-grid--timeline .svc__arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 1;
  transform: none;
  margin: 0;
  font-family: var(--serif);
  color: var(--rosso);
  font-style: italic;
}
.svc__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: transform .3s var(--ease-out);
}
.svc:hover .svc__icon { transform: translateY(-3px); }
.svc__icon img { max-width: 100%; max-height: 100%; }
.svc__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--nero);
  line-height: 1.2;
  margin: 0;
}
.svc__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--testo-soft);
  margin: 0;
}
.svc__arrow {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rosso);
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s var(--ease-out);
}
.svc:hover .svc__arrow { opacity: 1; transform: translateY(0); }

/* ---------- 11. Mappa interattiva (LIGHT theme) ---------- */
.map-section {
  background: #fafafa;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  position: relative;
}
.map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.map-section .container { position: relative; }

/* ---------- LEAFLET MAP (real geographic map) ---------- */
.leaflet-map {
  width: 100%;
  height: 540px;
  border: 1px solid var(--grigio-line);
  background: #fafafa;
  margin: 56px 0 32px;
  z-index: 1;
}
.leaflet-map--small {
  height: 360px;
  margin: 0;
}
.leaflet-map--square {
  height: 320px;
  width: 320px;
  flex-shrink: 0;
}

/* Layout sede: titolo a sx + mappa quadrata a dx */
.sede-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.sede-split .section-head {
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .sede-split { grid-template-columns: 1fr; gap: 24px; }
  .leaflet-map--square { width: 100%; height: 280px; }
}
.leaflet-container {
  font-family: var(--sans);
  background: #fafafa;
}
.leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,0.85) !important;
  padding: 3px 8px !important;
  border-radius: 0 !important;
}
.leaflet-control-attribution a { color: var(--rosso) !important; }

/* Custom marker — base + varianti per tipo sede */
.lf-marker {
  position: relative;
  width: 16px;
  height: 16px;
  background: var(--rosso);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(180,6,10,0.35);
  cursor: pointer;
}

/* HQ — rosso pieno grande, doppio anello pulsante */
.lf-marker--hq {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(180,6,10,0.45);
}
.lf-marker--hq::before, .lf-marker--hq::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid var(--rosso);
  animation: lf-pulse 2.8s var(--ease-out) infinite;
}
.lf-marker--hq::after { animation-delay: 1.4s; }

/* Sede estera (USA, Perú) — rosso pieno + bordo doppio nero */
.lf-marker--estero {
  width: 17px;
  height: 17px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--nero), 0 0 0 6px rgba(180,6,10,0.4);
}
.lf-marker--estero::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--rosso);
  animation: lf-pulse 3.2s var(--ease-out) infinite;
}

/* Ufficio operativo — rosso pieno medio */
.lf-marker--uff {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(180,6,10,0.3);
}

/* Magazzino — outline rosso (cerchio vuoto) */
.lf-marker--mag {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2.5px solid var(--rosso);
  box-shadow: 0 0 0 1.5px #fff;
}

/* Porto / Aeroporto — quadrato rosso outline */
.lf-marker--porto, .lf-marker--aero {
  width: 11px;
  height: 11px;
  background: #fff;
  border: 2px solid var(--rosso);
  border-radius: 2px;
  box-shadow: 0 0 0 1.5px #fff;
}
.lf-marker--aero {
  border-radius: 50%;
  border-style: dashed;
}
@keyframes lf-pulse {
  0%   { transform: scale(0.6); opacity: 0.85; }
  100% { transform: scale(3.4); opacity: 0; }
}
.leaflet-popup-content-wrapper {
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
  background: var(--nero) !important;
  color: #fff !important;
  border-left: 3px solid var(--rosso) !important;
}
.leaflet-popup-tip { background: var(--nero) !important; }
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
}
.leaflet-popup-content .geo {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-bottom: 4px;
}
.leaflet-popup-content .city {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: block;
  margin: 2px 0 4px;
  letter-spacing: -0.005em;
}
.leaflet-popup-content .desc {
  color: rgba(255,255,255,0.85);
  font-size: 11.5px;
}

/* Legenda sotto la mappa */
.map-pins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.map-pin {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.map-pin__dot {
  width: 16px;
  height: 16px;
  background: var(--rosso);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(180,6,10,0.3);
  flex-shrink: 0;
  margin-top: 6px;
}
.map-pin__body strong {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  display: block;
}
.map-pin__body h4 {
  font-size: 22px;
  margin: 6px 0 4px;
  letter-spacing: -0.005em;
}
.map-pin__body p {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--testo-soft);
  margin: 0;
}

/* Legenda tipi sede */
.map-legend-types {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding: 16px 20px;
  background: var(--grigio-chiaro);
  border-left: 3px solid var(--rosso);
  margin: 20px 0 28px;
}
.map-legend-types__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--testo);
  letter-spacing: 0.04em;
}
.map-legend-types__item strong { font-weight: 600; }
.map-legend-types__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.map-legend-types__icon--hq {
  background: var(--rosso);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(180,6,10,0.4);
}
.map-legend-types__icon--estero {
  background: var(--rosso);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--nero);
}
.map-legend-types__icon--uff {
  background: var(--rosso);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(180,6,10,0.25);
  width: 11px; height: 11px;
}
.map-legend-types__icon--mag {
  background: #fff;
  border: 2.5px solid var(--rosso);
  border-radius: 50%;
  width: 11px; height: 11px;
}
.map-legend-types__icon--porto {
  background: #fff;
  border: 2px solid var(--rosso);
  border-radius: 2px;
  width: 11px; height: 11px;
}

@media (max-width: 820px) {
  .map-pins { grid-template-columns: 1fr; gap: 20px; }
  .leaflet-map { height: 380px; }
}


/* ---------- 12. Sezione "Il Gruppo" — loghi controllate ---------- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.group-card {
  background: #fff;
  border: 1px solid var(--grigio-line);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .3s var(--ease-out);
  text-align: left;
  min-height: 240px;
}
.group-card:hover {
  border-color: var(--rosso);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.group-card__logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.group-card__logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
}
.group-card__where {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosso);
}
.group-card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--nero);
  margin: 0;
  letter-spacing: -0.005em;
}
.group-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--testo-soft);
  margin: 0 0 auto;
}
.group-card__site {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--testo-mute);
}

/* ---------- 13. Progetti ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #111;
  color: #fff;
}
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 1s var(--ease-out), opacity .4s var(--ease-out);
}
.project:hover img { transform: scale(1.06); opacity: 0.6; }
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}
.project__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 28px 28px;
  z-index: 2;
}
.project__sector {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff6b70;
}
.project__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 8px 0 6px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.project__loc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
}
.project__cta {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: all .3s var(--ease-spring);
  font-size: 18px;
}
.project:hover .project__cta {
  background: var(--rosso);
  border-color: var(--rosso);
  transform: scale(1.1);
}

/* ---------- 14. Certificazioni ---------- */
.certs__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 14px;
  padding: 32px 0;
  border-top: 1px solid var(--grigio-line);
  border-bottom: 1px solid var(--grigio-line);
  margin: 36px 0;
}
.certs__strip img {
  max-height: 60px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter .25s var(--ease-out);
}
.certs__strip img:hover { filter: grayscale(0%) opacity(1); }
.certs__strip img[src*="cert_legalita"] { max-height: 90px; max-width: 180px; }
.certs__strip-break { flex-basis: 100%; height: 0; }

/* ---------- 15. CTA finale ---------- */
.cta-block {
  background: var(--rosso);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/logos/R_monogram_white.png');
  background-repeat: no-repeat;
  background-position: 92% center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
}
.cta-block .occhiello { color: rgba(255,255,255,0.88); }
.cta-block .occhiello::before { background: rgba(255,255,255,0.88); }
.cta-block h2 { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-block p { color: rgba(255,255,255,0.88); max-width: 56ch; margin: 18px auto 32px; font-family: var(--serif); font-size: 19px; }

/* ---------- 16. Footer ---------- */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--rosso);
}
.footer::before {
  content: "";
  position: absolute;
  right: -240px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  background-image: url('../img/logos/R_monogram_white.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.022;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
  padding-bottom: 56px;
}
.footer__brand__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.footer__brand__head .footer__monogram {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.92);
  flex-shrink: 0;
}
.footer__brand h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.footer__brand .tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  display: inline-block;
}
.footer__brand p {
  line-height: 1.65;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
}

.footer h5 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: none;
  position: relative;
}
.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--rosso);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li {
  margin-bottom: 11px;
  font-size: 13.5px;
  line-height: 1.4;
}
.footer ul a {
  color: rgba(255,255,255,0.7);
  transition: color .15s var(--ease-out), padding-left .15s var(--ease-out);
  display: inline-block;
}
.footer ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__bottom-wrap {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  position: relative;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.42);
}
.footer__legal {
  line-height: 1.65;
}
.footer__legal strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.footer__legal-links {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.footer__legal-links a {
  color: rgba(255,255,255,0.65);
  transition: color .2s var(--ease-out);
}
.footer__legal-links a:hover {
  color: var(--rosso);
}
.footer__legal-links .sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.25);
}
.footer__group {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity .2s var(--ease-out);
}
.footer__group span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0;
  text-transform: none;
}
.footer__group img {
  height: 38px;
  width: auto;
  opacity: 0.85;
  transition: opacity .2s var(--ease-out), filter .2s var(--ease-out);
  filter: brightness(0) invert(1);
  background: transparent;
  padding: 0;
}
.footer__group:hover img { opacity: 1; }
.footer__group:hover span { color: rgba(255,255,255,0.85); }

/* ---------- 16b. Settori serviti ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--grigio-line);
  border: 1px solid var(--grigio-line);
}
.sector {
  background: #fff;
  padding: 36px 24px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .25s var(--ease-out);
  border-top: 3px solid transparent;
}
.sector:hover {
  background: var(--rosso);
  color: #fff;
  border-top-color: var(--nero);
}
.sector:hover .sector__num,
.sector:hover .sector__desc { color: rgba(255,255,255,0.85); }
.sector__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--rosso);
  font-weight: 600;
  transition: color .25s var(--ease-out);
}
.sector__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: inherit;
  line-height: 1.1;
  margin: 4px 0 6px;
  letter-spacing: -0.005em;
}
.sector__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--testo-soft);
  margin: 0;
  transition: color .25s var(--ease-out);
}

/* ---------- 16c. Process / Come lavoriamo ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--grigio-line);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--rosso);
  color: var(--rosso);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-style: italic;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--testo-soft);
  margin: 0;
}

/* ---------- 16d. Trust band — clienti / numbers / quote ---------- */
.trust-band {
  background: var(--nero);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.trust-band__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  color: #fff;
  text-align: center;
  max-width: 28ch;
  margin: 0 auto 32px;
  letter-spacing: -0.005em;
  position: relative;
}
.trust-band__quote::before {
  content: "\201C";
  display: block;
  font-size: 80px;
  line-height: 1;
  color: var(--rosso);
  margin-bottom: 8px;
}
.trust-band__attr {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.trust-band__attr strong { color: #fff; font-weight: 700; }

/* Variante "Riconoscimenti / Awards" del trust-band */
.trust-band--awards { text-align: center; }
.trust-band--awards .occhiello { color: rgba(255,255,255,0.85); }
.trust-band--awards h2 { color: #fff; max-width: 26ch; margin: 0 auto 24px; }
.trust-band--awards .accent { color: #ff6b70; }
.trust-band--awards strong { color: #fff; font-style: normal; }
.trust-band__lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 64ch;
  margin: 0 auto 40px;
}
.trust-band__source {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-top: 32px;
}

/* ---------- 16d2. Recensioni / Cosa dicono di noi ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--grigio-line);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .25s var(--ease-out);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.group-card__desc strong { color: var(--nero); }
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: var(--rosso);
}
.review-card__stars {
  display: flex;
  gap: 2px;
  font-size: 16px;
  color: var(--rosso);
}
.review-card__stars .star { color: var(--rosso); }
.review-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.2;
}
.review-card__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--testo-soft);
  margin: 0;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--rosso);
}
.review-card__author {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--grigio-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card__role {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
}
.review-card__meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--testo-mute);
}
.review-card__source {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--testo-mute);
  background: var(--grigio-chiaro);
  padding: 4px 10px;
  border-radius: 4px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 32px;
  background: var(--grigio-chiaro);
  border-left: 4px solid var(--rosso);
}
.reviews-summary__num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--rosso);
  line-height: 1;
}
.reviews-summary__text {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--testo-soft);
  margin: 0;
  max-width: 36ch;
}
.reviews-summary__source {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--testo-mute);
  font-weight: 600;
}

/* Awards grid (Campioni della Crescita) */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.award-card {
  display: block;
  text-decoration: none;
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  text-align: left;
  transition: all .25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.award-card:hover {
  border-color: var(--rosso);
  background: rgba(180,6,10,0.12);
  transform: translateY(-3px);
}
.award-card--current {
  border-color: var(--rosso);
  background: rgba(180,6,10,0.08);
}
.award-card__year {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  color: #ff6b70;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.award-card__date {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-top: 14px;
}
.award-card__quote {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin-top: 16px;
  line-height: 1.4;
}
.award-card__cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin-top: 18px;
}
@media (max-width: 720px) {
  .awards-grid { grid-template-columns: 1fr; gap: 16px; }
  .award-card__year { font-size: 52px; }
}

/* ---------- 16d3. Photo strip / gallery ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.photo-strip__item {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
.photo-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.photo-strip__item:hover img { transform: scale(1.06); }

/* ---------- 16d4. Service block image hero ---------- */
.svc-block__visual {
  margin-bottom: 32px;
  aspect-ratio: 16/7;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.svc-block__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1s var(--ease-out);
}
.svc-block__visual::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--rosso);
  z-index: 2;
}

/* ---------- 16d4b. Utility classes (riusate ovunque) ---------- */
.svc__arrow--static { opacity: 1; color: var(--rosso); }
.lede--spaced { margin-top: 18px; }
.h4--spaced { margin-top: 28px; }
.text-center { text-align: center; }
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 16d5. Legal pages (Privacy + Cookie Policy) ---------- */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--testo);
}
.legal-doc h2 {
  font-size: 26px;
  margin: 56px 0 18px;
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grigio-line);
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 {
  font-size: 19px;
  margin: 32px 0 12px;
  color: var(--nero);
  font-weight: 600;
}
.legal-doc h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin: 24px 0 10px;
}
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 18px; padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { color: var(--nero); font-weight: 600; }
.legal-doc a { color: var(--rosso); border-bottom: 1px solid var(--grigio-line); transition: all .2s var(--ease-out); }
.legal-doc a:hover { border-bottom-color: var(--rosso); }
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-family: var(--sans);
  font-size: 14px;
}
.legal-doc table th,
.legal-doc table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--grigio-line);
  vertical-align: top;
}
.legal-doc table th {
  background: var(--grigio-chiaro);
  font-weight: 600;
  color: var(--nero);
  letter-spacing: 0.02em;
  font-size: 12px;
  text-transform: uppercase;
}
.legal-doc table tr:last-child td { border-bottom: none; }
.legal-doc__meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--testo-mute);
  padding: 18px 22px;
  background: var(--grigio-chiaro);
  border-left: 3px solid var(--rosso);
  margin-bottom: 40px;
}
.legal-doc__meta strong { color: var(--nero); }

/* ---------- 16e. FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--grigio-line);
}
.faq__item {
  border-bottom: 1px solid var(--grigio-line);
}
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color .2s var(--ease-out);
}
.faq__q:hover { color: var(--rosso); }
.faq__q::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  color: var(--rosso);
  transition: transform .25s var(--ease-out);
  margin-left: 16px;
  flex-shrink: 0;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .35s var(--ease-out);
}
.faq__item.is-open .faq__a {
  max-height: 600px;
  padding-bottom: 24px;
}
.faq__a p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--testo-soft);
  margin: 0 0 8px;
}
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- 16f. Page hero (pagine interne) ---------- */
.page-hero {
  background: var(--grigio-bg);
  padding: clamp(48px, 7vw, 100px) 0 clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grigio-line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero__breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--testo-mute);
  margin-bottom: 24px;
}
.page-hero__breadcrumb a { color: var(--testo-mute); }
.page-hero__breadcrumb a:hover { color: var(--rosso); }
.page-hero__breadcrumb .sep { margin: 0 10px; color: rgba(0,0,0,0.18); }
.page-hero__breadcrumb .here { color: var(--rosso); }
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  margin: 0 0 20px;
  letter-spacing: -0.018em;
}
.page-hero__lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--testo-soft);
  max-width: 64ch;
  margin: 0;
}

/* ---------- 16g. Anchor index (per pagine con tante sezioni) ---------- */
.anchor-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
}
.anchor-index a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--grigio-line);
  border-radius: 999px;
  color: var(--testo);
  transition: all .2s var(--ease-out);
}
.anchor-index a:hover {
  border-color: var(--rosso);
  color: var(--rosso);
  transform: translateY(-1px);
}
.anchor-index a::before {
  content: "↓";
  color: var(--rosso);
  font-weight: 700;
}

/* ---------- 16h. Service detail blocks ---------- */
.svc-block {
  scroll-margin-top: 120px;
  padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid var(--grigio-line);
}
.svc-block:first-of-type { border-top: none; }
.svc-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.svc-block__head {
  position: sticky;
  top: 100px;
}
.svc-block__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--rosso);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.svc-block h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 18px;
}
.svc-block__body p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--testo-soft);
}
.svc-block__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.svc-block__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
}
.svc-block__list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--rosso);
  font-weight: 700;
}
.svc-block__list strong { color: var(--nero); font-weight: 600; }
.svc-block__sublist {
  margin: 36px 0 0;
  padding: 24px;
  background: var(--grigio-chiaro);
  border-left: 3px solid var(--rosso);
}
.svc-block__sublist h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin: 0 0 14px;
}

/* ---------- 16i. Case study detail ---------- */
.case {
  scroll-margin-top: 120px;
  padding: clamp(60px, 9vw, 130px) 0;
  border-top: 1px solid var(--grigio-line);
}
.case:first-of-type { border-top: none; padding-top: clamp(40px, 6vw, 80px); }
.case__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 56px;
  align-items: center;
}
.case__visual {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.case__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.case__visual--low img { object-position: center 75%; }
.case__visual--contain {
  aspect-ratio: 21/9;
  background: #000;
}
.case__visual--contain img { object-fit: contain; }
.case__visual--portrait {
  aspect-ratio: 4/5;
  background: #0a0a0a;
}
.case__visual--portrait img { object-fit: contain; }
.case__visual::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--rosso);
  z-index: 2;
}
.case__sector {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 14px;
  display: block;
}
.case__title {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 20px;
}
.case__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--grigio-line);
}
.case__meta dt {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--testo-mute);
  font-weight: 700;
  margin-bottom: 6px;
}
.case__meta dd {
  font-family: var(--serif);
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
  color: var(--nero);
}
.case__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.case__body h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin: 0 0 14px;
}
.case__body p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--testo-soft);
}
.case__body--big h4 {
  font-size: 13px;
  letter-spacing: 0.24em;
}
.case__body--big p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--testo);
  margin-bottom: 1.1em;
}
.case__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case__body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.case__body ul li::before {
  content: "•";
  color: var(--rosso);
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
}

/* ---------- 16j. Form (contatti, candidatura) ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.form-side h3 {
  font-size: 26px;
  margin: 0 0 18px;
}
.form-side p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--testo-soft);
}
/* Info block — usato sia in form-side che in pagine sedi (Baltimore/Lima) */
.info-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--grigio-line);
}
.info-block h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin: 0 0 10px;
}
.info-block p {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--testo);
  margin: 0 0 4px;
}
.info-block p + p { margin-top: 6px; }
.info-block a { color: var(--testo); text-decoration: none; border-bottom: 1px solid var(--grigio-line); transition: all .2s var(--ease-out); }
.info-block a:hover { color: var(--rosso); border-bottom-color: var(--rosso); }
.info-block__phone {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--rosso);
  letter-spacing: 0.01em;
}

.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--testo-mute);
  font-weight: 600;
}
.form__field label .req { color: var(--rosso); }
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--grigio-line);
  background: #fff;
  color: var(--testo);
  border-radius: 0;
  transition: border-color .2s var(--ease-out);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--rosso);
}
.form__field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form__field--file input { padding: 10px 12px; font-size: 13px; }

/* Custom file input: nasconde il pulsante browser-native (in lingua OS) e mostra etichetta localizzata */
.form__file-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--grigio-line);
  background: #fff;
  border-radius: 2px;
  font-family: var(--sans);
  transition: border-color .2s var(--ease-out);
}
.form__file-wrap:hover { border-color: var(--rosso); }
.form__file-wrap input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.form__file-button {
  display: inline-block;
  padding: 7px 14px;
  background: var(--nero);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s var(--ease-out);
  flex-shrink: 0;
}
.form__file-button:hover { background: var(--rosso); }
.form__file-name {
  font-size: 13px;
  color: var(--testo-soft);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--testo-soft);
  margin-top: 6px;
}
.form__consent input { margin-top: 3px; }
.form__consent a { color: var(--rosso); text-decoration: underline; }
.form button[type=submit] { width: max-content; margin-top: 8px; }
.form__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--testo-mute);
  margin: 0;
}

/* ---------- 16k. Office cards (Dove operiamo) ---------- */
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.office {
  background: #fff;
  border: 1px solid var(--grigio-line);
  padding: 36px 32px;
  transition: all .25s var(--ease-out);
}
.office:hover { border-color: var(--rosso); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.office__geo {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.office h3 {
  font-size: 28px;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.office__addr {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--testo-soft);
  margin: 0 0 18px;
}
.office__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.office__list li {
  font-size: 13.5px;
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px solid var(--grigio-line);
}
.office__list li:last-child { border-bottom: none; }

/* ---------- 16l. Job listing ---------- */
.job-list {
  display: grid;
  gap: 1px;
  background: var(--grigio-line);
  border: 1px solid var(--grigio-line);
}
.job-row {
  background: #fff;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  transition: background .2s var(--ease-out);
}
.job-row:hover { background: var(--grigio-chiaro); }
.job-row__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.005em;
}
.job-row__meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--testo-soft);
  text-transform: uppercase;
  font-weight: 500;
}
.job-row__cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rosso);
}

/* ---------- 17. Animazioni reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stats__row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
  .stat:nth-child(3) { border-right: none; }
  .svc-block__grid { grid-template-columns: 1fr; }
  .svc-block__head { position: static; }
  .case__hero { grid-template-columns: 1fr; }
  .case__body { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16/10; order: -1; }
  .intro__grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .stat:last-child, .stat:nth-last-child(2) { border-bottom: none; }

  .nav__dropdown { width: 100%; }
  .nav__dropdown > .nav__link::after { display: none; }
  .nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; min-width: 0; border-top: none; background: transparent; gap: 14px; margin-top: 14px; align-items: center; }
  .nav__submenu a { padding: 8px 0; align-items: center; }
  .nav__submenu a span { font-size: 18px; }
  .nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 80px 32px; z-index: 100; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__link { font-size: 22px; font-family: var(--serif); }
  .nav__lang { padding-left: 0; border-left: none; padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.1); }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 580px) {
  .services-grid, .group-grid, .sectors-grid, .process-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: 42px; }
  .hero__tagline { font-size: 22px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .certs__strip img { max-height: 42px; max-width: 88px; }
  .certs__strip img[src*="cert_legalita"] { max-height: 64px; max-width: 132px; }
}
