.elementor-11 .elementor-element.elementor-element-f9ad9e1{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-ae9f5ae{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-25d1693 *//* ==========================================================
   New Wave — Landing Page v2.0
   Dynamic scroll-driven design
   ========================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --nw-blue: #02b0fe;
  --nw-blue-dark: #0190d4;
  --nw-blue-glow: rgba(2, 176, 254, 0.25);
  --nw-blue-deep: #083a63;
  --nw-blue-surface: #eaf6ff;
  --nw-grey: #a1a09f;
  --nw-grey-light: #f5f5f7;
  --nw-dark: #1d1d1f;
  --nw-darker: #0a0a0a;
  --nw-white: #fbfbfd;
  --nw-card-bg: rgba(255, 255, 255, 0.04);
  --nw-glass: rgba(255, 255, 255, 0.08);
  --nw-radius: 20px;
  --nw-radius-sm: 12px;
  --nw-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nw-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nw-transition: 0.7s var(--nw-ease);
  --nw-container: 1120px;
  --nw-header-h: 76px;
}

/* ---------- Reset & Base ---------- */
.nw-page,
.nw-page *,
.nw-page *::before,
.nw-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nw-page {
  font-family: var(--nw-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--nw-dark);
  background: var(--nw-white);
  overflow-x: hidden;
  padding-top: var(--nw-header-h);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nw-page img { max-width: 100%; height: auto; display: block; }
.nw-page a { color: inherit; text-decoration: none; }
.nw-page ul, .nw-page ol { list-style: none; }

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

/* ---------- Reveal Animations ---------- */
.nw-reveal {
  transition: opacity 0.8s var(--nw-ease), transform 0.8s var(--nw-ease);
}

.nw-page.nw-enhanced .nw-reveal {
  opacity: 0;
  transform: translateY(50px);
  will-change: opacity, transform;
}

.nw-page.nw-enhanced .nw-reveal.nw-reveal-left { transform: translateX(-80px); }
.nw-page.nw-enhanced .nw-reveal.nw-reveal-right { transform: translateX(80px); }
.nw-page.nw-enhanced .nw-reveal.nw-reveal-scale { transform: scale(0.88); }

.nw-page.nw-enhanced .nw-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Word-by-word reveal for hero title */
.nw-page.nw-enhanced .nw-reveal-words .nw-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--nw-ease), transform 0.5s var(--nw-ease);
}

.nw-page.nw-enhanced .nw-reveal-words.is-visible .nw-word {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.nw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  padding: 0;
  background: rgba(251, 251, 253, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.4s, box-shadow 0.4s;
  overflow: visible;
}

.nw-header.is-scrolled {
  background: rgba(251, 251, 253, 0.88);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  position: relative;
  gap: 20px;
  overflow: visible;
}

/* Logo (PNG) */
.nw-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo 1014×262: proporzioni orizzontali, altezze contenute */
.nw-logo-img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.nw-logo-new { color: var(--nw-grey); }
.nw-logo-wave { color: var(--nw-blue); }

.nw-logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--nw-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(1px);
}

/* Nav */
.nw-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nw-nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nw-dark);
  transition: color 0.2s;
  position: relative;
}

.nw-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nw-blue);
  transition: width 0.3s var(--nw-ease);
}

.nw-nav-list a:hover::after,
.nw-nav-list a.is-active::after { width: 100%; }

.nw-nav-list a:hover,
.nw-nav-list a.is-active { color: var(--nw-blue); }

.nw-nav-cta {
  background: var(--nw-blue) !important;
  color: var(--nw-white) !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.3s !important;
}

.nw-nav-cta::after { display: none !important; }
.nw-nav-cta:hover { background: var(--nw-blue-dark) !important; transform: translateY(-1px); }

/* Burger */
.nw-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nw-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nw-dark);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nw-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nw-burger.is-active span:nth-child(2) { opacity: 0; }
.nw-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nw-burger { display: flex; }

  .nw-nav {
    position: fixed;
    top: calc(var(--nw-header-h) + 10px);
    left: 16px;
    right: 16px;
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s;
    max-height: calc(100dvh - var(--nw-header-h) - 28px);
    overflow: auto;
  }

  .nw-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nw-nav-list {
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    align-items: stretch;
  }

  .nw-nav-list a {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nw-nav-list a:hover { background: rgba(2, 176, 254, 0.08); }
  .nw-nav-cta { text-align: center; margin-top: 4px; }
}

