/*
Theme Name: eContact Cloud
Theme URI: https://econtact.cloud
Author: eContact
Author URI: https://econtact.cloud
Description: Tema WordPress per eContact Cloud — Automazione WhatsApp per E-commerce. Splash screen, CPT FAQ & Testimonial con metriche, social proof bar e accordion accessibile.
Version: 11.1.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: econtact
Tags: one-page, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

eContact Cloud — WhatsApp Marketing Automation Theme
Changelog v10.0.1:
  - Splash screen con canvas particle animation (sessionStorage once-per-session)
  - CPT ec_faq e ec_testimonial con metabox, admin columns, ordinamento
  - Nuova card testimonial .ec-tcard con metriche chips e social proof bar
  - FAQ accordion con max-height dinamico JS e aria-expanded accessibile
  - Admin placeholder per contenuti vuoti (visibile solo a utenti loggati)
  - Rimosso CSS inline da functions.php: tutto in style.css
  - Fix "30 giorni" → "14 giorni" in footer.php
  - Bump ECONTACT_VERSION a 10.0.1
*/

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Brand Colors */
  --ec-green: #25D366;
  --ec-green-dark: #1da851;
  --ec-green-light: #e8f8ee;
  --ec-green-glow: rgba(37, 211, 102, 0.15);
  --ec-dark: #0a0a0a;
  --ec-dark-soft: #111827;
  --ec-dark-card: #1a1a2e;
  --ec-white: #ffffff;
  --ec-off-white: #f8faf9;
  --ec-gray-50: #f9fafb;
  --ec-gray-100: #f3f4f6;
  --ec-gray-200: #e5e7eb;
  --ec-gray-300: #d1d5db;
  --ec-gray-400: #9ca3af;
  --ec-gray-500: #6b7280;
  --ec-gray-600: #4b5563;
  --ec-gray-700: #374151;
  --ec-gray-800: #1f2937;
  --ec-gray-900: #111827;

  /* Typography */
  --ec-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ec-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --ec-section-padding: 100px 0;
  --ec-container-max: 1200px;
  --ec-container-padding: 0 24px;

  /* Borders & Radius */
  --ec-radius-sm: 8px;
  --ec-radius-md: 12px;
  --ec-radius-lg: 16px;
  --ec-radius-xl: 24px;
  --ec-radius-full: 9999px;

  /* Shadows */
  --ec-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --ec-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --ec-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --ec-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --ec-shadow-green: 0 4px 20px rgba(37, 211, 102, 0.3);

  /* Transitions */
  --ec-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ec-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--ec-font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ec-gray-800);
  background-color: var(--ec-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--ec-transition);
}

ul, ol { list-style: none; }

.ec-container {
  max-width: var(--ec-container-max);
  margin: 0 auto;
  padding: var(--ec-container-padding);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ec-font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.ec-text-gradient {
  background: linear-gradient(135deg, var(--ec-green), #00e676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--ec-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ec-label--green {
  background: var(--ec-green-glow);
  color: var(--ec-green);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--ec-radius-full);
  font-family: var(--ec-font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ec-transition);
  white-space: nowrap;
}

.ec-btn--primary {
  background: var(--ec-green);
  color: #ffffff !important;
  box-shadow: var(--ec-shadow-green);
}

.ec-btn--primary:hover,
.ec-btn--primary:focus,
.ec-btn--primary:active,
.ec-btn--primary:visited {
  background: var(--ec-green-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.ec-btn--outline {
  background: transparent;
  color: var(--ec-white);
  border: 2px solid rgba(255,255,255,0.3);
}

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

.ec-btn--dark {
  background: var(--ec-dark);
  color: var(--ec-white);
}

.ec-btn--dark:hover {
  background: var(--ec-dark-soft);
  transform: translateY(-2px);
}

.ec-btn--ghost {
  background: transparent;
  color: var(--ec-green);
  border: 2px solid var(--ec-green);
}

.ec-btn--ghost:hover {
  background: var(--ec-green);
  color: var(--ec-white);
}

.ec-btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.ec-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--ec-transition);
}

.ec-header--scrolled,
body:not(.home) .ec-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}

.ec-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ec-container-max);
  margin: 0 auto;
  padding: var(--ec-container-padding);
}

.ec-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ec-white);
}

.ec-header__logo svg {
  width: 36px;
  height: 36px;
}

.ec-header__logo img,
.ec-header__logo .custom-logo {
  max-height: 40px;
  width: auto;
  height: auto;
}

.ec-header__logo span {
  color: var(--ec-green);
}

.ec-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.ec-header__nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.ec-header__nav a:hover {
  color: var(--ec-white);
}

.ec-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ec-header__login {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
}

.ec-header__login:hover {
  color: var(--ec-white);
}

.ec-header__cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Mobile menu toggle */
.ec-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.ec-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ec-white);
  border-radius: 2px;
  transition: var(--ec-transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.ec-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0a0a0a 0%, #0d1f12 40%, #0a1a0e 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.ec-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ec-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ec-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ec-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--ec-radius-full);
  color: var(--ec-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.ec-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--ec-green);
  border-radius: 50%;
  animation: ec-pulse 2s ease-in-out infinite;
}

@keyframes ec-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.ec-hero__title {
  color: var(--ec-white);
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
}

.ec-hero__subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.ec-hero__stats {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.ec-hero__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ec-radius-full);
}

.ec-hero__stat-icon {
  color: var(--ec-green);
  font-size: 0.9rem;
}

.ec-hero__stat-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.ec-hero__stat-text strong {
  color: var(--ec-white);
}

.ec-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* WhatsApp Chat Mockup */
.ec-hero__mockup {
  position: relative;
}

.ec-chat {
  background: var(--ec-dark-card);
  border-radius: var(--ec-radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--ec-shadow-xl);
  max-width: 420px;
  margin-left: auto;
}

.ec-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(37, 211, 102, 0.1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ec-chat__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ec-green), #00e676);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ec-white);
  font-size: 0.9rem;
}

.ec-chat__info {
  flex: 1;
}

.ec-chat__name {
  color: var(--ec-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.ec-chat__status {
  color: var(--ec-green);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ec-chat__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ec-green);
  border-radius: 50%;
}

.ec-chat__badge-tag {
  padding: 4px 10px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: var(--ec-radius-full);
  color: var(--ec-green);
  font-size: 0.7rem;
  font-weight: 600;
}

.ec-chat__messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
}

.ec-chat__msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  animation: ec-msgIn 0.5s ease-out both;
}

