/* ══════════════════════════════════════
   HOMEPAGE FM2
══════════════════════════════════════ */

/* ── Reveal ── */
.fh-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fh-reveal.fh-visible { opacity: 1; transform: none; }
.fh-reveal-2 { transition-delay: .15s; }

/* ── Container / utility ── */
.fh-container { max-width: 1200px; margin: 0 auto; }
.fh-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--red); margin-bottom: 12px;
}
.fh-h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  text-transform: uppercase; color: var(--navy);
  line-height: 1.05; margin-bottom: 0;
}
.fh-p {
  font-size: 15px; color: #555560; line-height: 1.85; margin-bottom: 16px;
}
.fh-section { padding: 100px 40px; }
.fh-section--white { background: #fff; }
.fh-section--gray  { background: #F5F5F7; }
.fh-section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 20px;
  margin-bottom: 56px;
}
.fh-link-arrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy);
  border-bottom: 2px solid var(--red); padding-bottom: 4px;
}

/* ── Bottoni ── */
.fh-btn-red {
  background: var(--red); color: #fff; padding: 16px 36px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 2px;
  transition: background .2s, transform .2s; display: inline-block;
}
.fh-btn-red:hover { background: #d41a21; transform: translateY(-2px); }
.fh-btn-outline {
  border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 16px 36px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 2px;
  transition: border-color .2s, background .2s; display: inline-block;
}
.fh-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.fh-btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; padding: 14px 28px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 2px; transition: background .2s;
}
.fh-btn-navy:hover { background: #1a3080; }
.fh-btn-white {
  background: #fff; color: var(--red); padding: 16px 36px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 2px; white-space: nowrap;
}
.fh-btn-white:hover { opacity: .9; }
.fh-btn-outline-white {
  border: 2px solid rgba(255,255,255,.5); color: #fff; padding: 16px 36px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 2px; white-space: nowrap;
  transition: border-color .2s;
}
.fh-btn-outline-white:hover { border-color: #fff; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.fh-hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fh-hero-canvas-wrap {
  position: absolute;
  inset: 0;
}
#fhCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.fh-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 940px;
  width: 100%;
  padding-top: var(--header-h);
}
.fh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
}
.fh-hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: fh-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes fh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.fh-hero-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.fh-hero-title span { color: var(--red); }
.fh-hero-sub {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}
.fh-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.fh-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}
.fh-hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
}

