/* ==========================================================================
   AuraBenessere - Studio di Benessere Olistico & Tecniche di Rilassamento
   Consulente: Sofia Esposito (Consulente Benessere, Specialista in Tecniche di Rilassamento)
   Offerta Principale: Rinascita Interna: Sistema Completo di Ripristino dell'Equilibrio e dell'Armonia Naturale
   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=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Primary Colors: Royal Amethyst, Velvet Indigo & Twilight Violet */
  --primary-dark: #190f2d;
  --primary: #281647;
  --primary-medium: #3c206b;
  --primary-light: #5b2fa0;
  --primary-soft: #f4eefa;
  --primary-glow: rgba(91, 47, 160, 0.16);

  /* Warm Radiant Accents: Sunset Peach, Luminous Amber & Rose Gold */
  --accent-amber: #d97706;
  --accent-amber-hover: #b45309;
  --accent-amber-soft: #fffbeb;
  --accent-amber-border: #fde68a;

  --accent-peach: #e07a5f;
  --accent-peach-soft: #fff2ed;
  --accent-peach-hover: #cc674c;

  --accent-rose: #d946ef;
  --accent-rose-soft: #fdf4ff;

  --accent-teal: #0d9488;
  --accent-teal-soft: #f0fdfa;

  /* Neutral Backgrounds & Canvas */
  --bg-page: #fbf9fd;
  --bg-card: #ffffff;
  --bg-subtle: #f4eff9;
  --bg-dark: #130a24;
  --bg-dark-surface: #1e1236;

  /* Typography Colors */
  --text-main: #181126;
  --text-muted: #534863;
  --text-light: #7c718c;
  --text-on-dark: #f6f2fc;
  --text-on-dark-muted: #c9bed9;

  /* Borders & Dividers */
  --border-light: #ede6f5;
  --border-strong: #d8cbe8;
  --border-focus: #5b2fa0;

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 3px rgba(25, 15, 45, 0.04);
  --shadow-sm: 0 4px 14px rgba(25, 15, 45, 0.06);
  --shadow-md: 0 10px 30px rgba(25, 15, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(25, 15, 45, 0.12);
  --shadow-glow: 0 0 28px rgba(91, 47, 160, 0.22);
  --shadow-warm-glow: 0 0 25px rgba(224, 122, 95, 0.2);

  /* Geometry */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-body);
  --max-w: 1200px;
}

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

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

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

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.22s ease-in-out;
}

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

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

p {
  margin-bottom: 1.15rem;
}

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

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */

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

.section {
  padding: 72px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 96px 0;
  }
}

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

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

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

.section-header h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 40px;
  }
}

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

/* Highlight Text */
.highlight-text {
  background: linear-gradient(120deg, #d97706 0%, #e07a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.highlight-violet {
  background: linear-gradient(120deg, #5b2fa0 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(40, 22, 71, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 22, 71, 0.32);
}

.btn-accent {
  background: linear-gradient(135deg, #d97706 0%, #e07a5f 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(224, 122, 95, 0.28);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #b45309 0%, #cc674c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.36);
}

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

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

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */

.top-bar {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  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;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 12px rgba(40, 22, 71, 0.2);
}

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

.brand-subline {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

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

.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: 2px;
  background: var(--accent-peach);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-peach) 100%) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.35);
}

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

@media (min-width: 992px) {
  .site-nav {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--border-strong);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 10% 10%, rgba(91, 47, 160, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 90% 90%, rgba(224, 122, 95, 0.06) 0%, transparent 50%),
              var(--bg-page);
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

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

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

@media (min-width: 768px) {
  .hero h1 {
    font-size: 46px;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 52px;
  }
}

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

.hero-offer-highlight {
  background: linear-gradient(135deg, rgba(91, 47, 160, 0.06) 0%, rgba(224, 122, 95, 0.08) 100%);
  border-left: 4px solid var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--primary-dark);
}

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

/* Hero Feature Card */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.hero-card-header {
  margin-bottom: 24px;
}

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

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

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

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

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

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

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

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */

.stats-bar {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
  line-height: 1.35;
}

