/* ============================================
   CLA TECH LAB — MAIN STYLESHEET
   Author: Stefano Iannaccone
   Version: 3.0 — Premium Light Mode
   ============================================ */

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

:root {
  /* Light palette */
  --bg:         #f8f9fb;
  --bg-alt:     #f0f2f6;
  --card:       #ffffff;
  --card-hover: #f4f6fa;
  --border:     #e2e6ee;
  --border-soft:#edf0f6;

  /* Text */
  --text:       #0d1117;
  --text-muted: #5a6478;
  --text-faint: #9aa3b3;

  /* Brand colours */
  --accent:     #0284c7;
  --accent-glow:rgba(2,132,199,0.14);
  --highlight:  #d97706;
  --danger:     #dc2626;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(13,17,23,0.06), 0 2px 8px rgba(13,17,23,0.04);
  --shadow-md: 0 4px 16px rgba(13,17,23,0.08), 0 1px 4px rgba(13,17,23,0.05);
  --shadow-lg: 0 12px 40px rgba(13,17,23,0.10), 0 4px 12px rgba(13,17,23,0.06);

  --radius: 10px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--highlight); }
img { max-width: 100%; height: auto; display: block; }

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

.site-header {
  background: rgba(248,249,251,0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ============================================
   HERO — HOME (brand lockup + griglia)
   ============================================ */

.hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 70px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(2,132,199,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, black 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, black 15%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(2,132,199,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,132,199,0.06);
  border: 1px solid rgba(2,132,199,0.18);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(2,132,199,0.45);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.45); }
}

/* Brand lockup CLA / TECH / LAB */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

.hero-brand-word {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-brand-word.accent { color: var(--accent); }

.hero-brand-sep {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 2.6rem);
  font-weight: 300;
  color: rgba(90,100,120,0.20);
  margin: 0 clamp(3px, 0.8vw, 10px);
  align-self: flex-start;
  padding-top: 0.08em;
  line-height: 0.9;
}

/* SEO h1 invisibile */
.hero h1.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.hero-tagline {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(0.88rem, 1.8vw, 1.01rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 34px;
  line-height: 1.75;
}

.hero-sub.compact { max-width: 580px; }

/* ============================================
   HERO — INNER PAGES (category / article)
   Stesso impianto visivo, scala ridotta
   ============================================ */

.hero.hero-inner-page {
  padding: 48px 24px 54px;
  text-align: left;
}

.hero.hero-inner-page .hero-inner-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.hero.hero-inner-page .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.hero.hero-inner-page .page-sub {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   SEARCH BAR
   ============================================ */

.search-bar { max-width: 540px; margin: 0 auto; position: relative; }

.search-bar input {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 13px 50px 13px 20px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.91rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.09);
}

.search-bar input::placeholder { color: var(--text-faint); }

.search-btn {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none; border-radius: 50px;
  width: 38px; height: 38px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: background 0.2s;
}

.search-btn:hover { background: var(--highlight); }

/* ============================================
   CONTAINER / LAYOUT
   ============================================ */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section.slim { padding-top: 12px; padding-bottom: 12px; }
.main-feature { padding-top: 10px; }

.section-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.section-title .badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font);
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-link { font-weight: 700; font-size: 0.84rem; color: var(--highlight); white-space: nowrap; }

/* ============================================
   STAT COUNTERS — HOME ONLY
   ============================================ */

.lab-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -36px 0 36px;
  position: relative;
  z-index: 8;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 20px 20px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(2,132,199,0.10), var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.stat-card::after {
  content: attr(data-icon);
  position: absolute;
  bottom: -6px; right: 10px;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.stat-card strong.counter {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.stat-card .stat-bar {
  margin-top: 14px;
  height: 2px;
  background: var(--bg-alt);
  border-radius: 2px;
  overflow: hidden;
}

.stat-card .stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(2,132,199,0.3));
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.animated .stat-bar-fill { width: 100%; }

/* ============================================
   QUICK SECTIONS
   ============================================ */

.quick-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: -24px 0 32px;
  position: relative;
  z-index: 5;
}

