.mc-home{ background:#fff; color:#111; }
.mc-wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }

.mc-hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:120px 24px 64px;
  position:relative;
  background:#fff;
}
.mc-hero__inner{ text-align:center; max-width:980px; width:100%; }
.mc-hero__logo{ width:min(760px, 84vw); height:auto; }

.mc-ticker{ margin:22px auto 0; overflow:hidden; border-top:1px solid #eee; border-bottom:1px solid #eee; }
.mc-ticker__track{
  display:flex;
  width:max-content;
  will-change:transform;
  padding:10px 0;
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.mc-ticker__content{ flex:0 0 auto; padding-right:40px; }
@media (prefers-reduced-motion: reduce){
  .mc-ticker__track{ transform:none !important; }
}

.mc-hero__microcopy{ margin:18px 0 0; opacity:.75; }
.mc-hero__cta{ margin-top:26px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

.mc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid #111;
  border-radius:3px;
  text-decoration:none;
  color:#111;
  font-size:14px;
  font-weight:600;
  background:transparent;
}
.mc-btn--ghost{ border-color:#ddd; }

.mc-scrollhint{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); text-decoration:none; color:#111; opacity:.55; }

.mc-section{ padding:88px 0; }
.mc-section--alt{ background:#fafafa; }
.mc-h2{ font-size:28px; letter-spacing:.02em; margin:0 0 18px; }

.mc-cards{ margin-top:22px; display:grid; gap:14px; grid-template-columns:repeat(3, minmax(0, 1fr)); }
.mc-card{ border:1px solid #eee; border-radius:18px; padding:18px; background:#fff; }
.mc-card h3{ margin:0 0 10px; font-size:18px; }
.mc-bridge{ margin-top:18px; opacity:.8; }

.mc-cols{ display:grid; gap:14px; grid-template-columns:repeat(3, minmax(0, 1fr)); }
.mc-cols--2{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.mc-col{ border:1px solid #eee; border-radius:18px; padding:18px; background:#fff; }
.mc-col h3{ margin-top:0; }
.mc-claim{ margin-top:16px; font-size:18px; display:block; width:fit-content; max-width:min(860px, 92%); margin-left:auto; margin-right:auto; text-align:center; }

.mc-headrow{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.mc-iconbtn{ border:1px solid #ddd; border-radius:999px; padding:8px 12px; background:#fff; cursor:pointer; }

.mc-slider{ overflow:hidden; }
.mc-slider__track{
  display:flex; gap:14px; overflow:auto;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  padding:6px 2px 14px;
}
.mc-slide{
  flex:0 0 min(540px, 90%);
  scroll-snap-align:start;
  border:1px solid #eee; border-radius:18px;
  overflow:hidden; text-decoration:none; color:#111; background:#fff;
}
.mc-slide img{ width:100%; height:320px; object-fit:cover; display:block; }
.mc-slide__meta{ padding:14px; }
.mc-slide__meta h3{ margin:0 0 10px; font-size:18px; }

.mc-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.mc-tags span{ border:1px solid #eee; border-radius:999px; padding:6px 10px; font-size:12px; opacity:.85; }

.mc-ctaRow{ margin-top:16px; display:flex; gap:10px; flex-wrap:wrap; }

.mc-form__grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; margin-top:14px; margin-bottom:12px; }
.mc-form__grid label span{ display:block; font-size:12px; opacity:.75; margin-bottom:6px; }
.mc-form__grid input, .mc-form__grid select, .mc-form__grid textarea{
  width:100%; border:1px solid #ddd; border-radius:12px;
  padding:10px 12px; font-size:14px; background:#fff;
}
.mc-form__full{ grid-column:1 / -1; }
.mc-check{ display:flex; gap:10px; align-items:flex-start; }
.mc-note{ margin-top:10px; opacity:.7; font-size:13px; }

.mc-map{ width:100%; height:260px; border:0; border-radius:18px; background:#eee; }

@media (max-width: 900px){
  .mc-cards{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .mc-cols{ grid-template-columns:1fr; }
  .mc-cols--2{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .mc-cards{ grid-template-columns:1fr; }
  .mc-form__grid{ grid-template-columns:1fr; }
}


/* Lists (cards & client targets) */
.mc-list{
  list-style:none;
  padding-left:0;
  margin:0;
  opacity:.85;
}
.mc-list li{
  position:relative;
  padding-left:14px;
  margin:0 0 7px;
  line-height:1.35;
}
.mc-list li:last-child{ margin-bottom:0; }
.mc-list li:before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  opacity:.65;
}

/* Highlighted statements */
.mc-highlight{
  display:inline-block;
  padding:10px 14px;
  border-radius:3px;
  margin-top:18px;
  line-height:1.35;
}
.mc-highlight--dark{
  background:#111;
  color:#fff;
}
.mc-highlight--center{
  display:block;
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
}

/* Section soft background */
.mc-section--soft{ background:#f2f2f2; }

/* Marquee projects */
.mc-marquee{ overflow:hidden; }
.mc-marquee__track{
  display:flex;
  gap:14px;
  width:max-content;
  will-change:transform;
}
.mc-marquee:hover{ cursor:grab; }

/* Link in headings */
.mc-link{
  text-decoration:none;
  border-bottom:1px solid rgba(17,17,17,.25);
  color:#111;
  font-weight:600;
  padding-bottom:2px;
}
.mc-link:hover{ border-bottom-color:#111; }

/* Contact actions row */
.mc-form__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.mc-form__actions .mc-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:0;
}


/* --- MC HOME V6 OVERRIDES --- */
:root{
  --mc-accent: #E6ECEE;           /* change to Pantone-of-the-year hex if desired */
  --mc-accent-ink: #111;
  --mc-accent-border: rgba(17,17,17,.08);
  --mc-text: #111;
  --mc-muted: rgba(17,17,17,.72);
  --mc-font: "Calibri","Carlito","Segoe UI","Helvetica Neue",Arial,sans-serif;
}

.mc-home, body{
  font-family: var(--mc-font) !important;
  font-weight: 300;
}

.mc-h2, .mc-h3, h1,h2,h3,h4,h5,h6{ font-family: var(--mc-font) !important; }

/* HERO centering + clean stacking */
.mc-hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  background:#fff;
  padding: 120px 24px 80px;
}
.mc-hero__inner{
  position:relative;
  z-index:3;
  width:100%;
  max-width:980px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.mc-hero__logo{
  width: min(446px, 52vw); /* +20% vs ~372px */
  height:auto;
  max-width:100%;
}

/* Two wave bands */
.mc-hero__bg{
  position:absolute;
  left:0; right:0;
  pointer-events:none;
  z-index:1;
}
.mc-hero__bg--top{ top:0; height:22vh; }
.mc-hero__bg--bottom{ bottom:0; height:52vh; }

.mc-hero__canvas{
  width:100%;
  height:100%;
  display:block;
}

/* Fade sides + fade towards center to keep logo area clean */
/* Fade to white on the sides (DX/SX) */
.mc-hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0) 12%,
      rgba(255,255,255,0) 88%,
      rgba(255,255,255,1) 100%
    );
}
/* Top band: fade DOWN towards the logo area (center clean) */
/* Top band: waves visible at the very top, then fade DOWN into white towards the logo area */
.mc-hero__bg--top::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    /* center “logo window” (stronger near bottom edge of the top band) */
    radial-gradient(ellipse at 50% 100%,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.96) 22%,
      rgba(255,255,255,0.0) 68%
    ),
    /* overall vertical fade (NO hard seam at bottom edge) */
    linear-gradient(to bottom,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.25) 35%,
      rgba(255,255,255,0.70) 65%,
      rgba(255,255,255,1) 100%
    );
}
/* Bottom band: fade UP towards the logo area (center clean) */
/* Bottom band: waves visible at the very bottom, then fade UP into white towards the logo area */
.mc-hero__bg--bottom::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    /* center “logo window” (stronger near top edge of the bottom band) */
    radial-gradient(ellipse at 50% 0%,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.96) 22%,
      rgba(255,255,255,0.0) 68%
    ),
    /* overall vertical fade (NO hard seam at top edge) */
    linear-gradient(to top,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.25) 35%,
      rgba(255,255,255,0.70) 65%,
      rgba(255,255,255,1) 100%
    );
}

/* Ticker: seamless + fades on edges */
.mc-ticker{
  margin: 22px auto 0;
  overflow:hidden;
  position:relative;
  width:100%;
  max-width: 980px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.mc-ticker::before,
.mc-ticker::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:72px;
  z-index:2;
  pointer-events:none;
}
.mc-ticker::before{
  left:0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.mc-ticker::after{
  right:0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}
.mc-ticker__track{
  display:flex;
  width:max-content;
  will-change:transform;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  animation: mcTicker 18s linear infinite;
}
.mc-ticker__group{ display:flex; }
.mc-ticker__item{
  flex:0 0 auto;
  white-space:nowrap;
}
.mc-ticker__item::after{
  content:"—";
  margin: 0 18px;
  opacity:.55;
}
@keyframes mcTicker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .mc-ticker__track{ animation:none; transform:none !important; }
}

/* Highlight: subtle accent, not too strong */
.mc-highlight{ border-radius: 6px; padding: 10px 14px; }
.mc-highlight--accent{
  background: var(--mc-accent);
  color: var(--mc-accent-ink);
  border: 1px solid var(--mc-accent-border);
}
.mc-hero__micro{ margin-top: 18px; font-weight: 300; }

/* Buttons: accent, no border */
.mc-hero__cta{
  margin-top: 26px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}
.mc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration:none;
  font-size: 14px;
  letter-spacing: .02em;
  font-weight: 400; /* "bold" = regular per Calibri */
  border: none;
}
.mc-btn--accent{
  background: var(--mc-accent);
  color: var(--mc-accent-ink);
}
.mc-btn--accent:hover{ filter: brightness(.98); }

/* Scroll hint on top */
.mc-scrollhint{ position:absolute; bottom:18px; z-index:4; opacity:.55; text-decoration:none; color:#111; }

/* SERVICES over waves */
.mc-section--services{
  position:relative;
  padding: 84px 0;
  background: transparent;
  overflow:hidden;
}
.mc-section__bg--waves{
  position:absolute;
  inset: 0;
  z-index:0;
  pointer-events:none;
}
.mc-waves{ width:100%; height:100%; display:block; }
.mc-section__content{ position:relative; z-index:1; }

/* Heading caps smaller and centered */
.mc-h2--caps{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 16px;
  text-align:center;
  margin: 0 0 28px;
  font-weight: 400;
  opacity:.85;
}

/* Cards: accent background, no section grey */
.mc-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 980px){
  .mc-cards{ grid-template-columns: 1fr; }
}
.mc-card{
  background: rgba(230,236,238, .72);
  border: 1px solid var(--mc-accent-border);
  border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: none;
}
.mc-card h3{
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 500;
}
.mc-list li{ color: var(--mc-muted); }

/* Ribbon between rows */
.mc-cards--split .mc-services__ribbon{
  grid-column: 1 / -1;
  margin: 6px 0 6px;
}


/* --- MC SERVICES ↔ HERO SEAM FIX --- *//* Smooth transition between HERO bottom band and Services waves (remove hard seam) */
.mc-section--services{
  /* Slight overlap with hero so waves feel continuous */
  margin-top: -70px;
  padding-top: 154px; /* compensate overlap to keep content spacing */
}

/* Hide the top edge of the services waves canvas with a white fade */
.mc-section__bg--waves{
  overflow: hidden;
}

.mc-section__bg--waves::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 160px;
  pointer-events:none;
  z-index: 1;
  background:
    /* clean center under logo area */
    radial-gradient(ellipse at 50% 0%,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.90) 30%,
      rgba(255,255,255,0.0) 70%
    ),
    /* overall fade down to reveal the waves gradually */
    linear-gradient(to bottom,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.92) 28%,
      rgba(255,255,255,0.55) 55%,
      rgba(255,255,255,0.0) 100%
    );
}

