/* ============================================
   SANFELICE LEGNAMI — Components
   ============================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 17px 28px;
  background-color: var(--color-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 400;
  text-decoration: none;
  border: 2px solid var(--color-gold);
  border-radius: 50px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: #fff;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Outline su sfondo scuro */
.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Outline su sfondo chiaro */
.btn-outline--gold {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline--gold:hover {
  background-color: var(--color-gold);
  color: #fff;
}

/* Pill outline: bordo bianco, sfondo trasparente */
.btn--pill-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  padding: 10px 22px;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.btn--pill-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

/* --- Arrow Icon (inline SVG) --- */
.icon-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.header__logo img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s ease;
}

.header__logo .logo-dark {
  display: none;
}

/* Header scrolled: mantieni logo bianco (sfondo scuro) */
.header.scrolled .header__logo .logo-white {
  display: block;
}

.header.scrolled .header__logo .logo-dark {
  display: none;
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header.scrolled .nav__link {
  color: #fff;
}

.header.scrolled .nav__link:hover {
  color: var(--color-gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.header.scrolled .nav-toggle__bar {
  background-color: #fff;
}

.nav-toggle.open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Parallax solo per hero senza video */
.hero--parallax {
  background-attachment: fixed;
}

.hero--full {
  min-height: 100vh;
}

/* Overlay come pseudo-element — non può mai debordare */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  z-index: 1;
  pointer-events: none;
}

/* Classi per disabilitare overlay */
.hero--no-overlay::before,
.hero-home::before {
  display: none;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-top: 80px; /* spazio per header fixed */
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  font-style: normal;
  color: #fff;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Card (Servizi / Blog / Prodotti) --- */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  transition: background 0.3s ease;
  z-index: 1;
}

.card:hover .card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  color: #fff;
  z-index: 2;
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card__link:hover {
  color: var(--color-gold);
}

/* Card grande (50/50 per Abet/Fundermax) */
.card--large {
  aspect-ratio: 3 / 2;
}

/* Hero compatto (es. pagina prodotti) */
.hero--compact {
  min-height: auto !important;
  height: auto;
  padding: var(--space-md) 0 var(--space-md);
}

/* Hero compatto su sfondo bianco: già ha header fixed sopra, basta spaziatura header */
.hero--compact .hero__content {
  padding-top: 90px;
}

/* Hero su sfondo bianco */
.hero--light {
  background: var(--color-white) !important;
  background-image: none !important;
}

.hero--light::before {
  display: none !important; /* nasconde overlay scuro pseudo-element */
}

.hero__title--small {
  font-size: clamp(2rem, 4vw, 3rem) !important;
}

.hero__subtitle--small {
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
}

.hero__title--dark {
  color: var(--color-text) !important;
}

.hero__subtitle--dark {
  color: var(--color-text-light) !important;
}

.hero__subtitle--long {
  max-width: 850px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.05rem !important;
  line-height: 1.5;
}

/* Breadcrumb scuro per hero su sfondo chiaro */
.breadcrumb--dark {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.breadcrumb--dark a,
.breadcrumb--dark span {
  color: var(--color-text-light) !important;
}

.breadcrumb--dark a:hover {
  color: var(--color-gold) !important;
}

/* Page right-align: breadcrumb a sinistra come hero title */
.page-right-align .breadcrumb--dark {
  justify-content: flex-start;
}

.breadcrumb--dark .breadcrumb__separator {
  color: var(--color-text-light);
  opacity: 0.6;
}

/* CTA con background image */
.section--cta-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-3xl) 0;
}

.section--cta-bg__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Titolo + link esterno sulla stessa riga */
.title-with-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.external-link:hover {
  color: var(--color-gold-hover);
  border-bottom-color: var(--color-gold);
}

.external-link svg {
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .title-with-link {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
}

/* Lightbox: caption con nome e codice */
.lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__caption {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lightbox__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lightbox__code {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
}

/* Pagina con testi allineati a sinistra (centrati come i container delle card) */
.page-right-align .hero__content,
.page-right-align .hero__content > *,
.page-right-align .cat-intro-wrap,
.page-right-align .cat-intro-wrap p,
.page-right-align .section-title-bold,
.page-right-align .text-center {
  text-align: left !important;
}

/* Eccezione: la fascia CTA "Hai bisogno..." resta centrata come in home */
.page-right-align .section--cta-bg,
.page-right-align .section--cta-bg *,
.page-right-align .section--cta-bg .section-title-bold {
  text-align: center !important;
}

/* Hero content: resta centrato (max-width = container) ma testo dentro a sinistra */
.page-right-align .hero__content {
  margin-left: auto;
  margin-right: auto;
}

.page-right-align .hero__subtitle--long {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Cat-intro: usa larghezza completa del container (= 3 card) */
.page-right-align .cat-intro-wrap {
  max-width: 100% !important;
  margin-left: 0;
  margin-right: 0;
}

.page-right-align .essenze-grid {
  justify-content: flex-start;
  max-width: 100% !important;
  margin-left: 0;
  margin-right: 0;
}

/* Mantieni footer come sempre */
.page-right-align .footer,
.page-right-align .footer * {
  text-align: initial;
}

.page-right-align .footer__bottom {
  text-align: center;
}

/* Card prodotti in evidenza (3 grandi) */
.prodotti-evidenza {
  gap: var(--space-md);
}

.card--evidenza {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card--evidenza:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.card--evidenza .card__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
}

.card--evidenza .card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
}

.card--evidenza .card__content {
  padding: var(--space-lg);
}

/* --- Servizio Card (Home: sezionatura, bordatura, placcatura) --- */
.servizi-grid {
  gap: var(--space-lg);
}

.servizio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.servizio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servizio-card:hover .servizio-card__image {
  transform: scale(1.05);
}

.servizio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.servizio-card:hover .servizio-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.servizio-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.servizio-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0;
}

.servizio-card__btn {
  font-size: 0.85rem;
}

/* --- Variante Prodotti: header ridotto + brands grandi, no shrink --- */
.hero-home--prodotti {
  height: 100vh !important;
}

.hero-home--prodotti .hero-home__visible {
  position: relative !important;
  top: auto !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column;
}

.hero-home--prodotti .hero-home__video {
  position: relative !important;
  height: 45vh !important;
  flex: 0 0 45vh;
}

.hero-home--prodotti .hero-home__top {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  height: 45vh !important;
  z-index: 3;
}

.hero-home--prodotti .hero-home__brands {
  position: relative !important;
  height: 55vh !important;
  flex: 0 0 55vh;
}

/* --- Home Hero (video fullscreen → riduce → brands → sito) --- */
.hero-home {
  position: relative;
  height: 200vh; /* 2 schermate: crea spazio per scrollare */
}

/* Il blocco visibile: sticky a 100vh */
.hero-home__visible {
  position: sticky;
  top: 0;
}

.hero-home__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* parte fullscreen, JS lo riduce */
  z-index: 0;
  overflow: hidden;
  will-change: height;
}

.hero-home__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home__video-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay-dark);
}

