/* ============================================
   3.2 Comunicazione – visual system
   ============================================ */

:root {
  --mcfit-white: #ffffff;
  --mcfit-yellow: #ffcc00;
  --mcfit-yellow-hero: #ffcc00;
  --mcfit-yellow-hover: #ffcc00;
  --mcfit-black: #000000;
  --mcfit-gray: #333333;
  --mcfit-gray-light: #666666;
  --mcfit-cta-bg: #262F39;
  --border: #e0e0e0;
  --graphite: #333333;
  --shadow-active: 0 12px 24px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: var(--mcfit-white);
  color: var(--mcfit-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main > section + section {
  margin-top: 0;
}

/* ============================================
   Title text reveal – word by word, bottom to position
   ============================================ */
.height-m{
  height:220px !important;
}

.title-reveal {
  overflow: hidden;
}

.title-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: none;
}

.title-reveal.is-visible .word {
  animation: word-reveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.title-reveal .word::after {
  content: " ";
  white-space: pre;
}

/* Hero: line-by-line reveal (preserves asterisk span) */
.hero-title-reveal {
  overflow: hidden;
}

.hero-title-reveal .hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}

.hero-title-reveal.is-visible .hero-title-line {
  animation: word-reveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title-reveal.is-visible .hero-title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-reveal.is-visible .hero-title-line:nth-child(2) { animation-delay: 0.5s; }

@keyframes word-reveal {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Header – fixed top bar + navbar
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--mcfit-white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-radius: 0;
}

.btn:focus-visible {
  outline: 2px solid var(--mcfit-yellow);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mcfit-gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  color: var(--mcfit-black);
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 0 15px;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mcfit-gray);
  transition: color 0.2s ease;
  line-height: 72px;
}

.nav-list a:hover {
  color: var(--mcfit-black);
}

.nav-list a.active {
  color: var(--mcfit-black);
  font-weight: 800;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  padding-top: 72px;
  background-color: #ff66ba;
}

.hero-inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 132px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 20;
  flex: 1 1 auto;
  max-width: 45%;
  min-width: 0;
  padding: 40px 0 60px;

}

.hero-image-wrap {
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  width: 55%;
  max-width: 680px;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image-wrap .hero-image {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

.hero-date {
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 32px;
}

.hero-title-line {
  display: block;
}

.hero-asterisk {
  font-size: 0.85em;
  vertical-align: top;
}

/* Hero: tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  }
  .hero-date {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  }
}

/* Hero: mobile */
@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }
  .hero-date {
    font-size: clamp(0.8125rem, 2.5vw, 1rem);
  }
}

/* ============================================
   Shoutout + USP numbers
   ============================================ */

.shoutout-section {
  background-color: var(--mcfit-white);
  position: relative;
}

@media (min-width: 992px) {
  .shoutout-section .shoutout-row {
    min-height: 25rem;
    align-items: center;
  }
  .shoutout-section .shoutout-teaser {
    position: relative;
    z-index: 2;
  }
  .shoutout-section .partners-col {
    position: relative;
    z-index: 1;
  }
}

.shoutout-teaser {
  width: 100%;
  max-width: 28rem;
  min-width: min(100%, 450px);
  background: var(--mcfit-white);
  color: var(--graphite);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
}

.shoutout-badge {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mcfit-gray-light);
  margin: 0 0 0.5rem;
}

.shoutout-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--graphite);
  margin: 0 0 1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.shoutout-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--graphite);
  margin: 0 0 1rem;
}

.shoutout-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--graphite);
  margin: 0 0 1rem;
}

.shoutout-cta {
  width: 100%;
  margin-top: 1rem;
}

/* Partners marquee: 3 rows, slow scroll, fade right, goes under left card */
.partners-col {
  display: flex;
  align-items: center;
  min-height: 1¶;
}

.partners-marquee-wrap {
  width: 100%;
  overflow: hidden;
  margin-left: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

@media (min-width: 992px) {
  .partners-marquee-wrap {
    margin-left: -20%;
    width: 120%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 88%, transparent 100%);
  }
}

.partners-row {
  overflow: hidden;
  padding: 0.5rem 0;
}

.partners-row + .partners-row {
  border-top: 1px solid var(--border);
}

.partners-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: partners-scroll 50s linear infinite;
  will-change: transform;
}

/* First row: slightly faster (right to left) */
.partners-row:nth-child(1) .partners-track {
  animation-duration: 42s;
}

/* Middle row: standard speed, reverse */
.partners-row:nth-child(2) .partners-track {
  animation-direction: reverse;
  animation-duration: 50s;
}

/* Last row: slightly faster (right to left) */
.partners-row:nth-child(3) .partners-track {
  animation-duration: 45s;
}