/* Make sure content stays above the fade overlay */
.mc-section__content{
  position: relative;
  z-index: 2;
}


/* --- MC HERO WHITESPACE TUNING --- *//* Reduce excessive white space above the main logo */
.mc-hero{
  padding-top: 120px; /* was 120px */
}

/* Make the top wave band a bit shorter */
.mc-hero__bg--top{
  height: 16vh; /* was 22vh */
}

/* Lift the hero content slightly (responsive clamp) */
.mc-hero__inner{
  transform: translateY(clamp(-48px, -5vh, -18px));
}


/* --- MC SERVICES TITLE BAND --- *//* Full-width white fade band behind "COSA FACCIAMO" to hide wave interference */
.mc-h2--caps{
  position: relative;
  display: inline-block;
  padding: 10px 24px;
  margin: 0 auto 28px;
  z-index: 3;
}

/* Create a full-bleed band centered on the H2, with white fade top/bottom and sides */

/* --- MC HOME V7 --- *//* 1) HERO waves: top band extended down like bottom */
.mc-hero__bg--top{ height: 52vh; }
.mc-hero__bg--bottom{ height: 52vh; } /* keep symmetry */

/* 2) HERO content back to centered */
.mc-hero{ padding-top: 120px; }
.mc-hero__inner{ transform: none !important; }

