/* =============================================
   FONDITAL PREMI — css.css
   ============================================= */

/* --- Google Fonts --- */
/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-300italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-300italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-500italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-500italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-500italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-600.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-600.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-600italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-600italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-600italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-700italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-700italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-800.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-800.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v44-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v44-latin-800italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-800italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v44-latin-800italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v44-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* --- CSS Variables --- */
:root {
  --fd-red:        rgb(255, 38, 29);
  --fd-red-dark:   rgb(255, 38, 29);
  --fd-red-light:  rgb(255, 38, 29);
  --fd-black:      #323d48;
  --fd-dark:       #323d48;
  --fd-gray-dark:  #323d48;
  --fd-gray:       #78858b;
  --fd-gray-light: #78858b;
  --fd-white:      #ffffff;
  --fd-off-white:  #f5f4f2;
  --fd-accent:     #e8d5b0;

  --font-display: 'Open Sans';
  --font-body:    'Open Sans';

  --radius-sm:  0px;
  --radius-md:  0px;
  --radius-lg:  0px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.14);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.22);

  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--fd-black);
  background: var(--fd-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

.text-red {
  color: var(--fd-red);
}
.text-green {
  color: rgb(75,139,51);
}
.text-blue {
  color: var(--fd-blue);
}

/* =============================================
   NAVBAR
   ============================================= */
   .skip-to-main-content-link {
   	position: absolute;
   	left: -9999px;
   	z-index: 999;
   	padding: 1em;
   	background-color: black;
   	color: white;
   	opacity: 0;
   }
   .skip-to-main-content-link:focus {
   	left: 50%;
   	transform: translateX(-50%);
   	opacity: 1;
   }

#mainNav {
  border-top: 5px solid var(--fd-red-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition), box-shadow var(--transition);
}

#mainNav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}

.nav-logo img {
  height: 36px;
  /* filter: brightness(0) invert(1); */
  transition: transform var(--transition);
}
.nav-logo img:hover { transform: scale(1.04); }

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75) !important;
  padding: .5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--fd-red);
  transition: width var(--transition), left var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--black) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%; left: 0;
}

.btn-nav-login {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-white) !important;
  border: 1.5px solid var(--fd-red);
  border-radius: 0;
  padding: .45rem 1.35rem !important;
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn-nav-login:hover {
  background: var(--fd-red);
  border-color: var(--fd-red);
  box-shadow: 0 0 20px rgba(255, 38, 29, .45);
  color: var(--fd-white)!important;
}

.navbar-toggler {
  border: none;
  outline: none !important;
  box-shadow: none !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.bi.bi-list {
  font-size: 2rem;
}


/* =============================================
   HERO SLIDER
   ============================================= */
.hero-wrapper {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--fd-black);
}

/* Carousel full-height */
.hero-wrapper .carousel,
.hero-wrapper .carousel-inner,
.hero-wrapper .carousel-item { height: 100%; }

/* Slide background */
.hero-slide {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 12s ease-out;
  will-change: transform;
}


/* Ken-Burns on active */
/* .carousel-item.active .hero-slide__bg { transform: scale(1.08); }
.carousel-item:not(.active) .hero-slide__bg { transform: scale(1); } */


/* Overlay */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,.42) 0%,
    rgba(10,10,10,.30) 60%,
    rgba(255,255,255,.18) 100%
  );
  z-index: 1;
}

/* Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.hero-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fd-red-light);
  background: rgba(255, 38, 29, .15);
  border: 1px solid rgba(255, 38, 29, .35);
  padding: .28rem .9rem;
  border-radius: 0;
  margin-bottom: 1.25rem;
  animation: fadeUp .7s .2s both;
  max-width: 350px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 700;
  color: var(--fd-white);
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeUp .7s .4s both;
}

.hero-title span { color: var(--fd-red); }

@media (max-width: 768px) {
  .hero-title {
    margin-bottom: 20rem;
  }
  .hero-slide__bg,
  .hero-small-wrapper .hero-slide__bg {
    object-fit: cover;
    object-position: center top;
  }
  .carousel-control-prev,
  .carousel-control-next {
    top: 15px;
    transform: none;
  }
  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    transform: scale(1.1);
  }
}

.hero-desc {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.2rem;
  animation: fadeUp .7s .6s both;
}

.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .8s both;
}

/* CTA buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: var(--fd-red);
  border: none;
  border-radius: 0;
  padding: .9rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
  transform: translateX(-150%);
  transition: transform .55s ease;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(255, 38, 29, .5); }
.btn-hero-primary:hover::before { transform: translateX(150%); }
.btn-hero-primary:active { transform: translateY(-1px); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 0;
  padding: .9rem 2.2rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 52px; height: 52px;
  background: rgba(255, 38, 29, .8);
  border-radius: 0;
  top: 50%; transform: translateY(-50%);
  opacity: 1;
  transition: background var(--transition), transform var(--transition);
}
.carousel-control-prev { left: 2rem; }
.carousel-control-next { right: 2rem; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--fd-red);
  transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 18px; height: 18px; }

/* Dots */
.carousel-indicators {
  bottom: 2rem;
  gap: .5rem;
}
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 0;
  background: rgba(255,255,255,.35);
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.carousel-indicators .active {
  background: var(--fd-red);
  transform: scale(1.4);
}

/* Slide counter */
.hero-counter {
  position: absolute;
  bottom: 2rem; right: 2rem;
  z-index: 10;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .12em;
}
.hero-counter span { color: var(--fd-red); font-size: 1.1rem; }


/* =============================================
   HERO SMALL — max 400px variant
   ============================================= */
.hero-small-wrapper {
  position: relative;
  height: 400px;
  max-height: 400px;
  overflow: hidden;
  background: var(--fd-black);
}

/* Carousel full-height (eredita .hero-slide e .hero-slide__bg già definiti) */
.hero-small-wrapper .carousel,
.hero-small-wrapper .carousel-inner,
.hero-small-wrapper .carousel-item { height: 100%; }

/* Content — centrato verticalmente, padding laterale ridotto */
.hero-small-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  gap: .85rem;
}

.hero-small-wrapper .hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center center;
  transition: transform 12s ease-out;
  will-change: transform;
}
/* Label: ricicla .hero-label, annulla l'animation-delay originale */
.hero-small-content .hero-label {
  margin-bottom: 0;
  animation: fadeUp .6s .15s both;
}

/* Titolo compatto */
.hero-small-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--fd-white);
  line-height: 1.15;
  margin: 0;
  animation: fadeUp .6s .3s both;
}
.hero-small-title span { color: var(--fd-red); }

/* CTA wrap */
.hero-small-cta-wrap {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  animation: fadeUp .6s .45s both;
}

/* Override dimensioni bottoni nella variante small */
.btn-hero-sm {
  font-size: .78rem;
  padding: .6rem 1.4rem;
}

/* Controls più piccoli */
.hero-small-wrapper .carousel-control-prev,
.hero-small-wrapper .carousel-control-next {
  width: 38px;
  height: 38px;
}
.hero-small-wrapper .carousel-control-prev { left: 1rem; }
.hero-small-wrapper .carousel-control-next { right: 1rem; }

/* Dots e counter più in basso */
.hero-small-wrapper .carousel-indicators { bottom: .85rem; }
.hero-small-wrapper .hero-counter        { bottom: .85rem; right: 1.25rem; font-size: .72rem; }

/* Mobile */
@media (max-width: 768px) {
  .hero-small-wrapper { height: 340px; max-height: 340px; }
  .hero-small-content { padding: 0 5%; }
  .hero-small-title   { font-size: clamp(1.3rem, 6vw, 1.8rem); }
}


/* =============================================
   ABOUT SECTION
   ============================================= */
#about {
  background: var(--fd-off-white);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(255, 38, 29, .07) 0%, transparent 70%);
  pointer-events: none;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fd-red);
  margin-bottom: 1.2rem;
}
.about-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--fd-red);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fd-black);
  margin-bottom: 1.5rem;
}
.about-title em { color: var(--fd-red); font-style: normal; }

.about-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--fd-gray);
  max-width: 540px;
  margin-bottom: 2.4rem;
}