.hero-home__top {
  position: relative;
  z-index: 2;
  height: 100vh; /* JS lo riduce insieme al video */
  display: flex;
  align-items: center;
  padding-top: 80px;
  will-change: height;
}

.hero-home__content {
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  color: #fff;
}

/* Scroll hint: frecce animate */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.4s ease;
  cursor: pointer;
  pointer-events: auto;
}

.scroll-hint.hidden {
  opacity: 0;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Brand cards: in basso, inizialmente nascoste (altezza 0) */
.hero-home__brands {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 0; /* parte nascosto, JS lo apre */
  overflow: hidden;
  will-change: height;
}

.brand-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.brand-card:hover .brand-card__image {
  transform: scale(1.05);
}

.brand-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%);
  transition: background 0.4s ease;
  z-index: 1;
}

.brand-card:hover .brand-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.brand-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
}

.brand-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.brand-card__subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

.brand-card__btn {
  font-size: var(--text-small);
  padding: 10px 18px;
  border-color: var(--color-gold);
}

.brand-card__btn:hover {
  border-color: var(--color-gold-hover);
}

/* --- Counter Section --- */
.counter-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.counter-item {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.counter-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.counter-item__icon {
  color: var(--color-gold);
  margin-bottom: -8px;
  opacity: 0.85;
}

.counter-item__icon svg {
  width: 40px;
  height: 40px;
}

.counter-item__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: var(--space-sm);
  opacity: 0.9;
}

