/* ================================================
   IMMA VARACALLI SERRAMENTI — Main Stylesheet
   Ispirazione: Finstral.com — lusso industriale
   ================================================ */

/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* === CSS Custom Properties === */
:root {
  --color-primary:   #1A1A2E;
  --color-secondary: #C8A96E;
  --color-bg:        #F5F4F0;
  --color-gray:      #8A8A8A;
  --color-white:     #FFFFFF;
  --color-text:      #1A1A1A;
  --color-text-muted:#5A5A5A;
  --color-border:    #E0DDD5;

  --font-main: 'Work Sans', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.14);

  --transition:      300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 100px;

  --z-base:     1;
  --z-overlay:  10;
  --z-header:   100;
  --z-dropdown: 200;
  --z-modal:    300;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button {
  font-family: var(--font-main);
  cursor: pointer;
}

/* === Typography === */
h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-primary);
}
h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* === Layout === */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: var(--space-xl) 0;
}

.section--sm {
  padding: var(--space-lg) 0;
}

.section--dark {
  background-color: var(--color-primary);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255,255,255,0.65);
}

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

/* === Grid Utilities === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* === Flex Utilities === */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: #b8965a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-secondary);
  padding: 0.5rem 0;
  border-radius: 0;
  gap: 0.75rem;
}

.btn--ghost::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-secondary);
  transition: width var(--transition);
}

.btn--ghost:hover::after {
  width: 48px;
}

/* === Section Label / Overline === */
.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.label--white {
  color: rgba(255,255,255,0.55);
}

/* === Divider Line === */
.divider {
  width: 64px;
  height: 2px;
  background: var(--color-secondary);
  margin: 1rem 0 2rem;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* === Section Header Block === */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header--center {
  text-align: center;
}

.section-header__title {
  margin-bottom: 1.25rem;
}

.section-header__desc {
  font-size: 1.1rem;
  max-width: 60ch;
}

.section-header--center .section-header__desc {
  margin-left: auto;
  margin-right: auto;
}

/* === ======================================
   HEADER
   ====================================== === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header--transparent {
  background: transparent;
}

.header--scrolled,
.header.scrolled {
  background: rgba(255,255,255,0.93) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26,26,46,0.08), 0 4px 24px rgba(26,26,46,0.07);
}

.header--scrolled .nav__link,
.header.scrolled .nav__link {
  color: var(--color-text);
}

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

.header--scrolled .nav__dropdown,
.header.scrolled .nav__dropdown {
  background: var(--color-white);
  border-color: rgba(26,26,46,0.08);
}

.header--scrolled .nav__dropdown-link,
.header.scrolled .nav__dropdown-link {
  color: var(--color-text);
}

.header--scrolled .nav__dropdown-link:hover,
.header.scrolled .nav__dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.header--scrolled .hamburger span,
.header.scrolled .hamburger span {
  background: var(--color-text);
}

.header--scrolled .nav__sub-dropdown,
.header.scrolled .nav__sub-dropdown {
  background: #0f0f22;
  border-color: rgba(200,169,110,0.18);
}

.header--scrolled .nav__sub-dropdown .nav__dropdown-link,
.header.scrolled .nav__sub-dropdown .nav__dropdown-link {
  color: rgba(255,255,255,0.75);
}

.header--scrolled .nav__sub-dropdown .nav__dropdown-link:hover,
.header.scrolled .nav__sub-dropdown .nav__dropdown-link:hover {
  background: rgba(200,169,110,0.1);
  color: var(--color-secondary);
}

.header--solid {
  background: var(--color-primary);
}

.header__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

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

.header__logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

/* ── Logo flip bianco → scuro allo scroll ── */
.logo-flip {
  display: inline-block;
  position: relative;
  height: 90px;
  perspective: 700px;
}

.logo-flip__face {
  height: 90px;
  width: auto;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-flip__face--white {
  display: block;
  transform: rotateY(0deg);
}

.logo-flip__face--dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
}

.header.scrolled .logo-flip__face--white,
.header--scrolled .logo-flip__face--white {
  transform: rotateY(-180deg);
}

.header.scrolled .logo-flip__face--dark,
.header--scrolled .logo-flip__face--dark {
  transform: rotateY(0deg);
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-secondary);
}