/* CTA scopri */
.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: var(--fd-red);
  border: none;
  border-radius: 0;
  padding: 1rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-discover:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 38, 29, .45);
  color: var(--fd-white);
}
.btn-discover .arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.2);
  border-radius: 0;
  transition: transform var(--transition);
}
.btn-discover:hover .arrow-icon { transform: translateX(5px); }

/* Stat pills */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  background: var(--fd-white);
  border-radius: 0;
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--fd-red);
  box-shadow: var(--shadow-sm);
  min-width: 130px;
}
.stat-pill strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--fd-red);
  line-height: 1;
}
.stat-pill span {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fd-gray);
  margin-top: .3rem;
}

/* Visual side */
.about-visual {
  position: relative;
}
.about-visual__main {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-visual__main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-visual__badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--fd-red);
  color: var(--fd-white);
  border-radius: 0;
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 140px;
}
.about-visual__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-visual__badge span {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}


/* =============================================
   INIZIATIVE / CARDS
   ============================================= */
#iniziative {
  background: var(--fd-black);
  position: relative;
  overflow: hidden;
}

#iniziative::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E11F1B ' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fd-red);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--fd-red);
}

.section-title-light {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fd-white);
  line-height: 1.15;
  margin-bottom: .8rem;
}
.section-title-light em { color: var(--fd-red); font-style: normal; }

.section-subtitle-light {
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  max-width: 520px;
}

/* Contest Card */
.contest-card {
  background: rgba(0, 0, 0, .5);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.contest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 38, 29, .3);
  border-color: rgba(255, 38, 29, .3);
}

/* Badge stato */
.card-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 0;
  z-index: 2;
}
.card-badge--active { background: rgba(75, 139, 51, .18); color: rgba(75, 139, 51, 1); border: 1px solid rgba(75, 139, 51, .35); }
.card-badge--new    { background: rgba(255, 38, 29, .18);  color: var(--fd-red-light); border: 1px solid rgba(255, 38, 29, .35); }
.card-badge--soon   { background: rgba(200,160,16,.18); color: #f5c518; border: 1px solid rgba(200,160,16,.35); }

/* Image */
.contest-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.contest-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.contest-card:hover .contest-card__img img { transform: scale(1.05); }

.contest-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,28,28,.7) 100%);
}

/* Body */
.contest-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: .75rem;
}

.contest-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fd-red-light);
}

.contest-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fd-white);
  line-height: 1.3;
}

.contest-card__mechanic {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

.contest-card__deadline {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
}
.contest-card__deadline svg { flex-shrink: 0; }

/* Legal */
.contest-card__legal {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
  line-height: 1.55;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* CTA partecipa */
.btn-partecipa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: var(--fd-red);
  border: none;
  border-radius: 0;
  padding: .8rem 1.8rem;
  margin-top: auto;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-partecipa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-200%);
  transition: transform .5s ease;
}
.btn-partecipa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 38, 29, .5);
  color: var(--fd-white);
}
.btn-partecipa:hover::before { transform: translateX(200%); }

/* =============================================
   SERVICE PAGES (grazie / conferma_dati_ok / conferma_dati_ko)
   ============================================= */

.service-page-section {
  background-image: url('../img/abstract-white-architecture-background-3d-render-modern-geometric-wallpaper-futuristic-technology-design.jpg');
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 80px); /* adatta se il tuo navbar ha altezza diversa */
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

/* Card contenitore */
.service-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(0,0,0,.8 );
  border-radius: 0;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
  animation: fadeUp .7s .1s both;
}

/* Accento colorato in cima alla card */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 0;
}
.service-card--success::before { background: linear-gradient(90deg, var(--fd-red), var(--fd-red-light)); }
.service-card--error::before   { background: linear-gradient(90deg, #666, #999); }

/* Glow di sfondo leggero */
.service-card--success::after,
.service-card--error::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}
.service-card--success::after { background: radial-gradient(circle, rgba(255, 38, 29, .10) 0%, transparent 70%); }
.service-card--error::after   { background: radial-gradient(circle, rgba(120,120,120,.08) 0%, transparent 70%); }

.service-card > * { position: relative; z-index: 1; }

/* Icona principale */
.service-card__icon-wrap {
  width: 80px; height: 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  animation: fadeUp .6s .25s both;
}
.service-card__icon-wrap--success {
  background: rgba(255, 38, 29, .15);
  border: 1.5px solid rgba(255, 38, 29, .35);
  color: var(--fd-red-light);
}
.service-card__icon-wrap--error {
  background: rgba(120,120,120,.12);
  border: 1.5px solid rgba(120,120,120,.3);
  color: rgba(255,255,255,.45);
}

/* Titolo */
.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fd-white);
  margin-bottom: 1rem;
  animation: fadeUp .6s .35s both;
}