.quick-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.quick-section:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-section span { display: block; color: var(--text-muted); font-size: 0.82rem; font-weight: 500; margin-bottom: 4px; }
.quick-section strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.quick-section strong.counter { min-height: 32px; display: block; }

/* ============================================
   CATEGORY FILTERS
   ============================================ */

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

.filter-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2,132,199,0.18);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.articles-grid.dense { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.article-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(2,132,199,0.10);
}

.card-image { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--bg-alt); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .card-image img { transform: scale(1.04); }

.card-category {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 0.63rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

.card-type-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.60rem; font-weight: 700;
  padding: 3px 7px; border-radius: 4px;
  text-transform: uppercase;
}

.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.card-title { font-size: 0.98rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: var(--text); }
.card-excerpt { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-cta { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 0.82rem; font-weight: 600; transition: gap 0.2s; }
.card-cta:hover { gap: 9px; color: var(--highlight); }

/* ============================================
   FEATURED ARTICLE
   ============================================ */

.featured-article {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.featured-article:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(2,132,199,0.09); }

.featured-image { position: relative; overflow: hidden; min-height: 300px; background: var(--bg-alt); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }

.featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }

.featured-label {
  display: inline-block;
  background: var(--highlight); color: #fff;
  font-size: 0.63rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 12px; letter-spacing: -0.02em; color: var(--text);
}

.featured-excerpt { color: var(--text-muted); margin-bottom: 22px; font-size: 0.91rem; line-height: 1.65; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 8px;
  font-weight: 700; font-size: 0.86rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(2,132,199,0.20);
}

.btn-primary:hover { background: var(--highlight); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217,119,6,0.20); }

/* ============================================
   HIGHLIGHTS
   ============================================ */

.highlights-grid, .pro-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.highlight-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.highlight-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.highlight-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--accent); opacity: 0.30; line-height: 1; flex-shrink: 0; }
.highlight-title { font-size: 0.89rem; font-weight: 700; line-height: 1.4; margin-bottom: 5px; color: var(--text); }
.highlight-meta { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================
   LANE GRID
   ============================================ */

.lane { padding-top: 20px; }

.lane-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }

.lane-card {
  position: relative; min-height: 240px;
  border-radius: 18px; overflow: hidden;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.lane-card img { width: 100%; height: 240px; object-fit: cover; filter: brightness(0.72) saturate(0.9); transition: transform 0.35s ease, filter 0.3s; }
.lane-card:hover img { transform: scale(1.05); filter: brightness(0.62) saturate(1.05); }

.lane-card span {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,0.90); border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.70rem; font-weight: 600; color: var(--text);
}

.lane-card strong {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  color: #fff; font-family: var(--font-display); font-size: 0.98rem;
  line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,0.55); font-weight: 700;
}

/* ============================================
   SHOP FLOOR
   ============================================ */

.shop-floor {
  margin-top: 28px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow-sm);
}

.shop-floor-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }

.shop-floor-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.42rem);
  margin-top: 6px; letter-spacing: -0.02em; color: var(--text);
}

.shop-floor-head p { max-width: 340px; color: var(--text-muted); font-size: 0.84rem; }

.badge.amber {
  background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.20);
  color: var(--highlight); font-size: 0.63rem; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; text-transform: uppercase;
  letter-spacing: 0.04em; font-family: var(--font);
}

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.shop-card {
  position: relative; background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; padding-bottom: 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; box-shadow: var(--shadow-sm);
}

.shop-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.shop-card::before {
  content: 'CLA LAB';
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.88); border: 1px solid rgba(0,0,0,0.07);
  color: var(--text); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.07em;
}