/* 3) Rotating claims (white, no borders, caps, bold) */
.mc-claim{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: min(860px, 92vw);
  margin: 18px auto 0;
  padding: 8px 14px;

  background: #fff;
  border: none;
  border-radius: 0;

  font-family: var(--mc-font);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  color: #111;

  opacity: 0;
  transition: opacity 520ms ease;
  will-change: opacity;
}
.mc-claim.is-visible{ opacity: 1; }

/* keep hero claim tight to ticker */
.mc-claim--hero{ margin-top: 14px; }

/* 4) Halo (white fade around text) for mid-ribbon claim */
.mc-claim--halo{
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 10px 14px;
}
.mc-claim--halo::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% + 120px));
  height: 72px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.92) 42%,
      rgba(255,255,255,0.0) 80%
    );
}

/* 5) Title bands (COSA FACCIAMO / A CHI CI RIVOLGIAMO) taller + centered */
.mc-h2--caps{
  position: relative;
  width: fit-content;
  margin: 0 auto 28px;
}
.mc-h2--caps::before{
  height: 170px; /* higher band */
}

/* Ensure section remains above waves */
.mc-section__content{ position: relative; z-index: 2; }

/* Optional: keep the mid ribbon precisely between card rows */
.mc-services__ribbon{ margin: 10px 0 18px; }