/* Lead */
.service-card__lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 2rem;
  animation: fadeUp .6s .45s both;
}

/* Testo corpo (conferma_ok / ko) */
.service-card__body-text {
  text-align: left;
  font-size: .93rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeUp .6s .5s both;
}
.service-card__body-text p + p { margin-top: .85rem; }

/* Steps (grazie.php) */
.service-card__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.75rem;
  margin-bottom: 2rem;
  animation: fadeUp .6s .5s both;
}

.service-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.service-step__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 0;
  background: var(--fd-red);
  color: var(--fd-white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}

.service-step__body {
  font-size: .92rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.service-step__body strong {
  display: block;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: .3rem;
}
.service-step__body p { margin: 0; }

.service-step__divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.1);
  margin: .6rem 0 .6rem 15px; /* allineato al centro del numero */
}

/* Highlight inline */
.service-highlight {
  color: var(--fd-red-light);
  font-weight: 600;
}

/* Nota piccola */
.service-card__note {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeUp .6s .6s both;
}

/* CTA button */
.btn-service-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: var(--fd-red);
  border: none;
  border-radius: 0;
  padding: .85rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeUp .6s .7s both;
}
.btn-service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-200%);
  transition: transform .5s ease;
}
.btn-service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 38, 29, .5);
  color: var(--fd-white);
}
.btn-service-cta:hover::before { transform: translateX(200%); }

/* Variante neutra per la KO */
.btn-service-cta--neutral {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-service-cta--neutral:hover {
  background: rgba(255,255,255,.18);
  box-shadow: none;
  border-color: rgba(255,255,255,.4);
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    padding: 2.5rem 1.5rem;
  }
  .service-card__title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
}

/* =============================================
   DASHBOARD
   ============================================= */

.dash-section {
  /* background-image: url('../img/abstract-white-architecture-background-3d-render-modern-geometric-wallpaper-futuristic-technology-design.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: calc(100vh - 80px);
  padding: 4rem 0 6rem;
}

/* ── Header utente ── */
.dash-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dash-header__avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 0;
  background: rgba(255, 38, 29, .14);
  border: 1.5px solid rgba(255, 38, 29, .3);
  color: var(--fd-red-light);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-header__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 0 .2rem;
}

.dash-header__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--fd-white);
  margin: 0 0 .25rem;
}

.dash-header__company {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ── KPI row ── */
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) { .dash-kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .dash-kpi-row { grid-template-columns: 1fr; } }

.dash-kpi {
  background: var(--fd-dark);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.dash-kpi__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.dash-kpi__icon--red    { background: rgba(255, 38, 29, .14);  border: 1px solid rgba(255, 38, 29, .3);  color: var(--fd-red-light); }
.dash-kpi__icon--green  { background: rgba(75, 139, 51, .1);  border: 1px solid rgba(75, 139, 51, .3); color: rgba(75, 139, 51, 1); }
.dash-kpi__icon--orange { background: rgba(255,165,0,.1);   border: 1px solid rgba(255,165,0,.3);  color: #ffa500; }
.dash-kpi__icon--muted  { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); }

.dash-kpi__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 0 .2rem;
}

.dash-kpi__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fd-white);
  margin: 0;
}

/* ── Progress card ── */
.dash-progress-card {
  background: var(--fd-dark);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.dash-progress-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dash-progress-card__label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 .2rem;
}

.dash-progress-card__sub {
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  margin: 0;
}

.dash-progress-card__amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fd-white);
  white-space: nowrap;
}

.dash-progress-bar-track {
  height: 8px;
  background: rgba(255,255,255,.07);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: .6rem;
}

