/* ==========================================================================
   NaturaVitalis - Studio di Benessere Olistico & Metodologie di Rigenerazione
   Consulente: Marco Bernardi (Consulente per lo stile di vita sano e metodologie di rigenerazione)
   Offerta Principale: Equilibrio Perfetto - Complesso di recupero profondo delle energie e rigenerazione dell'organismo
   Conformità: Codice del Consumo (D.lgs. 206/2005), GDPR (Reg. UE 2016/679), Garante Privacy 10/06/2021
   Google Ads Soft Medical Compliance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Palette cromatica NaturaVitalis: Forest Emerald, Tuscan Gold, Warm Pearl & Soft Sage */
  --primary-dark: #07201c;
  --primary: #0e3d36;
  --primary-light: #185c52;
  --primary-soft: #ebf6f3;
  --primary-glow: rgba(14, 61, 54, 0.12);

  --accent-gold: #c89a4b;
  --accent-gold-hover: #b38437;
  --accent-gold-soft: #fcf8ee;
  --accent-gold-border: #ebd9b5;

  --sage-accent: #2e8874;
  --sage-soft: #f0f7f5;
  --sage-border: #d4e8e2;

  --bg-main: #faf9f6;
  --bg-card: #ffffff;
  --bg-alt: #f3f0ea;
  --bg-dark: #061916;

  --text-main: #172623;
  --text-muted: #495b57;
  --text-light: #768a85;

  --border: #e3ded6;
  --border-focus: #185c52;

  --shadow-xs: 0 1px 3px rgba(7, 32, 28, 0.04);
  --shadow-sm: 0 4px 14px rgba(7, 32, 28, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 32, 28, 0.09);
  --shadow-lg: 0 20px 48px rgba(7, 32, 28, 0.13);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-body);
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-w: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------------- Top Announcement Bar ---------------- */
.top-bar {
  background: linear-gradient(90deg, #051613 0%, #0e3d36 50%, #051613 100%);
  color: #d8e8e4;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(200, 154, 75, 0.28);
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-badge::before {
  content: '✦';
  color: var(--accent-gold);
  font-size: 11px;
}

.top-bar-badge:first-child::before {
  display: none;
}

/* ---------------- Header & Navigation ---------------- */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  border: 1.5px solid var(--accent-gold-border);
  box-shadow: 0 4px 10px rgba(14, 61, 54, 0.15);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-subline {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13.5px;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 14px rgba(14, 61, 54, 0.16);
  transition: all 0.25s ease;
}

.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(200, 154, 75, 0.28);
  transform: translateY(-1px);
}

.site-nav .nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* ---------------- Hero Section ---------------- */
.hero {
  padding: 70px 0 64px;
  background: radial-gradient(circle at 85% 15%, rgba(200, 154, 75, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #f5f3ec 0%, #faf9f6 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid var(--sage-border);
}

.hero-tag::before {
  content: '🌿';
  font-size: 12px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-p {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-offer-highlight {
  background: #ffffff;
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-offer-highlight strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-light));
  border-radius: 0 0 4px 4px;
}

.hero-card-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.hero-card-header h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.hero-card-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-badge-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid var(--sage-border);
}

.hero-badge-text h4 {
  font-size: 15px;
  margin-bottom: 3px;
  color: var(--primary-dark);
}

.hero-badge-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---------------- General Section Styles ---------------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-gold-hover);
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  line-height: 1;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 61, 54, 0.2);
  border-color: var(--primary-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(14, 61, 54, 0.28);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(200, 154, 75, 0.25);
  border-color: var(--accent-gold-hover);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d8a857 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 20px rgba(200, 154, 75, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-soft);
  border-color: var(--primary-light);
}