.shop-card img { width: 100%; height: 130px; object-fit: cover; }
.shop-card div { padding: 10px 12px; }
.shop-card span { font-size: 0.68rem; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.shop-card h3 { font-size: 0.88rem; line-height: 1.3; color: var(--text); margin-top: 4px; }

.amazon-cta.small {
  width: calc(100% - 24px); margin: 0 12px;
  justify-content: center; padding: 8px 12px; font-size: 0.77rem;
  background: rgba(217,119,6,0.07); color: var(--highlight);
  border: 1.5px solid rgba(217,119,6,0.20); border-radius: 8px;
  font-weight: 700; display: flex; align-items: center; gap: 5px;
  transition: background 0.2s, color 0.2s;
}

.amazon-cta.small:hover { background: var(--highlight); color: #fff; }

/* ============================================
   SIDEBAR
   ============================================ */

.content-with-sidebar { display: grid; grid-template-columns: 1fr 290px; gap: 36px; }

.sidebar-widget { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }

.widget-title {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.10em; color: var(--accent);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */

.article-wrap { max-width: 1160px; }

.article-header { padding: 48px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.article-header.clean { text-align: left; max-width: 880px; margin-left: auto; margin-right: auto; }

.article-breadcrumb { font-size: 0.77rem; color: var(--text-muted); margin-bottom: 14px; }
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--accent); }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 18px; color: var(--text);
}

.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); }
.article-author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.author-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.70rem; font-weight: 700; color: #fff; }

.article-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 32px; aspect-ratio: 16/7; object-fit: cover; background: var(--bg-alt); box-shadow: var(--shadow-md); }

.article-content { font-size: 1rem; line-height: 1.85; color: #2d3a4a; }

.clean-content h2 { font-family: var(--font-display); font-size: 1.42rem; font-weight: 800; color: var(--text); margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); letter-spacing: -0.02em; }
.clean-content h3 { font-size: 1.12rem; font-weight: 700; color: var(--text); margin: 26px 0 10px; }
.clean-content p { margin-bottom: 16px; }
.clean-content ul, .clean-content ol { padding-left: 22px; margin-bottom: 16px; }
.clean-content li { margin-bottom: 5px; }
.clean-content strong { color: var(--text); font-weight: 700; }
.clean-content blockquote { border-left: 3px solid var(--accent); padding: 12px 18px; background: rgba(2,132,199,0.04); border-radius: 0 8px 8px 0; margin: 22px 0; font-style: italic; color: var(--text-muted); }

/* ============================================
   LAB PRODUCT BOX
   ============================================ */

.lab-product-box {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center;
  margin: 40px 0; padding: 20px; border-radius: 18px; background: #fff;
  border: 1.5px solid rgba(217,119,6,0.20); box-shadow: var(--shadow-md); overflow: hidden;
}

.lab-product-box.compact { display: block; padding: 14px; margin: 10px 0 0; border-radius: 14px; }
.lab-product-box.compact .lab-product-media img { height: 120px; margin-bottom: 10px; }
.lab-product-box.compact .lab-product-note { display: none; }
.lab-product-box.compact h3 { font-size: 0.93rem; }
.lab-product-box.compact p { font-size: 0.80rem; }

.lab-product-media img { width: 100%; height: 145px; object-fit: cover; border-radius: 12px; display: block; }
.lab-product-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }

.lab-product-badge {
  display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px;
  background: rgba(217,119,6,0.07); color: var(--highlight); border: 1px solid rgba(217,119,6,0.18);
  font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}

.lab-product-note { color: var(--text-faint); font-size: 0.68rem; }
.lab-product-content h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--text); font-weight: 700; }
.lab-product-content p { margin: 0 0 14px; color: var(--text-muted); font-size: 0.90rem; line-height: 1.55; }

.lab-product-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px; background: var(--highlight);
  color: #fff !important; font-weight: 800; text-decoration: none; font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(217,119,6,0.20); transition: background 0.2s, transform 0.2s;
}

.lab-product-cta:hover { background: #b45309; transform: translateY(-1px); }
.soft-shop .lab-product-box { box-shadow: none; border-color: var(--border); }

/* ============================================
   RELATED / AMAZON
   ============================================ */

.related-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }

.amazon-box {
  background: #fff; border: 1.5px solid rgba(217,119,6,0.20);
  border-radius: var(--radius); padding: 22px; margin: 28px 0;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}