@media (min-width: 1025px) {
  .nw-nav {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Buttons ---------- */
.nw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--nw-font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--nw-ease);
  text-align: center;
  position: relative;
}

.nw-btn-primary {
  background: var(--nw-blue);
  color: #fff;
  box-shadow: 0 4px 24px var(--nw-blue-glow);
}

.nw-btn-primary:hover {
  background: var(--nw-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(2, 176, 254, 0.35);
}

.nw-btn-ghost {
  background: transparent;
  color: var(--nw-blue);
  border: 1.5px solid var(--nw-blue);
}

.nw-btn-ghost:hover {
  background: var(--nw-blue);
  color: #fff;
}

.nw-hero .nw-btn-ghost {
  color: var(--nw-white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.nw-hero .nw-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.9);
}

.nw-btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.nw-btn-sm { padding: 12px 24px; font-size: 0.9rem; }
.nw-btn-block { width: 100%; }

/* ---------- HERO ---------- */
.nw-hero {
  position: relative;
  min-height: calc(100svh - var(--nw-header-h));
  display: flex;
  align-items: center;
  padding: clamp(56px, 10vh, 100px) 0 80px;
  overflow: hidden;
  background: #0a2640;
  color: var(--nw-white);
}

.nw-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(4, 20, 36, 0.82) 0%, rgba(5, 30, 55, 0.5) 40%, rgba(4, 21, 38, 0.85) 100%),
    url("https://newwavegenova.it/wp-content/uploads/2026/03/Consulenza-energetica-in-tutta-Italia-per-luce-e-gas_v2.png-scaled.png") center/cover no-repeat;
  pointer-events: none;
}

/* Floating gradient orbs */
.nw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.nw-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 176, 254, 0.3) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: nwFloat1 12s ease-in-out infinite;
}

.nw-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(2, 176, 254, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation: nwFloat2 15s ease-in-out infinite;
}

.nw-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.2) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: nwFloat3 10s ease-in-out infinite;
}

@keyframes nwFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes nwFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes nwFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 25px); }
}

.nw-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nw-hero-content {
  max-width: 100%;
  width: 100%;
}

.nw-hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(2, 176, 254, 0.9);
  margin-bottom: 20px;
}

.nw-hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--nw-white);
  margin-bottom: 24px;
  max-width: 16ch;
  text-wrap: balance;
}

.nw-hero-title span {
  background: linear-gradient(135deg, #b8e8ff 0%, #6fd4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nw-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 42ch;
}

.nw-hero-cta-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 38ch;
}

/* Hero pills (opzionale, usato se presenti) */
.nw-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.nw-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nw-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.nw-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.nw-hero-scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  position: relative;
  opacity: 0.5;
}

.nw-hero-scroll span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--nw-blue);
  border-radius: 2px;
  animation: nwScrollDot 2s infinite;
}

@keyframes nwScrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(16px); }
}

@media (max-width: 900px) {
  .nw-hero { min-height: auto; padding: 56px 0 64px; }
  .nw-hero-content { max-width: 100%; }
  .nw-hero-scroll { display: none; }
  .nw-hero-title { max-width: none; }
}

@media (max-width: 640px) {
  .nw-page { padding-top: 70px; }
  :root { --nw-header-h: 70px; }
  .nw-hero-subtitle { max-width: none; }
  .nw-logo-img { height: 38px; max-width: 148px; }
  .nw-contact-logo img { height: 34px; max-width: 132px; }
  .nw-section-logo img { height: 34px; max-width: 132px; }
  .nw-logo-img-footer { height: 44px; max-width: 170px; }
}

@media (max-height: 820px) {
  .nw-hero-scroll { display: none; }
}

/* ---------- Sections ---------- */
.nw-section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.nw-section-dark {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(2, 176, 254, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #092f4f 0%, #0b3f69 100%);
  color: var(--nw-white);
}

.nw-section-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;
  margin-bottom: 72px;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.nw-section-title span {
  color: var(--nw-blue);
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 8px;
}

.nw-section-dark .nw-section-title { color: var(--nw-white); }

/* ---------- Sei nel posto giusto ---------- */
.nw-posto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.nw-posto-media img {
  border-radius: var(--nw-radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.nw-check-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.nw-check-item:last-of-type { margin-bottom: 32px; }

.nw-check-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--nw-blue) 0%, #0190d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 16px var(--nw-blue-glow);
}

.nw-check-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nw-dark);
  margin-bottom: 2px;
}