.ec-chat__msg--bot {
  background: rgba(37, 211, 102, 0.12);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.ec-chat__msg--user {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.ec-chat__msg-time {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.ec-chat__msg-label {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(37, 211, 102, 0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--ec-green);
  margin-bottom: 6px;
}

.ec-chat__revenue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(37, 211, 102, 0.08);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ec-chat__revenue-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.ec-chat__revenue-amount {
  color: var(--ec-green);
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes ec-msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ec-chat__msg:nth-child(2) { animation-delay: 0.15s; }
.ec-chat__msg:nth-child(3) { animation-delay: 0.3s; }
.ec-chat__msg:nth-child(4) { animation-delay: 0.45s; }
.ec-chat__msg:nth-child(5) { animation-delay: 0.6s; }

/* ============================================
   LOGO BAR / INTEGRATIONS STRIP
   ============================================ */
.ec-logos {
  padding: 50px 0;
  background: var(--ec-off-white);
  border-top: 1px solid var(--ec-gray-200);
  border-bottom: 1px solid var(--ec-gray-200);
  overflow: hidden;
}

.ec-logos__title {
  text-align: center;
  color: var(--ec-gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.ec-logos__track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: ec-scroll 30s linear infinite;
}

.ec-logos__item {
  flex-shrink: 0;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--ec-transition);
  height: 32px;
}

.ec-logos__item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes ec-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   PROBLEM / METRICS SECTION
   ============================================ */
.ec-problem {
  padding: var(--ec-section-padding);
  background: var(--ec-white);
}

.ec-problem__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.ec-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.ec-metric-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--ec-gray-50);
  border: 1px solid var(--ec-gray-200);
  border-radius: var(--ec-radius-lg);
  transition: var(--ec-transition);
}

.ec-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ec-shadow-lg);
  border-color: var(--ec-green);
}

.ec-metric-card__value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ec-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.ec-metric-card__value--danger {
  color: #ef4444;
}

.ec-metric-card__label {
  color: var(--ec-gray-500);
  font-size: 0.95rem;
}

.ec-problem__solution {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, var(--ec-green-light), var(--ec-white));
  border-radius: var(--ec-radius-lg);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.ec-problem__solution p {
  font-size: 1.15rem;
  color: var(--ec-gray-700);
}

.ec-problem__solution strong {
  color: var(--ec-green-dark);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.ec-features {
  padding: var(--ec-section-padding);
  background: var(--ec-off-white);
}

.ec-features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.ec-features__subtitle {
  color: var(--ec-gray-500);
  font-size: 1.05rem;
  margin-top: 16px;
}

.ec-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ec-feature-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  border-radius: var(--ec-radius-lg);
  padding: 36px 30px;
  transition: var(--ec-transition);
  position: relative;
  overflow: hidden;
}

.ec-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ec-green);
  transform: scaleX(0);
  transition: var(--ec-transition);
}

.ec-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ec-shadow-lg);
  border-color: rgba(37, 211, 102, 0.3);
}

.ec-feature-card:hover::before {
  transform: scaleX(1);
}

.ec-feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green-glow);
  border-radius: var(--ec-radius-md);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.ec-feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ec-dark);
  margin-bottom: 10px;
}

.ec-feature-card__desc {
  color: var(--ec-gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ec-feature-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 12px;
  background: var(--ec-green-light);
  border-radius: var(--ec-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ec-green-dark);
}

/* ============================================
   AI AGENT SECTION
   ============================================ */
.ec-ai {
  padding: var(--ec-section-padding);
  background: linear-gradient(160deg, #0a0a0a 0%, #0d1f12 100%);
  color: var(--ec-white);
  position: relative;
  overflow: hidden;
}

.ec-ai::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ec-ai__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ec-ai__content { }

.ec-ai__label {
  margin-bottom: 20px;
}

.ec-ai__title {
  margin-bottom: 20px;
}

.ec-ai__desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.ec-ai__comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.ec-ai__compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--ec-radius-md);
}

.ec-ai__compare-item--before {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.ec-ai__compare-item--after {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.ec-ai__compare-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-ai__compare-item--before .ec-ai__compare-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.ec-ai__compare-item--after .ec-ai__compare-icon {
  background: rgba(37, 211, 102, 0.2);
  color: var(--ec-green);
}

.ec-ai__compare-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ec-ai__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ec-ai__stat-box {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ec-radius-md);
}

.ec-ai__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ec-green);
  margin-bottom: 4px;
}

.ec-ai__stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* AI Visual */
.ec-ai__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-ai__flow-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ec-radius-lg);
  transition: var(--ec-transition);
}

.ec-ai__flow-item:hover {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.2);
}

.ec-ai__flow-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.12);
  border-radius: var(--ec-radius-md);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ec-ai__flow-title {
  font-weight: 600;
  color: var(--ec-white);
  font-size: 0.95rem;
}

.ec-ai__flow-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.ec-pricing {
  padding: var(--ec-section-padding);
  background: var(--ec-white);
}

.ec-pricing__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.ec-pricing__subtitle {
  color: var(--ec-gray-500);
  font-size: 1.05rem;
  margin-top: 16px;
}

.ec-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ec-price-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  border-radius: var(--ec-radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: var(--ec-transition);
}

.ec-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ec-shadow-lg);
}

.ec-price-card--featured {
  border: 2px solid var(--ec-green);
  box-shadow: var(--ec-shadow-green);
  transform: scale(1.03);
}

.ec-price-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.ec-price-card__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--ec-green);
  color: var(--ec-white);
  border-radius: var(--ec-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.ec-price-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ec-dark);
  margin-bottom: 6px;
}

.ec-price-card__desc {
  color: var(--ec-gray-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.ec-price-card__price {
  margin-bottom: 24px;
}

.ec-price-card__amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ec-dark);
  line-height: 1;
}

.ec-price-card__old {
  font-size: 1.2rem;
  color: var(--ec-gray-400);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 400;
}

.ec-price-card__period {
  color: var(--ec-gray-500);
  font-size: 0.9rem;
}

.ec-price-card__features {
  margin-bottom: 32px;
}

.ec-price-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--ec-gray-600);
}

.ec-price-card__check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green-light);
  color: var(--ec-green);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-price-card__btn {
  width: 100%;
}

/* ============================================
   TESTIMONIALS — v10.0.1
   ============================================ */
.ec-testimonials {
  padding: var(--ec-section-padding);
  background: var(--ec-off-white);
}

.ec-testimonials__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.ec-testimonials__kicker {
  margin-bottom: 16px;
}

.ec-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Backward compat: vecchie card dal Customizer ── */
.ec-testimonial-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  transition: var(--ec-transition);
}
.ec-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow-md); }
.ec-testimonial-card__stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; }
.ec-testimonial-card__text { color: var(--ec-gray-700); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.ec-testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.ec-testimonial-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--ec-green), #00e676); display: flex; align-items: center; justify-content: center; color: var(--ec-white); font-weight: 700; font-size: 0.85rem; }
.ec-testimonial-card__name { font-weight: 600; color: var(--ec-dark); font-size: 0.9rem; }
.ec-testimonial-card__role { color: var(--ec-gray-500); font-size: 0.8rem; }