/* ---------------- Expert Card & Credentials (Rule E: Pure structured text) ---------------- */
.expert-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.expert-avatar-box {
  background: linear-gradient(145deg, #f0f7f5 0%, #faf8f2 100%);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.expert-avatar-badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  border: 2.5px solid var(--accent-gold);
  box-shadow: 0 6px 18px rgba(14, 61, 54, 0.22);
}

.expert-avatar-box strong {
  display: block;
  font-size: 19px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.expert-title-sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.expert-exp {
  display: inline-block;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold-hover);
  border: 1px solid var(--accent-gold-border);
}

.expert-meta .expert-role {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.expert-meta h3 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.expert-bio {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.credential-item {
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.credential-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.credential-reg {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------------- Multi-Vertical 3 Pillars Grid ---------------- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vertical-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-border);
}

.vertical-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--sage-soft);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--sage-border);
}

.vertical-title {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.vertical-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.vertical-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vertical-list li {
  font-size: 13.5px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vertical-list li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------------- Magazine / Blog Grid (Fully Clickable Cards) ---------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-border);
  color: inherit;
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold-hover);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card:hover .blog-card-link {
  color: var(--accent-gold-hover);
}

/* ---------------- Services Page Grid ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.service-card.highlight {
  border: 2px solid var(--accent-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f4 100%);
  box-shadow: var(--shadow-md);
}

.highlight-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(200, 154, 75, 0.3);
}

.service-header {
  margin-bottom: 18px;
}

.service-type {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold-hover);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-title {
  font-size: 21px;
  color: var(--primary-dark);
}

.service-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1;
}

.service-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.service-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  font-size: 13.5px;
  color: var(--text-main);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.service-features li::before {
  content: '✦';
  color: var(--accent-gold);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------------- Lead / Order Form (Rule C: Exactly 4 fields) ---------------- */
.lead-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
}

.lead-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 50%, var(--primary-light) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.lead-form-header h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.lead-form-header p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #faf9f6;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 61, 54, 0.1);
}

.form-assurance {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.form-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------- Article & Content Pages ---------------- */
.article-header {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f2efe9 0%, #faf9f6 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.article-header h1 {
  font-size: 38px;
  max-width: 860px;
  margin: 0 auto 16px;
  line-height: 1.25;
}

.article-meta-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  font-size: 17px;
  line-height: 1.8;
  color: #273834;
}

.article-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
  color: var(--primary-dark);
}

.article-body h3 {
  font-size: 20px;
  margin: 30px 0 12px;
  color: var(--primary-dark);
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-img-wrap {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.article-img-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-img-caption {
  padding: 10px 16px;
  background: var(--bg-alt);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
}

.article-callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
  margin: 32px 0;
  font-size: 16px;
  border-top: 1px solid var(--sage-border);
  border-right: 1px solid var(--sage-border);
  border-bottom: 1px solid var(--sage-border);
}

/* ---------------- Legal Pages Layout ---------------- */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #2c3e3a;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--primary-dark);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--primary-dark);
}

.legal-content p, .legal-content ul, .legal-content ol {
  margin-bottom: 18px;
}

.legal-content ul, .legal-content ol {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

/* ---------------- Footer (Mandatory on ALL Pages) ---------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #c9d8d4;
  padding: 60px 0 32px;
  border-top: 1px solid #142e29;
  font-size: 14px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 154, 75, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 44px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #a5b9b4;
}

.footer-disclaimer-box strong {
  color: var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.2px;
}

.footer-col p {
  color: #9cb1ac;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  color: #9cb1ac;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #798f8a;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------- Cookie Consent Banner (Linee Guida Garante 10/06/2021) ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: rgba(7, 32, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e5edea;
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  font-size: 13.5px;
  line-height: 1.55;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  color: #b5c7c2;
  margin-bottom: 16px;
  font-size: 13px;
}

.cookie-banner a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-actions button {
  font-size: 13px;
  padding: 9px 18px;
  flex: 1;
}

.cookie-banner-actions .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ---------------- Responsive Media Queries ---------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .expert-profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .expert-avatar-box {
    max-width: 320px;
    margin: 0 auto;
  }

  .credential-item {
    text-align: left;
  }

  .verticals-grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
  }

  .mobile-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a.active::after {
    display: none;
  }

  .site-nav .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 44px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
