/* ============================================================
   CANTONI CUSCINETTI — Design System
   Palette: grigio scuro + giallo #f4d100
   Font: Inter (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  /* ── Schaeffler Forest Green Palette (SFONDI) ── */
  --green: #08954C;
  --green-bright: #10cc6b;
  --green-dark: #0aba5e;
  --green-light: #e6f5ed;
  --green-xlight: #f0faf4;

  /* I "NERI" degli SFONDI sostituiti con VERDI Schaeffler più luminosi (come richiesto) */
  --dark-900: #04140a;
  --dark-800: #06713A;
  /* Verde Schaeffler leggermente più scuro */
  --dark-700: #088544;
  --dark-600: #0c964e;
  --dark-500: #2d6b44;

  /* I COLORI delle SCRITTE (Ripristinati a Neutri/Scuri per leggibilità) */
  --dark-400: #2d332f;
  /* Questo era diventato verde, lo riporto a grigio fumo scuro */
  --gray-400: #6b726e;
  /* Grigio medio per scritte secondarie */
  --gray-300: #d0d4d1;
  --gray-200: #eaecea;
  --gray-100: #f5f7f5;

  --white: #ffffff;
  --text-primary: #121513;
  /* Nero fumo molto leggibile */
  --text-secondary: #454d48;
  /* Grigio fumo scuro */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-green: 0 0 40px rgba(8, 149, 76, 0.2);
  --yellow: #f4d100;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ─── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  line-height: 1.75;
}

.text-yellow {
  color: var(--yellow);
}

.text-gray {
  color: var(--gray-400);
}

/* ─── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

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

.section-light {
  background: var(--gray-100);
  color: var(--text-primary);
}

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

/* ─── Responsive Utilities ─── */
.grid-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .grid-responsive {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.info-card {
  background: var(--dark-800);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  /* Bianco semitrasparente per contrasto su fondo verde */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.info-value {
  color: var(--white);
  font-size: 0.95rem;
}

/* Spacing Utilities */
.mb-1 {
  margin-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

/* ─── Section Labels ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.section-dark .section-subtitle {
  color: var(--gray-400);
}

/* ─── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  transition-property: background, padding, box-shadow;
}

.navbar.scrolled {
  background: rgba(6, 113, 58, 0.98);
  /* Verde Schaeffler scuro anziché nero */
  padding: 1rem 0;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark-800);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.navbar__logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--dark-800);
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__logo-text span:first-child {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar__logo-text span:last-child {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem; /* Ridotto leggermente per fare spazio al switcher */
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar:not(.scrolled) .lang-switcher {
  border-left-color: rgba(8, 149, 76, 0.2);
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.5;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar:not(.scrolled) .lang-link {
  color: var(--green);
}

.lang-link:hover, .lang-link.active {
  opacity: 1;
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--dark-600);
  flex-direction: column;
  gap: 1.25rem;
}

.navbar__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--dark-600);
}

.navbar__mobile.open {
  display: flex;
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-900);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/Prodotti/Collage-Mining-Bearings_1281642_master.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  /* Rimosso il gradiente scuro per rendere l'immagine "bianca" e limpida */
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(8, 149, 76, 0.15);
  border: 1px solid rgba(8, 149, 76, 0.4);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.8rem;
}

.hero__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title .accent {
  color: var(--green);
  display: block;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  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.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  transition-property: background, color, box-shadow, transform;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 30px rgba(8, 149, 76, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--green);
  color: var(--white);
  /* Forza bianco per visibilità */
  background: var(--green);
}

.btn-dark {
  background: var(--dark-700);
  color: var(--white);
  border: 1px solid var(--dark-500);
}

.btn-dark:hover {
  background: var(--dark-600);
  border-color: var(--green);
  color: var(--white);
  /* Testo bianco fisso per contrasto */
}

/* ─── BRANDS SECTION ───────────────────────────────────────── */
.brands {
  padding: 3.5rem 0;
  background: #05331a;
  /* Verde scuro vibrante per la fascia dei loghi, non più nero */
  border-top: 1px solid var(--dark-800);
  border-bottom: 1px solid var(--dark-800);
}