/* 3 copies of logos = seamless infinite loop at -33.333% */
@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.partners-track-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2rem;
  flex-shrink: 0;
}

.partners-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: ¶;
  max-width: 10rem;
}

.partners-logo img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.partners-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .partners-logo {
    height: 5rem;
    max-width: 12rem;
  }
  .partners-track-inner {
    gap: 3.5rem;
  }
}

@media (min-width: 992px) {
  .partners-logo {
    height: 5.5rem;
    max-width: 1¶;
  }
}

/* ============================================
   Ambassador
   ============================================ */

.ambassador-section .ambassador-container {
  max-width: 120rem;
  padding-left: 13rem;
  padding-right: 13rem;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (max-width: 1200px) {
  .ambassador-section .ambassador-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  .ambassador-section .ambassador-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 992px) {
  .ambassador-section .ambassador-row {
    --bs-gutter-x: 6rem;
    min-height: 28rem;
  }
}

.ambassador-badge {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mcfit-black);
  margin: 0 0 2rem;
}

.ambassador-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--mcfit-black);
  margin: 0 0 1rem;
}

.ambassador-tagline {
  font-size: 1.1rem;
  color: var(--mcfit-black);
  margin: 0 0 0.75rem;
}

.ambassador-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mcfit-gray);
  margin: 0 0 1rem;
}

/* Aperol intro block: full-width on mobile, 50% centered on desktop */
.ambassador-section .ambassador-intro {
  width: 100%;
}

@media (min-width: 992px) {
  .ambassador-section .ambassador-intro {
    width: 50%;
  }
}

.ambassador-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.ambassador-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Valori – smooth carousel right to left
   ============================================ */

.valori-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;

  background-color: whitesmoke;
}

.valori-carousel-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.valori-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  gap: 1.25rem;
  animation: valori-scroll 45s linear infinite;
  will-change: transform;
}

.valori-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: clamp(1rem, 4.8vw, 11.375rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

@keyframes valori-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .valori-track {
    animation-duration: 90s;
  }
}

@media (min-width: 768px) {
  .valori-section {
    padding: 0.5rem 0;
  }
  .valori-track {
    gap: 1.5rem;
    padding: 0rem 0;
  }
  .valori-item {
    padding: 1.25rem 2.5rem;
  }
}

/* ============================================
   Servizi – section with distinct header
   ============================================ */

.servizi-section {
  padding:6rem 3rem;
  background-color: white;
}

.servizi-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.servizi-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--mcfit-black);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.servizi-lead {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--mcfit-gray-light);
  margin: 0;
  font-weight: 500;
}

@media (min-width: 768px) {
  .servizi-section {
    padding: 5rem 0 ¶;
  }
  .servizi-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
  }
  .servizi-lead {
    font-size: 1.125rem;
  }
}

/* Servizi page: Come lavoriamo process strip */
.servizi-process-section {
  padding: 4rem 0;
  background-color: var(--mcfit-white);
  border-top: 1px solid var(--border);
}

.servizi-process-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mcfit-black);
  margin: 0 0 2rem;
  text-align: center;
}

.servizi-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .servizi-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.servizi-process-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  background-color: var(--mcfit-white);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.servizi-process-item:hover {
  border-color: var(--graphite);
  box-shadow: var(--shadow-active);
}

.servizi-process-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mcfit-gray-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.servizi-process-heading {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mcfit-black);
  margin: 0 0 0.5rem;
}

.servizi-process-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--mcfit-gray-light);
  margin: 0;
}

@media (max-width: 610px){
  .servizi-section {
    padding: 2rem 0 !important;
  }

  .valori-section {
    padding: 3rem 0 !important;
  }

  .carousel-section .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 33vh !important;
    max-height: 80vh;
}
.ambassador-container{
  padding:3rem 1rem !important;
}

.shoutout-teaser{
  margin-top: -7rem !important;
}

}

.height-width{
  height: 650px !important;
  width: 50%;
  border:5px solid white;
  padding: 60px 50px;
}

@media (max-width: 610px) {
  .mobile-px-0 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .height-width {
    height: 100% !important;
    width: 100% !important;
    border-bottom: 0px solid white !important;
    padding: 10px 0px !important;
  }

  .heights {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

}

/* ============================================
   Offers grid (cards inside servizi)
   ============================================ */

.offers-section {
  background-color: var(--mcfit-white);
}

.offers-section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--mcfit-black);
  margin: 0 0 0.5rem;
  text-align: center;
}

.offers-section-lead {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--mcfit-gray-light);
  margin: 0 0 2rem;
  text-align: center;
}

/* Grid: 1 col mobile, 2 cols tablet, 3 cols desktop – items 01,02,03 in first row */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.offer-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: var(--mcfit-white);
  color: var(--graphite);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 0;
}