/* --- Fornitori Marquee (scroll infinito) --- */
.fornitori-marquee {
  background-color: var(--color-gold);
  padding: var(--space-xl) 0;
  overflow: hidden;
  position: relative;
}

.fornitori-marquee::before,
.fornitori-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.fornitori-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-gold), transparent);
}

.fornitori-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-gold), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

.fornitori-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--space-3xl);
  padding-right: var(--space-3xl);
}

.marquee-content img {
  height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.marquee-content img:hover {
  opacity: 1;
}

/* Dimensioni specifiche per loghi con proporzioni diverse */
.marquee-content img.logo-sm { height: 35px; }
.marquee-content img.logo-md { height: 45px; }
.marquee-content img.logo-lg { height: 110px; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.counter-tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  max-width: 700px;
  margin: var(--space-sm) auto var(--space-2xl);
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer__list li {
  margin-bottom: var(--space-xs);
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-small);
  transition: color 0.3s ease;
}

.footer__list a:hover {
  color: var(--color-gold);
}

.footer__logo {
  text-align: center;
}

.footer__logo img {
  height: 60px;
  margin: 0 auto var(--space-md);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer__social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: var(--color-gold);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb__separator {
  color: rgba(255, 255, 255, 0.4);
}

/* --- Section Title (centrato con linea decorativa) --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header__label {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.section-header__title {
  font-family: var(--font-subheading);
  font-size: var(--text-h2);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.section-header__line {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 0 auto;
}

/* --- Hero Fullscreen (chi-siamo) --- */
.hero-fullscreen {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-fullscreen__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullscreen__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay-dark);
}

.hero-fullscreen__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-padding);
  padding-top: 80px;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  color: #fff;
}

/* --- Vertical Timeline (alternata) --- */
.vtimeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

/* Linea centrale */
.vtimeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-gold-light);
  transform: translateX(-50%);
}

.vtimeline__item {
  position: relative;
  width: 50%;
  padding: var(--space-md) var(--space-xl);
  box-sizing: border-box;
}

.vtimeline__item--left {
  left: 0;
  text-align: right;
}

.vtimeline__item--right {
  left: 50%;
  text-align: left;
}