.brands__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brands__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  /* Bianco semitrasparente per contrasto su verde */
  white-space: nowrap;
}

.brands__logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/*
  Loghi brand: i file .svg contengono PNG embedded (non sono SVG vettoriali puri).
  Strategia: mostrali in monocromatico grigio chiaro (brightness+contrast),
  al hover illuminiamo con il colore brand specifico tramite mix-blend-mode.
  Il container è scuro, blend multiply fa sparire i fondi bianchi.
*/
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  cursor: pointer;
  opacity: 1;
  border-radius: 6px;
  padding: 4px 8px;
  /* Transizione per il movimento */
  transition: transform var(--transition);
}

.brand-logo svg {
  height: 100%;
  width: auto;
  max-width: 160px;
  display: block;
  /* Transizione per il bagliore (glow) */
  transition: filter var(--transition);
}

/* ─── Effetto Hover (Movimento e Glow) ─── */
.brand-logo:hover {
  transform: translateY(-5px);
}

.brand-logo:hover svg {
  /* Al passaggio del mouse, il logo si illumina di bianco sui bordi */
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

/* ─── Colori Brand (Sempre attivi, sia base che hover) ─── */
.brand-fag .brand-color-fill {
  fill: #e41839;
}

.brand-ina .brand-color-fill,
.brand-schaeffler .brand-color-fill {
  fill: #08954c;
}

.brand-ina .brand-white-fill {
  fill: #ffffff;
}

.brand-skf .brand-color-fill {
  fill: #0057A8;
}

/* ── Logo Cantoni ── */
/* Navbar: ora è un PNG trasparente */
.logo-cantoni-nav {
  height: 57px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition), transform var(--transition);
}

.logo-cantoni-nav:hover {
  opacity: 0.8;
}

/* Footer: stesso trattamento */
.logo-cantoni-footer {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition);
}

.logo-cantoni-footer:hover {
  opacity: 0.8;
}

/* SVG brand placeholder (fallback testuale) */
.brand-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  font-style: italic;
}

/* ─── PRODUCTS PREVIEW ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  transition-property: transform, box-shadow, border-color;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(8, 149, 76, 0.3);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--dark-500);
  transition: stroke var(--transition);
}

.product-card:hover .product-icon {
  background: rgba(8, 149, 76, 0.1);
}

.product-card:hover .product-icon svg {
  stroke: var(--green-dark);
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-card__arrow {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
  transition-property: opacity, transform;
}

.product-card:hover .product-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── ABOUT STRIP ──────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.about-strip__text {
  background: var(--dark-800);
  color: var(--white);
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip__image {
  position: relative;
  overflow: hidden;
  background: var(--dark-600);
  min-height: 400px;
}

.about-strip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  pointer-events: none;
}

.about-strip__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.about-strip__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--dark-400);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-bearing {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 20px solid var(--dark-500);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-bearing::before {
  content: '';
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark-600);
  border: 8px solid var(--dark-500);
}

/* ─── STATS ────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-600);
}

.stats--2cols {
  grid-template-columns: repeat(2, 1fr);
}

.stat {
  background: var(--dark-700);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  /* Forza il bianco per il contrasto */
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  /* Bianco semitrasparente per etichetta */
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--green);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ─── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--dark-900);
  overflow: hidden;
  margin-top: 0;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/Prodotti/Collage-Mining-Bearings_1281642_master.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.6;
  /* Opacità 60% come richiesto per le schede secondarie */
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  /* Rimosso l'oscuramento nero */
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--dark-500);
  /* Grigio-verde scuro per visibilità */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-hero__breadcrumb a {
  color: var(--green);
  /* Link verdi su fondo chiaro */
  transition: color var(--transition);
}

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

.page-hero__breadcrumb span {
  color: var(--dark-500);
}

.page-hero h1 {
  color: var(--green); /* Verde Schaeffler invece che nero per i titoli delle sottopagine */
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff; /* Solo contorno netto, rimosso l'alone */
}

/* ─── PRODOTTI PAGE ────────────────────────────────────────── */
.prodotti-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.prodotto-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  transition-property: border-color, background, transform;
  cursor: default;
}