/* --- MC HOME V7.2 BAND + CLAIM FIX --- */
/* Make title bands truly full-width (no cut), centered, and above any waves */
.mc-h2--caps{
  position: relative !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin: 0 auto 34px;
  padding: 30px 0;   /* gives room for the fade band */
  z-index: 3;
}

/* Full-bleed fade band behind the title (overshoot to avoid viewport/scrollbar edge artifacts) */
.mc-h2--caps::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: 120vw;     /* >100vw to guarantee full cover */
  height: 190px;    /* taller band */
  z-index: -1;
  pointer-events:none;
  background:
    /* side fades */
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.0) 10%,
      rgba(255,255,255,0.0) 90%,
      rgba(255,255,255,1) 100%
    ),
    /* vertical soften */
    linear-gradient(to bottom,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.76) 26%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.76) 74%,
      rgba(255,255,255,0.0) 100%
    );
}

/* Claims: bigger + clearer, always centered */
.mc-claim{
  font-size: 14px !important;
  letter-spacing: .12em !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mid ribbon claim: centered and with its own full-bleed halo band that does NOT sit over the cards */
.mc-services__ribbon{
  position: relative;
  display: flex !important;
  justify-content: center;
  width: 100%;
  margin: 26px auto 26px !important;
  padding: 18px 0; /* spacing so halo stays around the text */
  z-index: 3;
}

.mc-claim--halo{
  position: relative;
  z-index: 1;
  background: transparent !important;
}

/* Full-width halo band (fade to white) around the mid claim */
.mc-claim--halo::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 140px; /* smaller than before so it doesn't invade the cards */
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.0) 12%,
      rgba(255,255,255,0.0) 88%,
      rgba(255,255,255,1) 100%
    ),
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.90) 42%,
      rgba(255,255,255,0.0) 82%
    );
}

/* Ensure cards remain visually clean above background (prevent halo "washing" them) */
.mc-cards{
  position: relative;
  z-index: 2;
}

/* --- MC HERO CTA BOTTOM --- */
/* Put CTAs truly at the bottom of the HERO, just above the scroll hint */
.mc-hero{ position: relative; }

.mc-hero__cta{
  position: absolute !important;
  left: 50% !important;
  bottom: 56px !important;          /* above arrow */
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 8 !important;
  display: flex !important;
  gap: 10px;
  width: auto;
}

.mc-scrollhint{
  position: absolute !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  z-index: 8 !important;
}


.mc-ctaRow--center{
  display:flex;
  justify-content:center;
  margin-top: 20px;
}


/* Project slides: title overlay on image */
.mc-slide{ position: relative; }
.mc-slide__overlay{
  position:absolute;
  left:50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  display:flex;
  justify-content:center;
  pointer-events:none;
}
.mc-slide__overlay span{
  display:inline-flex;
  justify-content:center;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  color:#111;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  text-align:center;
}
.mc-slide__meta, .mc-tags{ display:none !important; }


/* --- MC TITLEBAND SYSTEM --- */
/* Typography for section titles */
.mc-h2--caps{
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0;
  text-align:center;
}

/* Full-bleed fade band wrapper for titles (and headrows) */
.mc-titleband{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 34px 0;
  margin: 0 auto 28px;
  z-index: 3;
  text-align: center;
}
.mc-titleband::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 200px;
  z-index: -1;
  pointer-events:none;
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.0) 10%,
      rgba(255,255,255,0.0) 90%,
      rgba(255,255,255,1) 100%
    ),
    linear-gradient(to bottom,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.76) 28%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.76) 72%,
      rgba(255,255,255,0.0) 100%
    );
}

.mc-titleband--headrow{ padding: 28px 0; }
.mc-titleband--headrow .mc-headrow{ width: 100%; position: relative; z-index: 2; }


/* --- MC CONTACT + LOCATION STYLES --- */
.mc-form{
  border: 1px solid var(--mc-accent-border);
  background: rgba(255,255,255,0.65);
  border-radius: 12px;
  padding: 18px;
}
.mc-form__grid input, .mc-form__grid select, .mc-form__grid textarea{
  border-radius: 10px !important;
  border: 1px solid var(--mc-accent-border) !important;
  background: rgba(255,255,255,0.86) !important;
}
.mc-form__actions{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.mc-map{
  border-radius: 12px !important;
  border: 1px solid var(--mc-accent-border);
}


/* --- MC HOME V7.4 COLOR + SIZING + FOOTER --- */
/* Titoletti (section headings) in blu petrolio */
.mc-h2, .mc-h2--caps{
  color: #4F84C4 !important;
}

/* Make caps headings more present */
.mc-h2--caps{
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: .20em !important;
  opacity: 1 !important;
}

/* Pulsing / rotating claims: larger + clearer */
.mc-claim{
  font-size: 16px !important;
  letter-spacing: .14em !important;
}

/* Featured: "Vedi tutti" more visible and never split */
#featured .mc-headrow .mc-link{
  white-space: nowrap;
  color: #4F84C4;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .10em;
  opacity: 1;
}