.amazon-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--highlight), var(--accent)); }

.amazon-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--highlight); color: #fff; padding: 10px 20px;
  border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}

.amazon-cta:hover { background: #b45309; color: #fff; transform: translateY(-1px); }
.conversion-box { display: none !important; }
.popup-overlay, .popup-box { display: none !important; }

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

.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 40px 24px; margin-top: 56px; }

.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { font-size: 0.84rem; color: var(--text-muted); max-width: 280px; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; color: var(--accent); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 0.83rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.77rem; color: var(--text-faint); }
.footer-bottom a { color: var(--text-muted); }

/* ============================================
   UTILITIES & MISC
   ============================================ */

.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.logo-badge { display: none; }

.img-placeholder { width: 100%; height: 100%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 2rem; }
.no-results { text-align: center; padding: 56px 20px; color: var(--text-muted); }
.no-results h3 { font-size: 1.1rem; margin-bottom: 6px; }

.scroll-top {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--accent); color: #fff;
  width: 42px; height: 42px; border-radius: 50%; border: none;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s; z-index: 50;
  box-shadow: 0 4px 14px rgba(2,132,199,0.25);
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--highlight); transform: translateY(-2px); }

#reading-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); z-index: 9999; width: 0; }

/* Link resets */
.featured-article, .article-card a, .lane-card, .shop-card a { color: inherit; text-decoration: none; }

.inline-shop { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; margin: 34px 0; }
.amazon-box-media img { width: 170px; height: 120px; object-fit: cover; border-radius: 14px; }
.soft-shop img { width: 100%; height: 140px; object-fit: cover; border-radius: 14px; margin: 8px 0 12px; }

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

@media (max-width: 900px) {
  .featured-article  { grid-template-columns: 1fr; }
  .featured-image    { min-height: 200px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .related-grid      { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; gap: 22px; }
  .shop-grid         { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .lab-stats         { grid-template-columns: 1fr; margin-top: -16px; }
  .stat-card         { padding: 18px 14px; }
  .hero-brand-word   { font-size: clamp(1.55rem, 9vw, 2.6rem); }
  .hero-brand-sep    { font-size: clamp(0.95rem, 4.5vw, 1.7rem); }
  .hero-tagline      { font-size: 0.66rem; letter-spacing: 0.13em; }
  .quick-sections    { grid-template-columns: repeat(2, 1fr); }
  .nav-links         { gap: 12px; overflow: auto; max-width: 62vw; }
  .shop-floor-head   { display: block; }
  .shop-floor-head p { display: none; }
  .shop-grid         { grid-template-columns: 1fr; }
  .lab-product-box   { grid-template-columns: 1fr; }
  .lab-product-media img { height: 180px; }
  .inline-shop       { grid-template-columns: 1fr; }
  .amazon-box-media img { width: 100%; height: 170px; }
  .hero.hero-inner-page { text-align: center; }
}

@media (max-width: 600px) {
  .articles-grid     { grid-template-columns: 1fr; }
  .nav-links         { display: none; }
  .featured-body     { padding: 18px; }
  .highlights-grid,
  .pro-highlights    { grid-template-columns: 1fr; }
}

/* ============================================
   LOGO IMMAGINE
   ============================================ */

.logo.logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo-img-tag {
  height: 36px;
  width: auto;
  max-width: 175px;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 42px;
  max-width: 195px;
}

/* Hero: logo centrato grande */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}

.hero-logo-img {
  height: clamp(78px, 13vw, 136px);
  width: auto;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(2,132,199,0.14));
}

/* Hero inner page: logo nel hero-eyebrow area — non serve, eyebrow rimane testo */

/* SEO h1 hidden */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Inner hero: la tagline e il logo brand non ci sono, ma il .hero-tagline rimane nella home */
/* Su mobile il logo hero scala bene con vw */
@media (max-width: 480px) {
  .hero-logo-img { height: clamp(60px, 22vw, 100px); }
  .logo-img-tag  { height: 30px; max-width: 140px; }
}