.prodotto-item:hover {
  border-color: var(--green);
  background: var(--green-xlight);
  transform: translateX(4px);
}

.prodotto-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.prodotto-item a {
  color: inherit;
  transition: color var(--transition);
}

.prodotto-item a:hover {
  color: var(--green-dark);
}

/* Product categories */
.cat-header {
  padding: 1rem 1.5rem;
  background: var(--dark-700);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-left: 3px solid var(--green);
  margin-top: 2.5rem;
}

/* ─── LISTINI / CATALOGHI ──────────────────────────────────── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Doc card con copertina catalogo come sfondo */
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 0;
  background: var(--dark-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  transition-property: transform, box-shadow, border-color;
  cursor: pointer;
  text-decoration: none;
}

/* Overlay scuro degradato per leggibilità del testo */
.doc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 20, 10, 0.10) 0%,
    rgba(4, 20, 10, 0.70) 55%,
    rgba(4, 20, 10, 0.92) 100%
  );
  transition: background var(--transition);
  z-index: 1;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  border-color: var(--yellow);
}

.doc-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(4, 20, 10, 0.05) 0%,
    rgba(4, 20, 10, 0.55) 50%,
    rgba(4, 20, 10, 0.88) 100%
  );
}

/* Icona PDF non necessaria con le copertine */
.doc-icon {
  display: none;
}

/* Il contenuto testuale si posiziona sul fondo */
.doc-info {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem 1.5rem;
}

.doc-info h4 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.doc-info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Brand tag — giallo su verde scuro */
.brand-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-900);
  background: var(--yellow);
  border-radius: 100px;
  padding: 0.18rem 0.65rem;
  margin-top: 0.35rem;
}

/* ─── CONTATTI ─────────────────────────────────────────────── */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: rgba(244, 209, 0, 0.1);
  border: 1px solid rgba(244, 209, 0, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--yellow);
}

.contact-item__content h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  /* Testo bianco su fondo verde scuro */
  margin-bottom: 0.35rem;
}

.contact-item__content p,
.contact-item__content a {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
}

.contact-item__content a:hover {
  color: var(--yellow);
}

/* Map placeholder */
.map-placeholder {
  background: var(--dark-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.navbar.scrolled .navbar__links a {
  color: rgba(255, 255, 255, 0.9);
  /* Bianchi quando lo sfondo diventa verde scuro */
}

/* Pagine secondarie: menu giallo quando trasparente al top */
.navbar--secondary:not(.scrolled) .navbar__links a {
  color: var(--yellow);
  opacity: 1;
}

.navbar--secondary:not(.scrolled) .btn-nav {
  background: transparent;
  border: 1px solid var(--yellow);
}

.navbar--secondary:not(.scrolled) .lang-link {
  color: var(--yellow) !important;
  border-left-color: rgba(244, 209, 0, 0.3) !important;
}

.navbar--secondary:not(.scrolled) .navbar__hamburger span {
  background: var(--yellow);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.8;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark-800);
  /* Ora è un verde foresta ben distinguibile, non più nero */
  color: var(--white);
  padding: 4rem 0 0;
  border-top: 1px solid var(--dark-600);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer__logo-circle {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__logo-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--dark-800);
}

.footer__logo-text span:first-child {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__logo-text span:last-child {
  display: block;
  font-size: 0.6rem;
  color: var(--yellow);
  /* Giallo logo per leggibilità su verde scuro */
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--yellow);
  /* Giallo logo per leggibilità su verde scuro */
}

.footer__col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__col ul a {
  font-size: 0.88rem;
  color: var(--gray-200);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--dark-700);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  /* Grigio chiaro semitrasparente per il copyright */
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-strip {
    grid-template-columns: 1fr;
  }

  .about-strip__text {
    padding: 3.5rem 2.5rem;
  }

  .about-strip__image {
    min-height: 300px;
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .grid-responsive {
    gap: 2rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .brands__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .brands__logos {
    justify-content: center;
    gap: 2rem;
  }

  .brand-logo {
    height: 32px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .about-strip__text {
    padding: 2.5rem 1.5rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .brands__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .brands__logos {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .prodotti-list {
    grid-template-columns: 1fr;
  }
}
/* --- VISUAL BREAK (Laminatoio) -------------------------- */
.visual-break {
  height: 500px;
  width: 100%;
  background-image: url('../img/Prodotti/laminatoio.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  display: flex; /* Centratura bottone */
  align-items: center;
  justify-content: center;
}

.visual-break__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Overlay scura per contrasto */
}

.visual-break .btn {
  position: relative;
  z-index: 2;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .visual-break {
    height: 300px;
    background-attachment: scroll; /* No parallax on mobile */
  }
}

/* ─── PRODUCT DETAIL PAGES ─────────────────────────────────── */

/* ── Product Hero (overrides page-hero for detail pages) ── */
.product-hero {
  position: relative;
  padding: 0;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-900);
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/Prodotti/Collage-Mining-Bearings_1281642_master.png');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.3;
  transition: transform 8s ease;
}

.product-hero:hover .product-hero__bg {
  transform: scale(1.03);
}

.product-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 20, 10, 0.95) 0%,
    rgba(6, 113, 58, 0.75) 60%,
    rgba(8, 149, 76, 0.4) 100%
  );
}

/* Grid pattern overlay */
.product-hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,149,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,149,76,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.product-hero__content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 3.5rem;
  width: 100%;
}