.nw-check-item p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--nw-grey);
}

@media (max-width: 900px) {
  .nw-posto-grid { grid-template-columns: 1fr; }
  .nw-posto-media { max-width: 480px; margin: 0 auto; }
}

/* ---------- Chi siamo ---------- */
.nw-about-intro {
  text-align: center;
  margin-bottom: 64px;
}

.nw-text-xl {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  max-width: 40ch;
  margin: 0 auto;
}

/* Stats row */
.nw-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.nw-stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--nw-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nw-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.nw-stat-num {
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--nw-blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.nw-stat-suffix {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--nw-blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.nw-stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.nw-stat-value-text {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--nw-blue);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (max-width: 640px) {
  .nw-stats-row { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* Split layout */
.nw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.nw-split-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  opacity: 0.88;
}

.nw-text-highlight {
  padding: 20px 24px;
  background: rgba(2, 176, 254, 0.08);
  border-radius: var(--nw-radius-sm);
  border-left: 3px solid var(--nw-blue);
  margin-top: 8px;
}

.nw-split-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--nw-radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .nw-split { grid-template-columns: 1fr; }
  .nw-split-media { max-width: 480px; margin: 0 auto; order: -1; }
  .nw-split-media img {
    min-height: 0;
    height: clamp(320px, 70vw, 460px);
    object-position: center;
  }
}

/* ---------- Riqualificazione: 2 card in 2 colonne ---------- */
.nw-riqualificazione-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.nw-riqualificazione-card {
  background: var(--nw-grey-light);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--nw-radius);
  padding: 28px 30px;
  transition: transform 0.4s var(--nw-ease), box-shadow 0.4s var(--nw-ease);
}

.nw-riqualificazione-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.nw-approach-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--nw-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.nw-riqualificazione-card p {
  margin-bottom: 16px;
  line-height: 1.55;
  color: var(--nw-grey);
  font-size: 0.95rem;
}

.nw-riqualificazione-list {
  padding-left: 0;
}

.nw-riqualificazione-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.92rem;
  color: var(--nw-dark);
}

.nw-riqualificazione-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--nw-blue);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .nw-riqualificazione-cards {
    grid-template-columns: 1fr;
  }
}


/* ---------- Cards servizi (4 card: 2x2) ---------- */
.nw-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 74px;
}

.nw-card {
  background: var(--nw-white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--nw-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.5s var(--nw-ease), box-shadow 0.5s var(--nw-ease);
  transform-style: preserve-3d;
}

.nw-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
}

/* Tilt handled by JS — base transform is set inline */

.nw-card-featured {
  border-color: var(--nw-blue);
  box-shadow: 0 0 0 1px var(--nw-blue), 0 8px 32px var(--nw-blue-glow);
}

.nw-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--nw-blue) 0%, #0190d4 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
/* Badge sotto il titolo (es. Privati) */
.nw-card-title + .nw-card-badge {
  margin-top: 6px;
  margin-bottom: 14px;
}

.nw-card-img {
  margin: -32px -32px 24px;
  border-radius: var(--nw-radius) var(--nw-radius) 0 0;
  overflow: hidden;
}

.nw-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--nw-ease);
}

.nw-card:hover .nw-card-img img { transform: scale(1.06); }

.nw-card-title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--nw-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.nw-card-lead {
  font-size: 0.95rem;
  color: var(--nw-grey);
  margin-bottom: 16px;
  line-height: 1.5;
}

.nw-card-list {
  margin-bottom: 24px;
  padding-left: 0;
}

.nw-card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.92rem;
  color: var(--nw-dark);
}

.nw-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--nw-blue);
  border-radius: 50%;
}

.nw-card .nw-btn { margin-top: auto; }

@media (max-width: 768px) {
  .nw-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- BOX ---------- */
.nw-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 72px;
}

.nw-box {
  background: var(--nw-grey-light);
  padding: 32px;
  border-radius: var(--nw-radius);
  border-left: 4px solid var(--nw-blue);
  transition: transform 0.4s var(--nw-ease), box-shadow 0.4s;
}

.nw-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.nw-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--nw-dark);
}

.nw-box p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.nw-box ul {
  padding-left: 20px;
  list-style: disc;
  line-height: 1.7;
  color: var(--nw-dark);
  opacity: 0.88;
}