#featured .mc-headrow{
  align-items: center;
}

/* If it needs to go on its own line on small screens, keep it centered and visible */
@media (max-width: 900px){
  #featured .mc-headrow{
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

/* Footer: 3 columns across the width + centered copyright */
.mc-footer{
  padding-top: 60px;
  padding-bottom: 28px;
}
.mc-footer__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px){
  .mc-footer__grid{
    grid-template-columns: 1fr;
  }
}

.mc-footer h5{
  color: #4F84C4;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.mc-footer .mc-footer__copy{
  margin-top: 34px;
  text-align: center;
}


/* --- MC ACCENT V7b (4F84C4) FINAL OVERRIDES --- */
/* Title pill: colore pieno al centro e sfumato ai bordi */
.mc-h2--caps{
  background: radial-gradient(ellipse at center,
    rgba(79,132,196,1.00) 0%,
    rgba(79,132,196,1.00) 55%,
    rgba(79,132,196,0.00) 100%
  ) !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Disattiva la banda bianca dietro i titoli (lavava il pill) */
.mc-h2--caps::before{ content: none !important; }

/* Claims intermittenti: solo colore carattere in #4F84C4 */
.mc-claim{
  color: #4F84C4 !important;
}

/* Overlay titoli progetti: box trasparente 60% */
.mc-slide__overlay span{
  background: rgba(255,255,255,0.60) !important;
  border: 0 !important;
}


/* --- MC VISUAL FIX V8 (ACCENT CENTER FADE) --- */
:root{
  --mc-accent: #4F84C4;
}

/* Titoletti: colore pieno al centro e sfumato ai bordi (NON invertito) */
.mc-h2--caps{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  padding: 12px 26px !important;
  border-radius: 999px !important;

  /* center solid, edges fade out */
  background: linear-gradient(90deg,
    rgba(79,132,196,0.00) 0%,
    rgba(79,132,196,0.98) 34%,
    rgba(79,132,196,0.98) 66%,
    rgba(79,132,196,0.00) 100%
  ) !important;

  border: 1px solid rgba(79,132,196,0.22) !important;
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.16);
}

/* Disattiva eventuali bande bianche dietro ai titoli */
.mc-h2--caps::before{ content: none !important; }

/* Claim intermittenti: solo colore carattere */
.mc-claim{
  color: var(--mc-accent) !important;
}

/* Overlay titoli progetti: “trasparenza 60%” = 40% opacità (box scuro premium) */
.mc-slide__overlay span{
  background: rgba(0,0,0,0.40) !important;
  color: #fff !important;
  border: 0 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.20);
}


/* --- MC VISUAL V9 (INTEGRATION BUTTONS/TITLES/CARDS) --- */
:root{
  --mc-accent: #4F84C4;
  --mc-accent-rgb: 79,132,196;
}

/* ---------- TITOLI (COSA FACCIAMO, A CHI CI RIVOLGIAMO, ecc.) ----------
   Rettangolo arrotondato + testo maiuscolo bianco.
   Sfondo accent molto leggero (non “pieno”), con sfumatura ai bordi. */
.mc-h2--caps{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: min(980px, calc(100% - 28px)) !important;
  margin: 0 auto 30px !important;

  padding: 14px 22px !important;
  border-radius: 14px !important;

  background: linear-gradient(90deg,
    rgba(var(--mc-accent-rgb), 0.00) 0%,
    rgba(var(--mc-accent-rgb), 0.22) 18%,
    rgba(var(--mc-accent-rgb), 0.22) 82%,
    rgba(var(--mc-accent-rgb), 0.00) 100%
  ) !important;

  border: 1px solid rgba(var(--mc-accent-rgb), 0.22) !important;

  color: #fff !important;
  opacity: 1 !important;

  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;

  text-shadow: 0 1px 2px rgba(0,0,0,.14);
}

/* Elimina eventuali “bande” bianche dietro al titolo che sporcano la resa */
.mc-h2--caps::before{ content:none !important; }

/* ---------- PULSANTI ----------
   Rettangolo arrotondato come le cards.
   Bordo accent + testo accent, interno bianco. */
.mc-btn,
.mc-btn--accent{
  border-radius: 12px !important;
  border: 1px solid rgba(var(--mc-accent-rgb), 0.85) !important;
  background: rgba(255,255,255, 0.92) !important;
  color: var(--mc-accent) !important;

  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .12em !important;
  font-size: 12px !important;

  padding: 12px 18px !important;
}

.mc-btn:hover,
.mc-btn--accent:hover{
  background: rgba(var(--mc-accent-rgb), 0.08) !important;
}

