/* ==========================================================================
   LiberaMente - Centro Benessere & Rilassamento Corporeo Integrato
   Esperto & Fondatore: Gabriele Morelli (Specialista in Rilassamento Neuro-Muscolare)
   Programma Ufficiale: Armonia Neuro-Muscolare
   Conformità: GDPR UE 2016/679, Codice del Consumo D.lgs 206/2005, Linee Guida Garante 2021
   Google Ads Soft Medical Compliance
   ========================================================================== */

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

:root {
  /* Palette Cromatica LiberaMente: Deep Petrol Slate & Warm Amber */
  --primary-deep: #091e24;
  --primary-dark: #0f2e37;
  --primary: #175362;
  --primary-light: #237487;
  --primary-subtle: #e8f3f5;
  --primary-glow: rgba(23, 83, 98, 0.12);

  --accent: #d86a2f;
  --accent-hover: #bf561d;
  --accent-warm: #e89158;
  --accent-soft: #fdf5f0;
  --accent-border: #f2cbaf;

  --bg-page: #f8fafb;
  --bg-surface: #ffffff;
  --bg-muted: #f0f5f6;
  --bg-dark: #07171c;

  --text-title: #0e2229;
  --text-body: #324a52;
  --text-muted: #5e7780;
  --text-light: #8ba2ab;
  --text-inverse: #ffffff;

  --border-light: #e3ecef;
  --border-focus: #175362;

  --shadow-sm: 0 2px 8px rgba(9, 30, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(9, 30, 36, 0.07);
  --shadow-lg: 0 16px 40px rgba(9, 30, 36, 0.11);
  --shadow-xl: 0 24px 60px rgba(9, 30, 36, 0.16);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-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-page);
  color: var(--text-body);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-title);
  line-height: 1.25;
  font-weight: 700;
}

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

/* ---------------- Top Bar ---------------- */
.top-bar {
  background: linear-gradient(90deg, #07171c 0%, #0e2a32 50%, #07171c 100%);
  color: #cfdfe3;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.top-bar-badge::before {
  content: '•';
  color: var(--accent);
  font-size: 18px;
  line-height: 0;
}

/* ---------------- Site 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: var(--shadow-sm);
  transition: all 0.3s ease;
}

.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;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(23, 83, 98, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.brand-subline {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

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

.site-nav a {
  color: var(--text-title);
  font-weight: 600;
  font-size: 15px;
  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: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(23, 83, 98, 0.25);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 83, 98, 0.35);
  color: #ffffff !important;
}

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

/* ---------------- Hero Section ---------------- */
.hero {
  padding: 64px 0 72px;
  background: radial-gradient(circle at 85% 20%, rgba(216, 106, 47, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #eef5f6 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.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;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(23, 83, 98, 0.18);
}

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

.hero h1 span {
  color: var(--primary);
  position: relative;
}

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

.hero-offer-highlight {
  background: var(--bg-surface);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  color: var(--text-title);
}

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

.hero-stats-row {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-deep);
}

.hero-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Hero Right Card */
.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}

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

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

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

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

.hero-badge-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, border-color 0.2s;
}

.hero-badge-item:hover {
  transform: translateX(4px);
  border-color: var(--primary-light);
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

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

.hero-badge-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 83, 98, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 83, 98, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(216, 106, 47, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(216, 106, 47, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary-subtle);
  color: var(--primary-deep);
}

/* ---------------- Sections ---------------- */
.section {
  padding: 68px 0;
}

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

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

.section-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid var(--accent-border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  color: var(--primary-deep);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

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

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

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 19px;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-card ul {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.pillar-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ---------------- Expert Bio Preview ---------------- */
.expert-preview-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.expert-avatar-box {
  text-align: center;
  padding: 24px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.expert-avatar-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
  border: 3px solid #ffffff;
}

.expert-avatar-box strong {
  font-size: 18px;
  color: var(--primary-deep);
  display: block;
}

.expert-title-sub {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.expert-exp {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

.expert-bio-text h3 {
  font-size: 24px;
  color: var(--primary-deep);
  margin-bottom: 14px;
}

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

.expert-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.expert-hl-item {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.expert-hl-item span {
  color: var(--accent);
  font-weight: 800;
}

/* ---------------- Services Grid (servizi.html) ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.service-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(216, 106, 47, 0.35);
  white-space: nowrap;
}

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

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

.service-title {
  font-size: 21px;
  color: var(--primary-deep);
  line-height: 1.3;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.service-price small {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

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

.service-features {
  list-style: none;
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

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

/* ---------------- Form 4 Fields (Rule C) ---------------- */
.lead-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

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

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

.lead-form-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xs);
  background: #ffffff;
  color: var(--text-title);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-privacy-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.45;
}

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

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
}

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

.blog-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-muted);
}

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

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

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

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

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

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  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;
}

/* ---------------- Article Detail Page ---------------- */
.article-header {
  padding: 54px 0 32px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
  font-size: 36px;
  color: var(--primary-deep);
  margin-top: 10px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
}

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

.article-content h2 {
  font-size: 26px;
  color: var(--primary-deep);
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin-top: 26px;
  margin-bottom: 12px;
}

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

.article-content li {
  margin-bottom: 10px;
}

.article-img-box {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

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

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

.article-quote {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 30px 0;
  font-size: 16px;
  color: var(--primary-deep);
  font-style: italic;
}

/* ---------------- Certifications Grid (chi-siamo.html) ---------------- */
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credential-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.credential-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.credential-reg {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-top: 6px;
  display: inline-block;
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* ---------------- Legal Pages ---------------- */
.legal-wrapper {
  max-width: 860px;
  margin: 40px auto 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
  font-size: 30px;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

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

.legal-section h2 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 10px;
}

.legal-section p,
.legal-section ul {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
}

/* ---------------- Site Footer ---------------- */
.site-footer {
  background: var(--bg-dark);
  color: #c4d7de;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #9cb5be;
  margin-bottom: 44px;
}

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

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

.footer-col h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 13.5px;
  color: #9cb5be;
  line-height: 1.65;
  margin-bottom: 10px;
}

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

.footer-col ul a {
  color: #b5cbd2;
  font-size: 14px;
  transition: color 0.2s;
}

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

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

/* ---------------- Cookie Consent Banner ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 580px;
  margin: 0 auto;
  background: var(--primary-deep);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 99999;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-banner p {
  font-size: 13px;
  color: #b8cbd2;
  line-height: 1.5;
  margin-bottom: 16px;
}

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

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

.cookie-banner-actions .btn {
  padding: 8px 18px;
  font-size: 13px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .hero-grid,
  .expert-preview-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pillars-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .mobile-toggle {
    display: block;
  }

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

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

  .top-bar-badge:not(:first-child) {
    display: none;
  }

  .legal-wrapper {
    padding: 24px 18px;
  }
}
