/* ==========================================================================
   SICIDEL — THEME v7 "Alta Tensione"
   Livello di design caricato DOPO style.css: aggiorna palette, tipografia
   e componenti con un linguaggio visivo ispirato al settore elettrico
   (tracce di circuito come nel logo, griglia "blueprint", scintilla ambra).
   ========================================================================== */

:root {
  /* Palette brand (dal logo: blu notte → azzurro, scintilla dorata) */
  --primary: #0b2545;
  --primary-rgb: 11, 37, 69;
  --primary-light: #17406f;
  --accent-blue: #1769cf;
  --accent-blue-rgb: 23, 105, 207;
  --accent-cyan: #2bb3e8;
  --accent-gold: #f2b544;
  --accent-gold-hover: #f59e0b;
  --spark-glow: rgba(242, 181, 68, 0.45);

  --bg-main: #f4f7fb;
  --bg-card: #ffffff;
  --bg-dark: #123a66;
  --bg-dark-card: #0c2140;
  --text-main: #14233a;
  --text-muted: #56677f;
  --border-light: #dfe6ef;
  --border-dark: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.05), 0 2px 6px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 10px 28px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 22px 48px rgba(11, 37, 69, 0.14);
  --shadow-gold: 0 8px 24px rgba(242, 181, 68, 0.32);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* Motivi grafici */
  --circuit-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%2363a4ff' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 46h58l18 18h70l18-18h96'/%3E%3Cpath d='M40 260v-62l22-22h56'/%3E%3Cpath d='M196 0v38l-20 20v58l24 24h60'/%3E%3Cpath d='M0 150h34l16 16v40'/%3E%3Cpath d='M118 176h40l14-14V112'/%3E%3C/g%3E%3Cg fill='%2363a4ff' fill-opacity='.16'%3E%3Ccircle cx='76' cy='64' r='3'/%3E%3Ccircle cx='146' cy='64' r='3'/%3E%3Ccircle cx='118' cy='176' r='3'/%3E%3Ccircle cx='172' cy='112' r='3'/%3E%3Ccircle cx='50' cy='206' r='3'/%3E%3Ccircle cx='200' cy='140' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --circuit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%231769cf' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M0 46h58l18 18h70l18-18h96'/%3E%3Cpath d='M40 260v-62l22-22h56'/%3E%3Cpath d='M196 0v38l-20 20v58l24 24h60'/%3E%3Cpath d='M0 150h34l16 16v40'/%3E%3Cpath d='M118 176h40l14-14V112'/%3E%3C/g%3E%3Cg fill='%231769cf' fill-opacity='.16'%3E%3Ccircle cx='76' cy='64' r='3'/%3E%3Ccircle cx='146' cy='64' r='3'/%3E%3Ccircle cx='118' cy='176' r='3'/%3E%3Ccircle cx='172' cy='112' r='3'/%3E%3Ccircle cx='50' cy='206' r='3'/%3E%3Ccircle cx='200' cy='140' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --blueprint-grid:
    linear-gradient(rgba(160, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 200, 255, 0.05) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   Base & tipografia
   -------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'calt';
  color: var(--text-main);
  background-color: var(--bg-main);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.hero-title, .section-title, .service-title, .portfolio-title,
.consultation-info h3, .contact-info-card h3, .why-feature-text h4,
.option-card-title, .modal-card h2, .modal-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
}

::selection { background: rgba(242, 181, 68, 0.35); color: var(--primary); }

:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

strong { font-weight: 650; }

/* Campo anti-spam (honeypot): fuori dallo schermo ma non display:none */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Barre superiori
   -------------------------------------------------------------------------- */
.pitch-banner {
  background: #040d1b;
  border-bottom: 1px solid rgba(242, 181, 68, 0.25);
  font-size: 0.82rem;
}
.pitch-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 5px;
}