.mc-btn:focus-visible,
.mc-btn--accent:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--mc-accent-rgb), 0.22);
}

/* ---------- CARDS ----------
   Manteniamo la base chiara, ma integriamo leggermente con l’accent. */
.mc-card, .mc-col{
  border: 1px solid rgba(var(--mc-accent-rgb), 0.18) !important;
  background: rgba(255,255,255, 0.85) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mc-card h3, .mc-col h3{
  font-weight: 700 !important;
}

/* Claim intermittenti: solo colore testo (accent) */
.mc-claim{ color: var(--mc-accent) !important; }

/* CTA link (se presenti) in accent */
.mc-section__cta .mc-link{ color: var(--mc-accent) !important; }


/* --- MC V10 TITLES TWEAK (NO BORDER + BIGGER TYPE) --- */
/* Titoli: niente bordo + carattere leggermente più grande */
.mc-h2--caps{
  border: none !important;
  font-size: 19px !important;
}


/* --- MC V11 WAVES MOVE (SERVICES -> CONTACT) --- */
/* Generic section with waves background */
.mc-section--waves{
  position: relative;
  overflow: hidden;
  background: transparent;
}
#contact.mc-section--waves{
  padding-top: 88px;
  padding-bottom: 88px;
}


/* --- MC V13 SECTION BACKGROUNDS (SERVICES/CLIENTS SOFT GRAY, CONTACT/LOCATION WAVES) --- */
:root{
  --mc-waves-main-rgb: 120,145,162;
  /* soft gray tuned to match wave hue (very light) */
  --mc-softbg: rgb(242, 246, 249);
}

/* Soft gray background for Services + Clients */
.mc-section--softbg{
  background: var(--mc-softbg);
  background-color: var(--mc-softbg);
}


/* Ensure waves sections have no extra bg that competes with the canvas */
.mc-section--waves{
  background: transparent;
}


/* --- MC V14 INTEGRATION (CLIENTS INSIDE SERVICES + FOOTER ALIGN) --- */
/* Ensure soft background hides anything behind (no bleed of waves) */
.mc-section--softbg{
  position: relative;
}

/* Spacing for embedded clients block */
.mc-clients{
  margin-top: 44px;
}
.mc-clients .mc-h2{
  margin-top: 0;
}

/* Make embedded clients claim match the mid-ribbon look and center it */
.mc-clients__claim{
  text-align: center;
  margin-top: 18px;
}

/* Footer alignment per request */
.mc-footer__col--links,
.mc-footer__col--links p{
  text-align: center !important;
}
.mc-footer__col--legal,
.mc-footer__col--legal p{
  text-align: right !important;
}

/* Footer claim above copyright */
.mc-footer__claim{
  margin-top: 22px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #4F84C4;
}

/* --- MC V14 HERO CLIP --- */
.mc-hero{ overflow:hidden; }

/* --- MC V14 SOFTBG OVERRIDE FOR SERVICES --- */
.mc-section--services.mc-section--softbg{ background: var(--mc-softbg) !important; background-color: var(--mc-softbg) !important; }


/* === v15: Global waves background + macro surfaces === */
.mc-pageWaves{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}
.mc-pageWaves canvas{
  width: 100%;
  height: 100%;
  display:block;
}

/* Ensure content is above the fixed background */
.mc-hero, .mc-section, .mc-footer{
  position: relative;
  z-index: 1;
}

/* Macro surface cards (section background as a centered "macro card") */
.mc-surface{
  border-radius: 22px;
  padding: 56px 46px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
  backdrop-filter: blur(4px);
}
.mc-surface--soft{
  background: #f3f7fa;
}
.mc-surface--white{
  background: rgba(255,255,255,.98);
}

/* Title pills: black only around text */
.mc-h2--caps{
  margin: 0 0 28px;
  text-align: center;
}
.mc-h2--caps > span{
  display: inline-block;
  background: #000;
  color:#fff;
  padding: 7px 14px;
  border-radius: 8px;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: 15px;
}

/* Smaller pill for "Dove trovarci" inside contact split */
.mc-h3--caps{
  margin: 0 0 18px;
  text-align: left;
}
.mc-h3--caps > span{
  display: inline-block;
  background:#000;
  color:#fff;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: 13px;
}

/* Push the embedded "A CHI CI RIVOLGIAMO" a bit down from services grid */
.mc-subtitlePush{ margin-top: 90px; }

/* Contact split */
.mc-contactSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 992px){
  .mc-surface{ padding: 42px 22px; }
  .mc-contactSplit{ grid-template-columns: 1fr; }
  .mc-h3--caps{ text-align:center; }
}

/* Right column cards */
.mc-card--plain{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(79,132,196,.20);
  box-shadow: 0 12px 26px rgba(0,0,0,.05);
}
.mc-where__stack{
  display:flex;
  flex-direction: column;
  gap: 16px;
}
.mc-map{
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 16px;
  display:block;
}
@media (max-width: 992px){
  .mc-map{ height: 280px; }
}