.product-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 209, 0, 0.15);
  border: 1px solid rgba(244, 209, 0, 0.35);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.product-hero__category::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.product-hero h1 {
  color: var(--white) !important;
  text-shadow: none !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 1rem;
  max-width: 700px;
}

.product-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.product-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.product-hero__breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.product-hero__breadcrumb a:hover {
  color: var(--yellow);
}

.product-hero__breadcrumb span {
  color: rgba(255,255,255,0.3);
}

/* ── Product Layout (two-column) ── */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Sidebar ── */
.product-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.sidebar-card__header {
  background: var(--dark-800);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sidebar-card__header svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.sidebar-card__body {
  padding: 1.25rem;
}

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
}

.sidebar-stat:last-child {
  border-bottom: none;
}

.sidebar-stat__key {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.sidebar-stat__val {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-900) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(8,149,76,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
}


/* Section divider title */
.pd-section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
}

.pd-section-title__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gray-200), transparent);
}

.pd-section-title__text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pd-section-title__text::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* Intro description block */
.pd-intro {
  background: linear-gradient(135deg, var(--white) 0%, var(--green-xlight) 100%);
  border: 1px solid rgba(8,149,76,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}

.pd-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--green), var(--green-bright));
  border-radius: 4px 0 0 4px;
}

.pd-intro p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.pd-intro p:last-child {
  margin-bottom: 0;
}

.pd-intro strong {
  color: var(--text-primary);
}

/* Spec grid — premium cards */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.spec-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.spec-badge::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.spec-badge:hover {
  border-color: rgba(8,149,76,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(8,149,76,0.12);
}

.spec-badge:hover::after {
  transform: scaleX(1);
}

.spec-badge__icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
  line-height: 1;
}

.spec-badge__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

.spec-badge__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background var(--transition);
}

.feature-list li:hover {
  color: var(--text-primary);
}

.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(8,149,76,0.12);
  border: 1.5px solid rgba(8,149,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2308954C' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Materials block */
.materials-block {
  background: var(--dark-800);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.materials-block::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(8,149,76,0.2) 0%, transparent 70%);
}

.materials-block h4 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.materials-block h4::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--yellow);
}

.materials-block ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 640px) {
  .materials-block ul {
    grid-template-columns: 1fr;
  }
}

.materials-block ul li {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.materials-block ul li strong {
  color: var(--white);
  font-weight: 600;
}

/* ── Premium Data Tables ── */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--white);
}

.data-table thead {
  background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-900) 100%);
  color: var(--white);
}

.data-table thead tr th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.data-table thead tr th:last-child {
  border-right: none;
}

.data-table thead tr th:first-child {
  color: var(--yellow);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.15s ease;
}

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

.data-table tbody tr:hover {
  background: var(--green-xlight);
  transform: scale(1.001);
}

.data-table tbody tr:nth-child(even) {
  background: #fafbfa;
}