.dash-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fd-red), var(--fd-red-light));
  border-radius: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

.dash-progress-card__perc {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin: 0;
  text-align: right;
}

/* ── Table card ── */
.dash-table-card {
  background: rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.dash-profile-card {
  background: rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  overflow: hidden;
}

.dash-table-card__head {
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-table-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fd-white);
  margin: 0;
}

/* ── Table ── */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.dash-table thead tr {
  background: rgba(255,255,255,.03);
}

.dash-table th {
  padding: .85rem 1.1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-table td {
  padding: 1rem 1.1rem;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
  white-space: nowrap;
}

.dash-table tbody tr:last-child td { border-bottom: none; }

.dash-table tbody tr {
  transition: background var(--transition);
}
.dash-table tbody tr:hover {
  background: rgba(255,255,255,.03);
}

/* Bottone documento */
.dash-table__doc-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  color: rgba(255,255,255,.5);
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.dash-table__doc-btn:hover {
  background: rgba(255, 38, 29, .2);
  border-color: rgba(255, 38, 29, .4);
  color: var(--fd-red-light);
}

/* ── Badge stato ── */
.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 0;
  white-space: nowrap;
}
.dash-badge--green  { background: rgba(75, 139, 51, .12);  border: 1px solid rgba(75, 139, 51, .3);  color: rgba(75, 139, 51, 1); }
.dash-badge--gray   { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); }
.dash-badge--orange { background: rgba(255,165,0,.1);    border: 1px solid rgba(255,165,0,.3);   color: #ffa500; }
.dash-badge--red    { background: rgba(255, 38, 29, .12);   border: 1px solid rgba(255, 38, 29, .3);   color: var(--fd-red-light); }

/* Legenda */
.dash-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 1.1rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ── Profilo ── */
.dash-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 1.75rem 1.5rem;
}

@media (max-width: 767px) { .dash-profile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .dash-profile-grid { grid-template-columns: 1fr; } }

.dash-profile-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding-right: 1.5rem;
}
.dash-profile-item--wide {
  grid-column: span 3;
}
@media (max-width: 767px) { .dash-profile-item--wide { grid-column: span 2; } }
@media (max-width: 480px)  { .dash-profile-item--wide { grid-column: span 1; } }

.dash-profile-item__label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: .3rem;
}

.dash-profile-item__value {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  font-weight: 400;
}

.dash-profile-note {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin: 0;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,.06);
  line-height: 1.6;
}
.dash-profile-note a {
  color: var(--fd-red-light);
  font-weight: 600;
  transition: color var(--transition);
}
.dash-profile-note a:hover { color: var(--fd-white); }

/* ── Modal ── */
.dash-modal {
  background: var(--fd-dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
}
.dash-modal__header {
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--fd-white);
  font-family: var(--font-display);
}
.dash-modal__body { padding: 2rem; }
.dash-modal__footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}

.dash-modal__placeholder {
  text-align: center;
  padding: 2.5rem 1rem;
  color: rgba(255,255,255,.2);
}
.dash-modal__placeholder i {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.dash-modal__placeholder p {
  font-size: .88rem;
  margin: 0;
}

.dash-border_red  {
  border-top:3px solid var(--fd-red)!important;
}
.dash-border_cerulean  {
  border-top:3px solid #4dc0e8!important;
}
.dash-border_pink  {
  border-top:3px solid #ff7675!important;
}
.dash-border_green  {
  border-top:3px solid #4b8e22!important;
}
.dash-border_gray {
  border-top:3px solid #a8b5bd!important;
}
/* =============================================
   FONDITAL PREMI — dashboard-additions.css
   Da aggiungere in coda al file dashboard.css
   ============================================= */


/* ── Badge promo nell'header utente ── */
.dash-header {
  flex-wrap: wrap;
}

.dash-header__promo-badge {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  flex-shrink: 0;
}

.dash-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fd-white);
  background: var(--fd-red);
  padding: .38rem 1rem;
  border-radius: 0;
  box-shadow: 0 0 18px rgba(255, 38, 29, .35);
}

.dash-promo-pill .bi {
  font-size: .8rem;
}