.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav__item:hover .nav__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: #0f0f22;
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: var(--z-dropdown);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background: rgba(200,169,110,0.1);
  color: var(--color-secondary);
  padding-left: 1.25rem;
}

.nav__dropdown-link::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav__dropdown-link:hover::before {
  opacity: 1;
}

/* Dropdown: gruppo con etichetta */
.nav__dropdown-group-label {
  display: block;
  padding: 0.75rem 1rem 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-secondary);
  opacity: 0.65;
  pointer-events: none;
}

.nav__dropdown-divider {
  height: 1px;
  background: rgba(200,169,110,0.15);
  margin: 0.35rem 0.75rem;
}

/* Mega dropdown (Prodotti) — più largo, allineato a sinistra */
.nav__dropdown--mega {
  min-width: 290px;
  left: 0;
  transform: translateX(0) translateY(-8px);
}

.nav__item:hover .nav__dropdown--mega {
  transform: translateX(0) translateY(0);
}

/* Sub-dropdown flyout (Infissi → Alluminio/Legno/PVC) */
.nav__item--sub {
  position: relative;
}

.nav__dropdown-link--has-sub {
  gap: 0.5rem;
}

.nav__dropdown-link--has-sub svg {
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.nav__item--sub:hover .nav__dropdown-link--has-sub svg {
  opacity: 1;
}

.nav__sub-dropdown {
  position: absolute;
  top: 0;
  left: calc(100% + 0.5rem);
  min-width: 220px;
  background: #0f0f22;
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: var(--z-dropdown);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.nav__item--sub:hover .nav__sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile nav: etichetta gruppo */
.mobile-nav__group-label {
  display: block;
  padding: 0.6rem 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  opacity: 0.65;
}

/* Shop CTA nav button */
.nav__shop {
  display: none; /* temporaneamente nascosto */
  /* display: inline-flex; */
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 100px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.nav__shop:hover {
  background: #e0bc7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}

.nav__shop svg {
  width: 12px;
  height: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: var(--color-primary);
  padding: var(--space-md) clamp(1rem, 4vw, 2.5rem);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: calc(var(--z-header) - 1);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--color-secondary);
  padding-left: 0.5rem;
}

.mobile-nav__sub {
  padding: 0.5rem 0 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav__sub-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.mobile-nav__sub-link:hover {
  color: var(--color-secondary);
}

.mobile-nav__shop {
  display: none; /* temporaneamente nascosto */
  /* display: inline-flex; */
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.75rem;
  margin-top: var(--space-md);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 100px;
}

/* === ======================================
   HERO (Home)
   ====================================== === */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(26,26,46,0.88) 0%,
    rgba(26,26,46,0.55) 55%,
    rgba(26,26,46,0.35) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  padding-top: var(--header-height);
}

.hero__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__title {
  color: var(--color-white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__title em {
  font-style: normal;
  color: var(--color-secondary);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-secondary), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* === ======================================
   PAGE HERO (inner pages)
   ====================================== === */

.page-hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-hero__bg img,
.page-hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,46,0.95) 0%,
    rgba(26,26,46,0.6) 45%,
    rgba(26,26,46,0.25) 100%
  );
  z-index: 2;
}

.page-hero__content {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  padding-top: var(--header-height);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.page-hero__breadcrumb a {
  transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-secondary);
}

.page-hero__breadcrumb svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.page-hero__title {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 50ch;
}

/* === ======================================
   PRODUCT CARDS
   ====================================== === */

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.07);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.product-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card__link {
  color: var(--color-secondary);
}

.product-card:hover .product-card__link svg {
  transform: translateX(4px);
}

/* === ======================================
   FEATURE / VALUE BOXES
   ====================================== === */

.feature-box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-box__icon {
  width: 48px;
  height: 48px;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.feature-box__number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-secondary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.feature-box__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.feature-box__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* === ======================================
   STATS
   ====================================== === */

.stats-bar {
  background: linear-gradient(135deg, var(--color-primary), #0d0d20);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* === ======================================
   PROCESS TIMELINE (home preview)
   ====================================== === */

.process-preview {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.process-preview::-webkit-scrollbar { display: none; }

.process-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(to right, var(--color-secondary), rgba(200,169,110,0.2));
}

.process-step__circle {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: all var(--transition);
}

.process-step:hover .process-step__circle,
.process-step.is-active .process-step__circle {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(200,169,110,0.15);
}

.process-step__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  padding: 0 0.5rem;
  line-height: 1.4;
}

/* === ======================================
   GALLERY
   ====================================== === */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.gallery--masonry {
  columns: 3;
  gap: 0.75rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-primary);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.55);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay svg {
  color: var(--color-white);
  width: 40px;
  height: 40px;
}

/* === ======================================
   LIGHTBOX
   ====================================== === */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition);
}