/* ==========================================================================
   The 3 Universal Verticals (Pillars of Rinascita Interna)
   ========================================================================== */

.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .verticals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vertical-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.vertical-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

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

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

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

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

.vertical-card-list li::before {
  content: '✓';
  color: var(--primary-light);
  font-weight: 700;
}

/* ==========================================================================
   Expert Section (Sofia Esposito Bio & Philosophy)
   ========================================================================== */

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

.expert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .expert-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

.expert-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.expert-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-glow);
  border: 4px solid var(--primary-soft);
}

.expert-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.expert-card .expert-title {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 16px;
  display: block;
}

.expert-card .expert-badge {
  display: inline-block;
  background: var(--accent-amber-soft);
  color: var(--accent-amber-hover);
  border: 1px solid var(--accent-amber-border);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.expert-card-quote {
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  line-height: 1.55;
}

.expert-details h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .expert-details h2 {
    font-size: 38px;
  }
}

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

.expert-profile-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .expert-profile-card {
    grid-template-columns: 280px 1fr !important;
    gap: 48px !important;
    align-items: start;
  }
}

.expert-profile-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 30px;
}

@media (min-width: 992px) {
  .expert-profile-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    padding-bottom: 0;
    padding-right: 32px;
  }
}

/* ==========================================================================
   Credentials & Certifications Box (Text Structured Rule E)
   ========================================================================== */

.credential-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .credential-list {
    grid-template-columns: 1fr 1fr;
  }
}

.credential-item {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

.credential-item:hover {
  border-color: var(--primary-light);
}

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

.credential-issuer {
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.credential-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Services & Offer Grid (servizi.html)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.service-card.highlight {
  border: 2px solid var(--accent-amber);
  box-shadow: var(--shadow-glow);
  background: radial-gradient(circle at top right, rgba(224, 122, 95, 0.05) 0%, #ffffff 70%);
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-peach) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(224, 122, 95, 0.3);
}

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

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

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

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

.service-price small {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-light);
}

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

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

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

.service-features li::before {
  content: '✓';
  color: var(--primary-light);
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   Order Form (4 fields rule)
   ========================================================================== */

.lead-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .lead-form-wrapper {
    padding: 52px 48px;
  }
}

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

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

.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-size: 15px;
  font-family: var(--font-body);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text-main);
  transition: all 0.2s ease;
}

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

.form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Blog / Magazine & Cards (Clickable Entire Card Rule D)
   ========================================================================== */

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

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

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

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

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

.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(25, 15, 45, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

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

.blog-card-meta {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

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

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

.blog-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-card:hover .blog-card-link {
  color: var(--accent-peach);
  gap: 10px;
}

/* ==========================================================================
   Article Single Page (articolo-1, 2, 3)
   ========================================================================== */

.article-header {
  padding: 48px 0 24px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

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

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

.article-content h3 {
  font-size: 21px;
  margin: 28px 0 12px;
  color: var(--primary);
}

.article-content ul,
.article-content ol {
  margin: 20px 0 24px 24px;
}

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

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

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

.article-quote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--primary-dark);
  font-size: 18px;
}

.article-author-card {
  margin-top: 56px;
  padding: 32px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  display: flex;
  gap: 24px;
  align-items: center;
}

/* ==========================================================================
   Legal Pages (privacy, termini, cookie, resi, spedizioni)
   ========================================================================== */

.legal-wrapper {
  max-width: 860px;
  margin: 48px auto 72px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-wrapper {
    padding: 60px 52px;
  }
}

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

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

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

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

.legal-section p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.68;
}

.legal-section ul {
  margin: 12px 0 16px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 8px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer (Mandatory on ALL Pages)
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 64px 0 32px;
  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.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-bottom: 48px;
}

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

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }
}

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

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

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

.footer-col ul a {
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   Cookie Consent Banner (Linee Guida Garante Privacy 10/06/2021)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  margin: 0 auto;
  background: rgba(25, 15, 45, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: none;
  animation: slideUp 0.35s ease-out;
}

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

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

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

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

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

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

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