/* ============================================
   CLA TECH LAB — Traffic & Revenue Boost Pack
   Popup offerte, confronto prodotti, trust box
   ============================================ */
.revenue-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0 10px}.revenue-pill{background:linear-gradient(180deg,#fff,#f7f9fc);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:var(--shadow-sm)}.revenue-pill span{display:block;color:var(--text-muted);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.revenue-pill strong{display:block;font-size:1.08rem;margin-top:4px;color:var(--text)}
.compare-section{margin-top:30px}.compare-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-md)}.compare-table{width:100%;border-collapse:collapse;min-width:720px}.compare-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);background:#f4f6fa;text-align:left}.compare-table th,.compare-table td{padding:15px 16px;border-bottom:1px solid var(--border-soft);vertical-align:middle}.compare-table tr:last-child td{border-bottom:0}.compare-product{display:flex;gap:12px;align-items:center}.compare-product img{width:56px;height:56px;border-radius:12px;object-fit:cover;background:#eef2f7}.compare-product strong{display:block;color:var(--text);line-height:1.25}.compare-tag{display:inline-flex;border:1px solid rgba(2,132,199,.18);color:var(--accent);background:rgba(2,132,199,.07);font-weight:800;font-size:.72rem;padding:5px 9px;border-radius:99px}.compare-cta,.mini-buy-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 14px;background:linear-gradient(135deg,var(--accent),#7c3aed);color:#fff!important;font-weight:900;font-size:.82rem;box-shadow:0 10px 24px rgba(2,132,199,.18)}.compare-cta:hover,.mini-buy-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.article-money-box{border:1px solid rgba(217,119,6,.22);background:linear-gradient(135deg,#fffaf0,#fff);border-radius:18px;padding:20px;margin:24px 0;box-shadow:var(--shadow-sm)}.article-money-box h2{margin:0 0 8px!important;font-size:1.25rem!important}.article-money-box p{color:var(--text-muted);margin-bottom:14px}.trust-line{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.trust-line span{background:#f4f6fa;border:1px solid var(--border);border-radius:999px;padding:8px 12px;font-size:.82rem;color:var(--text-muted);font-weight:700}.cla-offer-popup{position:fixed;right:18px;bottom:18px;width:min(380px,calc(100vw - 36px));background:rgba(255,255,255,.98);border:1px solid var(--border);box-shadow:0 22px 70px rgba(13,17,23,.18);border-radius:22px;padding:16px;z-index:9999;transform:translateY(18px);opacity:0;pointer-events:none;transition:.35s ease;backdrop-filter:blur(14px)}.cla-offer-popup.visible{transform:translateY(0);opacity:1;pointer-events:auto}.cla-offer-close{position:absolute;top:8px;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:20px;cursor:pointer}.cla-offer-kicker{display:inline-flex;margin-bottom:10px;border-radius:99px;background:rgba(217,119,6,.10);color:#b45309;font-weight:900;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px}.cla-offer-body{display:grid;grid-template-columns:82px 1fr;gap:13px;align-items:center}.cla-offer-body img{width:82px;height:82px;object-fit:cover;border-radius:16px;background:#eef2f7}.cla-offer-body strong{display:block;line-height:1.2;margin-right:22px}.cla-offer-body p{font-size:.84rem;color:var(--text-muted);line-height:1.45;margin:6px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cla-offer-btn{display:inline-flex;border-radius:999px;background:linear-gradient(135deg,var(--highlight),#f59e0b);color:#111827!important;font-weight:900;padding:9px 13px;font-size:.82rem}.affiliate-disclaimer{font-size:.82rem;color:var(--text-muted);background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin:20px 0}
@media(max-width:760px){.revenue-strip{grid-template-columns:1fr}.cla-offer-popup{right:12px;bottom:12px;width:calc(100vw - 24px)}.cla-offer-body{grid-template-columns:70px 1fr}.cla-offer-body img{width:70px;height:70px}}