@media (max-width: 700px) {
  .nw-boxes-grid { grid-template-columns: 1fr; }
}

/* ---------- Riqualificazione / Efficienza energetica ---------- */
.nw-riqualificazione-intro {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(2, 176, 254, 0.06) 0%, rgba(2, 176, 254, 0.02) 100%);
  border: 1px solid rgba(2, 176, 254, 0.12);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 42px);
}

.nw-riqualificazione-intro p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--nw-dark);
}

.nw-riqualificazione-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 20px;
  color: var(--nw-dark);
}

.nw-riqualificazione-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.nw-riqualificazione-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

.nw-riqualificazione-card p {
  color: var(--nw-dark);
  line-height: 1.65;
}

.nw-riqualificazione-card-accent {
  background: linear-gradient(135deg, var(--nw-blue-surface) 0%, rgba(2, 176, 254, 0.08) 100%);
  border-color: rgba(2, 176, 254, 0.28);
}

.nw-approach-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nw-dark);
  margin-top: 0;
  margin-bottom: 12px;
}

.nw-riqualificazione-list {
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .nw-riqualificazione-cards {
    grid-template-columns: 1fr;
  }

  .nw-riqualificazione-intro {
    margin-bottom: 28px;
  }
}

/* ---------- Cosa ci distingue ---------- */
.nw-distinct {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(2, 176, 254, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0a2640 0%, #0e3456 100%);
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid rgba(2, 176, 254, 0.15);
  overflow: hidden;
  position: relative;
}

.nw-distinct-badge {
  display: inline-block;
  background: rgba(2, 176, 254, 0.15);
  border: 1px solid rgba(2, 176, 254, 0.3);
  color: var(--nw-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.nw-distinct-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.nw-distinct-title span {
  color: var(--nw-blue);
}

.nw-distinct-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  max-width: 48ch;
}

.nw-distinct-media img {
  width: 100%;
  border-radius: var(--nw-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

@media (max-width: 800px) {
  .nw-distinct { grid-template-columns: 1fr; padding: 32px; }
  .nw-distinct-media { order: -1; }
}

/* ---------- Timeline (Come funziona) ---------- */
.nw-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto 56px;
  padding-left: 48px;
}

.nw-timeline-line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.nw-timeline-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--nw-blue) 0%, rgba(2, 176, 254, 0.3) 100%);
  border-radius: 2px;
  transition: height 0.1s linear;
}

.nw-timeline-step {
  position: relative;
  padding: 12px 0 56px;
}

.nw-timeline-step:last-child { padding-bottom: 0; }

.nw-timeline-dot {
  position: absolute;
  left: -48px;
  top: 12px;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #0b3f69;
  border: 3px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: border-color 0.5s, background 0.5s, box-shadow 0.5s;
}

.nw-timeline-dot span {
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.5s;
}

.nw-timeline-step.is-active .nw-timeline-dot {
  border-color: var(--nw-blue);
  background: var(--nw-blue);
  box-shadow: 0 0 20px var(--nw-blue-glow), 0 0 40px rgba(2, 176, 254, 0.15);
}

.nw-timeline-step.is-active .nw-timeline-dot span {
  color: #fff;
}

.nw-timeline-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--nw-radius);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}

.nw-timeline-step.is-active .nw-timeline-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(2, 176, 254, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  transform: translateX(8px);
}

.nw-timeline-card h3 {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.nw-timeline-card p {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  opacity: 0.82;
}

.nw-cta-center { text-align: center; }

.nw-cta-center .nw-section-logo {
  margin-top: 32px;
}

.nw-section-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nw-section-logo img {
  height: 40px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  opacity: 0.85;
}

.nw-contact-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.nw-contact-logo img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .nw-timeline { padding-left: 40px; }
  .nw-timeline-line { left: 14px; }
  .nw-timeline-dot { left: -40px; width: 32px; height: 32px; }
  .nw-timeline-dot span { font-size: 0.78rem; }
}

/* ---------- Perché NewWave ---------- */
.nw-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: 72px;
}

.nw-reasons-media {
  position: sticky;
  top: calc(var(--nw-header-h) + 24px);
  align-self: start;
}