/* ── Nuova card CPT: .ec-tcard ── */
.ec-tcard {
  padding: 32px;
  border-radius: var(--ec-radius-lg);
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--ec-transition);
  position: relative;
  overflow: hidden;
}
.ec-tcard:hover {
  border-color: var(--ec-green);
  box-shadow: var(--ec-shadow-lg);
  transform: translateY(-4px);
}
.ec-tcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ec-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.ec-tcard:hover::before { transform: scaleX(1); }

.ec-tcard__stars { color: #f59e0b; font-size: 0.95rem; letter-spacing: 2px; }

.ec-tcard__metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.ec-tcard__metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--ec-radius-sm);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ec-green-dark);
}

.ec-tcard__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ec-gray-700);
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 20px;
}
.ec-tcard__text::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -4px;
  color: var(--ec-green);
  font-size: 1.8rem;
  line-height: 1;
  font-style: normal;
}
/* Rimuovi p margin quando il testo viene da the_content */
.ec-tcard__text p { margin: 0 0 0.5em; }
.ec-tcard__text p:last-child { margin-bottom: 0; }

.ec-tcard__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ec-tcard__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ec-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ec-green);
  flex-shrink: 0;
  border: 2px solid rgba(37, 211, 102, 0.2);
}
.ec-tcard__name { font-weight: 700; font-size: 0.9rem; color: var(--ec-gray-900); }
.ec-tcard__role { font-size: 0.8rem; color: var(--ec-gray-500); margin-top: 2px; }
.ec-tcard__store {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ec-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.ec-tcard__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--ec-gray-400);
  border-top: 1px solid var(--ec-gray-100);
  padding-top: 12px;
  margin-top: 4px;
}
.ec-tcard__source-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ec-green);
  flex-shrink: 0;
}

/* ── Social Proof Bar ── */
.ec-social-proof-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 28px 40px;
  margin: 48px auto 0;
  max-width: 900px;
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow-sm);
}
.ec-social-proof-bar__item { text-align: center; }
.ec-social-proof-bar__val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ec-gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ec-social-proof-bar__label {
  font-size: 0.78rem;
  color: var(--ec-gray-500);
  margin-top: 4px;
}
.ec-social-proof-bar__sep {
  width: 1px;
  height: 40px;
  background: var(--ec-gray-200);
  flex-shrink: 0;
}

/* ============================================
   FAQ SECTION — v10.0.1
   max-height ora gestita da JS (dinamica)
   ============================================ */
.ec-faq {
  padding: var(--ec-section-padding);
  background: var(--ec-white);
}

.ec-faq__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.ec-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.ec-faq__item {
  border-bottom: 1px solid var(--ec-gray-200);
}
.ec-faq__item:first-child {
  border-top: 1px solid var(--ec-gray-200);
}

.ec-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ec-font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ec-dark);
  transition: color 0.2s;
  gap: 16px;
  user-select: none;
}
.ec-faq__question:hover { color: var(--ec-green); }

.ec-faq__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ec-gray-100);
  transition: var(--ec-transition);
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--ec-green);
  font-weight: 700;
}
.ec-faq__item.active .ec-faq__icon {
  background: var(--ec-green-light);
  transform: rotate(45deg);
}

/* max-height impostata dinamicamente da JS in base al contenuto reale */
.ec-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ec-faq__answer-inner {
  padding: 0 0 22px;
  color: var(--ec-gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
}
.ec-faq__answer-inner p { margin-bottom: 0.75em; }
.ec-faq__answer-inner p:last-child { margin-bottom: 0; }
.ec-faq__answer-inner strong { color: var(--ec-gray-800); }
.ec-faq__answer-inner a { color: var(--ec-green); text-decoration: underline; text-underline-offset: 3px; }
.ec-faq__answer-inner ul { padding-left: 1.2em; margin: 0.5em 0; }
.ec-faq__answer-inner li { margin-bottom: 0.4em; }

/* Retrocompatibilità: risposte con <p> diretto (Customizer) */
.ec-faq__answer p {
  padding: 0 0 22px;
  color: var(--ec-gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */
.ec-cta {
  padding: 80px 0;
  background: linear-gradient(160deg, #0a0a0a 0%, #0d1f12 100%);
  position: relative;
  overflow: hidden;
}

.ec-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ec-cta__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.ec-cta__title {
  color: var(--ec-white);
  margin-bottom: 16px;
}

.ec-cta__desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ec-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ec-cta__perks {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.ec-cta__perk {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.ec-cta__perk-icon {
  color: var(--ec-green);
}

/* ============================================
   FOOTER
   ============================================ */
.ec-footer {
  padding: 60px 0 30px;
  background: var(--ec-dark);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ec-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ec-footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 300px;
}

.ec-footer__heading {
  color: var(--ec-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ec-footer__links li { margin-bottom: 10px; }

.ec-footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.ec-footer__links a:hover {
  color: var(--ec-green);
}

.ec-footer__bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ec-footer__copy {
  font-size: 0.85rem;
}

.ec-footer__socials {
  display: flex;
  gap: 12px;
}

.ec-footer__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--ec-transition);
}

.ec-footer__social:hover {
  background: var(--ec-green);
  color: var(--ec-white);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.ec-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ec-reveal.ec-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ec-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ec-hero__mockup {
    order: -1;
  }

  .ec-chat {
    max-width: 380px;
    margin: 0 auto;
  }

  .ec-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-ai__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ec-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .ec-price-card--featured {
    transform: none;
  }

  .ec-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 768px) {
  :root {
    --ec-section-padding: 60px 0;
  }

  .ec-header__nav {
    display: none;
  }

  .ec-header__toggle {
    display: flex;
  }

  .ec-header__nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .ec-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .ec-hero__stats {
    flex-direction: column;
    gap: 10px;
  }

  .ec-hero__buttons {
    flex-direction: column;
  }

  .ec-hero__buttons .ec-btn {
    width: 100%;
  }

  .ec-problem__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ec-features__grid {
    grid-template-columns: 1fr;
  }

  .ec-ai__stats {
    grid-template-columns: 1fr;
  }

  .ec-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ec-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .ec-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .ec-cta__perks {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-post-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.entry-content h2 { margin: 32px 0 16px; }
.entry-content p { margin-bottom: 16px; line-height: 1.8; }
.entry-content img { border-radius: var(--ec-radius-md); margin: 24px 0; }

/* WordPress alignment classes */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { text-align: center; }

/* ============================================
   MANUALE & FAQ PLUGIN COMPATIBILITY
   ============================================ */

/* Guide cards hover from plugin archive */
.ec-feature-card:hover img {
  transform: scale(1.05);
}

/* FAQ accordion items from plugin */
.ecm-faq-item {
  transition: background-color 0.2s ease;
}

.ecm-faq-item:hover {
  background-color: rgba(37, 211, 102, 0.02);
}

.ecm-faq-toggle:hover {
  color: var(--ec-green) !important;
}

/* Guide article body styling */
.wp-block-post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ec-dark);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ec-green);
  display: inline-block;
}

.wp-block-post-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ec-dark);
  margin: 32px 0 12px;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.wp-block-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--ec-gray-600);
}

.wp-block-post-content a {
  color: var(--ec-green);
  text-decoration: none;
  font-weight: 500;
  transition: var(--ec-transition);
}

.wp-block-post-content a:hover {
  color: var(--ec-green-dark);
  text-decoration: underline;
}

.wp-block-post-content blockquote {
  border-left: 4px solid var(--ec-green);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--ec-green-light);
  border-radius: 0 var(--ec-radius-md) var(--ec-radius-md) 0;
  font-style: italic;
  color: var(--ec-gray-700);
}

.wp-block-post-content code {
  background: var(--ec-gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--ec-green-dark);
}

.wp-block-post-content pre {
  background: var(--ec-dark);
  color: #e5e7eb;
  padding: 24px;
  border-radius: var(--ec-radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

.wp-block-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Search results styling */
#ecm-search-results a:hover {
  background: rgba(37, 211, 102, 0.08) !important;
}

/* Pagination for guide archive */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--ec-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ec-transition);
}