.dash-promo-reg-link {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
  text-decoration: none;
}
.dash-promo-reg-link:hover {
  color: var(--fd-red-light);
}

@media (max-width: 767px) {
  .dash-header__promo-badge {
    margin-left: 0;
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
  }
}


/* ── Card prodotti premiati ── */
.dash-promo-products-card {
  background: var(--fd-white);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--fd-red);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-promo-products-card::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(225,37,28,.04) 0%, transparent 70%);
  pointer-events: none;
}

.dash-promo-products-card__head {
  margin-bottom: 1.5rem;
}

.dash-promo-products-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fd-black);
  margin: 0 0 .3rem;
}

.dash-promo-products-card__sub {
  font-size: .8rem;
  color: var(--fd-gray);
  margin: 0;
}

.dash-promo-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
  .dash-promo-products-grid {
    grid-template-columns: 1fr;
  }
}

.dash-promo-product-item {
  background: var(--fd-white);
  border: 1px solid #e2e8f0;
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.dash-promo-product-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

/* Immagine icona prodotto */
.dash-promo-product-item__img {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.dash-promo-product-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Bordo colorato superiore per varianti prodotto (premiati) */
.dash-promo-product-item--caldaia  { border-top: 3px solid var(--fd-red); }
.dash-promo-product-item--centrale { border-top: 3px solid #2563eb; }
.dash-promo-product-item--pompa    { border-top: 3px solid rgba(75, 139, 51, 1); }

.dash-promo-product-item__name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-gray);
  margin: 0 0 .4rem;
}

.dash-promo-product-item__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fd-black);
  margin: 0 0 .1rem;
}

/* Colore valore per variante prodotto */
.dash-promo-product-item--caldaia  .dash-promo-product-item__value { color: var(--fd-red); }
.dash-promo-product-item--centrale .dash-promo-product-item__value { color: #2563eb; }
.dash-promo-product-item--pompa    .dash-promo-product-item__value { color: rgba(75, 139, 51, 1); }

.dash-promo-product-item__note {
  font-size: .72rem;
  color: var(--fd-gray);
  margin: 0;
}

.dash-promo-products-card__footer {
  font-size: .78rem;
  color: var(--fd-gray);
  border-top: 1px solid #e2e8f0;
  padding-top: 1.1rem;
  line-height: 1.7;
}
.dash-promo-products-card__footer a {
  color: var(--fd-red);
  font-weight: 600;
  transition: color var(--transition);
}
.dash-promo-products-card__footer a:hover {
  color: var(--fd-red-dark);
}


/* ── Card riepilogo prodotti accettati + soglia ── */
.dash-soglia-card {
  background: var(--fd-white);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--fd-red);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.dash-soglia-card .dash-table-card__head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.dash-soglia-card .dash-table-card__title {
  color: var(--fd-black);
}

.dash-soglia-body {
  padding: 1.75rem 2rem;
}

/* Griglia contatori prodotti */
.dash-prodotti-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .dash-prodotti-row {
    grid-template-columns: 1fr;
  }
}

.dash-prodotto-item {
  background: var(--fd-white);
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow var(--transition);
}
.dash-prodotto-item:hover {
  box-shadow: var(--shadow-sm);
}

/* Bordo superiore colorato per variante prodotto (accettati) */
.dash-prodotto-item--caldaia  {  }
.dash-prodotto-item--centrale {  }
.dash-prodotto-item--pompa    {  }

/* Immagine icona prodotto */
.dash-prodotto-item__img {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .85rem;
}
.dash-prodotto-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dash-prodotto-item__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-gray);
  margin: 0 0 .3rem;
}

.dash-prodotto-item__count {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fd-black);
  margin: 0;
}

/* Colore count per variante prodotto */
.dash-prodotto-item--caldaia  .dash-prodotto-item__count { color: var(--fd-red); }
.dash-prodotto-item--centrale .dash-prodotto-item__count { color: #2563eb; }
.dash-prodotto-item--pompa    .dash-prodotto-item__count { color: rgba(75, 139, 51, 1); }

/* Track soglia orizzontale */
.dash-soglia-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: .25rem;
}

.dash-soglia-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.dash-soglia-step__circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: box-shadow var(--transition);
}