/* Claims: keep readable on soft surfaces */
.mc-claim{
  font-size: 15px;
  letter-spacing: .18em;
  font-weight: 600;
}

/* Modal */
.mc-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.mc-modal.is-open{ display:block; }
.mc-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.mc-modal__dialog{
  position: relative;
  width: min(920px, calc(100vw - 36px));
  max-height: calc(100vh - 70px);
  margin: 35px auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.mc-modal__title{
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-weight: 700;
}
.mc-modal__body{
  padding: 18px 22px 22px;
  overflow: auto;
  max-height: calc(100vh - 140px);
}
.mc-modal__close{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border:0;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  font-size: 22px;
  line-height: 38px;
}
.mc-modal__close:hover{ background: rgba(0,0,0,.10); }


/* v15 override: disable old title band backgrounds */
.mc-titleband{ background: none !important; box-shadow:none !important; }

html.mc-modalOpen, body.mc-modalOpen{ overflow:hidden; }



/* v16: keep halo away from following CTA */
.mc-claim--halo{ margin-bottom: 18px; }

/* v16: contact split - align bottoms */
.mc-contactSplit{ align-items: stretch; }
.mc-contactSplit > div{ display:flex; flex-direction:column; }
.mc-form{ flex:1; }

/* v16: where block layout */
.mc-where{ flex:1; display:flex; flex-direction:column; }
.mc-where__stack{ flex:1; display:flex; flex-direction:column; gap:18px; }
.mc-mapCard{ flex:1; }
.mc-map{ height:100%; min-height:260px; }

.mc-where__row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items:start;
}
.mc-where__links{
  text-align:right;
  white-space:nowrap;
}
.mc-where__links a{ display:block; }

/* v16: privacy label - avoid awkward wrapping on desktop */
@media (min-width: 901px){
  .mc-check span{ white-space:nowrap; }
}

/* v16b: keep hero halo away from next elements */
.mc-claim--hero{ margin-bottom: 18px; }

/* v17: claim halos fit to text width (not full block) */
.mc-claim--halo,
.mc-claim--hero{
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  z-index: 0;
}

.mc-claim--halo::before,
.mc-claim--hero::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100% + 220px));
  height: 90px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.92) 42%,
      rgba(255,255,255,0.0) 80%
    );
}

.mc-claim--hero::before{ height: 110px; }

/* v17: keep CTAs above any halos */
.mc-ctaRow{ position:relative; z-index:2; }

/* v17: more breathing room before the 'A CHI CI RIVOLGIAMO' heading */
.mc-subtitlePush{ margin-top: 90px; }

.mc-claim--halo, .mc-claim--hero{ margin-bottom: 20px; }

/* =========================
   HOTFIX TITOLI + CLAIM (v19)
   ========================= */

/* 1) Niente bande/gradient “full width” sotto ai titoli */
.mc-h2--caps::before,
.mc-h2--caps::after,
.mc-titleband::before,
.mc-titleband::after{
  content: "" !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Titolo = SOLO pill nera attorno al testo */
.mc-h2--caps{
  padding: 0 !important;
  margin: 0 0 28px !important;
  text-align: center !important;
  position: relative !important;
}
.mc-h2--caps > span{
  display: inline-block !important;
  background: #4F84C4 !important;/* sfondo #000 = nero;  */
  color: #fff !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  letter-spacing: .22em !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
/* più respiro prima del titolo della sotto-sezione */
.mc-h2--sectionGap{
  margin-top: 42px !important;
}
/* CLAIM: centrati (anche se il container non è text-align:center) */
.mc-claim{
  display: block !important;
  width: fit-content !important;
  max-width: min(92%, 980px) !important;
  margin: 26px auto !important;
  text-align: center !important;
}

/* Halo SOLO attorno al testo (non a tutta pagina) */
.mc-claim--halo,
.mc-claim--hero{
  padding: 16px 38px !important;
  border-radius: 999px !important;
  background: radial-gradient(closest-side,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.88) 55%,
    rgba(255,255,255,0) 100%) !important;
}

/* CTA sopra gli halo (evita sovrapposizioni) */
.mc-ctaRow,
.mc-btn{
  position: relative !important;
  z-index: 5 !important;
}
/* ==========================================================
   PATCH v18 — TITOLI senza bande + CLAIM centrati + HALO stretto
   Incolla in fondo a assets/css/home.css
   ========================================================== */

/* 1) ELIMINA QUALSIASI "BANDA" / GRADIENT dietro i titoletti */
.mc-titleband,
.mc-titleband::before,
.mc-titleband::after,
.mc-titleband--headrow,
.mc-titleband--headrow::before,
.mc-titleband--headrow::after,
.mc-h2--caps,
.mc-h2--caps::before,
.mc-h2--caps::after{
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

/* Titoletti: solo pill nero attorno al testo, centrato */
h2.mc-h2--caps{
  display: table !important;     /* “shrink to text” ma centrabile */
  margin: 0 auto 34px !important;
  padding: 0 !important;
  text-align: center !important;
}
h2.mc-h2--caps > span{
  display: inline-block !important;
  background: #000 !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  letter-spacing: .22em !important;
  font-weight: 700 !important;
  font-size: 14px !important;   /* se vuoi, alzalo a 15/16 */
  text-transform: uppercase !important;
}

/* Se per qualche motivo NON c'è <span> dentro l'H2, rendi l'H2 stesso pill */
h2.mc-h2--caps:not(:has(span)){
  background: #000 !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  letter-spacing: .22em !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
}

/* 2) SPAZIATURA: stacca “A CHI CI RIVOLGIAMO” dalle cards sopra */
#clients{
  padding-top: 22px !important;
}
#clients h2.mc-h2--caps{
  margin-top: 18px !important;
}