.top-bar {
  background: var(--bg-dark);
  color: #a9b8cc;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-contact-link strong { font-family: var(--font-mono); font-weight: 500; color: #fff; letter-spacing: 0.01em; }
.top-contact-link:hover { color: var(--accent-gold); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.7);
  box-shadow: none;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
}
.navbar { padding: 0.6rem 1.5rem; }
.promo-top-badge { font-family: var(--font-mono); letter-spacing: 0.04em; border-radius: 6px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-logo-img { height: 60px; filter: none; }

.nav-menu { gap: 2rem; }
.nav-link {
  font-weight: 550;
  font-size: 0.93rem;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.nav-link::after {
  height: 2px;
  bottom: -2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}
.nav-hot-tag {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Pulsanti
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

.btn-primary {
  background: var(--accent-blue);
  box-shadow: 0 6px 18px rgba(var(--accent-blue-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: #1258b3;
  box-shadow: 0 10px 26px rgba(var(--accent-blue-rgb), 0.36);
}

.btn-gold {
  background: linear-gradient(180deg, #f6c868 0%, var(--accent-gold) 100%);
  color: #0b1a30;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0bb55 0%, #e9a93a 100%);
  color: #0b1a30;
  box-shadow: 0 12px 30px rgba(242, 181, 68, 0.42);
}
/* riflesso "scintilla" al passaggio */
.btn-gold::after, .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
  pointer-events: none;
}
.btn-gold:hover::after, .btn-primary:hover::after { transform: translateX(120%); }

.btn-outline {
  border: 1.5px solid rgba(11, 37, 69, 0.22);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn-whatsapp { background: #1fb855; box-shadow: 0 6px 16px rgba(31, 184, 85, 0.25); }
.btn-whatsapp:hover { background: #179a46; }

/* --------------------------------------------------------------------------
   Etichette di sezione (stile "targhetta tecnica")
   -------------------------------------------------------------------------- */
.section-badge,
.hero-badge-container {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 0.38rem 0.75rem;
  background: rgba(var(--accent-blue-rgb), 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.2);
  flex-shrink: 0;
}
.hero-badge-container svg { color: var(--accent-gold); }

.section { padding: 6rem 0; }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--primary);
}
.section-subtitle { font-size: 1.06rem; color: var(--text-muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(var(--accent-blue-rgb), 0.12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(242, 181, 68, 0.08), transparent 60%),
    var(--circuit-light),
    linear-gradient(180deg, #eef4fb 0%, var(--bg-main) 100%);
  background-size: auto, auto, 260px 260px, auto;
  padding: 5rem 0 6rem;
}
.hero::before {
  background-image:
    linear-gradient(rgba(11, 37, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 69, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--primary);
}
.hero-title .highlight-blue {
  isolation: isolate;
  color: var(--accent-blue);
  background: linear-gradient(90deg, var(--accent-blue) 0%, #2593e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .highlight-blue::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.12em;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(242, 181, 68, 0.55), rgba(242, 181, 68, 0));
  z-index: -1;
}
.hero-subtitle { font-size: 1.14rem; color: var(--text-muted); }
.hero-subtitle strong { color: var(--primary); font-family: var(--font-mono); font-weight: 700; font-size: 0.95em; }

.hero-trust-row { border-top: 1px dashed rgba(11, 37, 69, 0.18); }
.trust-item { font-weight: 600; font-size: 0.88rem; }
.trust-item svg { color: #12a36b; }

/* cornice foto con mirini tecnici */
.hero-visual { position: relative; }
.hero-image-showcase {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 60px -18px rgba(11, 37, 69, 0.38), 0 0 0 1px rgba(11, 37, 69, 0.06);
}
.hero-image-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 20, 40, 0.55) 100%);
  pointer-events: none;
}
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(var(--accent-blue-rgb), 0.45);
  z-index: 4;
  pointer-events: none;
}
.hero-visual::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.hero-visual::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }

.hero-photo-badge {
  background: rgba(6, 20, 40, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 550;
  border-radius: 10px;
}
.hero-photo-badge .badge-dot { background: #22c55e; animation: v7-blink 2.4s ease-in-out infinite; }

.hero-spec-card {
  position: absolute;
  top: 22px;
  right: -18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  white-space: nowrap;
}
.hero-spec-card .spec-label { color: #8fb1d9; font-size: 0.66rem; letter-spacing: 0.1em; }
.hero-spec-card .spec-value { color: var(--accent-gold); font-weight: 700; }
.hero-spec-card .spec-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.2); }

@keyframes v7-blink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

/* --------------------------------------------------------------------------
   Banda numeri chiave
   -------------------------------------------------------------------------- */
.power-stats {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  color: var(--primary);
  padding: 2.4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.power-stats::before {
  /* linea di "corrente" che scorre */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-blue-rgb), 0.5) 50%, transparent 100%);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: v7-current 4.5s linear infinite;
}
@keyframes v7-current {
  from { background-position: -50% 0; }
  to { background-position: 150% 0; }
}
.power-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.power-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(var(--accent-blue-rgb), 0.35);
}
.power-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.power-stat-label { font-size: 0.84rem; color: var(--text-muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Sezioni scure: griglia blueprint + tracce di circuito
   -------------------------------------------------------------------------- */
.news-showcase-section,
.configurator-section {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(900px 480px at 50% -10%, rgba(var(--accent-blue-rgb), 0.28), transparent 65%),
    var(--circuit-dark),
    var(--blueprint-grid),
    linear-gradient(180deg, #16416f 0%, var(--bg-dark) 100%);
  background-size: auto, 260px 260px, 32px 32px, 32px 32px, auto;
  border-bottom: 1px solid rgba(242, 181, 68, 0.18);
}
.configurator-section .section-title,
.news-showcase-section .section-title { color: #fff; }
.configurator-section .section-badge,
.news-showcase-section .section-badge {
  background: rgba(242, 181, 68, 0.1);
  border-color: rgba(242, 181, 68, 0.3);
  color: var(--accent-gold);
}
.configurator-section .section-subtitle,
.news-showcase-section .section-subtitle { color: #a9bfd9; }

.calc-box {
  background: linear-gradient(180deg, rgba(36, 84, 140, 0.75) 0%, rgba(26, 66, 115, 0.8) 100%);
  border: 1px solid rgba(190, 215, 245, 0.22);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.calc-steps-indicator::before {
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 8px, transparent 8px 14px);
}
.step-dot {
  font-family: var(--font-mono);
  background: #24548c;
  border-radius: 12px;
}
.step-indicator-item.active .step-dot { border-radius: 12px; box-shadow: 0 0 0 5px rgba(242, 181, 68, 0.18), 0 0 22px var(--spark-glow); }
.step-indicator-item.completed .step-dot { background: #12a36b; border-color: #12a36b; }
.step-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

.option-card {
  border: 1.5px solid rgba(143, 177, 217, 0.18);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}
.option-card:hover { border-color: rgba(143, 177, 217, 0.4); transform: translateY(-2px); }
.option-card.selected {
  background: linear-gradient(180deg, rgba(var(--accent-blue-rgb), 0.24), rgba(var(--accent-blue-rgb), 0.1));
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.12), 0 12px 30px rgba(0, 0, 0, 0.3);
}
.option-card-title { font-weight: 600; }

.form-field label { font-weight: 550; color: #c9d6e6; font-size: 0.84rem; }
.form-field input, .form-field select, .form-field textarea {
  border-radius: 10px;
  border-color: rgba(143, 177, 217, 0.22);
  padding: 0.8rem 1rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.22);
}
.calc-summary-box {
  background: rgba(242, 181, 68, 0.07);
  border: 1px dashed rgba(242, 181, 68, 0.45);
  border-radius: 14px;
}

/* --------------------------------------------------------------------------
   Card servizi
   -------------------------------------------------------------------------- */
.service-tab-btn {
  border-radius: 10px;
  font-weight: 550;
  font-size: 0.87rem;
  box-shadow: none;
}
.service-tab-btn.active { background: var(--primary); box-shadow: 0 8px 18px rgba(11, 37, 69, 0.22); }

.service-card {
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, var(--border-light), var(--border-light)) border-box;
}
.service-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold), var(--accent-blue));
  background-size: 200% 100%;
  opacity: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgba(11, 37, 69, 0.3);
  border-color: rgba(var(--accent-blue-rgb), 0.35);
}
.service-card:hover::before {
  opacity: 1;
  animation: v7-flow 2.2s linear infinite;
}
@keyframes v7-flow { to { background-position: -200% 0; } }

.service-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: #a7b5c7;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
}
.service-card:hover .service-number { color: var(--accent-blue); border-color: rgba(var(--accent-blue-rgb), 0.3); transform: none; }
.service-category-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  border-radius: 6px;
  background: rgba(var(--accent-blue-rgb), 0.07);
  border-color: rgba(var(--accent-blue-rgb), 0.14);
}
.service-icon-wrap {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.12), rgba(var(--accent-blue-rgb), 0.04));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-blue-rgb), 0.14);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
  transform: translateY(-2px);
}
.service-title { font-weight: 650; font-size: 1.28rem; }
.service-features { border-top: 1px dashed rgba(11, 37, 69, 0.14); }
.service-features li svg { color: #12a36b; }
.service-link { color: var(--accent-blue); font-weight: 650; }

.service-dot.active { background: var(--accent-gold); box-shadow: 0 2px 10px rgba(242, 181, 68, 0.45); }

/* --------------------------------------------------------------------------
   Perché noi
   -------------------------------------------------------------------------- */
.why-us {
  background: #fff;
  background-image: radial-gradient(600px 400px at 100% 50%, rgba(var(--accent-blue-rgb), 0.06), transparent 70%);
}
.why-icon {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.12), rgba(var(--accent-blue-rgb), 0.04));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-blue-rgb), 0.14);
}
.why-feature-text h4 { font-weight: 650; }
.why-img-main { border-radius: 22px; }
.why-experience-badge {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.35);
}
.why-experience-badge .years { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.why-experience-badge .desc { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; }

/* --------------------------------------------------------------------------
   Striscia consulenza
   -------------------------------------------------------------------------- */
.consultation-strip {
  background-color: var(--primary);
  background-image: var(--circuit-dark), linear-gradient(120deg, #17477c 0%, #1f5590 100%);
  background-size: 260px 260px, auto;
  border-top: 0;
  border-bottom: 0;
  position: relative;
}
.consultation-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}
.consultation-info h3 { font-weight: 650; }

/* --------------------------------------------------------------------------
   Contatti
   -------------------------------------------------------------------------- */
.contact-info-card {
  background-color: var(--primary);
  background-image: radial-gradient(420px 260px at 100% 0%, rgba(var(--accent-blue-rgb), 0.35), transparent 70%), linear-gradient(160deg, #17477c 0%, #1d5089 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-info-card h3 { font-weight: 650; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #133a66;
  background-image: var(--blueprint-grid);
  background-size: 32px 32px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold), var(--accent-blue));
}
.site-footer h4, .footer-col h4, .footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast { border-radius: 12px; font-weight: 500; }
.toast svg { color: var(--accent-gold); flex-shrink: 0; }
.toast.toast-error { border-left: 4px solid #ef4444; }
.toast.toast-error svg { color: #ef4444; }

/* --------------------------------------------------------------------------
   Pagina 404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bg-dark);
  background-image: var(--circuit-dark), var(--blueprint-grid);
  background-size: 260px 260px, 32px 32px, 32px 32px;
  color: #fff;
  padding: 1.5rem;
}
.error-shell { text-align: center; max-width: 520px; }
.error-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  border: 1px solid rgba(242, 181, 68, 0.4);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
}
.error-shell h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); margin: 1.2rem 0 0.75rem; }
.error-shell p { color: #a9bfd9; margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .power-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
  .hero-spec-card { right: 12px; }
}

@media (max-width: 768px) {
  .section { padding: 4.25rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-title { font-size: clamp(2.05rem, 8.5vw, 2.6rem); line-height: 1.08; }
  .brand-logo-img { height: 46px; }
  .navbar { padding: 0.5rem 1rem; }
  .promo-top-badge { max-width: 150px; font-size: 0.62rem !important; }
  .hero-visual::before, .hero-visual::after { width: 32px; height: 32px; }
  .hero-visual::before { top: -8px; left: -8px; }
  .hero-visual::after { bottom: -8px; right: -8px; }
  .hero-spec-card { top: 14px; right: 14px; font-size: 0.72rem; padding: 0.5rem 0.75rem; }
  .power-stats { padding: 2rem 0; }
  .power-stat-label { font-size: 0.8rem; }
}

@media (max-width: 420px) {
  .power-stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .power-stat { padding-left: 0.75rem; }
}

/* Movimento ridotto: rispetta le impostazioni di accessibilità del dispositivo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Icone lineari coerenti (sostituiscono le emoji) */
.why-icon svg, .contact-method-icon svg { display: block; }
.contact-method-icon {
  color: var(--accent-gold) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px !important;
}
.contact-method-icon svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Toni più chiari e meno appariscenti (v7.1)
   -------------------------------------------------------------------------- */
.pitch-banner { background: #1a4778; border-bottom-color: rgba(255, 255, 255, 0.12); }
.promo-top-bar { background: linear-gradient(90deg, #1d4f86 0%, #235b97 50%, #1d4f86 100%) !important; }
.top-bar { background: #133a66; }
.news-ticker-bar { background: rgba(30, 72, 122, 0.85) !important; border-color: rgba(190, 215, 245, 0.2) !important; }
.news-card {
  background: rgba(32, 76, 128, 0.82) !important;
  border-color: rgba(190, 215, 245, 0.2) !important;
}
.news-filter-btn.active,
.news-card-cta-btn.cta-promo {
  background: linear-gradient(180deg, #f6c868 0%, var(--accent-gold) 100%) !important;
  color: #0b1a30 !important;
  box-shadow: 0 6px 16px rgba(242, 181, 68, 0.25) !important;
}
.news-card-cta-btn.cta-promo:hover { background: linear-gradient(180deg, #f8d27f 0%, #f0bb55 100%) !important; }
.hero-spec-card { background: #1a4778; }
.why-experience-badge { background: linear-gradient(135deg, #1a4778 0%, #235b97 100%) !important; }

/* ==========================================================================
   PROMOZIONI E NOVITÀ (v7.2) — sezione chiara, card pulite
   ========================================================================== */
.promo-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}
.promo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.promo-head-text { max-width: 620px; }
.promo-head .section-title { margin: 0.85rem 0 0.6rem; }
.promo-head .section-subtitle { margin: 0; }

.promo-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.promo-filters[hidden] { display: none; }
.promo-filter-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.promo-filter-btn span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8a9ab0;
}
.promo-filter-btn:hover { color: var(--primary); }
.promo-filter-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.08), 0 2px 8px rgba(11, 37, 69, 0.06);
}
.promo-filter-btn.active span { color: var(--accent-blue); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.promo-grid.is-single,
.promo-grid.is-empty { grid-template-columns: 1fr; }

/* Colori per categoria (toni tenui) */
.promo-cat-promo  { --pc: #b7791f; --pc-soft: #fdf5e4; --pc-line: #f3d9a4; }
.promo-cat-bonus  { --pc: #13804f; --pc-soft: #ebf7f0; --pc-line: #bfe6cf; }
.promo-cat-news   { --pc: #1769cf; --pc-soft: #ecf3fc; --pc-line: #c6dbf5; }
.promo-cat-notice { --pc: #b42318; --pc-soft: #fdf0ef; --pc-line: #f4c7c3; }

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.promo-card[hidden] { display: none; }
.promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--pc-line);
  box-shadow: 0 18px 40px -18px rgba(11, 37, 69, 0.25);
}
.promo-card.is-featured { border-color: var(--pc-line); }

.promo-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.1rem;
  min-height: 118px;
  padding: 1.25rem 1.5rem;
  background:
    var(--circuit-light),
    linear-gradient(135deg, var(--pc-soft) 0%, #ffffff 100%);
  background-size: 260px 260px, auto;
  border-bottom: 1px solid var(--pc-line);
  color: var(--pc);
}
.promo-visual-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--pc);
}
.promo-visual-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc);
  opacity: 0.85;
}
.promo-visual-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--pc-line);
  color: var(--pc);
}

.promo-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.5rem 1.4rem;
}
.promo-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}
.promo-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc);
}
.promo-chip {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
}
.promo-chip-featured {
  color: #8a5a00;
  background: #fff6e0;
  border-color: #f3dca8;
}
.promo-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.promo-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.promo-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}
.promo-validity {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.promo-validity strong { color: var(--primary); font-weight: 600; }
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--accent-blue);
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: rgba(var(--accent-blue-rgb), 0.07);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.promo-cta svg { transition: transform 0.2s ease; }
.promo-cta:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.promo-cta:hover svg { transform: translateX(3px); }
.promo-cta-wa { color: #148a43; background: rgba(31, 184, 85, 0.08); border-color: rgba(31, 184, 85, 0.22); }
.promo-cta-wa:hover { background: #1fb855; border-color: #1fb855; color: #fff; }

/* Una sola promozione: card orizzontale a tutta larghezza */
.promo-card.is-single { flex-direction: row; }
.promo-card.is-single .promo-visual {
  flex: 0 0 280px;
  min-height: 0;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  border-bottom: 0;
  border-right: 1px solid var(--pc-line);
}
.promo-card.is-single .promo-visual-value { font-size: 4.25rem; }
.promo-card.is-single .promo-body { padding: 1.75rem 2rem; }
.promo-card.is-single .promo-title { font-size: 1.55rem; }

/* Stato vuoto e caricamento */
.promo-empty {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.75rem;
  border: 1px dashed var(--border-light);
  border-radius: 18px;
  background: var(--bg-main);
}
.promo-empty > div { flex: 1; min-width: 220px; }
.promo-empty h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 0.2rem; }
.promo-empty p { color: var(--text-muted); font-size: 0.92rem; }
.promo-empty-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border-light); color: var(--accent-blue);
}
.promo-skeleton {
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(90deg, #f1f5fa 0%, #e8eef6 50%, #f1f5fa 100%);
  background-size: 200% 100%;
  animation: promo-shimmer 1.4s linear infinite;
}
@keyframes promo-shimmer { to { background-position: -200% 0; } }

/* Barra promo in alto: chiara e discreta */
.promo-top-bar {
  background: #fff8ea !important;
  border-bottom: 1px solid #f1dfb6 !important;
  color: var(--primary) !important;
}
.promo-top-bar .promo-top-title { color: var(--primary) !important; font-weight: 600; }
.promo-top-bar .promo-top-validity { color: var(--text-muted) !important; }
.promo-top-badge {
  background: #fff !important;
  color: #8a5a00 !important;
  border: 1px solid #f1dfb6 !important;
  box-shadow: none !important;
  font-weight: 700;
}
.promo-top-btn {
  background: transparent !important;
  color: var(--accent-blue) !important;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.25) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.promo-top-btn:hover { background: var(--accent-blue) !important; color: #fff !important; }
.promo-top-close { color: #8a9ab0 !important; }

@media (max-width: 768px) {
  .promo-head { margin-bottom: 1.5rem; }
  .promo-filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .promo-filter-btn { white-space: nowrap; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card.is-single { flex-direction: column; }
  .promo-card.is-single .promo-visual {
    flex: none;
    padding: 1.25rem 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--pc-line);
  }
  .promo-card.is-single .promo-visual-value { font-size: 3rem; }
  .promo-card.is-single .promo-body { padding: 1.35rem 1.5rem; }
  .promo-card.is-single .promo-title { font-size: 1.3rem; }
  .promo-footer { flex-direction: column; align-items: stretch; }
  .promo-cta { justify-content: center; }
}