.lightbox__img.is-loaded {
  opacity: 1;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--color-white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(200,169,110,0.3);
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* === ======================================
   PRODUCTION TIMELINE (produzione.html)
   ====================================== === */

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-secondary) 0%, rgba(200,169,110,0.1) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__dot {
  position: absolute;
  left: -1.625rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-secondary);
  transition: all var(--transition);
}

.timeline-item.is-visible .timeline-item__dot {
  box-shadow: 0 0 0 6px rgba(200,169,110,0.2);
}

.timeline-item__step {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.timeline-item__title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.timeline-item__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 55ch;
  line-height: 1.7;
}

/* === ======================================
   PARTNER CARDS
   ====================================== === */

.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-card__logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  min-height: 120px;
}

.partner-card__logo {
  max-height: 64px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0.6);
  transition: filter var(--transition);
}

.partner-card:hover .partner-card__logo {
  filter: grayscale(0);
}

.partner-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.partner-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  transition: gap var(--transition-fast);
}

.partner-card__link:hover {
  gap: 0.75rem;
}

.partner-card__link svg {
  width: 16px;
  height: 16px;
}

/* === ======================================
   CONTACT FORM
   ====================================== === */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-secondary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray);
  font-weight: 300;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%238A8A8A' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-error {
  font-size: 0.78rem;
  color: #DC2626;
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #DC2626;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #7a6030;
}

/* === ======================================
   CONTACT INFO
   ====================================== === */

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 0.25rem;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 400;
  margin: 0;
  max-width: none;
}

.contact-item__value a {
  transition: color var(--transition-fast);
}

.contact-item__value a:hover {
  color: var(--color-secondary);
}

/* === ======================================
   MAP
   ====================================== === */

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 7;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* === ======================================
   CTA SECTION
   ====================================== === */

.cta-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e0e20 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-block p {
  color: rgba(255,255,255,0.62);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

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

/* === ======================================
   INTRO SPLIT (2-col)
   ====================================== === */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.intro-split--reverse {
  direction: rtl;
}

.intro-split--reverse > * {
  direction: ltr;
}

.intro-split__img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.intro-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-split__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(200,169,110,0.25);
  pointer-events: none;
}

.intro-split__accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  opacity: 0.15;
}

/* === ======================================
   FULL-WIDTH IMAGE STRIP
   ====================================== === */

.img-strip {
  height: 460px;
  overflow: hidden;
  position: relative;
}

.img-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.img-strip:hover img {
  transform: scale(1.04);
}

.img-strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.35);
}

/* === ======================================
   FOOTER
   ====================================== === */

.footer {
  background: #10101f;
  color: rgba(255,255,255,0.65);
  padding-top: var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.footer__logo {
  display: block;
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-secondary);
  padding-left: 0.375rem;
}

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  margin-top: 2px;
}

.footer__contact-value {
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer__contact-value a:hover {
  color: var(--color-secondary);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
}

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

/* === ======================================
   REPARTI SECTION
   ====================================== === */

.reparto-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.reparto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.reparto-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.reparto-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.reparto-card:hover .reparto-card__img img {
  transform: scale(1.06);
}

.reparto-card__body {
  padding: 1.75rem;
}

.reparto-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.reparto-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}