.offer-box-headline {
  font-size: clamp(1.5rem, 2.5vw, 2.575rem);
  font-weight: 900;
  color: var(--mcfit-black);
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.offer-box-price {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mcfit-gray-light);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.offer-box-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--graphite);
  margin: 0 0 1.25rem;
  flex: 1;
}

.offer-box-cta {
  margin-top: auto;
}

/* Link-style CTA in service cards (Scopri di più) – lighter than repeated button */
.offer-box-cta .offer-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 2px solid var(--graphite);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.offer-box-cta .offer-box-link:hover {
  color: var(--mcfit-black);
  border-bottom-color: var(--mcfit-black);
}

.offer-box-cta .offer-box-link::after {
  content: "→";
  font-weight: 700;
}

/* ============================================
   Buttons
   ============================================ */

.btn-shoutout {
  padding: 0.60rem 2.5rem;
  font-size: 17px;
  font-weight: 600;
  background: var(--mcfit-white);
  color: var(--graphite);
  border: 3px solid var(--graphite);
}

.btn-shoutout:hover {
  background: var(--graphite);
  color: var(--mcfit-white);
  border-color: var(--graphite);
}

.btn-shoutout-hero {
  padding: 0.60rem 4.5rem;
  font-size: 17px;
  font-weight: 600;
  background: var(--mcfit-black);
  color: var(--mcfit-white);
  border: 3px solid var(--mcfit-black);
}

.btn-shoutout-hero:hover {
  background: var(--mcfit-white);
  color: var(--mcfit-black);
  border: 3px solid var(--mcfit-black);
}

/* ============================================
   Carousel
   ============================================ */

.carousel-section .carousel-inner,
.carousel-section .carousel-item {
  max-height: 80vh;
}

.carousel-section .carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 80vh;
  max-height: 80vh;
}

.carousel-section .carousel-caption {
  left: 0;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 24px;
  padding-right: 24px;
  text-align: left;
}

@media (min-width: 768px) {
  .carousel-section .carousel-caption {
    padding-left: 240px;
    padding-right: 2rem;
  }
}

.carousel-section .carousel-caption .hero-content {
  max-width: 100%;
}

/* ============================================
   Footer
   ============================================ */

/* ============================================
   Footer – brand (logo + description) + nav + legal
   ============================================ */

.footer {
  font-size: 0.9375rem;
}

.footer-main {
  background-color: #fafafa;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
    gap: 0 2.5rem;
    align-items: start;
  }
  .footer-brand {
    grid-column: 1;
    max-width: 20rem;
  }
}

/* Brand block: logo + short description */
.footer-brand {
  max-width: 20rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo {
  opacity: 0.85;
}

.footer-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mcfit-gray-light);
  margin: 0 0 1rem;
}

.footer-brand-meta {
  font-size: 0.875rem;
  color: var(--graphite);
}

.footer-brand-meta a {
  color: var(--graphite);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-brand-meta a:hover {
  color: var(--mcfit-black);
}

.footer-dot {
  margin: 0 0.35em;
  color: var(--mcfit-gray-light);
  user-select: none;
}

.footer-col {
  margin-bottom: 0;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.footer-links li {
  margin: 0 0 0.5rem;
}

.footer-links a {
  color: var(--mcfit-gray-light);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 18px;
}

.footer-links a:hover {
  color: var(--graphite);
}

/* Contatti column: contact details (with icons) + social + P.IVA */
.footer-col-contatti .footer-title {
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  color: var(--graphite);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.footer-contact-item:hover {
  color: var(--mcfit-black);
}

.footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mcfit-gray-light);
}

.footer-contact-item:hover .footer-contact-icon {
  color: var(--graphite);
}

.footer-contact-icon svg {
  display: block;
}

.footer-col-contatti .footer-social {
  margin-bottom: 1rem;
}

.footer-piva {
  font-size: 18px;
  color: var(--mcfit-gray-light);
  margin: 0;
}

/* Contact page: left column details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-block {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-block:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mcfit-gray);
  margin: 0 0 0.5rem;
}

.contact-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

.contact-link {
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: var(--mcfit-black);
  border-color: var(--mcfit-black);
}

/* Contact page: info boxes under intro */
.contact-info-section {
  background-color: #f7f7f7 !important;
}

/* Servizi page: distinct background for final CTA */
#servizi-page .contact-info-section {
  background-color: #ffffff !important;
}

.contact-card {
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card .contact-label {
  font-size: 1.8rem;
  letter-spacing: 0.18em;
}

.contact-card .contact-text {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .contact-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--graphite);
  text-decoration: none;
  border: 2px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--mcfit-white);
  border-color: var(--graphite);
  background-color: var(--graphite);
}