/* Sticky and transform-based reveal do not work reliably together in Elementor/Safari. */
/* When .nw-sticky-fallback-active is set by JS, do NOT override transform so the fallback can apply it. */
.nw-page.nw-enhanced .nw-reasons-media.nw-reveal:not(.nw-sticky-fallback-active),
.nw-page.nw-enhanced .nw-reasons-media.nw-reveal.nw-reveal-left:not(.nw-sticky-fallback-active),
.nw-page.nw-enhanced .nw-reasons-media.nw-reveal.is-visible:not(.nw-sticky-fallback-active) {
  opacity: 1;
  transform: none !important;
  will-change: auto;
}

.nw-reasons-media.nw-sticky-fallback-active {
  transition: none !important;
  will-change: transform;
}

.nw-reasons-media img {
  width: 100%;
  border-radius: var(--nw-radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.nw-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nw-reason {
  padding: 28px 28px 28px 32px;
  border-radius: var(--nw-radius);
  background: #fff;
  border-left: 4px solid var(--nw-blue);
  transition: transform 0.4s var(--nw-ease), box-shadow 0.4s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nw-reason:hover {
  transform: translateX(10px) translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.nw-reason h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nw-blue);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.nw-reason p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nw-dark);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .nw-reasons-grid { grid-template-columns: 1fr; }
  .nw-reasons-media { max-width: 480px; margin: 0 auto; position: static; }
}

/* Credibility */
.nw-credibility {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.nw-cred-card {
  border-radius: var(--nw-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s var(--nw-ease), box-shadow 0.5s;
  transform-style: preserve-3d;
}

.nw-cred-card img { width: 100%; }

@media (max-width: 700px) {
  .nw-credibility { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ---------- Marquee ---------- */
.nw-marquee {
  overflow: hidden;
  background: var(--nw-blue);
  padding: 16px 0;
  white-space: nowrap;
}

.nw-marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: nwMarquee 30s linear infinite;
}

.nw-marquee-track span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

@keyframes nwMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */
.nw-faq-container { max-width: 800px; }

.nw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.nw-faq {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.4s var(--nw-ease), border-color 0.4s, box-shadow 0.4s;
}

.nw-faq:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nw-faq[open] {
  background: rgba(2, 176, 254, 0.1);
  border-color: rgba(2, 176, 254, 0.25);
  box-shadow: 0 8px 32px rgba(2, 176, 254, 0.08);
}

.nw-faq summary {
  padding: 22px 28px;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--nw-white);
  transition: color 0.2s;
}

.nw-faq summary::-webkit-details-marker { display: none; }

.nw-faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: 16px;
  border-radius: 50%;
  background: rgba(2, 176, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2302b0fe' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s var(--nw-ease), background-color 0.3s;
}

.nw-faq[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(2, 176, 254, 0.25);
}

/* FAQ body animation */
.nw-faq-body {
  padding: 0 28px 24px;
  animation: nwFaqSlide 0.35s var(--nw-ease) forwards;
}

@keyframes nwFaqSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nw-faq-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.nw-faq-cta { text-align: center; }

.nw-faq-cta p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

.nw-section-dark .nw-btn-ghost {
  color: var(--nw-white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.nw-section-dark .nw-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- Contatti ---------- */
.nw-section-contact {
  background: linear-gradient(180deg, var(--nw-grey-light) 0%, var(--nw-white) 100%);
}

.nw-contact-intro {
  text-align: center;
  font-size: 1.08rem;
  color: var(--nw-grey);
  margin-top: -40px;
  margin-bottom: 48px;
}

.nw-contact-grid {
  max-width: 680px;
  margin: 0 auto;
}

/* Form */
.nw-form {
  background: var(--nw-white);
  padding: 44px;
  border-radius: var(--nw-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
}

.nw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .nw-form-row { grid-template-columns: 1fr; }
}

.nw-contact-direct {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.nw-contact-direct .nw-btn,
.nw-contact-direct .nw-btn:link,
.nw-contact-direct .nw-btn:visited,
.nw-contact-direct .nw-btn:hover,
.nw-contact-direct .nw-btn:focus {
  color: #fff !important;
}

.nw-btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22);
}

.nw-btn-whatsapp:hover {
  background: #1fae54;
  color: #fff !important;
}

.nw-btn-phone {
  background: #123b60;
  color: #fff !important;
}

.nw-btn-phone:hover {
  background: #0f3150;
  color: #fff !important;
}

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

.nw-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--nw-dark);
}

.nw-form-group label span {
  font-weight: 400;
  color: var(--nw-grey);
}

.nw-form-group input:not([type="checkbox"]),
.nw-form-group select,
.nw-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--nw-font);
  font-size: 1rem;
  color: var(--nw-dark);
  background: var(--nw-grey-light);
  border: 1.5px solid transparent;
  border-radius: var(--nw-radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.nw-form-group input:not([type="checkbox"]):focus,
.nw-form-group select:focus,
.nw-form-group textarea:focus {
  outline: none;
  border-color: var(--nw-blue);
  box-shadow: 0 0 0 4px var(--nw-blue-glow);
  background: #fff;
}

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

.nw-form-group textarea { resize: vertical; min-height: 88px; }

/* Honeypot: nascosto agli utenti, visibile ai bot */
.nw-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Privacy checkbox (form contatti) */
.nw-form-privacy { margin-bottom: 20px; }
.nw-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--nw-grey);
  line-height: 1.5;
}
.nw-form-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--nw-blue);
  appearance: auto;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
