/* ==========================================================================
   IMPACTA HUB — LAVORA CON NOI (EDITORIAL HAUTE COUTURE ARCHITECTURE)
   Sfondo canvas a quadretti 13px (triplo quadratini) Dark Luxury (#05050a & #ff5500)
   SEZIONE 1: HERO DARK LUXURY CON CITAZIONE STEVE JOBS
   SEZIONE 2: COLOR BREAK CHIARO / LIGHT LUXURY STILE DIGITAM
   ========================================================================== */

/* ─── 01. SEZIONE 1: HERO DARK LUXURY (CANVAS GRID 13PX) ─── */
.hero-gp-wrap,
.lcn-hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #05050a;
  color: #ffffff;
  overflow: hidden;
  padding: clamp(140px, 16vh, 180px) 24px clamp(80px, 10vh, 120px);
  isolation: isolate;
}

/* Sfondo con gradiente d'atmosfera Dark Luxury arancione morbido */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(64% 52% at 20% -6%, rgba(255, 85, 0, 0.16), transparent 64%),
    radial-gradient(52% 46% at 84% 10%, rgba(255, 120, 40, 0.10), transparent 66%),
    radial-gradient(86% 62% at 50% 112%, rgba(255, 85, 0, 0.08), transparent 72%),
    linear-gradient(180deg, #07080e 0%, #05050a 50%, #06070c 100%);
}

/* Micro-punti di precisione 13px */
.hero-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 36%, #000, transparent 80%);
  mask-image: radial-gradient(75% 65% at 50% 36%, #000, transparent 80%);
  opacity: 0.35;
}

/* Griglia a quadretti vettoriale 13px (.gp) — Triplo dei quadratini */
.gp {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: var(--gp, 13px) var(--gp, 13px);
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, #000 86%, transparent);
  opacity: 0.85;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Canvas di rendering impulsi luminosi (60/120fps) */
.gp canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  contain: strict;
}

/* ─── 02. CONTAINER HERO A 2 COLONNE CON CITAZIONE STEVE JOBS ─── */
.lcn-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}

.lcn-hero-left {
  display: flex;
  flex-direction: column;
}

.lcn-hero-title {
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 clamp(44px, 6vh, 64px);
}

.lcn-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: #ff5500;
  font-family: 'Playfair Display', Georgia, serif;
}

.lcn-hero-lead-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(24px, 3vh, 32px);
}

.lcn-hero-lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  max-width: 54ch;
  margin: 0;
  text-wrap: pretty;
}

/* Colonna Destra: Card Citazione Steve Jobs Dark Luxury */
.lcn-hero-right {
  display: flex;
  justify-content: flex-end;
}

.lcn-quote-card {
  position: relative;
  background: rgba(14, 15, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 48px);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.75), 0 0 35px -8px rgba(255, 85, 0, 0.12);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  max-width: 500px;
}

.lcn-quote-card:hover {
  border-color: rgba(255, 85, 0, 0.32);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 45px -4px rgba(255, 85, 0, 0.22);
}

.lcn-quote-icon {
  color: #ff5500;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 16px rgba(255, 85, 0, 0.45));
}

.lcn-quote-text {
  font-style: italic;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: #f5f5f7;
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 28px;
}

.lcn-quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.lcn-quote-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lcn-quote-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff5500;
}

/* ─── 03. SEZIONE 2: COLOR BREAK CHIARO / LIGHT LUXURY STILE DIGITAM ─── */
.lcn-break-section {
  background: #f8f9fa;
  color: #0a0b10;
  padding: clamp(96px, 12vh, 144px) 24px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lcn-break-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.lcn-break-header {
  max-width: 840px;
  margin-bottom: clamp(52px, 6.5vw, 76px);
}

.lcn-break-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff5500;
  margin-bottom: 16px;
}

.lcn-break-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #05050a;
  line-height: 1.08;
  margin: 0 0 20px;
}

.lcn-break-intro {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.68;
  color: #475569;
  max-width: 68ch;
  margin: 0;
}

/* Griglia Aree di Ricerca */
.lcn-break-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(60px, 7.5vw, 88px);
}

.lcn-break-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3vh, 32px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease;
}

.lcn-break-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lcn-break-row:hover {
  background-color: rgba(0, 0, 0, 0.015);
}

.lcn-break-num {
  font-family: 'JetBrains Mono', monospace, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ff5500;
}

.lcn-break-heading {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 700;
  color: #05050a;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.lcn-break-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  max-width: 62ch;
}

.lcn-break-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Card Candidatura Spontanea High-Ticket */
.lcn-break-cta-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: clamp(36px, 4.5vw, 56px);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.lcn-break-cta-title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #05050a;
  margin: 0 0 14px;
}

.lcn-break-cta-p {
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 60ch;
}

.lcn-break-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #05050a;
  color: #ffffff;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.lcn-break-btn:hover {
  background: #ff5500;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 85, 0, 0.38);
}

.lcn-break-btn:active {
  transform: scale(0.97);
}

.lcn-break-btn .arr {
  display: inline-block;
  font-size: 17px;
  transition: transform 0.25s ease;
}

.lcn-break-btn:hover .arr {
  transform: translateX(4px);
}

/* ─── 04. RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 960px) {
  .lcn-hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lcn-hero-right {
    justify-content: flex-start;
  }
  .lcn-break-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .lcn-break-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }
  .lcn-break-cta-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lcn-break-cta-action {
    justify-self: start;
  }
}

/* ─── 05. NAVBAR ACTIVE STANDARD ─── */
.site-header .nav-link.active,
.site-nav .nav-link.active {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.site-header .nav-link.active::after,
.site-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1) !important;
  background: #ff5500 !important;
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.9) !important;
}

.mobile-nav a.active {
  color: #ff5500 !important;
  font-weight: 600 !important;
}