.footer-social-icon {
  display: block;
  color: currentColor;
}

/* Legal bar */
.footer-legal {
  background-color: var(--graphite);
  padding: 1.125rem 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.8125rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
}

/* ============================================
   Responsive tweaks
   ============================================ */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex: none;
    padding: 0 24px 24px;
    background-color: var(--mcfit-white);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    box-shadow: none;
    transition: max-height 0.35s ease-out, opacity 0.25s ease, box-shadow 0.35s ease;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
  }

  .nav-list a {
    padding: 16px 0;
    line-height: 1.4;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-inner {
    min-height: 0;
    padding: 24px 16px 2rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 0 0.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-date {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 16px;
    height: 64px;
  }

  .nav {
    top: 64px;
    padding: 0 16px 20px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-inner {
    min-height: 0;
    padding: 48px 16px 2rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-date {
    font-size: clamp(0.8125rem, 2.5vw, 1rem);
    font-weight: 700;
  }

  .hero .btn-shoutout {
    font-size: 16px;
    padding: 12px 24px;
  }
}

/* ============================================
   McFIT Italia – same look: white + yellow, Inter Tight
   Bootstrap 5 is loaded for layout: use .container, .row, .col-* for easy responsive sections.
   Breakpoints: col-12 (mobile), col-md-* (768px+), col-lg-* (992px+), col-xl-* (1200px+).
   ============================================ */

:root {
  --mcfit-white: #ffffff;
  --mcfit-yellow: #ffcc00;
  --mcfit-yellow-hero: #ffcc00;
  --mcfit-yellow-hover: #ffcc00;
  --mcfit-black: #000000;
  --mcfit-gray: #333333;
  --mcfit-gray-light: #666666;
  --mcfit-cta-bg: #262F39;
  --border: #e0e0e0;
  --graphite: #333333;
  --shadow-active: 0 12px 24px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: var(--mcfit-white);
  color: var(--mcfit-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Min gap between sections */
main > section + section {
  margin-top: 0rem;
}

/* ============================================
   Header – top bar + navbar (left-aligned)
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--mcfit-white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 0;
}

.btn:focus-visible {
  outline: 2px solid var(--mcfit-yellow);
  outline-offset: 2px;
}


/* Hamburger: hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mcfit-gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  color: var(--mcfit-black);
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Navbar – beside logo, same row, left-aligned */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 0 15px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #333333;
  transition: color 0.2s ease;
  line-height: 72px;
}

.nav-list a:hover {
  color: var(--mcfit-black);
}

/* ============================================
   Hero – yellow block, left text + right model (exact px)
   ============================================ */

.hero {
  min-height: 100vh;
  padding-top: 72px;
  background-color: #ff66ba;
}

.hero-inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 132px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 20;
  flex: 1 1 auto;
  max-width: 45%;
  min-width: 0;
  padding: 40px 0 60px;
}

.hero-date {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.hero-title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 32px;
}

.hero-title-line {
  display: block;
}

.hero-asterisk {
  font-size: 0.85em;
  vertical-align: top;
}

.hero-image-wrap {
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  width: 55%;
  max-width: 680px;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image-wrap .hero-image {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

/* ============================================
   Responsive – mobile menu with transition
   ============================================ */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .header .btn-shoutout {
    display: none;
  }

  /* Nav: slide-down panel on mobile */
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex: none;
    padding: 0 24px 24px;
    background-color: var(--mcfit-white);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    box-shadow: none;
    transition: max-height 0.35s ease-out, opacity 0.25s ease, box-shadow 0.35s ease;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transition: max-height 0.4s ease-in, opacity 0.3s ease, box-shadow 0.3s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 16px;
  }

  .nav-list a {
    padding: 16px 0;
    line-height: 1.4;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  /* Hamburger → X when open */
  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-inner {
    min-height: calc(100vh - 72px);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 32px 24px 3rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 0 0.5rem;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-date {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    font-weight: 700;
  }

  .hero-image-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    padding-top: 0.5rem;
  }

  .hero-image-wrap .hero-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
  }
}

.row.align-items-center.g-4.g-lg-5.shoutout-row{
  margin-top: -5rem !important;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 16px;
    height: 64px;
  }

  section#home {
    min-height: auto;
  }

  .nav {
    top: 64px;
    padding: 0 16px 20px;
  }

  .nav-list {
    padding-top: 12px;
  }

  .nav-list a {
    padding: 14px 0;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 2.5rem;
    min-height: auto;
  }

  .hero-inner {
    min-height: 0;
    padding: 48px 16px 2rem;
    gap: 2rem;
  }

  .hero-image-wrap {
    max-width: 100%;
    padding-top: 0;
  }

  h2.offer-box-headline {
    font-size: 40px;
}

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-date {
    font-size: clamp(0.8125rem, 2.5vw, 1rem);
    font-weight: 700;
  }

  .hero .btn-shoutout {
    font-size: 16px;
    padding: 12px 24px;
  }
}

/* ============================================
   Shoutout (left) + USP numbers (right) – two columns
   ============================================ */

.shoutout-section {
  background-color: var(--mcfit-white);
}

/* Section height: row has min-height so content centers vertically (no margin-top) */
@media (min-width: 992px) {
  .shoutout-section .shoutout-row {
    min-height: 25rem;
    align-items: center;
  }
}

/* Left: box, center-aligned content, box shadow */
.shoutout-teaser {
  width: 100%;
  max-width: 30rem;
  min-width: min(100%, 450px);
  background: var(--mcfit-white);
  color: var(--graphite);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
}

.shoutout-badge {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mcfit-gray-light);
  margin: 0 0 0.5rem;
}