.reparto-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* === ======================================
   UTILITY CLASSES
   ====================================== === */

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-gold    { color: var(--color-secondary) !important; }
.text-white   { color: var(--color-white) !important; }
.text-muted   { color: var(--color-text-muted) !important; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.w-full   { width: 100%; }
.h-full   { height: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* === ======================================
   RESPONSIVE BREAKPOINTS
   ====================================== === */

@media (max-width: 1200px) {
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --space-xl: 5rem; --space-lg: 3rem; }
  .intro-split { grid-template-columns: 1fr; gap: var(--space-md); }
  .intro-split--reverse { direction: ltr; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-card__logo-area { min-height: auto; padding: 1.5rem; }
  .header__nav { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; --space-xl: 4rem; --space-lg: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .map-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  :root { --space-xl: 3rem; }
  .grid-4     { grid-template-columns: 1fr; }
  .hero__cta  { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .gallery    { grid-template-columns: repeat(2, 1fr); }
  .cta-block__btns { flex-direction: column; align-items: center; }
}

/* === ======================================
   DATA-TRANSPARENT ATTRIBUTE SUPPORT
   ====================================== === */

.header[data-transparent="true"]:not(.scrolled):not(.header--scrolled) {
  background: transparent;
}

/* === ======================================
   MOBILE NAV — additional class aliases
   ====================================== === */

.mobile-nav.open { transform: translateX(0); }

/* === ======================================
   PARALLAX IMAGE
   ====================================== === */

.parallax-img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
  position: absolute;
  top: -15%;
  left: 0;
}

.img-strip { position: relative; overflow: hidden; }

/* === ======================================
   VIDEO SECTION (inline with text overlay)
   ====================================== === */

.video-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.video-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.75);
  z-index: 1;
}

.video-section__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.video-section__content h2 { color: var(--color-white); }
.video-section__content p  { color: rgba(255,255,255,0.65); max-width: 44ch; }

@media (max-width: 768px) {
  .video-section__content { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem; }
}

/* === ======================================
   ACCESSORI SPLIT SECTION (home)
   ====================================== === */

.accessori-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.accessori-split__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-primary);
}

.accessori-split__media video,
.accessori-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accessori-split__media:hover video,
.accessori-split__media:hover img {
  transform: scale(1.04);
}

.accessori-split__body .label { margin-bottom: 0.25rem; }
.accessori-split__body h2 { margin-block: 0.5rem 1.25rem; }
.accessori-split__body p  { max-width: 44ch; }

@media (max-width: 960px) {
  .accessori-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .accessori-split__media { aspect-ratio: 16/9; }
}

/* === ======================================
   ACCESSORI GALLERY PAGE
   ====================================== === */

.accessori-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.accessori-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  background: var(--color-bg);
  cursor: pointer;
}

.accessori-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accessori-card:hover img { transform: scale(1.08); }

.accessori-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0);
  transition: background var(--transition);
  pointer-events: none;
}

.accessori-card:hover::after { background: rgba(26,26,46,0.22); }

/* ── Accessori abbinati strip (within product pages) ── */
.abbinati-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.abbinati-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  background: var(--color-bg);
}

.abbinati-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.abbinati-card:hover img { transform: scale(1.06); }

@media (max-width: 960px) {
  .abbinati-strip { grid-template-columns: repeat(2, 1fr); }
  .accessori-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* === ======================================
   CTA BLOCK — LIGHT VARIANT (avorio)
   ====================================== === */

.cta-block--light {
  background: var(--color-bg);
}

.cta-block--light h2 { color: var(--color-primary); }
.cta-block--light p  { color: var(--color-text-muted); }
.cta-block--light::before { display: none; }

/* === ======================================
   PROCESS SECTION DARK BG FIX
   ====================================== === */

.section--dark .process-step__label {
  color: rgba(255,255,255,0.45);
}

.section--dark .process-step__circle {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,169,110,0.5);
}