.nav-links a {
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  color: var(--ec-gray-600);
}

.nav-links a:hover {
  border-color: var(--ec-green);
  color: var(--ec-green);
}

.nav-links a {
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-200);
  color: var(--ec-gray-600);
}
.nav-links a:hover {
  border-color: var(--ec-green);
  color: var(--ec-green);
}
.nav-links .current {
  background: var(--ec-green);
  color: var(--ec-white);
  border: 1px solid var(--ec-green);
}

/* ============================================
   v3.0 — SECTION TITLES & UTILITIES
   ============================================ */
.ec-section-title {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ec-dark);
}
.ec-logos__item {
  font-size: 1.1rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}
.ec-logos__item--dark {
  color: var(--ec-gray-400);
  padding: 10px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--ec-radius-full);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   ONBOARDING SECTION
   ============================================ */
.ec-onboarding {
  padding: var(--ec-section-padding);
  background: var(--ec-white);
}
.ec-onboarding__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ec-onboarding__desc {
  color: var(--ec-gray-500);
  margin-top: 16px;
  line-height: 1.8;
}
.ec-onboarding__buttons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}
.ec-onboarding__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ec-step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--ec-radius-lg);
  background: var(--ec-gray-50);
  border: 1px solid var(--ec-gray-100);
  transition: var(--ec-transition);
}
.ec-step-card:hover {
  border-color: var(--ec-green);
  box-shadow: var(--ec-shadow-sm);
}
.ec-step-card__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ec-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.ec-step-card__title {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ec-dark);
}
.ec-step-card__desc {
  font-size: 0.85rem;
  color: var(--ec-gray-500);
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.ec-roi {
  padding: var(--ec-section-padding);
  background: var(--ec-off-white);
}
.ec-roi__header {
  text-align: center;
  margin-bottom: 48px;
}
.ec-roi__calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  background: var(--ec-white);
  border-radius: var(--ec-radius-xl);
  padding: 40px;
  box-shadow: var(--ec-shadow-lg);
}
.ec-roi__label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}
.ec-roi__label + .ec-roi__label {
  margin-top: 20px;
}
.ec-roi__val {
  color: var(--ec-green);
  font-weight: 700;
}
.ec-roi__range {
  width: 100%;
  accent-color: var(--ec-green);
}
.ec-roi__result {
  background: var(--ec-dark);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ec-roi__result-label {
  font-size: 0.8rem;
  color: var(--ec-gray-400);
  margin-bottom: 8px;
}
.ec-roi__result-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ec-green);
}
.ec-roi__result-roi {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ec-gray-400);
}
.ec-roi__result-multiplier {
  color: var(--ec-green);
  font-weight: 700;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
.ec-integrations {
  padding: 60px 0;
  background: var(--ec-dark);
}
.ec-integrations__header {
  text-align: center;
  margin-bottom: 32px;
}
.ec-integrations__title {
  color: white;
  margin-top: 12px;
  font-size: 1.3rem;
}
.ec-integrations .ec-logos__track {
  display: flex;
  gap: 16px;
  animation: ecLogoScroll 25s linear infinite;
}

/* ============================================
   PRICING — BADGES, HIGHLIGHTS, FOOTNOTES
   ============================================ */
.ec-pricing__badge {
  padding: 4px 12px;
  border-radius: var(--ec-radius-full);
  background: var(--ec-gray-100);
  color: var(--ec-gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.ec-pricing__badge--green {
  background: var(--ec-green);
  color: white;
}
.ec-pricing__price-old {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--ec-gray-400);
  font-weight: 400;
  margin-right: 4px;
}
.ec-pricing__highlight {
  font-size: 0.75rem;
  color: var(--ec-green);
  font-weight: 600;
  margin-bottom: 4px;
}
.ec-pricing__cta-btn { width: 100%; }
.ec-pricing__footnote {
  font-size: 0.75rem;
  color: var(--ec-gray-400);
  text-align: center;
  margin-top: 8px;
}
.ec-pricing__savings-banner {
  text-align: center;
  margin-bottom: 48px;
}
.ec-pricing__savings-banner > span:first-child {
  font-size: 1.2rem;
  margin-right: 8px;
}
.ec-pricing__savings-banner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--ec-radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}
.ec-pricing__card { transition: var(--ec-transition); }
.ec-pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ec-shadow-xl);
}
.ec-pricing__card--featured:hover {
  transform: scale(1.06) translateY(-6px);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.ec-comparison { margin-top: 80px; }
.ec-comparison__header { text-align: center; margin-bottom: 40px; }
.ec-comparison__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 12px;
  color: var(--ec-dark);
}
.ec-comparison__subtitle {
  color: var(--ec-gray-500);
  margin-top: 8px;
  font-size: 0.9rem;
}
.ec-comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow-lg);
}
.ec-comparison__table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--ec-white);
}
.ec-comparison__table thead tr { background: var(--ec-dark); }
.ec-comparison__table th {
  padding: 18px 16px;
  text-align: center;
  color: var(--ec-white);
  font-weight: 600;
  font-size: 0.85rem;
  vertical-align: bottom;
}
.ec-comparison__th-feature { text-align: left !important; width: 28%; }
.ec-comparison__th-highlight {
  background: rgba(37,211,102,0.15) !important;
  border-left: 3px solid var(--ec-green);
  border-right: 3px solid var(--ec-green);
}
.ec-comparison__brand {
  display: block;
  font-weight: 800;
  color: var(--ec-green);
  font-size: 1rem;
}
.ec-comparison__brand-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
}
.ec-comparison__competitor { display: block; font-weight: 700; }
.ec-comparison__competitor-price {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.7;
}
.ec-comparison__table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--ec-gray-100);
  color: var(--ec-gray-600);
}
.ec-comparison__feature {
  text-align: left !important;
  font-weight: 600;
  color: var(--ec-gray-800) !important;
}
.ec-comparison__highlight {
  background: rgba(37,211,102,0.04);
  border-left: 3px solid var(--ec-green);
  border-right: 3px solid var(--ec-green);
  font-weight: 600;
}
.ec-comparison__yes { color: var(--ec-green) !important; font-weight: 700; }
.ec-comparison__no { color: #ef4444 !important; }
.ec-comparison__warn { color: #f59e0b !important; font-weight: 600; }
.ec-comparison__table tbody tr:hover { background: var(--ec-green-glow); }
.ec-comparison__total-row { background: rgba(37,211,102,0.04) !important; }
.ec-comparison__total-row td { border-bottom: none; padding-top: 18px; padding-bottom: 18px; }
.ec-comparison__total-best { font-size: 1.3rem !important; font-weight: 900 !important; color: var(--ec-green) !important; }
.ec-comparison__total { font-weight: 700; color: var(--ec-gray-700) !important; }
.ec-comparison__total small { display: block; font-size: 0.7rem; opacity: 0.6; font-weight: 400; }
.ec-comparison__savings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ec-comparison__savings-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--ec-radius-lg);
  background: var(--ec-white);
  border: 1px solid var(--ec-gray-100);
  box-shadow: var(--ec-shadow-sm);
  transition: var(--ec-transition);
}
.ec-comparison__savings-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow-md); }
.ec-comparison__savings-value { font-size: 2rem; font-weight: 900; color: var(--ec-green); margin-bottom: 6px; }
.ec-comparison__savings-label { font-size: 0.85rem; color: var(--ec-gray-500); }