/* 3) CLAIM: centrati + halo SOLO attorno al testo (niente fascia larga) */
.mc-claim,
.mc-claim--hero,
.mc-claim--halo{
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

/* Spegni eventuali "aloni a fascia" fatti con pseudo-elementi */
.mc-claim::before,
.mc-claim::after,
.mc-claim--hero::before,
.mc-claim--hero::after,
.mc-claim--halo::before,
.mc-claim--halo::after{
  content: none !important;
  display: none !important;
}

/* Halo “tight”: usiamo text-shadow (segue la lunghezza del testo) */
.mc-claim{
  padding: 0 !important;
  text-shadow:
    0 0 14px rgba(255,255,255,.95),
    0 0 28px rgba(255,255,255,.80);
  z-index: 2 !important;
}

/* CTA sempre sopra eventuali effetti */
.mc-ctaRow{
  position: relative !important;
  z-index: 3 !important;
}
/* ==========================================================
   TITOLI + CLAIM — CLEAN FINAL (INCOLLARE IN FONDO AL CSS)
   ========================================================== */

:root{
  --mc-accent: #4F84C4;
  --mc-accent-rgb: 79,132,196;
}

/* 1) Spegni qualunque "banda" / gradient ereditato dai titleband */
.mc-titleband,
.mc-titleband::before,
.mc-titleband::after,
.mc-titleband--headrow,
.mc-titleband--headrow::before,
.mc-titleband--headrow::after{
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
.mc-titleband::before,
.mc-titleband::after,
.mc-titleband--headrow::before,
.mc-titleband--headrow::after{
  content: none !important;
  display: none !important;
}

/* 2) Titoletti: SOLO pill accent attorno al testo (niente bande blu) */
h2.mc-h2--caps,
.mc-h2--caps{
  background: none !important;
  padding: 0 !important;
  margin: 0 auto 34px !important;

  width: fit-content !important;
  max-width: 100% !important;

  text-align: center !important;
  position: relative !important;
}

/* anche se esistono pseudo-elementi vecchi: OFF */
h2.mc-h2--caps::before,
h2.mc-h2--caps::after,
.mc-h2--caps::before,
.mc-h2--caps::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* pill vero */
h2.mc-h2--caps > span,
.mc-h2--caps > span{
  display: inline-block !important;
  background: var(--mc-accent) !important;
  color: #fff !important;

  padding: 10px 18px !important;
  border-radius: 10px !important;

  text-transform: uppercase !important;
  letter-spacing: .22em !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* 3) Spazio extra prima di "A CHI CI RIVOLGIAMO" */
#clients{
  padding-top: 56px !important;
}
#clients h2.mc-h2--caps,
#clients .mc-h2--caps{
  margin-top: 0 !important;
}

/* 4) Claim: sempre centrato */
.mc-claim{
  display: block !important;
  width: fit-content !important;
  max-width: min(860px, 92%) !important;

  margin: 28px auto 0 !important;
  text-align: center !important;

  color: var(--mc-accent) !important;
}

/* 5) Halo SOLO attorno al testo (no fasce larghe) */
.mc-claim--halo,
.mc-claim--hero{
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;

  text-shadow:
    0 0 14px rgba(255,255,255,.95),
    0 0 28px rgba(255,255,255,.80);
}

/* Spegni eventuali pseudo-elementi halo vecchi */
.mc-claim::before,
.mc-claim::after,
.mc-claim--halo::before,
.mc-claim--halo::after,
.mc-claim--hero::before,
.mc-claim--hero::after{
  content: none !important;
  display: none !important;
}

/* 6) CTA sempre sopra eventuali effetti */
.mc-ctaRow,
.mc-btn{
  position: relative !important;
  z-index: 5 !important;
}

@media (max-width: 900px){
  .mc-hero__bg--bottom{ display:none !important; }
}
@media (max-width: 900px){
  .mc-hero__bg--top{ display:none !important; }
}