/* === ======================================
   SPLIT SECTION (Finstral-style full-bleed)
   ====================================== === */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  overflow: hidden;
}

.split-section--reverse { direction: rtl; }
.split-section--reverse > * { direction: ltr; }

.split-section__media {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}

.split-section__media img,
.split-section__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section__media:hover img,
.split-section__media:hover video { transform: scale(1.04); }

.split-section__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem);
}

.split-section__body h2 { margin-block: 0.5rem 1.25rem; }
.split-section__body p  { max-width: 44ch; margin-bottom: 0; }

.split-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.split-section__link:hover { gap: 0.9rem; color: var(--color-secondary); }

@media (max-width: 960px) {
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-section--reverse { direction: ltr; }
  .split-section__media { aspect-ratio: 16/9; }
  .split-section__body { padding: 3rem 1.5rem; }
}

/* === ======================================
   REPARTO CARDS (chi-siamo.html)
   ====================================== === */

.reparti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .reparti-grid { grid-template-columns: 1fr; }
}

/* === ======================================
   VANTAGGI GRID (product pages)
   ====================================== === */

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

.vantaggio-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.vantaggio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.vantaggio-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
}

.vantaggio-item__title { font-size: 1rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.35rem; }
.vantaggio-item__desc  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

@media (max-width: 600px) {
  .vantaggi-grid { grid-template-columns: 1fr; }
}

/* === ======================================
   REDUCED MOTION
   ====================================== === */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__video { display: none; }
}

/* === ======================================
   SPLIT SECTIONS — Finstral Style
   ====================================== === */

.split-section {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
}
.split-section.reverse {
  grid-template-columns: 38% 62%;
}
.split-section.reverse .split-image { order: 2; }
.split-section.reverse .split-content { order: 1; }

.split-image {
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.split-section:hover .split-image img {
  transform: scale(1.03);
}
.split-content {
  padding: 80px 60px;
  position: relative;
}
.split-section.overlap .split-content {
  margin-left: -80px;
  background: white;
  padding: 60px;
  z-index: 2;
  box-shadow: -20px 0 60px rgba(0,0,0,0.08);
}
.split-line {
  display: block;
  font-size: 24px;
  color: #C8A96E;
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.split-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin-bottom: 24px;
}
.split-title--light {
  color: #ffffff;
}
.split-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
  max-width: 420px;
  margin-bottom: 32px;
}
.split-text--light {
  color: rgba(255,255,255,0.75);
}
.split-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1A2E;
  text-decoration: none;
  border-bottom: 1px solid #C8A96E;
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.split-link:hover { color: #C8A96E; }
.split-link--light {
  color: #ffffff;
  border-bottom-color: #C8A96E;
}
.split-link--light:hover { color: #C8A96E; }

.split-content--dark {
  background: #1A1A2E;
}

@media (max-width: 768px) {
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .split-section.reverse .split-image { order: 0; }
  .split-image { min-height: 300px; }
  .split-content { padding: 48px 24px; }
  .split-section.overlap .split-content { margin-left: 0; }
}

/* === ======================================
   FADE-UP ANIMATION (split observer)
   ====================================== === */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ======================================
   WHATSAPP WIDGET
   ====================================== === */

.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-widget span {
  white-space: nowrap;
}

/* === ======================================
   SOCIAL ICONS
   ====================================== === */

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.social-link:hover {
  color: #C8A96E;
  border-color: #C8A96E;
  background: rgba(200,169,110,0.08);
}
.social-link svg {
  display: block;
}

.mobile-nav__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav__social .social-link {
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,0.25);
}

/* Shop button alias */
.btn--shop {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 100px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.btn--shop:hover {
  background: #e0bc7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}

/* btn--outline variant for light backgrounds */
.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(26,26,46,0.35);
}
.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* footer copy line */
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* === ======================================
   PRODUCTS GRID — Home
   ====================================== === */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.product-card {
  position: relative;
  overflow: hidden;
  height: 520px;
  cursor: pointer;
  text-decoration: none;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.2) 60%, transparent 100%);
  transition: background 0.4s ease;
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.5) 60%, rgba(200,169,110,0.1) 100%);
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  color: white;
}

