/* ===========================
   Tonerin Italia — Shared CSS
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; background: #fff; line-height: 1.6; }

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

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #0A2342;
  padding: 0 60px;
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto;
}
.header-logo { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 4px; text-decoration: none; }
.header-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.header-nav a { font-size: 13px; color: #7FB3D3; text-decoration: none; transition: color .2s; white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { color: #fff; }
.header-cta { background: #C0392B; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.header-cta:hover { background: #96281B; }

/* BREADCRUMB */
.breadcrumb { background: #F4F9FD; border-bottom: 1px solid #DDE8F0; padding: 10px 60px; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 13px; color: #777; }
.breadcrumb-inner a { color: #2E86C1; text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; }

/* HERO ARTICLE */
.page-hero { background: linear-gradient(135deg, #EBF4FA 0%, #D6EAF8 100%); padding: 60px; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; line-height: 1.2; color: #0A2342; margin-bottom: 16px; }
.page-hero .lead { font-size: 18px; color: #444; max-width: 780px; }

/* ARTICLE BODY */
.article-section { padding: 60px; }
.article-section-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.article-body { font-size: 16px; color: #444; line-height: 1.85; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #0A2342; margin: 32px 0 12px; }
.article-body h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: #0A2342; margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.article-body th { background: #0A2342; color: #fff; padding: 12px 16px; text-align: left; font-size: 14px; }
.article-body td { padding: 10px 16px; border-bottom: 1px solid #EEE; font-size: 14px; }
.article-body tr:nth-child(even) td { background: #F4F9FD; }

/* SIDEBAR */
.article-sidebar { position: sticky; top: 90px; }
.cta-box { background: #0A2342; border-radius: 14px; padding: 30px 24px; text-align: center; margin-bottom: 24px; }
.cta-box-title { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; margin-bottom: 10px; }
.cta-box-price { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: #C0392B; margin-bottom: 4px; }
.cta-box-old { font-size: 14px; color: #7FB3D3; text-decoration: line-through; margin-bottom: 14px; }
.cta-btn { display: block; background: #C0392B; color: #fff; font-size: 15px; font-weight: 700; padding: 14px 20px; border-radius: 8px; text-decoration: none; transition: background .2s; margin-bottom: 10px; }
.cta-btn:hover { background: #96281B; }
.cta-note { font-size: 12px; color: #7FB3D3; }
.related-box { background: #F4F9FD; border-radius: 12px; padding: 22px 20px; }
.related-box h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: #0A2342; margin-bottom: 14px; }
.related-box ul { list-style: none; padding: 0; }
.related-box li { margin-bottom: 10px; }
.related-box a { font-size: 14px; color: #2E86C1; text-decoration: none; }
.related-box a:hover { text-decoration: underline; }

/* CTA BANNER */
.cta-banner { background: #C0392B; padding: 48px 60px; text-align: center; }
.cta-banner-inner { max-width: 800px; margin: 0 auto; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: #fff; margin-bottom: 12px; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.cta-banner-btn { display: inline-block; background: #fff; color: #C0392B; font-size: 16px; font-weight: 700; padding: 16px 36px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.cta-banner-btn:hover { background: #F4F9FD; }

/* INTERNAL LINKS SECTION */
.internal-links { background: #F4F9FD; padding: 48px 60px; }
.internal-links-inner { max-width: 1200px; margin: 0 auto; }
.internal-links h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: #0A2342; margin-bottom: 18px; }
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.link-card { background: #fff; border-radius: 8px; padding: 16px; border: 1px solid #DDE8F0; }
.link-card a { font-size: 13px; color: #0A2342; text-decoration: none; font-weight: 600; }
.link-card a:hover { color: #C0392B; }
.link-card p { font-size: 12px; color: #777; margin-top: 5px; }

/* FOOTER */
.site-footer { background: #060D18; padding: 36px 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; }
.footer-copy { font-size: 12px; color: #555; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 12px; color: #444; text-decoration: none; }
.footer-links a:hover { color: #7FB3D3; }

/* BG VARIANTS */
.bg-light { background: #F4F9FD; }
.bg-navy { background: #0A2342; }
.bg-pale { background: #EBF4FA; }

/* INFO BOX */
.info-box { background: #EBF4FA; border-left: 4px solid #0A2342; padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.info-box p { margin: 0; font-size: 15px; color: #1A1A1A; }
.warning-box { background: #FEF9F0; border-left: 4px solid #C0392B; padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.warning-box p { margin: 0; font-size: 15px; color: #1A1A1A; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; }
.stat-card { background: #0A2342; border-radius: 10px; padding: 24px; text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: #fff; }
.stat-lbl { font-size: 13px; color: #7FB3D3; margin-top: 6px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .site-header { padding: 0 30px; }
  .breadcrumb { padding: 10px 30px; }
  .page-hero { padding: 50px 30px; }
  .article-section { padding: 50px 30px; }
  .article-section-inner { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .cta-banner { padding: 40px 30px; }
  .internal-links { padding: 40px 30px; }
  .site-footer { padding: 28px 30px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .header-nav { display: none; }
  .page-hero { padding: 36px 16px; }
  .page-hero h1 { font-size: 28px; }
  .article-section { padding: 36px 16px; }
  .breadcrumb { padding: 8px 16px; }
  .cta-banner { padding: 32px 16px; }
  .cta-banner h2 { font-size: 26px; }
  .internal-links { padding: 30px 16px; }
  .site-footer { padding: 24px 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-row, .links-grid { grid-template-columns: 1fr; }
}

/* MIGLIORAMENTI DESIGN */
/* Animazione hover sulle card */
.ingredient-card, .test-card, .expert-card, .step-card, .symptom-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.ingredient-card:hover, .expert-card:hover, .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,35,66,.14);
}

/* Hero-right migliorato */
.hero-right {
  box-shadow: 0 20px 60px rgba(10,35,66,.18) !important;
}

/* Badge hero */
.hero-badge {
  border: 1px solid rgba(10,35,66,.15);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Ombra e zoom immagine prodotto */
.product-box img {
  box-shadow: 0 4px 20px rgba(10,35,66,.12);
  transition: transform .3s ease;
}
.product-box img:hover { transform: scale(1.02); }

/* CTA banner gradiente migliorato */
.cta-banner {
  background: linear-gradient(135deg, #C0392B 0%, #96281B 100%);
}

/* Symptom card hover */
.symptom-card {
  border: 1px solid #D6EAF8;
  transition: background .2s, transform .2s;
}
.symptom-card:hover {
  background: #D6EAF8;
  transform: translateX(4px);
}

/* Stat numbers gradiente */
.stat-number {
  background: linear-gradient(135deg, #fff, #D6EAF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