.data-table tbody tr:nth-child(even):hover {
  background: var(--green-xlight);
}

.data-table td {
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  border-right: 1px solid var(--gray-200);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.data-table td:last-child {
  border-right: none;
}

.data-table td:first-child {
  font-weight: 700;
  color: var(--green);
  font-size: 0.88rem;
  font-family: 'Courier New', monospace;
}

.data-table .col-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-style: italic;
}

/* Table row count badge */
.table-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.table-badge {
  background: var(--green-xlight);
  border: 1px solid rgba(8,149,76,0.2);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
}

.table-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.6;
}

/* Sub-product card grid */
.subprod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.subprod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.subprod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(8,149,76,0.05));
  opacity: 0;
  transition: opacity var(--transition);
}

.subprod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(8,149,76,0.14);
  border-color: rgba(8,149,76,0.35);
}

.subprod-card:hover::after {
  opacity: 1;
}

.subprod-card__icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--green-xlight), rgba(8,149,76,0.1));
  border: 1px solid rgba(8,149,76,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  transition: transform var(--transition);
}

.subprod-card:hover .subprod-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.subprod-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  flex: 1;
}

.subprod-card__arrow {
  color: var(--green);
  opacity: 0.4;
  transition: all var(--transition);
  font-size: 1.1rem;
}

.subprod-card:hover .subprod-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}

.back-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  gap: 0.85rem;
}

/* Accordion styles for tipo L / tipo M switcher */
.table-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.table-tab {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.table-tab.active {
  background: var(--dark-800);
  color: var(--white);
  border-color: var(--dark-800);
}

.table-tab:not(.active):hover {
  background: var(--white);
  color: var(--text-primary);
}

.table-panel {
  display: none;
}

.table-panel.active {
  display: block;
}

.table-panel .table-wrapper {
  margin-top: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

/* Responsive */
@media (max-width: 768px) {
  .data-table {
    font-size: 0.8rem;
  }
  .data-table td,
  .data-table thead th {
    padding: 0.6rem 0.75rem;
  }
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-hero {
    min-height: 260px;
  }
  .product-hero__content {
    padding: 6rem 0 2.5rem;
  }
}

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

/* Spec Badges Grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.spec-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--green);
  transition: box-shadow var(--transition);
}

.spec-badge:hover {
  box-shadow: 0 4px 20px rgba(8,149,76,0.1);
}

.spec-badge__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.spec-badge__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Materials block */
.materials-block {
  background: var(--green-xlight);
  border: 1px solid rgba(8,149,76,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.materials-block h4 {
  color: var(--green);
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.materials-block ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.materials-block ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Dimensional Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-family: 'Courier New', monospace;
  background: var(--white);
}

.data-table thead {
  background: var(--dark-800);
  color: var(--white);
}

.data-table thead th {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

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

.data-table tbody tr:hover {
  background: var(--green-xlight);
}

.data-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.data-table tbody tr:nth-child(even):hover {
  background: var(--green-xlight);
}

.data-table td {
  padding: 0.7rem 1.1rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--green);
  font-family: var(--font);
}

.data-table .col-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-family: var(--font);
}

/* Table section title */
.table-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin: 2.5rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Sub-product card list (for laminatoi sub-types) */
.subprod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.subprod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  transition-property: transform, box-shadow, border-color;
  position: relative;
  overflow: hidden;
}

.subprod-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.subprod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(8,149,76,0.12);
  border-color: rgba(8,149,76,0.3);
}

.subprod-card:hover::before {
  transform: scaleY(1);
}

.subprod-card__icon {
  width: 44px;
  height: 44px;
  background: var(--green-xlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 1.2rem;
}

.subprod-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.subprod-card__arrow {
  margin-left: auto;
  color: var(--green);
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}

.subprod-card:hover .subprod-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Intro text block */
.intro-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.intro-block p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: gap var(--transition);
}

.back-link:hover {
  gap: 0.75rem;
}

/* Responsive tables */
@media (max-width: 768px) {
  .data-table {
    font-size: 0.8rem;
  }
  .data-table td,
  .data-table thead th {
    padding: 0.6rem 0.75rem;
  }
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