.product-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 10px;
  display: block;
}

.product-card__title {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.product-card__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s;
}

.product-card:hover .product-card__link {
  opacity: 1;
  transform: translateY(0);
  border-color: #C8A96E;
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { height: 380px; }
}

@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { height: 320px; }
}

/* === ======================================
   STATS BAR — Home
   ====================================== === */

.stats-bar {
  background: #1A1A2E;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #C8A96E;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .stat-item + .stat-item::before { display: none; }
}

/* === ======================================
   PROCESS PREVIEW — Home
   ====================================== === */

.process-preview {
  background: #1A1A2E;
  padding: 100px 0;
}

.process-preview__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.process-preview__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  display: block;
  margin-bottom: 16px;
}

.process-preview__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 0;
  position: relative;
}

.process-steps-grid::before {
  display: none;
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  cursor: default;
  transition: transform 0.3s ease;
}

.process-step.is-active .process-step__dot {
  background: #C8A96E;
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(200,169,110,0.2);
}

.process-step.is-active .process-step__num {
  color: #C8A96E;
}

.process-step.is-active .process-step__name {
  color: #ffffff;
}

.process-step__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(200,169,110,0.3);
  border: 2px solid rgba(200,169,110,0.5);
  margin: 20px auto 20px;
  transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.process-step__num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(200,169,110,0.4);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.process-step__name {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
  transition: color 0.4s ease;
}

.process-preview__cta {
  text-align: center;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps-grid::before { display: none; }
}

@media (max-width: 500px) {
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === ======================================
   PARTNERS PREVIEW — Home
   ====================================== === */

.partners-preview {
  padding: 80px 0;
  background: #F5F4F0;
}

.partners-preview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.partners-preview__text {
  flex: 0 0 auto;
  max-width: 380px;
}

.partners-preview__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  display: block;
  margin-bottom: 16px;
}

.partners-preview__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: #1A1A1A;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.partners-preview__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

.partners-logos {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo-item {
  text-align: center;
}

.partner-logo-item__name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1A1A2E;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}

.partner-logo-item__category {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
}

@media (max-width: 900px) {
  .partners-preview__inner { flex-direction: column; gap: 40px; align-items: flex-start; }
  .partners-preview__text { max-width: 100%; }
  .partners-logos { gap: 32px; }
}

/* === ======================================
   CTA SECTION — Home
   ====================================== === */

.cta-section {
  background: #F5F4F0;
  padding: 120px 40px;
  text-align: center;
}

.cta-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  display: block;
  margin-bottom: 24px;
}

.cta-section__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: #1A1A1A;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 16px;
}

.cta-section__sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #555;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* === ======================================
   PARTNER CARDS — replicable grid
   ====================================== === */

.partner-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.partner-card-new {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(26,26,46,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  opacity: 0;
  transform: translateY(32px);
}

.partner-card-new.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(200,169,110,0.18), 0 4px 16px rgba(0,0,0,0.06);
  border-color: rgba(200,169,110,0.45);
}

.partner-card-new__head {
  background: #ffffff;
  padding: 40px 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-bottom: 1px solid rgba(26,26,46,0.06);
}

.partner-card-new__head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #C8A96E;
}

.partner-card-new__logo {
  max-width: 240px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.partner-card-new:hover .partner-card-new__logo {
  transform: scale(1.04);
  opacity: 0.85;
}

.partner-card-new__body {
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.partner-card-new__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A96E;
  display: block;
}

.partner-card-new__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  flex: 1;
  margin: 4px 0 8px;
}

.partner-card-new__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1A2E;
  border-bottom: 1px solid #C8A96E;
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.3s ease;
  display: inline-block;
}

.partner-card-new:hover .partner-card-new__cta {
  color: #C8A96E;
}