.nw-form-checkbox-label a {
  color: var(--nw-blue);
  text-decoration: underline;
}
.nw-form-checkbox-label a:hover { opacity: 0.9; }

@media (max-width: 900px) {
  .nw-form { padding: 28px; }
}

/* ---------- Footer ---------- */
.nw-footer {
  background: linear-gradient(180deg, #08243d 0%, #04182b 100%);
  color: var(--nw-white);
  padding: 56px 0 32px;
}

.nw-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top: logo + nav */
.nw-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nw-logo-footer {
  display: flex;
  align-items: center;
}

.nw-logo-img-footer {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.nw-footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nw-footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}

.nw-footer-nav a:hover {
  color: var(--nw-blue);
}

/* Grid: dati legali + contatti + newsletter */
.nw-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px 40px;
  align-items: start;
}

.nw-footer-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nw-blue);
  margin-bottom: 20px;
}

.nw-footer-company {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nw-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.nw-footer-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.nw-footer-dl dt {
  grid-column: 1;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  min-width: 140px;
}

.nw-footer-dl dd {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.nw-footer-dl a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.nw-footer-dl a:hover {
  color: var(--nw-blue);
}

.nw-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.nw-footer-contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.nw-footer-contact-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  min-width: 44px;
}

.nw-footer-contact-list a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s;
}

.nw-footer-contact-list a:hover {
  color: var(--nw-blue);
}

.nw-footer-cta {
  margin-top: 8px;
}

.nw-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nw-blue);
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.nw-footer-wa:hover {
  color: #7cdaff;
}

/* Newsletter (terza colonna) */
.nw-footer-newsletter-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.5;
}

.nw-footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nw-footer-newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--nw-font);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--nw-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--nw-white);
  transition: border-color 0.2s, background 0.2s;
}

.nw-footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.nw-footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--nw-blue);
  background: rgba(255, 255, 255, 0.08);
}

.nw-footer-privacy-label {
  color: rgba(255, 255, 255, 0.65) !important;
}

.nw-footer-privacy-label a {
  color: var(--nw-blue) !important;
}

.nw-footer-newsletter-form .nw-btn-sm {
  align-self: flex-start;
}

/* Bottom copyright */
.nw-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.nw-footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

.nw-footer-credits {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 10px 0 0;
  line-height: 1.5;
}

.nw-footer-credits a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.nw-footer-credits a:hover {
  color: var(--nw-blue);
}

@media (max-width: 768px) {
  .nw-footer {
    padding: 40px 0 28px;
  }

  .nw-footer-top {
    flex-direction: column;
    text-align: center;
    padding-bottom: 28px;
  }

  .nw-footer-nav {
    justify-content: center;
  }

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

  .nw-footer-newsletter-form .nw-btn-sm {
    width: 100%;
    align-self: stretch;
  }

  .nw-footer-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .nw-footer-dl dt {
    margin-top: 12px;
    min-width: 0;
  }

  .nw-footer-dl dt:first-of-type {
    margin-top: 0;
  }

  .nw-footer-bottom {
    padding-top: 24px;
  }
}

/* ---------- WordPress admin bar: evita header tagliato e spazio sotto ---------- */
body.admin-bar .nw-page .nw-header {
  top: 32px;
}
body.admin-bar .nw-page {
  padding-top: calc(var(--nw-header-h) + 32px) !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .nw-page .nw-header {
    top: 46px;
  }
  body.admin-bar .nw-page {
    padding-top: calc(var(--nw-header-h) + 46px) !important;
  }
}/* End custom CSS */