/* Pallino sulla linea centrale */
.vtimeline__item::after {
  content: '';
  position: absolute;
  top: calc(var(--space-md) + 30px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-gold-light);
  z-index: 2;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.vtimeline__item.animated::after {
  transform: scale(1);
}

.vtimeline__item--left::after {
  right: -10px;
}

.vtimeline__item--right::after {
  left: -10px;
}

/* Card con freccia che punta alla linea */
.vtimeline__card {
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vtimeline__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Freccia card → linea centrale */
.vtimeline__card::before {
  content: '';
  position: absolute;
  top: 28px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.vtimeline__item--left .vtimeline__card::before {
  right: -20px;
  border-left-color: var(--color-white);
}

.vtimeline__item--right .vtimeline__card::before {
  left: -20px;
  border-right-color: var(--color-white);
}

.vtimeline__year {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.vtimeline__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.vtimeline__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile: tutto su unica colonna a sinistra */
@media (max-width: 767px) {
  .vtimeline::before {
    left: 20px;
    transform: none;
  }
  .vtimeline__item,
  .vtimeline__item--left,
  .vtimeline__item--right {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 50px;
    padding-right: var(--space-sm);
  }
  .vtimeline__item::after,
  .vtimeline__item--left::after,
  .vtimeline__item--right::after {
    left: 12px;
    right: auto;
  }
  .vtimeline__item--left .vtimeline__card::before,
  .vtimeline__item--right .vtimeline__card::before {
    right: auto;
    left: -20px;
    border-left-color: transparent;
    border-right-color: var(--color-white);
  }
}

/* --- Form --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-bg-gray);
  border-radius: 4px;
  font-size: var(--text-body);
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--text-small);
  color: var(--color-text-light);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-gold);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
}

.lightbox__nav--prev { left: var(--space-md); }
.lightbox__nav--next { right: var(--space-md); }

/* --- Chi siamo Block (testo + media alternati) --- */
.chi-siamo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* Reverse = tutto il blocco testo allineato a destra */
.chi-siamo-block--reverse .chi-siamo-block__text,
.chi-siamo-block--reverse .chi-siamo-block__text .text-label,
.chi-siamo-block--reverse .chi-siamo-block__text h2,
.chi-siamo-block--reverse .chi-siamo-block__text p {
  text-align: right;
}

.chi-siamo-block__media {
  border-radius: 8px;
  overflow: hidden;
}

.chi-siamo-block__media img,
.chi-siamo-block__media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.chi-siamo-block__text p {
  color: var(--color-text-light);
  margin-top: var(--space-sm);
  line-height: 1.8;
}

.chi-siamo-block__text p:first-of-type {
  margin-top: var(--space-md);
}

/* Video placeholder con play button */
.video-placeholder {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-placeholder img {
  width: 100%;
  display: block;
}

.video-placeholder__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--overlay-light);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-placeholder__play:hover {
  background: var(--overlay-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

/* --- Servizio Extra (icona + testo) --- */
.servizio-extra {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.servizio-extra__icon {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.servizio-extra__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.servizio-extra__desc {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- Contatti Layout --- */
.contatti-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.contatti-info__item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.contatti-info__icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contatti-info__item a {
  color: var(--color-gold);
}

/* Form feedback */
.form-message {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  font-size: var(--text-small);
}

.form-message--success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message--error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Mappa */
.mappa-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Prodotto Carousel (Swiper compatto) --- */
.prodotto-carousel {
  position: relative;
  padding: 0;
}

.prodotto-carousel .swiper {
  padding: var(--space-xs) 0 var(--space-lg);
  overflow: hidden;
}

.prodotto-carousel .swiper-slide {
  height: auto;
}

.carousel-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.carousel-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-bg-light);
}

.carousel-card__body {
  padding: var(--space-sm) var(--space-sm);
  text-align: center;
  flex: 1;
}

.carousel-card__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.25;
}

.carousel-card__code {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-top: 3px;
  line-height: 1.3;
}

/* Layout carousel con spazio minimo per le frecce accanto alle card */
.prodotto-carousel {
  position: relative;
  padding: 0 26px;
}

/* Controlli Swiper compatti, vicini alle card e centrati sull'immagine (non sull'intera card) */
.prodotto-carousel .swiper-button-prev,
.prodotto-carousel .swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
  --swiper-navigation-size: 14px;
  top: 38%;
  margin-top: 0;
  transform: translateY(-50%);
  z-index: 5;
}

.prodotto-carousel .swiper-button-prev { left: -18px; }
.prodotto-carousel .swiper-button-next { right: -18px; }

@media (max-width: 767px) {
  .prodotto-carousel { padding: 0 20px; }
  .prodotto-carousel .swiper-button-prev { left: -14px; }
  .prodotto-carousel .swiper-button-next { right: -14px; }
  .prodotto-carousel .swiper-button-prev,
  .prodotto-carousel .swiper-button-next {
    width: 30px;
    height: 30px;
  }
}

.prodotto-carousel .swiper-button-prev::after,
.prodotto-carousel .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.prodotto-carousel .swiper-button-prev:hover,
.prodotto-carousel .swiper-button-next:hover {
  background: var(--color-gold-hover);
}

.prodotto-carousel .swiper-button-disabled {
  opacity: 0.3;
}

/* Pagination dots */
.prodotto-carousel .swiper-pagination {
  bottom: 0;
}

.prodotto-carousel .swiper-pagination-bullet {
  background: var(--color-gold-light);
  opacity: 0.5;
  width: 6px;
  height: 6px;
}

.prodotto-carousel .swiper-pagination-bullet-active {
  background: var(--color-gold);
  opacity: 1;
  width: 18px;
  border-radius: 4px;
}

/* Sezione categoria compatta */
.cat-section {
  padding: var(--space-xl) 0 !important;
}

.cat-intro-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.cat-intro {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem !important;
}

/* --- Prodotto Grid (campioni / gallery) --- */
.prodotto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.prodotto-sample {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.prodotto-sample:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.prodotto-sample img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.prodotto-sample__info {
  padding: var(--space-sm);
}

.prodotto-sample__name {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.prodotto-sample__code {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* --- Campionario: ricerca + filtri + placeholder --- */
.campionario__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.campionario__search {
  position: relative;
  flex: 1 1 300px;
  max-width: 440px;
}

.campionario__search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}

.campionario__input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-bg-gray);
  border-radius: 50px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.campionario__input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(188, 159, 76, 0.15);
}

.campionario__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.campionario__chip {
  padding: 7px 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-bg-gray);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.campionario__chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.campionario__chip.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.campionario__count {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-sm);
}

.campionario__empty {
  text-align: center;
  color: var(--color-text-light);
  padding: var(--space-xl) 0;
}

.prodotto-sample[hidden] {
  display: none;
}

.prodotto-sample--placeholder {
  cursor: default;
}

.prodotto-sample--placeholder:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transform: none;
}

.prodotto-sample__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 10px, #ececec 10px, #ececec 20px);
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.3;
}

/* --- Campionario CTA (pagina Prodotti) --- */
.campionario-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-light);
  border: 1px solid var(--color-bg-gray);
  border-radius: 14px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.campionario-cta:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.campionario-cta__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text);
  margin: 2px 0 6px;
}