.shoutout-teaser .shoutout-badge,
.shoutout-teaser .shoutout-headline,
.shoutout-teaser .shoutout-subtitle,
.shoutout-teaser .shoutout-price,
.shoutout-teaser .shoutout-desc,
.shoutout-teaser .shoutout-cta {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .shoutout-teaser {
    padding: 3rem;
    margin-top: -1rem;
  }
}

@media (min-width: 992px) {
  .shoutout-teaser {
    margin-top: -¶;
    margin-bottom: -¶;
  }
}

.shoutout-headline {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem) ;
  font-weight: 900 !important;
  color: var(--graphite);
  margin: 0 0 1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .shoutout-headline {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900 !important;
  }
}

.shoutout-subtitle {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--graphite);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.shoutout-price {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.shoutout-price-value {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0.25rem;
}

.shoutout-desc {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--graphite);
  margin: 0 0 1rem;
}

.shoutout-cta {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .shoutout-cta {
    margin-top: 1.5rem;
  }
}

/* Offer boxes: 6 boxes, 3 per row – same style as shoutout-teaser, different class */
.offers-section {
  background-color: var(--mcfit-white);
}

.offers-section-title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--mcfit-black);
  margin: 0 0 0.5rem;
  text-align: center;
}

.offers-section-lead {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--mcfit-gray-light);
  margin: 0 0 2rem;
  text-align: center;
}

/* Theme button: white bg, graphite border – use .btn.btn-shoutout everywhere */
.btn-shoutout {
  padding: 0.60rem 2.5rem;
  font-size: 17px;
  font-weight: 600;
  background: var(--mcfit-white);
  color: var(--graphite);
  border: 3px solid var(--graphite);
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}



.btn-shoutout:hover {
  background: var(--graphite);
  color: var(--mcfit-white);
  border-color: var(--graphite);
}

.btn-shoutout:focus-visible {
  outline: 2px solid var(--mcfit-yellow);
  outline-offset: 2px;
}

.btn-shoutout-hero {
  padding: 0.60rem 4.5rem;
  font-size: 17px;
  font-weight: 600;
  background: var(--mcfit-black);
  color: var(--mcfit-white);
  border-radius: 0;

  border: 3px solid var(--mcfit-black);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-shoutout-hero:hover {
  padding: 0.60rem 4.5rem;
  font-size: 17px;
  font-weight: 600;
  background: var(--mcfit-white);
  color: var(--mcfit-black);
  border-radius: 0;

  border: 3px solid var(--mcfit-black);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shoutout-cta .btn-shoutout {
  display: block;
  width: 100%;
}

/* Right: 2 per row, 2 rows – vertically centered in section (no margin-top) */
.usp-numbers-module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem 2rem;
  width: 100%;
  max-width: 28rem;
  padding: 1.5rem 0;
  margin-top: 0;
}

@media (min-width: 992px) {
  .usp-numbers-module {
    padding: 0;
    max-width: 20rem;
    margin-left: 0;
    margin-right: auto;
    margin-top: 0;
  }
}

.usp-number-item {
  text-align: center;
}

@media (min-width: 992px) {
  .usp-number-item {
    text-align: left;
  }
}

.usp-number-value {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--graphite);
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .usp-number-value {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .usp-number-value {
    font-size: 2rem;
  }
}

.usp-number-label {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--graphite);
  line-height: 1.5;
  margin: 0.25rem 0 0;
  hyphens: auto;
}

@media (min-width: 992px) {
  .usp-number-label {
    text-align: left;
  }
}

/* ============================================
   Ambassador – Bootstrap container/row/col; only overrides: 120rem, 13rem sides, 6rem gap, 4:3 ratio
   ============================================ */

