/* ==========================================================================
   PrimoPasso - Centro di Consulenza in Biomeccanica del Movimento e del Piede
   Esperto: Davide Marino (Consulente di Biomeccanica del Movimento e del Piede)
   Programma: "Base Solida: Corso di benessere per il supporto dell'attività naturale del corpo"
   Conformità: D.lgs. 206/2005 (Codice del Consumo), GDPR (Reg. UE 2016/679), Garante Privacy 10/06/2021
   Google Ads Soft Medical Compliance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand Kinetic & Biomechanical Palette */
  --brand-navy-dark: #09121f;
  --brand-navy: #0f1d33;
  --brand-navy-subtle: #192a47;
  --brand-navy-border: #23395d;

  --accent-cyan: #0284c7;
  --accent-cyan-light: #38bdf8;
  --accent-cyan-soft: #f0f9ff;
  --accent-cyan-border: #bae6fd;

  --accent-teal: #0d9488;
  --accent-teal-light: #2dd4bf;
  --accent-teal-soft: #f0fdfa;
  --accent-teal-border: #99f6e4;

  --accent-amber: #f97316;
  --accent-amber-hover: #ea580c;
  --accent-amber-soft: #fff7ed;
  --accent-amber-border: #fed7aa;

  /* Neutrals & Surfaces */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-alt: #e2e8f0;
  --bg-dark: #09121f;
  --bg-dark-surface: #101e33;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0284c7;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 29, 51, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 29, 51, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 29, 51, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 29, 51, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.2);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-navy);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-navy-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.15rem;
}

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

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

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

.section-bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: #ffffff;
}

.section-bg-dark p {
  color: var(--text-inverse-muted);
}

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

/* Section Header Badges */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-soft);
  border: 1px solid var(--accent-cyan-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-tag-amber {
  color: var(--accent-amber);
  background-color: var(--accent-amber-soft);
  border-color: var(--accent-amber-border);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  color: var(--brand-navy-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #09121f 0%, #0f274a 50%, #09121f 100%);
  color: #dbeafe;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

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

.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-badge strong {
  color: #38bdf8;
  font-weight: 600;
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 29, 51, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

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

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

.nav-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-pill);
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.45);
}

.btn-amber {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-medium);
  color: var(--brand-navy);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-soft);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 80px 0 90px;
  background: radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
              #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-soft);
  border: 1px solid var(--accent-cyan-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--brand-navy-dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

.hero-offer-highlight {
  background: linear-gradient(135deg, var(--accent-cyan-soft) 0%, #e0f2fe 100%);
  border-left: 4px solid var(--accent-cyan);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  font-size: 1rem;
  color: var(--brand-navy);
}

.hero-offer-highlight strong {
  color: var(--accent-cyan);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

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

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.hero-card-header h3 {
  font-size: 1.4rem;
  color: var(--brand-navy-dark);
  margin-bottom: 6px;
}

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

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

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

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-cyan-soft) 0%, #e0f2fe 100%);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-badge-text h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--brand-navy-dark);
}

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

/* ==========================================================================
   Problem & Pillars Section
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.problem-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-align: left;
}

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

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.problem-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--brand-navy-dark);
}

.problem-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pillars 3 Verticals Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan-border);
}

.pillar-card-top {
  padding: 32px 28px 20px;
  border-bottom: 1px solid var(--border-light);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.pillar-card h3 {
  font-size: 1.35rem;
  color: var(--brand-navy-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-card-body {
  padding: 24px 28px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.pillar-list li {
  font-size: 0.9rem;
  color: var(--brand-navy);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-list li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 800;
}

/* ==========================================================================
   Expert Section (Davide Marino)
   ========================================================================== */
.expert-preview {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.expert-preview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
}

.expert-portrait-pane {
  background: linear-gradient(135deg, #09121f 0%, #10233f 100%);
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.expert-initials-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.4);
}

.expert-portrait-pane h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.expert-portrait-pane span.role-title {
  color: #38bdf8;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.expert-portrait-pane p.exp-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.expert-content-pane {
  padding: 48px 44px;
}

.expert-content-pane h4 {
  font-size: 1.45rem;
  color: var(--brand-navy-dark);
  margin-bottom: 16px;
}

.expert-content-pane p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.expert-credentials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.credential-chip {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-navy);
}

/* ==========================================================================
   Magazine & Blog Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan-border);
}

.blog-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: 26px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-meta {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.25rem;
  color: var(--brand-navy-dark);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

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

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Services & Offer Page Grid (servizi.html)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  align-items: stretch;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

.service-card.highlight {
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(2, 132, 199, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  white-space: nowrap;
}

.service-type {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.4rem;
  color: var(--brand-navy-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy-dark);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.service-price small {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 4px;
}

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

.service-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--brand-navy);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Order / Lead Form (servizi.html & contatti.html)
   ========================================================================== */
.lead-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 760px;
  margin: 64px auto 0;
  box-shadow: var(--shadow-lg);
}

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

.lead-form-header h3 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.lead-form-header p {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 580px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-navy-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-main);
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ==========================================================================
   Article Single Page (articolo-1, 2, 3)
   ========================================================================== */
.article-header {
  padding: 64px 0 36px;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
  font-size: 2.6rem;
  max-width: 900px;
  margin: 0 auto 18px;
  line-height: 1.25;
}

.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.article-content {
  max-width: 820px;
  margin: 48px auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #1e293b;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 18px;
  color: var(--brand-navy-dark);
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 32px 0 14px;
  color: var(--brand-navy-dark);
}

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

.article-img-caption {
  padding: 10px 18px;
  background-color: var(--bg-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border-light);
}

.article-callout {
  background: linear-gradient(135deg, var(--accent-cyan-soft) 0%, #e0f2fe 100%);
  border-left: 4px solid var(--accent-cyan);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin: 32px 0;
  font-size: 1rem;
}

/* ==========================================================================
   Credentials Box (chi-siamo.html)
   ========================================================================== */
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.credential-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-cyan);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.credential-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-navy-dark);
}

.credential-reg {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* ==========================================================================
   Legal Pages (privacy, termini, cookie, resi, spedizioni)
   ========================================================================== */
.legal-wrapper {
  max-width: 860px;
  margin: 50px auto 80px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--brand-navy-dark);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 1.35rem;
  color: var(--brand-navy-dark);
  margin-bottom: 14px;
}

.legal-section p, 
.legal-section li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse-muted);
  padding: 70px 0 30px;
  border-top: 1px solid var(--brand-navy-border);
}

.footer-disclaimer-box {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--brand-navy-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-disclaimer-box strong {
  color: #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--brand-navy-border);
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #64748b;
}

.footer-legal-links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

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

.cookie-banner h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .expert-preview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .pillars-grid,
  .problems-grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .mobile-toggle {
    display: block;
  }
}

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

  .hero {
    padding: 50px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .lead-form-wrapper,
  .legal-wrapper {
    padding: 32px 20px;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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