/* ============================================
   FOOTER v3 — Contact info, P.IVA
   ============================================ */
.ec-footer__logo { display: inline-block; margin-bottom: 16px; }
.ec-footer__logo img { height: 32px; width: auto; }
.ec-footer__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ec-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--ec-transition);
}
.ec-footer__contact-item:hover { color: var(--ec-green); }
.ec-footer__contact-item svg { flex-shrink: 0; opacity: 0.6; }
.ec-footer__piva { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ============================================
   v3.0 RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
  .ec-onboarding__grid { grid-template-columns: 1fr; gap: 40px; }
  .ec-comparison__savings { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ec-roi__calculator { grid-template-columns: 1fr; }
  .ec-onboarding__buttons { flex-direction: column; }
  .ec-comparison__table { font-size: 0.75rem; }
  .ec-comparison__table th, .ec-comparison__table td { padding: 10px 8px; }
  .ec-comparison__title { font-size: 1.3rem; }
  .ec-section-title { font-size: 1.5rem; }
}

/* ============================================
   SEZIONE CONTENUTO EXTRA (Gutenberg blocks)
   ============================================ */
.ec-custom-content {
  padding: 80px 0;
  background: #ffffff;
}
.ec-custom-content__inner {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--ec-font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ec-text);
}
.ec-custom-content__inner h1,
.ec-custom-content__inner h2,
.ec-custom-content__inner h3,
.ec-custom-content__inner h4 {
  font-weight: 700;
  color: var(--ec-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.ec-custom-content__inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ec-custom-content__inner h3 { font-size: 1.3rem; }
.ec-custom-content__inner p  { margin-bottom: 1.2rem; }
.ec-custom-content__inner a  { color: var(--ec-green); }
.ec-custom-content__inner ul,
.ec-custom-content__inner ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.ec-custom-content__inner li { margin-bottom: 0.4rem; }
.ec-custom-content__inner blockquote {
  border-left: 4px solid var(--ec-green);
  padding: 1rem 1.5rem;
  background: rgba(0,200,150,0.06);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.ec-custom-content__inner img {
  max-width: 100%;
  border-radius: 12px;
  height: auto;
}
.ec-custom-content__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.ec-custom-content__inner th,
.ec-custom-content__inner td {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.ec-custom-content__inner th { background: #f8fafc; font-weight: 600; }

/* ============================================
   ARTICLE CONTENT (single.php)
   Sostituisce wp-block-post-content per
   evitare override WP block styles
   ============================================ */
.ec-article-content {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 24px;
  font-size: 1.075rem;
  line-height: 1.8;
  color: #1a1a1a;
}
.ec-article-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #0a0a0a;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.ec-article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 2rem 0 0.75rem;
}
.ec-article-content p { margin-bottom: 1.35rem; }
.ec-article-content a {
  color: #25D366;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ec-article-content a:hover { color: #1da851; }
.ec-article-content ul,
.ec-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}
.ec-article-content li { margin-bottom: 0.5rem; }
.ec-article-content blockquote {
  border-left: 4px solid #25D366;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: rgba(37,211,102,0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #444;
}
.ec-article-content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  color: #888;
}
.ec-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
}
.ec-article-content th,
.ec-article-content td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.ec-article-content th {
  background: #f8fafc;
  font-weight: 600;
  color: #0a0a0a;
}
.ec-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.ec-article-content strong { color: #0a0a0a; }
/* Bottoni Gutenberg dentro gli articoli */
.ec-article-content .wp-block-button__link,
.ec-article-content .wp-element-button {
  background: #25D366 !important;
  color: #ffffff !important;
  border-radius: 100px;
  padding: 14px 32px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
}
.ec-article-content .wp-block-button__link:hover,
.ec-article-content .wp-element-button:hover {
  background: #1da851 !important;
  color: #ffffff !important;
}

/* ============================================
   CONTACT FORM 7 — eContact Style
   ============================================ */

/* Container globale */
.wpcf7 { width: 100%; }
.wpcf7 form { width: 100%; }

/* Label */
.wpcf7 label,
.wpcf7 .wpcf7-form-control-wrap + label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 6px;
  font-family: var(--ec-font-primary, 'Inter', sans-serif);
}

/* Input, Textarea, Select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="search"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--ec-font-primary, 'Inter', sans-serif);
  color: #0a0a0a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
  font-size: 0.95rem;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Checkbox e Radio */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #25D366;
  cursor: pointer;
  flex-shrink: 0;
}
.wpcf7 .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.wpcf7 .wpcf7-list-item-label {
  font-size: 0.95rem;
  color: #333;
}

/* Submit button */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #25D366;
  color: #ffffff !important;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--ec-font-primary, 'Inter', sans-serif);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
  width: auto;
  min-width: 180px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: #1da851;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Messaggi di risposta */
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none !important;
}