/* stagger animation for partner cards */
.partner-card-new:nth-child(1) { transition-delay: 0s; }
.partner-card-new:nth-child(2) { transition-delay: 0.12s; }
.partner-card-new:nth-child(3) { transition-delay: 0.24s; }
.partner-card-new:nth-child(4) { transition-delay: 0.36s; }
.partner-card-new:nth-child(5) { transition-delay: 0.48s; }

/* === ======================================
   SECTION LABELS & EYEBROWS
   ====================================== === */

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.section-title--light { color: #ffffff; }

.section-intro {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
  max-width: 560px;
}

/* === ======================================
   LABEL LIGHT VARIANT
   ====================================== === */

.label--light {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.15);
}

/* === ======================================
   VANTAGGIO CARDS (product pages)
   ====================================== === */

.vantaggi-grid--cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.vantaggio-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1), box-shadow 0.4s cubic-bezier(0.32,0.72,0,1);
}

.vantaggio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,26,46,0.1);
}

.vantaggio-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: #C8A96E;
}

.vantaggio-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.vantaggio-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: #666;
}

@media (max-width: 640px) {
  .vantaggi-grid--cards { grid-template-columns: 1fr; }
}

/* === ======================================
   VIDEO INLINE SECTIONS (product pages)
   ====================================== === */

.video-inline-section {
  position: relative;
}

.video-inline-wrapper {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.video-inline__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-inline__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(26,26,46,0.72);
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 80px 0;
}

.video-inline__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.video-inline__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 16px 0 24px;
}

.video-inline__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

/* === ======================================
   ACCESSORI STRIP (product pages)
   ====================================== === */

.accessori-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.accessorio-card {
  border-radius: 0.875rem;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}

.accessorio-card:hover {
  transform: translateY(-4px);
}

.accessorio-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.accessorio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.32,0.72,0,1);
}

.accessorio-card:hover .accessorio-card__img img {
  transform: scale(1.06);
}

.accessorio-card__name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1A1A2E;
  padding: 12px 16px;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .accessori-strip { grid-template-columns: repeat(2, 1fr); }
}

/* === ======================================
   TIMELINE — produzione.html
   ====================================== === */

.timeline-section {
  padding: 96px 0;
  background: #fff;
}

.timeline-list {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: calc(40px + 24px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #C8A96E 10%, #C8A96E 90%, transparent);
}

.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.32,0.72,0,1), transform 0.7s cubic-bezier(0.32,0.72,0,1);
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1A1A2E;
  border: 2px solid #C8A96E;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-item__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: #C8A96E;
  letter-spacing: 0.05em;
}

.timeline-item__body {
  padding-top: 8px;
  flex: 1;
}

.timeline-item__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 8px;
}

.timeline-item__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.timeline-item__text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: #555;
  max-width: 520px;
}

/* === ======================================
   REPARTI PRODUZIONE
   ====================================== === */

.reparti-produzione {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.reparto-prod-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  cursor: pointer;
}

.reparto-prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.32,0.72,0,1);
  position: absolute;
  inset: 0;
}

.reparto-prod-card:hover img {
  transform: scale(1.06);
}

.reparto-prod-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
}

.reparto-prod-card__num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 8px;
}

.reparto-prod-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .reparti-produzione { grid-template-columns: 1fr; }
  .reparto-prod-card { min-height: 300px; }
  .timeline-list::before { left: calc(40px + 24px); }
  .prod-gallery { grid-template-columns: repeat(2,1fr) !important; }
  .partner-mini-grid { grid-template-columns: 1fr !important; }
}

/* === ======================================
   GAMMA ZANZARIERE
   ====================================== === */

.gamma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8e6e1;
}

.gamma-card {
  background: #F5F4F0;
  padding: 48px 32px;
  transition: background 0.3s ease;
}

.gamma-card:hover {
  background: #ffffff;
}

.gamma-card__icon {
  width: 48px;
  height: 48px;
  color: #C8A96E;
  margin-bottom: 24px;
}