/* Step completato */
.dash-soglia-step--done .dash-soglia-step__circle {
  background: rgba(75, 139, 51, .12);
  border: 2px solid rgba(75, 139, 51, 1);
  color: rgba(75, 139, 51, 1);
}

/* Step trophy (fine percorso OK) */
.dash-soglia-step--trophy .dash-soglia-step__circle {
  background: rgba(255, 38, 29, .1);
  border: 2px solid var(--fd-red);
  color: var(--fd-red-light);
  box-shadow: 0 0 14px rgba(255, 38, 29, .2);
}

/* Step in attesa (soglia non raggiunta) */
.dash-soglia-step--pending .dash-soglia-step__circle {
  background: rgba(251,146,60,.1);
  border: 2px solid rgba(251,146,60,.5);
  color: #f97316;
}

/* Step bloccato */
.dash-soglia-step--locked .dash-soglia-step__circle {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
}

.dash-soglia-step__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fd-gray);
  text-align: center;
  max-width: 90px;
  line-height: 1.3;
}

/* Connettore orizzontale */
.dash-soglia-connector {
  flex: 1;
  height: 2px;
  min-width: 40px;
  max-width: 100px;
  margin-bottom: 1.25rem;
}

.dash-soglia-connector--filled {
  background: linear-gradient(90deg, rgba(75, 139, 51, 1), rgba(75, 139, 51, .4));
}

.dash-soglia-connector--empty {
  background: #e2e8f0;
}

/* Messaggio esito */
.dash-soglia-msg {
  font-size: .84rem;
  font-weight: 600;
  margin: 0;
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.dash-soglia-msg--ok {
  background: #f0fdf4;
  border: 1px solid rgba(75, 139, 51, .3);
  color: rgba(75, 139, 51, 1);
}

.dash-soglia-msg--ko {
  background: #fef2f2;
  border: 1px solid rgba(225,37,28,.25);
  color: var(--fd-red);
}


/* ── Intro iniziativa (titolo + meccanica + CTA) ── */
.dash-promo-intro {
  background: var(--fd-white);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--fd-red);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.dash-promo-intro__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--fd-black);
  margin: 0 0 1.5rem;
}

/* Griglia meccanica 3 passi */
.dash-mechanic-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .dash-mechanic-row {
    grid-template-columns: 1fr;
  }
}

.dash-mechanic-step {
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.dash-mechanic-step__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Bottoni sotto la meccanica */
.dash-promo-intro__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.btn-promo-intro {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .65rem 1.4rem;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn-promo-intro--primary {
  background: var(--fd-red);
  color: var(--fd-white);
  border: 1.5px solid var(--fd-red);
}
.btn-promo-intro--primary:hover {
  background: var(--fd-red-dark);
  border-color: var(--fd-red-dark);
  color: var(--fd-white);
  box-shadow: 0 6px 20px rgba(255, 38, 29, .3);
}

.btn-promo-intro--secondary {
  background: transparent;
  color: var(--fd-black);
  border: 1.5px solid #cbd5e1;
}
.btn-promo-intro--secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--fd-black);
}

@media (max-width: 480px) {
  .dash-promo-intro {
    padding: 1.25rem 1rem;
  }
  .btn-promo-intro {
    width: 100%;
    justify-content: center;
  }
}


/* ── Tab navigation ── */
.dash-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fd-gray);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: .9rem 1.6rem;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.dash-tab:hover {
  color: var(--fd-black);
  background: #f8fafc;
}

.dash-tab--active {
  color: var(--fd-red);
  border-bottom-color: var(--fd-red);
  background: transparent;
}

.dash-tab .bi {
  font-size: .85rem;
}

/* Tab panels */
.dash-tab-panel {
  display: none;
}

.dash-tab-panel--active {
  display: block;
}

@media (max-width: 575px) {
  .dash-tab {
    padding: .75rem 1rem;
    font-size: .72rem;
  }
}


/* ── Banner acceleratore di periodo ── */
.dash-accel-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 38, 29, .18) 0%, rgba(255, 38, 29, .06) 100%);
  border: 1px solid rgba(255, 38, 29, .35);
  border-left: 4px solid var(--fd-red);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-accel-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255, 38, 29, .04) 8px,
    rgba(255, 38, 29, .04) 16px
  );
  pointer-events: none;
}