.ambassador-section .ambassador-container {
  max-width: 120rem;
  padding-left: 13rem;
  padding-right: 13rem;
  padding-top: 7rem;
  padding-bottom: 7rem;

}
.bg-rosa{
  background-color: #f7f7f7 !important;
}


@media (max-width: 1200px) {
  .ambassador-section .ambassador-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  .ambassador-section .ambassador-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 992px) {
  .ambassador-section .ambassador-row {
    --bs-gutter-x: 6rem;
    min-height: 28rem;
  }
}

.ambassador-badge {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mcfit-black);
  margin: 0 0 2rem;
}

.ambassador-title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--mcfit-black);
  margin: 0 0 1rem;
}

.ambassador-tagline {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  color: var(--mcfit-black);
  margin: 0 0 0.75rem;
}

.ambassador-desc {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mcfit-gray);
  margin: 0 0 1rem;
}

.ambassador-cta-text {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mcfit-black);
  margin: 1rem 0 2rem;
}

.ambassador-figure {
  margin: 0;
}

.ambassador-img {
  object-fit: cover;
}

/* Video: width 3 : height 4 (portrait), 30% smaller, always right-aligned */
.ambassador-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.ambassador-video-wrap .ambassador-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   About (Bootstrap grid: .container .row .col-*)
   ============================================ */

.about {
  background-color: var(--mcfit-white);
}

.about-badge {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mcfit-gray-light);
  margin: 0 0 0.5rem;
}

.about-title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--mcfit-black);
  margin: 0 0 1rem;
}

.about-text {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mcfit-gray-light);
  margin: 0;
}

/* Slider height: 30% less (70% of natural/viewport) */
.carousel-section .carousel-inner,
.carousel-section .carousel-item {
  max-height: 80vh;
}

.carousel-section .carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 80vh;
  max-height: 80vh;
}

/* Fenicottero slide: bg #f9b200, image right-aligned on display */
.carousel-fenicottero-wrap {
  width: 100%;
  min-height: 80vh;
  max-height: 80vh;
  background-color: #f9b200;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.carousel-fenicottero-img {
  display: block;
  width: auto;
  height: 80vh;
  max-height: 80vh;
  object-fit: contain;
  object-position: right bottom;
  margin-left: auto;
  transform: scale(0.88);
  transform-origin: right bottom;
}

@media (max-width: 610px) {
  .carousel-fenicottero-wrap {
    min-height: 33vh;
    max-height: 80vh;
  }
  .carousel-fenicottero-img {
    height: 33vh;
    max-height: 80vh;
  }
}

/* Carousel slide content: left-aligned, vertically centered in slide */
.carousel-section .carousel-caption {
  left: 0;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 24px;
  padding-right: 24px;
  text-align: left;
}

@media (min-width: 768px) {
  .carousel-section .carousel-caption {
    padding-left: 240px;
    padding-right: 2rem;
  }
}

.carousel-section .carousel-caption .hero-content {
  max-width: 100%;
}

/* Progetto listing and single */
.progetto-main {
  padding-top: 2rem;
  overflow-x: hidden;
}

/* Full-width hero banner (progetto listing + single) */
.progetto-hero-banner {
  position: relative;
  min-height: 560px;
  background-color: #6A4B9F;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay: fills hero, contains title block */
.progetto-hero-banner .overlay-container.text-align-center {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-end;   /* height: align to bottom of hero */
  justify-content: center; /* width: align center */
  padding-bottom: 3rem;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Base .text-align-center when not inside hero (keep for other uses) */
.text-align-center {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
}

/* Hero title block: centered horizontally, at bottom */
.progetto-hero-banner .progetto-hero-banner-inner {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}

.progetto-hero-banner .container,
.progetto-hero-banner .progetto-hero-banner-inner {
  min-height: 0;
}

.progetto-hero-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.progetto-hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

@media (min-width: 768px) {
  .progetto-hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
  }
}

.progetto-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: 0px;
}

.progetto-card-bg {
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.progetto-card-nobg {
  background-color: #4a3f6b;
}

.progetto-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.progetto-card:hover .progetto-card-overlay {
  opacity: 1;
}

.progetto-card-title {
  position: relative;
  z-index: 1;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.progetto-card:hover .progetto-card-title {
  opacity: 1;
}

.progetto-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px);
}

.progetto-main{
  padding-top: 0;
}

.progetto-main .breadcrumb {
  font-size: 0.9rem;
}

.progetto-main .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
}