/* Successo */
.wpcf7 .wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(37, 211, 102, 0.1);
  color: #1a7a3c;
  border-left: 4px solid #25D366 !important;
}

/* Errore */
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-left: 4px solid #ef4444 !important;
}

/* Spam */
.wpcf7 .wpcf7-spam-blocked,
.wpcf7 form.spam .wpcf7-response-output {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border-left: 4px solid #f59e0b !important;
}

/* Validazione campo errato */
.wpcf7 .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Loading spinner */
.wpcf7 .wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(37,211,102,0.3);
  border-top-color: #25D366;
  border-radius: 50%;
  animation: wpcf7-spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes wpcf7-spin {
  to { transform: rotate(360deg); }
}

/* Form row helper (usa con shortcode) */
.ec-form-row {
  margin-bottom: 20px;
}
.ec-form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 6px;
}
.ec-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .ec-form-grid { grid-template-columns: 1fr; }
  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit { width: 100%; }
}

/* Dark form variant (su sfondi scuri) */
.ec-form--dark .wpcf7 input[type="text"],
.ec-form--dark .wpcf7 input[type="email"],
.ec-form--dark .wpcf7 input[type="tel"],
.ec-form--dark .wpcf7 textarea,
.ec-form--dark .wpcf7 select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
}
.ec-form--dark .wpcf7 input::placeholder,
.ec-form--dark .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.ec-form--dark .wpcf7 label,
.ec-form--dark label { color: rgba(255,255,255,0.85); }
.ec-form--dark .wpcf7 input[type="text"]:focus,
.ec-form--dark .wpcf7 input[type="email"]:focus,
.ec-form--dark .wpcf7 input[type="text"]:focus,
.ec-form--dark .wpcf7 input[type="email"]:focus,
.ec-form--dark .wpcf7 input[type="tel"]:focus,
.ec-form--dark .wpcf7 textarea:focus {
  border-color: #25D366;
  background: rgba(255,255,255,0.08);
}

/* ============================================
   CICLO "COME FUNZIONA"
   ============================================ */
.ec-cycle { padding: var(--ec-section-padding); background: var(--ec-off-white); }
.ec-cycle__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.ec-cycle__step {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.ec-cycle__step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ec-green-glow);
  border: 2px solid rgba(37,211,102,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  transition: var(--ec-transition);
}
.ec-cycle__step:hover .ec-cycle__step-icon {
  background: var(--ec-green);
  border-color: var(--ec-green);
  transform: scale(1.1);
}
.ec-cycle__step-label { font-weight: 700; font-size: 1rem; color: var(--ec-gray-800); margin-bottom: 8px; }
.ec-cycle__step-desc  { font-size: 0.85rem; color: var(--ec-gray-500); line-height: 1.5; }
.ec-cycle__arrow { font-size: 1.4rem; color: var(--ec-green); align-self: center; padding: 0 4px; margin-top: -40px; }

/* ============================================
   FUNZIONALITÀ COMPLETE (griglia 12)
   ============================================ */