.campionario-cta__desc {
  color: var(--color-text-light);
  margin: 0;
  max-width: 540px;
}

.campionario-cta__btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .campionario-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
  }
}

/* --- Prodotto Essenze (tag pills compatti) --- */
.essenze-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 900px;
  margin: 0 auto;
}

.essenza-item {
  padding: 4px 12px;
  background: rgba(188, 159, 76, 0.08);
  border: 1px solid rgba(188, 159, 76, 0.3);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* --- Pagination (blog frontend) --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-2xl);
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--color-bg-gray);
  border-radius: 4px;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-small);
  transition: all 0.2s ease;
}

.pagination__link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination__link--active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

/* --- Article Hero Full-width (blog singolo) --- */
.article-hero-fw {
  position: relative;
  min-height: 65vh;
  background-color: #2a2018;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
  color: #fff;
  overflow: hidden;
}

.article-hero-fw__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 10, 0.45) 0%,
    rgba(20, 15, 10, 0.25) 35%,
    rgba(20, 15, 10, 0.75) 100%
  );
  z-index: 1;
}

.article-hero-fw__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Pills (data + sottotitolo) in beige istituzionale */
.article-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}

.article-pill {
  display: inline-block;
  background: #f4ede0;
  color: #2a2018;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.article-hero-fw__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-sm);
  max-width: 900px;
}

.article-hero-fw__subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 800px;
}

/* Assicura che il testo/titolo resti left-align anche con page-right-align */
.page-right-align .article-hero-fw__title,
.page-right-align .article-pills,
.page-right-align .article-pill {
  text-align: left !important;
}

/* --- Article Nav: prev/next in stile brand-card --- */
.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

.article-nav__card {
  min-height: 320px;
}

@media (min-width: 768px) {
  .article-nav {
    grid-template-columns: 1fr 1fr;
  }
  .article-nav__card {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .article-hero-fw {
    min-height: 55vh;
    padding-top: 100px;
  }
}

/* --- Blog Cards (index blog) --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.blog-card__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3efe9;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card__date {
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.blog-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-light);
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.blog-card__link .icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__link .icon-arrow {
  transform: translateX(4px);
}

/* --- Article Body (blog singolo) --- */
.article-body {
  line-height: 1.9;
  color: var(--color-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-body h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--text-h2);
}

.article-body h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.article-body p {
  margin-bottom: var(--space-md);
}

.article-body img {
  margin: var(--space-lg) auto;
  border-radius: 8px;
}

.article-body a {
  color: var(--color-gold);
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
  list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: var(--space-xs);
}

.article-body strong {
  font-weight: 700;
}

.article-body blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* --- Blog Nav Prev/Next --- */
.blog-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 200px;
  padding: var(--space-xl);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.blog-nav__item--empty {
  background-color: var(--color-dark);
}

.blog-nav__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay-dark);
  transition: background-color 0.3s ease;
}

.blog-nav__item:hover .blog-nav__overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.blog-nav__content {
  position: relative;
  z-index: 2;
}

.blog-nav__title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-top: var(--space-xs);
}

/* --- Header Static (for policy pages) --- */
.header--static {
  position: relative;
}