/* Listing page: intro paragraph below hero, above project grid */
.progetto-listing-intro {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

/* Three rows: strip slider, 3 visible, scroll by 1, no repeat */
.progetto-carousel-row {
  margin-bottom: 3rem;
}

.progetto-carousel-row:last-child {
  margin-bottom: 2rem;
}

.progetto-carousel-wrap {
  position: relative;
  padding: 0 4.5rem;
}

.progetto-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.progetto-carousel-strip {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.progetto-carousel-cell {
  padding: 0 0.5rem;
  box-sizing: border-box;
  flex: 0 0 33.3333%;
}

.progetto-carousel-cell .progetto-card {
  width: 100%;
}

/* Mobile carousel: show ~1 card (90%) + peek of next, keep desktop as-is */
@media (max-width: 767.98px) {
  .progetto-carousel-wrap {
    padding: 0 1.5rem;
  }

  .progetto-carousel-cell {
    flex: 0 0 90%;
  }
}

/* Entering card: reveal from bottom to top (clip-path) */
.progetto-carousel-cell .progetto-card.progetto-card-enter {
  animation: progetto-card-reveal-bottom 0.5s ease forwards;
}

/* Clip from top: start with only bottom visible, then reveal upward */
@keyframes progetto-card-reveal-bottom {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* Arrows: outside, bigger, dark, no background */
.progetto-carousel-control-outside {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  background: none !important;
  border: none;
  opacity: 1;
  padding: 0;
}

.progetto-carousel-control-outside.carousel-control-prev {
  left: 0;
}

.progetto-carousel-control-outside.carousel-control-next {
  right: 0;
  left: auto;
}

.progetto-carousel-control-outside .carousel-control-prev-icon,
.progetto-carousel-control-outside .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-size: 2.5rem 2.5rem;
  filter: brightness(0);
}

.progetto-carousel-control-outside:hover .carousel-control-prev-icon,
.progetto-carousel-control-outside:hover .carousel-control-next-icon {
  filter: brightness(0) opacity(0.8);
}



/* Full-width section (aperol): image edge-to-edge, text in container width */
.progetto-fullwidth-section {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.progetto-fullwidth-section .row {
  min-height: 400px;
  margin-left: 0;
  margin-right: 0;
}

.progetto-fullwidth-section .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.progetto-fullwidth-img-wrap {
  padding: 0;
  margin: 0;
  min-height: 400px;
  overflow: hidden;
}

.progetto-fullwidth-video-wrap {
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  display: flex;
  align-items: center;
}

.progetto-fullwidth-video-wrap .ratio {
  width: 100%;
}

.progetto-fullwidth-img-wrap .carousel,
.progetto-fullwidth-img-wrap .carousel-inner,
.progetto-fullwidth-img-wrap .carousel-item {
  height: 100%;
  min-height: 400px;
}

/* Carousel a bit narrower than full column width */
.progetto-fullwidth-img-wrap--narrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.progetto-fullwidth-img-wrap--narrow .carousel {
  width: 100%;
  max-width: 85%;
}

.progetto-fullwidth-carousel-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.progetto-fullwidth-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* Collanti Concorde: logo in brand identity block – desktop 50% width, 170px height; mobile height 100% */
.collanti-logo {
  width: 50%;
  height: 170px !important;
  object-fit: contain;
  display: block;
}

@media (max-width: 767.98px) {
  .collanti-logo {
    height: 63px !important;
  }
}

/* Collanti Concorde: logo in brand identity block – desktop capped size; mobile height 100% */
.progetto-collanti-logo {
  width: 50%;
  max-width: 280px;
  height: 170px;
  max-height: 170px;
  object-fit: contain;
  display: block;
}

@media (max-width: 767.98px) {
  .progetto-collanti-logo {
    height: 100%;
  }
}

/* Elco Italy: roll-up image – 100% height on mobile */
@media (max-width: 991.98px) {
  .progetto-elco-rollup-img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

/* Text column: more padding so text is not near edges */
.progetto-fullwidth-section .container {
  max-width: 1320px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* Contact page main section spacing */
.contact-section {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
  .contact-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Responsive tweaks for full-width section (keep desktop layout) */
@media (max-width: 991.98px) {
  .progetto-fullwidth-section .row {
    min-height: auto;
  }

  .progetto-fullwidth-img-wrap {
    min-height: 220px;
  }

  /* Carousel: on mobile let height follow the image (no double space) */
  .progetto-fullwidth-img-wrap .carousel {
    height: auto;
    min-height: 0;
  }
  .progetto-fullwidth-img-wrap .carousel-inner,
  .progetto-fullwidth-img-wrap .carousel-item {
    height: auto;
    min-height: 0;
  }
  .progetto-fullwidth-carousel-img {
    height: auto;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .progetto-fullwidth-img-wrap--narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .progetto-fullwidth-img-wrap--narrow .carousel {
    max-width: 92%;
  }

  /* When wrap contains carousel, let it shrink to image height (no extra gap) */
  .progetto-fullwidth-img-wrap:has(.carousel) {
    min-height: 0;
  }

  .progetto-fullwidth-img {
    min-height: 220px;
    height: 220px;
  }

  /* Text block: full width but with comfortable padding */
  .progetto-fullwidth-section .container {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .progetto-fullwidth-section .ambassador-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .progetto-fullwidth-section .ambassador-desc {
    font-size: 0.95rem;
  }
}

/* Progetto single: Ufficio Stampa – no container, py only; title left; 2-col masonry */
.progetto-ufficio-stampa-section {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: var(--mcfit-white);
}

.progetto-ufficio-stampa-section .ambassador-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.progetto-masonry-grid {
  display: flex;
  gap: 1rem;
  margin-top: 0;
}

.progetto-masonry-item {
  overflow: hidden;
  box-shadow: 1px 2px 20px #c1bdbd3b;
}

.progetto-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

@media (max-width: 575px) {
  .progetto-masonry-grid {
    grid-template-columns: 1fr;
  }
}

/* Progetto single: Catalogo – 2 images in a row, natural size */
.progetto-catalogo-section {
  background-color: var(--mcfit-white);
}

.progetto-catalogo-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Meta Design: 2-image catalogo row, no container */
.progetto-meta-catalogo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: hidden;
}

.progetto-meta-catalogo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .progetto-meta-catalogo-grid {
    grid-template-columns: 1fr;
  }
}

/* Meta Design: Sito image, no container */
.progetto-meta-sito-img-wrap {
  padding: 0 1.5rem 3rem;
  overflow-x: hidden;
}

.progetto-meta-sito-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.progetto-catalogo-section .ambassador-title {
  margin-bottom: 1.5rem;
}

.progetto-catalogo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.progetto-catalogo-grid--single {
  grid-template-columns: 1fr;
}

/* 2 images row 1, 1 image row 2 (spans full width) */
.progetto-catalogo-grid--2plus1 {
  grid-template-columns: repeat(2, 1fr);
}

.progetto-catalogo-item--span {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.progetto-catalogo-item--span img {
  max-width: 100%;
  width: auto;
}

.progetto-catalogo-item {
  overflow: hidden;
}

.progetto-catalogo-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

@media (max-width: 575px) {
  .progetto-catalogo-grid {
    grid-template-columns: 1fr;
  }
}

/* Progetto single: 2x2 gallery */
.progetto-gallery-section {
  padding: 3rem 0;
  background-color: var(--mcfit-white);
}

.progetto-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.progetto-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.progetto-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.progetto-gallery-item:hover .progetto-gallery-img {
  transform: scale(1.03);
}

@media (max-width: 575px) {
  .progetto-gallery-grid {
    gap: 0.5rem;
  }
}

/* Progetto single: prev/next navigation */
.progetto-single-nav {
  padding: 2.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background-color: #fafafa;
}

.progetto-single-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.progetto-single-nav-prev,
.progetto-single-nav-next {
  flex: 1 1 auto;
  min-width: 0;
}

.progetto-single-nav-prev {
  text-align: left;
}

.progetto-single-nav-next {
  text-align: right;
}

.progetto-single-nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.progetto-single-nav-next .progetto-single-nav-link {
  align-items: flex-end;
  margin-left: auto;
}

.progetto-single-nav-link:hover {
  color: var(--mcfit-black);
}

.progetto-single-nav-link.is-disabled {
  color: var(--mcfit-gray-light);
  cursor: default;
  pointer-events: none;
}

.progetto-single-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mcfit-gray-light);
}

.progetto-single-nav-link:hover .progetto-single-nav-label {
  color: var(--mcfit-gray);
}

.progetto-single-nav-title {
  font-weight: 700;
  line-height: 1.3;
}

.progetto-single-nav-arrow {
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.progetto-single-nav-all {
  flex: 0 0 auto;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--graphite);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid var(--graphite);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.progetto-single-nav-all:hover {
  color: var(--mcfit-white);
  background-color: var(--graphite);
}

@media (max-width: 767px) {
  .progetto-single-nav {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
  }

  .progetto-single-nav .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .progetto-single-nav-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .progetto-single-nav-prev,
  .progetto-single-nav-next {
    text-align: center;
  }

  .progetto-single-nav-prev .progetto-single-nav-link,
  .progetto-single-nav-next .progetto-single-nav-link {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    min-height: 2.75rem;
    justify-content: center;
    padding: 0.5rem 0;
  }

  .progetto-single-nav-all {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.625rem 1rem;
    min-height: 2.75rem;
  }
}

.padding-top-bottom{
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}


@media (max-width: 610px) {
  .padding-top-bottom {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}