.dash-accel-banner__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--fd-red);
  color: var(--fd-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 38, 29, .5);
  z-index: 1;
}

.dash-accel-banner__body {
  flex: 1;
  z-index: 1;
}

.dash-accel-banner__title {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fd-red-light);
  margin: 0 0 .2rem;
}

.dash-accel-banner__text {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.5;
}

.dash-accel-banner__cta {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: rgba(255, 38, 29, .6);
  z-index: 1;
  animation: bounceDown .9s ease-in-out infinite alternate;
}

@keyframes bounceDown {
  from { transform: translateY(-3px); }
  to   { transform: translateY(4px); }
}

@media (max-width: 575px) {
  .dash-accel-banner {
    flex-wrap: wrap;
  }
  .dash-accel-banner__cta {
    display: none;
  }
}


/* ── Nota assistenza sotto tabella ── */
.dash-table-note {
  margin: 0;
  padding: 1.1rem 1.75rem;
}


/* ── FAQ page ── */
.dash-faq-card {
  background: rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.dash-faq-accordion {
  padding: .75rem 0;
}

.dash-faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.dash-faq-item:last-child {
  border-bottom: none;
}

.dash-faq-btn {
  background: transparent;
  color: rgba(255,255,255,.75);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: 1.1rem 1.75rem;
  box-shadow: none !important;
  border: none;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.dash-faq-btn:not(.collapsed) {
  color: var(--fd-white);
  background: rgba(255, 38, 29, .06);
}
.dash-faq-btn:hover {
  color: var(--fd-white);
  background: rgba(255,255,255,.03);
}
.dash-faq-btn::after {
  filter: invert(1) opacity(.4);
  transition: filter var(--transition);
}
.dash-faq-btn:not(.collapsed)::after {
  filter: invert(1) opacity(.8);
}

/* Barra rossa sinistra quando aperto */
.dash-faq-btn:not(.collapsed)::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--fd-red);
}

.dash-faq-body {
  padding: .5rem 1.75rem 1.4rem 1.75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  background: transparent;
}
.dash-faq-body a {
  color: var(--fd-red-light);
  font-weight: 600;
  transition: color var(--transition);
}
.dash-faq-body a:hover {
  color: var(--fd-white);
}

/* ── FAQ inline nella contest-card ── */
.contest-faq {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
}

.contest-faq__title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 0 .75rem;
}

/* Rimuove il bordo superiore dell'accordion Bootstrap dentro la card */
.contest-faq .accordion-item {
  border: none;
}

/* Card contatto fondo FAQ */
.dash-faq-contact-card {
  background: var(--fd-dark);
  border: 1px solid rgba(255,255,255,.06);
  border-top: 4px solid var(--fd-red);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dash-faq-contact-card__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(255, 38, 29, .12);
  border: 1px solid rgba(255, 38, 29, .25);
  color: var(--fd-red-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-faq-contact-card__body {
  flex: 1;
  min-width: 200px;
}

.dash-faq-contact-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fd-white);
  margin: 0 0 .25rem;
}

.dash-faq-contact-card__sub {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.dash-faq-contact-card__btn {
  animation: none;
  flex-shrink: 0;
  font-size: .82rem;
  padding: .7rem 1.6rem;
}


/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #222222;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-logo img {
  height: 32px;
}

.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
}

.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--fd-red-light); }

.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
}

.footer-legal {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
}
.footer-legal a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--fd-red-light); }

/* Social icons */
.social-icons { display: flex; gap: .75rem; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 0;
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-icon:hover {
  background: var(--fd-red);
  color: var(--fd-white);
  transform: translateY(-3px);
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }


/* =============================================
   UTILITY
   ============================================= */
.section-py { padding-top: 6rem; padding-bottom: 6rem; }

@media (max-width: 768px) {
  .section-py { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-content { padding-left: 5%; padding-right: 5%; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .about-visual__badge { left: 0; bottom: -16px; }
  .carousel-control-prev { left: .75rem; }
  .carousel-control-next { right: .75rem; }
}