.ec-funzionalita-full { padding: var(--ec-section-padding); background: var(--ec-dark); }
.ec-funzionalita-full .ec-features__header .ec-label,
.ec-funzionalita-full .ec-features__header .ec-section-title { color: var(--ec-white); }
.ec-funzionalita-full .ec-features__subtitle { color: rgba(255,255,255,.6); }
.ec-funz-full__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.ec-funz-full__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ec-radius-md);
  padding: 24px 20px;
  transition: var(--ec-transition);
}
.ec-funz-full__card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(37,211,102,.3);
  transform: translateY(-2px);
}
.ec-funz-full__icon { font-size: 1.8rem; margin-bottom: 12px; }
.ec-funz-full__title { font-size: 0.95rem; font-weight: 700; color: var(--ec-white); margin-bottom: 8px; }
.ec-funz-full__desc  { font-size: 0.8rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.ec-funz-full__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: var(--ec-radius-full);
  background: var(--ec-green-glow);
  color: var(--ec-green);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ============================================
   TOUR PIATTAFORMA
   ============================================ */
.ec-tour { padding: 100px 0; background: var(--ec-white); }
.ec-tour__header { margin-bottom: 64px; }
.ec-tour__items { display: flex; flex-direction: column; gap: 80px; }
.ec-tour__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ec-tour__item--reverse { direction: rtl; }
.ec-tour__item--reverse > * { direction: ltr; }
.ec-tour__item-num  { font-size: 0.8rem; font-weight: 700; color: var(--ec-green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.ec-tour__item-title { font-size: 1.7rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; letter-spacing: -.02em; }
.ec-tour__item-desc { color: var(--ec-gray-500); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.ec-tour__item-stats { display: flex; gap: 28px; }
.ec-tour__item-stat-val   { font-size: 1.5rem; font-weight: 800; color: var(--ec-green); }
.ec-tour__item-stat-label { font-size: 0.75rem; color: var(--ec-gray-400); margin-top: 2px; }
.ec-tour__item-visual {
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  box-shadow: var(--ec-shadow-xl);
  background: var(--ec-dark);
  border: 1px solid rgba(255,255,255,.08);
}
.ec-tour__item-visual img { width: 100%; height: auto; display: block; }
.ec-tour__item-visual--placeholder { min-height: 280px; }
.ec-tour__mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ec-tour__mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.ec-tour__mockup-dot:nth-child(1) { background: #ff5f56; }
.ec-tour__mockup-dot:nth-child(2) { background: #ffbd2e; }
.ec-tour__mockup-dot:nth-child(3) { background: #27c93f; }
.ec-tour__mockup-url { flex: 1; text-align: center; font-size: .72rem; color: var(--ec-gray-500); background: rgba(255,255,255,.04); padding: 3px 10px; border-radius: 4px; margin-left: 14px; }
.ec-tour__mockup-content { padding: 24px; min-height: 220px; }

/* ============================================
   NUMERI / STATISTICHE
   ============================================ */
.ec-numbers { padding: 80px 0; background: var(--ec-dark); }
.ec-numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ec-numbers__item { text-align: center; }
.ec-numbers__item-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ec-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ec-numbers__item-cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ec-green); flex-shrink: 0; }
.ec-numbers__item-val  { font-size: 3.5rem; font-weight: 900; color: var(--ec-white); letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.ec-numbers__item-desc { color: var(--ec-gray-400); font-size: 0.85rem; max-width: 240px; margin: 0 auto; line-height: 1.5; }

/* ============================================
   FEATURE CARD — IMAGE VARIANT
   ============================================ */
.ec-feature-card__image {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ec-feature-card__image img { width: 64px; height: 64px; object-fit: contain; }

/* ============================================
   WHATSAPP DEMO INTERATTIVO
   ============================================ */
.ec-wa-demo { padding: 100px 0; background: linear-gradient(135deg, var(--ec-dark) 0%, #0d1f0d 50%, var(--ec-dark) 100%); }
.ec-wa-demo__inner { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.ec-wa-demo__triggers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.ec-wa-demo__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--ec-radius-lg);
  cursor: pointer;
  transition: var(--ec-transition);
  text-align: left;
  color: var(--ec-white);
  font-family: inherit;
}
.ec-wa-demo__trigger:hover { background: rgba(255,255,255,.08); border-color: rgba(37,211,102,.3); }
.ec-wa-demo__trigger.is-active { background: rgba(37,211,102,.1); border-color: var(--ec-green); }
.ec-wa-demo__trigger-icon { font-size: 1.5rem; flex-shrink: 0; }
.ec-wa-demo__trigger-name { font-weight: 600; font-size: 0.95rem; display: block; }
.ec-wa-demo__trigger-desc { font-size: 0.8rem; color: rgba(255,255,255,.5); margin-top: 2px; display: block; }
.ec-wa-demo__phone {
  background: #111;
  border-radius: 36px;
  padding: 14px;
  border: 6px solid #1a1a1a;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06);
  position: sticky;
  top: 100px;
}
.ec-wa-demo__screen {
  background: #0a0a0a;
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.ec-wa-demo__topbar {
  background: #075E54;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ec-wa-demo__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ec-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #000;
  flex-shrink: 0;
}
.ec-wa-demo__topbar-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.ec-wa-demo__topbar-status { font-size: 0.72rem; color: rgba(255,255,255,.7); }
.ec-wa-demo__messages { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #0e1a0e url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0z' fill='none'/%3E%3C/svg%3E"); overflow-y: auto; min-height: 380px; }
.ec-wa-msg {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  position: relative;
}
.ec-wa-msg.is-visible { opacity: 1; transform: translateY(0); }
.ec-wa-msg--bot { background: #1a2e1a; color: #e5e5e5; align-self: flex-start; border-bottom-left-radius: 3px; }
.ec-wa-msg--user { background: #056162; color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.ec-wa-msg__label { font-size: 0.68rem; font-weight: 700; color: var(--ec-green); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .03em; }
.ec-wa-msg__time { font-size: 0.65rem; color: rgba(255,255,255,.35); text-align: right; margin-top: 4px; }
.ec-wa-msg__cta {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: var(--ec-green);
  color: #000;
  border-radius: var(--ec-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.ec-wa-demo__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #1a2e1a;
  border-radius: 12px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity .3s;
}
.ec-wa-demo__typing.is-visible { opacity: 1; }
.ec-wa-demo__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ec-green);
  animation: ec-typing .9s infinite;
}
.ec-wa-demo__typing span:nth-child(2) { animation-delay: .15s; }
.ec-wa-demo__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ec-typing { 0%,60%,100%{transform:translateY(0);opacity:.4} 30%{transform:translateY(-4px);opacity:1} }

/* ============================================
   SPLASH SCREEN — v10.0.1
   Canvas particle animation.
   Mostrato una volta per sessione via sessionStorage.
   ============================================ */
#ec-splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f0d 50%, #0a0a0a 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#ec-splash.ec-splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#ec-splash-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.ec-splash__logo {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: ecSplashIn 1s ease forwards 0.5s;
  text-align: center;
}
.ec-splash__logo img,
.ec-splash__logo svg {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(37, 211, 102, 0.
/* ADMIN PLACEHOLDER v10.0.1 */
.ec-admin-placeholder{padding:40px 32px;text-align:center;border:2px dashed #25D366;border-radius:16px;background:rgba(37,211,102,.03);margin:20px 0;}
.ec-admin-placeholder p{color:#4b5563;margin:8px 0 16px;}

/* ============================================
   SECTION 4c — TOUR GALLERY v10.0.1
   Featured row (testo sx + 1 immagine dx)
   + 3 gallery box con descrizione sotto
   ============================================ */

/* Subtitle */
.ec-tour__subtitle {
  color: var(--ec-gray-500);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 12px;
}

/* Featured row */
.ec-tour__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin: 60px 0 64px;
}
.ec-tour__featured-content {}
.ec-tour__featured-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ec-gray-900);
}
.ec-tour__featured-desc {
  color: var(--ec-gray-500);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.ec-tour__featured-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

/* Immagine principale destra */
.ec-tour__featured-image {
  position: relative;
}
.ec-tour__featured-img {
  width: 100%;
  border-radius: var(--ec-radius-xl);
  box-shadow: var(--ec-shadow-xl);
  border: 1px solid var(--ec-gray-200);
  display: block;
}
.ec-tour__featured-placeholder {
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  min-height: 320px;
}

/* 3 Gallery box */
.ec-tour__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.ec-tour__gallery-box {
  border-radius: var(--ec-radius-lg);
  border: 1px solid var(--ec-gray-200);
  overflow: hidden;
  background: var(--ec-white);
  transition: var(--ec-transition);
}
.ec-tour__gallery-box:hover {
  border-color: var(--ec-green);
  box-shadow: var(--ec-shadow-md);
  transform: translateY(-4px);
}
.ec-tour__gallery-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ec-dark);
}
.ec-tour__gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ec-tour__gallery-box:hover .ec-tour__gallery-img {
  transform: scale(1.03);
}
.ec-tour__gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.ec-tour__gallery-placeholder-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--ec-gray-500);
}
.ec-tour__gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--ec-radius-full);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(6px);
  color: var(--ec-green);
  font-size: 0.75rem;
  font-weight: 700;
}
.ec-tour__gallery-body {
  padding: 20px;
}
.ec-tour__gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ec-gray-900);
  margin-bottom: 8px;
}
.ec-tour__gallery-desc {
  font-size: 0.875rem;
  color: var(--ec-gray-500);
  line-height: 1.65;
}

/* ============================================
   SECTION 6 — ONBOARDING con immagine dx v10.0.1
   ============================================ */
.ec-onboarding__grid--with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ec-onboarding__left {}
.ec-onboarding__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
  position: relative;
}
/* Linea verticale tra gli step */
.ec-onboarding__steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--ec-green), rgba(37,211,102,0.15));
}