/* ══════════════════════════════════════
   CATEGORIE
══════════════════════════════════════ */
.fh-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.fh-cat-item {
  position: relative;
  overflow: hidden;
  display: block;
}
.fh-cat-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.fh-cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fh-cat-item:hover .fh-cat-img-wrap img { transform: scale(1.07); }
.fh-cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,39,87,.55);
  transition: background .4s;
}
.fh-cat-item:hover .fh-cat-overlay { background: rgba(0,39,87,.8); }
.fh-cat-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
}
.fh-cat-bar {
  width: 32px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 10px;
  transition: background .3s;
}
.fh-cat-item:hover .fh-cat-bar { background: rgba(255,255,255,.8); }
.fh-cat-label {
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; color: #fff;
  line-height: 1.2; margin-bottom: 4px;
}
.fh-cat-count {
  font-size: 12px; color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.fh-cat-more {
  margin-top: 12px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.fh-cat-item:hover .fh-cat-more { opacity: 1; transform: none; }
.fh-cat-num {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 52px; font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
}

/* ══════════════════════════════════════
   CHI SIAMO
══════════════════════════════════════ */
.fh-chisiamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fh-chisiamo-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.fh-chisiamo-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fh-chisiamo-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 150px; height: 96px;
  background: var(--red);
  border-radius: 2px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}
.fh-chisiamo-badge-val {
  font-size: 36px; font-weight: 900; color: #fff; line-height: 1;
}
.fh-chisiamo-badge-lbl {
  font-size: 11px; color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .1em;
  text-align: center; line-height: 1.4;
}
.fh-chisiamo-feats {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin: 32px 0 40px;
}
.fh-feat-bar {
  width: 24px; height: 2px;
  background: var(--red); border-radius: 2px; margin-bottom: 10px;
}
.fh-feat-title {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; color: var(--navy); margin-bottom: 4px;
}
.fh-feat-sub { font-size: 13px; color: #555560; }

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.fh-stats { background: var(--navy); padding: 80px 40px; }
.fh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.fh-stat {
  padding: 48px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.fh-stat:last-child { border-right: none; }
.fh-stat-val {
  font-size: 68px; font-weight: 900;
  color: #fff; line-height: 1;
  letter-spacing: -.02em;
}
.fh-stat-lbl {
  font-size: 13px; color: rgba(255,255,255,.5);
  margin-top: 10px; text-transform: uppercase; letter-spacing: .1em;
}

.fh-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.fh-prod-item {
  display: block;
  overflow: hidden;
  border: 1px solid #eee;
  transition: box-shadow .3s;
}
.fh-prod-item:hover { box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.fh-prod-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0px;
  overflow: visible !important;
}
.fh-prod-img-wrap img,
.fh-prod-img-wrap .wp-post-image {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: transform .5s ease;
}
.fh-prod-item:hover .fh-prod-img-wrap img,
.fh-prod-item:hover .fh-prod-img-wrap .wp-post-image {
  transform: scale(1.05);
}
.fh-prod-body { padding: 24px 28px 28px; }
.fh-prod-cat {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--red); margin-bottom: 8px;
}
.fh-prod-cat a { color: var(--red); }
.fh-prod-name {
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; color: var(--navy); margin-bottom: 12px;
  line-height: 1.3;
}
.fh-prod-more {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #888; display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.fh-prod-item:hover .fh-prod-more { color: var(--red); }
.fh-prod-more span { transition: transform .2s; }
.fh-prod-item:hover .fh-prod-more span { transform: translateX(4px); }
/* ══════════════════════════════════════
   NEWS
══════════════════════════════════════ */
.fh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fh-news-item {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #eee;
  overflow: hidden; transition: box-shadow .3s;
}
.fh-news-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); }
.fh-news-img-wrap { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.fh-news-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fh-news-item:hover .fh-news-img { transform: scale(1.06); }
.fh-news-body {
  padding: 24px; flex: 1;
  display: flex; flex-direction: column;
}
.fh-news-meta {
  display: flex; gap: 12px; align-items: center; margin-bottom: 14px;
}
.fh-news-tag {
  background: var(--red); color: #fff;
  padding: 3px 10px; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 2px;
}
.fh-news-date { font-size: 12px; color: #aaa; }
.fh-news-title {
  font-size: 19px; font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 10px; text-transform: uppercase;
}
.fh-news-excerpt { font-size: 14px; color: #555560; line-height: 1.7; flex: 1; }
.fh-news-more {
  margin-top: 20px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--red);
}

/* ══════════════════════════════════════
   PARTNER
══════════════════════════════════════ */
.fh-partners {
  padding: 72px 40px;
  background: #fff;
  border-top: 1px solid #eee;
}
.fh-partners-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: #bbb; text-align: center; margin-bottom: 44px;
}
.fh-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}
.fh-partner-item {
  padding: 24px 16px;
  border: 1px solid #eee;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: #bbb; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.fh-partner-item:hover {
  border-color: var(--red);
  background: #fff5f5;
  color: var(--red);
}
.fh-partner-item img {
  max-width: 100px;
  height: auto;
}
@media (max-width: 1024px) {
  .fh-partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .fh-partners { padding: 48px 20px; }
  .fh-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .fh-partners-label { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .fh-partners-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.fh-cta { background: var(--red); padding: 80px 40px; }
.fh-cta-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 32px;
}
.fh-cta-title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  text-transform: uppercase; color: #fff;
  line-height: 1.05; margin-bottom: 10px;
}
.fh-cta-sub { font-size: 16px; color: rgba(255,255,255,.8); }
.fh-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .fh-chisiamo-grid { grid-template-columns: 1fr; gap: 60px; }
  .fh-chisiamo-badge { bottom: 16px; right: 16px; }
  .fh-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fh-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fh-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 768px) {
  .fh-hero-inner { padding: 0 24px; padding-top: var(--header-h); }
  .fh-hero-title { font-size: clamp(36px, 8vw, 60px); }
  .fh-hero-sub   { font-size: 16px; }
  .fh-section    { padding: 64px 20px; }
  .fh-cat-grid   { grid-template-columns: repeat(2, 1fr); }
  .fh-prod-grid  { grid-template-columns: 1fr; }
  .fh-news-grid  { grid-template-columns: 1fr; }
  .fh-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .fh-stats      { padding: 60px 20px; }
  .fh-cta        { padding: 60px 20px; }
  .fh-cta-inner  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .fh-cat-grid { grid-template-columns: 1fr; }
  .fh-stats-grid { grid-template-columns: 1fr; }
  .fh-stat { border-right: none !important; }
  .fh-partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1600px) {
  .fh-hero-inner {
    padding-left: 120px;
  }
}
@media (max-width: 1920px) {
  .fh-hero-inner {
    padding-top: calc(var(--header-h) + 60px);
  }
}
/* ══════════════════════════════════════
   VIDEO HOME
══════════════════════════════════════ */
.fhv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
}
.fhv-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.fhv-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}
.fhv-desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
  margin: 0;
}
.fhv-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.fhv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fhv-desktop { display: block; }
.fhv-mobile  { display: none;  }

@media (max-width: 1024px) {
  .fhv-section {
    grid-template-columns: 1fr;
  }
  .fhv-text {
    padding: 48px 24px;
  }
  .fhv-media {
    min-height: 520px;
  }
  .fhv-desktop { display: none;  }
  .fhv-mobi
/* ══════════════════════════════════════
   VIDEO HOME — switch desktop/mobile
══════════════════════════════════════ */
.fm2-video-media {
  position: relative;
  min-height: 400px;
}
.fm2-video--desktop,
.fm2-video--mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm2-video--desktop { display: block; }
.fm2-video--mobile  { display: none;  }

@media (max-width: 1024px) {
  .fm2-video--desktop { display: none;  }
  .fm2-video--mobile  { display: block; }
}