.gamma-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.gamma-card__text {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {
  .gamma-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* === ======================================
   CONTATTI PAGE — Form & Info
   ====================================== === */

.contatti-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0ddd5;
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #1A1A1A;
  background: #ffffff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #C8A96E;
  box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%231A1A2E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #d0351a;
  margin-top: 4px;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(200,169,110,0.1);
  border: 1px solid #C8A96E;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #1A1A2E;
  margin-top: 24px;
}

.form-success.is-visible {
  display: block;
}

.info-card {
  background: #F5F4F0;
  border-radius: 1.25rem;
  padding: 40px 36px;
}

.info-card__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(26,26,46,0.07);
}

.info-card__row:last-child {
  border-bottom: none;
}

.info-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #1A1A2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C8A96E;
}

.info-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.info-card__value {
  font-size: 0.95rem;
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.5;
}

.info-card__value a {
  color: #1A1A2E;
  text-decoration: none;
}

.info-card__value a:hover {
  color: #C8A96E;
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .contatti-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 24px;
  }
  .form-row { grid-template-columns: 1fr; }
}

/* === ======================================
   PARTNER PAGE
   ====================================== === */

.partner-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.sistemi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 48px auto 0;
}

.sistema-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e8e6e1;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1), box-shadow 0.4s cubic-bezier(0.32,0.72,0,1);
}

.sistema-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,26,46,0.08);
}

.sistema-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(200,169,110,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #C8A96E;
}

.sistema-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 10px;
}

.sistema-card__text {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {
  .sistemi-grid { grid-template-columns: 1fr; }
}

/* === ======================================
   NAV ACTIVE DROPDOWN LINK
   ====================================== === */

.nav__dropdown-link--active {
  color: #C8A96E !important;
}

/* === ======================================
   INSTAGRAM FEED SECTION — Home
   ====================================== === */

.ig-section {
  background: #ffffff;
  padding: 100px 40px 80px;
  text-align: center;
}

/* Header */
.ig-section__header {
  max-width: 600px;
  margin: 0 auto 56px;
}

.ig-section__handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color var(--transition-fast);
}

.ig-section__handle:hover {
  color: #c13584; /* instagram gradient midpoint */
}

.ig-section__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: stroke var(--transition-fast);
}

.ig-section__handle:hover .ig-section__icon {
  stroke: #c13584;
}

.ig-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0.5rem 0 1rem;
}

.ig-section__desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* Embed wrapper */
.ig-embed-wrapper {
  max-width: 1280px;
  margin: 0 auto 48px;
}

/* Placeholder grid — shown until real widget is configured */
.ig-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 6px;
  position: relative;
}

.ig-placeholder__cell {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.ig-placeholder__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

.ig-placeholder__cell:hover img {
  transform: scale(1.06);
}

/* Wide cell spans 2 columns in the second row */
.ig-placeholder__cell--wide {
  grid-column: span 2;
}

/* Hover overlay with icon */
.ig-placeholder__hover {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  pointer-events: none;
}

.ig-placeholder__hover svg {
  width: 28px;
  height: 28px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ig-placeholder__cell:hover .ig-placeholder__hover {
  background: rgba(26, 26, 46, 0.38);
}

.ig-placeholder__cell:hover .ig-placeholder__hover svg {
  opacity: 1;
  transform: scale(1);
}

/* "Configure widget" notice bar */
.ig-placeholder__notice {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 26, 46, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
}

.ig-placeholder__notice svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #C8A96E;
}

/* Footer CTA */
.ig-section__footer {
  margin-top: 8px;
}

.ig-section__footer .btn--outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .ig-placeholder {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
  }
  .ig-placeholder__cell--wide {
    grid-column: span 1;
  }
  /* hide the 6th cell on mid-width to keep a clean 3×2 */
  .ig-placeholder__cell:nth-child(6) {
    display: none;
  }
}

@media (max-width: 600px) {
  .ig-section { padding: 72px 24px 56px; }
  .ig-placeholder {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .ig-placeholder__cell--wide {
    grid-column: span 2;
  }
  .ig-placeholder__notice {
    font-size: 0.68rem;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
    width: calc(100% - 40px);
  }
}