/* Immagine colonna destra */
.ec-onboarding__image-col {
  position: sticky;
  top: 100px;
  align-self: start;
}
.ec-onboarding__img-wrap {
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  box-shadow: var(--ec-shadow-xl);
}
.ec-onboarding__img {
  width: 100%;
  display: block;
  border-radius: var(--ec-radius-xl);
  border: 1px solid var(--ec-gray-200);
}
.ec-onboarding__img-placeholder {
  background: var(--ec-dark);
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ec-shadow-xl);
}
.ec-onboarding__placeholder-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .ec-tour__featured { grid-template-columns: 1fr; gap: 40px; }
  .ec-onboarding__grid--with-image { grid-template-columns: 1fr; gap: 40px; }
  .ec-onboarding__image-col { position: static; }
}
@media (max-width: 768px) {
  .ec-tour__gallery { grid-template-columns: 1fr; }
  .ec-tour__gallery-img-wrap { aspect-ratio: 16/8; }
  .ec-tour__featured-stats { gap: 16px; }
  .ec-onboarding__steps::before { display: none; }
}
@media (max-width: 480px) {
  .ec-tour__gallery { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   SEZIONI HOME AGGIUNTIVE (v11)
   Corrieri · Resi & Cambi · Recupero chiamate · Clienti · Blog
   ═══════════════════════════════════════════════ */

/* Corrieri – flusso stati spedizione */
.ec-carriers { padding: 40px 0 64px; }
.ec-carriers__flow { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 12px; margin-top:36px; }
.ec-carriers__state { background:var(--ec-gray-100); color:var(--ec-gray-600); font-weight:600; font-size:.9rem; padding:9px 16px; border-radius:999px; }
.ec-carriers__state--done { background:var(--ec-green); color:#fff; }
.ec-carriers__arrow { color:var(--ec-green); font-weight:700; }

/* Resi & Cambi / Recupero chiamate – layout 2 colonne */
.ec-returns, .ec-callback { padding:80px 0; }
.ec-callback { background:var(--ec-gray-100); }
.ec-returns__grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.ec-returns__grid--reverse .ec-returns__content { order:2; }
.ec-returns__desc { color:var(--ec-gray-500); font-size:1.08rem; line-height:1.7; margin:16px 0 24px; }

/* Lista con check verdi */
.ec-check-list { list-style:none; margin:0 0 28px; padding:0; }
.ec-check-list li { position:relative; padding:8px 0 8px 34px; color:var(--ec-gray-600); line-height:1.6; }
.ec-check-list li::before { content:"✓"; position:absolute; left:0; top:7px; width:22px; height:22px; background:var(--ec-green); color:#fff; border-radius:50%; display:grid; place-items:center; font-size:.75rem; font-weight:700; }

/* Riga statistiche inline */
.ec-stat-row { display:flex; flex-wrap:wrap; gap:28px; margin:0 0 28px; }
.ec-stat-row__item { display:flex; flex-direction:column; }
.ec-stat-row__val { font-size:1.8rem; font-weight:800; color:var(--ec-green); line-height:1.1; }
.ec-stat-row__lbl { font-size:.82rem; color:var(--ec-gray-500); max-width:170px; margin-top:4px; }

/* Card scelta reso */
.ec-choice-card { background:#fff; border:1px solid var(--ec-gray-100); border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.08); padding:22px; }
.ec-choice-card__head { font-weight:700; color:var(--ec-dark); margin-bottom:14px; }
.ec-choice-card__opt { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border:1px solid var(--ec-gray-100); border-radius:12px; margin-bottom:10px; font-weight:600; color:var(--ec-dark); }
.ec-choice-card__opt--hi { border-color:var(--ec-green); background:var(--ec-green-light); }
.ec-choice-card__tag { font-size:.78rem; color:var(--ec-gray-500); font-weight:500; white-space:nowrap; }

/* Flusso chiamata persa */
.ec-callflow { display:flex; flex-direction:column; gap:10px; }
.ec-callflow__step { background:#fff; border:1px solid var(--ec-gray-100); border-radius:14px; padding:16px 18px; font-weight:600; color:var(--ec-dark); box-shadow:0 8px 24px rgba(0,0,0,.05); }
.ec-callflow__step span { margin-right:8px; }
.ec-callflow__step--missed { border-left:4px solid #ef4444; }
.ec-callflow__step--wa { border-left:4px solid var(--ec-green); font-weight:500; color:var(--ec-gray-600); }
.ec-callflow__step--won { border-left:4px solid var(--ec-green); background:var(--ec-green-light); }
.ec-callflow__arrow { text-align:center; color:var(--ec-gray-400); font-size:.82rem; font-weight:600; }

/* Clienti */
.ec-clients { padding:48px 0; }

/* Blog in evidenza */
.ec-blog { padding:80px 0; background:var(--ec-gray-100); }
.ec-blog__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:48px; }
.ec-blog__card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--ec-gray-100); border-radius:16px; overflow:hidden; text-decoration:none; transition:var(--ec-transition); }
.ec-blog__card:hover { transform:translateY(-4px); box-shadow:0 20px 44px rgba(0,0,0,.10); }
.ec-blog__thumb { aspect-ratio:16/9; background:var(--ec-green-light); overflow:hidden; }
.ec-blog__thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.ec-blog__thumb-ph { width:100%; height:100%; display:grid; place-items:center; font-size:2.4rem; }
.ec-blog__body { padding:22px; display:flex; flex-direction:column; flex:1; }
.ec-blog__meta { font-size:.75rem; color:var(--ec-gray-400); font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.ec-blog__title { font-size:1.12rem; font-weight:700; color:var(--ec-dark); margin:10px 0 8px; line-height:1.35; }
.ec-blog__excerpt { font-size:.9rem; color:var(--ec-gray-500); line-height:1.6; flex:1; }
.ec-blog__more { margin-top:14px; color:var(--ec-green); font-weight:700; font-size:.9rem; }

@media (max-width:860px) {
  .ec-returns__grid { grid-template-columns:1fr; gap:32px; }
  .ec-returns__grid--reverse .ec-returns__content { order:0; }
  .ec-blog__grid { grid-template-columns:1fr; }
  .ec-stat-row { gap:20px; }
}


/* Banda CTA + integrazioni/CRM/corrieri (sostituisce Numeri vuoto) */
.ec-midcta { background:linear-gradient(160deg,#0a0a0a,#0d1f12); padding:72px 0; color:#fff; }
.ec-midcta__inner { text-align:center; max-width:680px; margin:0 auto 26px; }
.ec-midcta__title { font-size:2rem; font-weight:800; line-height:1.2; margin:0 0 14px; color:#fff; }
.ec-midcta__sub { color:rgba(255,255,255,.7); font-size:1.05rem; margin:0 0 26px; }
.ec-midcta__block { margin-top:34px; text-align:center; }
.ec-midcta__label { font-size:.74rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--ec-green); margin-bottom:14px; }
.ec-midcta__logos { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.ec-midcta__logo { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.85); font-weight:600; font-size:.85rem; padding:8px 14px; border-radius:10px; }
.ec-midcta__flow { margin-top:20px; }
.ec-midcta .ec-carriers__state { background:rgba(255,255,255,.08); color:rgba(255,255,255,.85); }
.ec-midcta .ec-carriers__state--done { background:var(--ec-green); color:#fff; }
