/* =========================================================
   New Effe - custom.css
   CSS puro. Nessun LESS, nessun @ne-*, nessun fade()/darken().
   Base: YOOtheme Style gestisce font e colori globali.
   Questo file gestisce header desktop, toolbar, menu e dropdown.
   ========================================================= */


/* ---------------------------------------------------------
   1. Design tokens New Effe
   --------------------------------------------------------- */

:root {
  --ne-bg: #343432;
  --ne-bg-dark: #272726;
  --ne-card: #3b3b3a;
  --ne-card-2: #40403f;
  --ne-border: #4d4d4c;

  --ne-text: #f2f2f2;
  --ne-text-muted: #d9d9d9;

  --ne-primary: #f9b806;
  --ne-primary-hover: #e8ab30;

  --ne-font-body: "Barlow", Arial, sans-serif;
  --ne-font-heading: "Outfit", Arial, sans-serif;
  --ne-font-mono: "Space Mono", monospace;

  /* Base44 reference:
     toolbar h-9 = 36px
     nav h-20 = 80px
  */
  --ne-header-toolbar-height: 36px;
  --ne-header-main-height: 80px;
  --ne-header-total-height: 116px;

  --ne-container-max: 1152px;
  --ne-containerbig-max: 1280px;
}


/* ---------------------------------------------------------
   2. Toolbar desktop
   Base44:
   fixed top-0 h-9 bg-background/95 backdrop-blur-md
   --------------------------------------------------------- */

@media (min-width: 960px) {

  .tm-toolbar.tm-toolbar-default {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;

    min-height: var(--ne-header-toolbar-height);
    height: var(--ne-header-toolbar-height);
    padding: 0;

    background: rgba(52, 52, 50, 0.95) !important;
    border-bottom: 1px solid rgba(77, 77, 76, 0.40);

    color: rgba(217, 217, 217, 0.40) !important;

    font-family: var(--ne-font-mono);
    font-size: 9px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.40em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .tm-toolbar.tm-toolbar-default > .uk-container {
    min-height: var(--ne-header-toolbar-height);
    height: var(--ne-header-toolbar-height);
    max-width: 1240px;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
  }

  .tm-toolbar .ne-toolbar-left,
  .tm-toolbar .ne-toolbar-right,
  .tm-toolbar .custom {
    margin: 0;
    font-family: var(--ne-font-mono);
  }

  .tm-toolbar .ne-toolbar-left .custom {
    color: rgba(217, 217, 217, 0.40) !important;
    font-size: 9px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.40em;
    text-transform: uppercase;
  }

  .tm-toolbar .ne-toolbar-right .custom {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .tm-toolbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: rgba(217, 217, 217, 0.85) !important;

    font-family: var(--ne-font-mono);
    font-size: 10px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    text-decoration: none !important;

    transition: color 150ms ease;
  }

  .tm-toolbar a:hover {
    color: var(--ne-primary) !important;
  }

  .tm-toolbar svg {
    width: 12px;
    height: 12px;
    flex: none;
  }
}


/* ---------------------------------------------------------
   3. Header desktop glass + scroll shadow
   Base44 visual reference:
   top = translucent glass, no shadow
   scroll = same glass, stronger border, shadow-md black/20
   --------------------------------------------------------- */

@media (min-width: 960px) {

  .tm-header.uk-visible\@m,
  .tm-header {
    position: fixed !important;
    top: var(--ne-header-toolbar-height);
    left: 0;
    right: 0;
    z-index: 1190;

    background: transparent !important;
  }

  .tm-header .uk-navbar-container,
  .tm-header .uk-navbar-container:not(.uk-navbar-transparent) {
    background: rgba(52, 52, 50, 0.58) !important;

    border-bottom: 1px solid rgba(77, 77, 76, 0.24) !important;

    box-shadow: none !important;

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    transition:
      border-color 500ms ease,
      box-shadow 500ms ease;
  }

  .tm-header.ne-header-scrolled .uk-navbar-container,
  .tm-header.ne-header-scrolled .uk-navbar-container:not(.uk-navbar-transparent) {
    border-bottom-color: rgba(77, 77, 76, 0.45) !important;

    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.20),
      0 2px 4px -2px rgba(0, 0, 0, 0.20) !important;
  }

  .tm-header .uk-container {
    max-width: var(--ne-containerbig-max);
    box-sizing: border-box;
    padding-left: 32px;
    padding-right: 32px;
  }

  .tm-header .uk-navbar,
  .tm-header .uk-navbar-left,
  .tm-header .uk-navbar-right,
  .tm-header .uk-navbar-nav,
  .tm-header .uk-navbar-nav > li,
  .tm-header .uk-logo.uk-navbar-item,
  .tm-header .uk-navbar-nav > li > a,
  .tm-header .uk-navbar-toggle {
    min-height: var(--ne-header-main-height);
    height: var(--ne-header-main-height);
  }

  .tm-header .uk-navbar {
    align-items: stretch;
  }

  .tm-header .uk-navbar-left,
  .tm-header .uk-navbar-right {
    align-items: stretch;
  }

  .tm-header .uk-logo.uk-navbar-item {
    padding: 0;
  }

  .tm-header .uk-logo img {
    display: block;
    max-height: 56px;
    width: auto;
    object-fit: contain;
  }
}

/* ---------------------------------------------------------
   4. Menu desktop principale
   Base44:
   h-full px-10 text-[13px] font-mono font-medium
   tracking-[0.2em] uppercase text-foreground/55 hover:text-white
   underline: absolute bottom-0 left-0 right-0 h-[2px] bg-primary
   --------------------------------------------------------- */

@media (min-width: 960px) {

  .tm-header .uk-navbar-nav {
    gap: 0 !important;
  }

  .tm-header .uk-navbar-nav > li {
    position: relative;
    display: flex;
    align-items: stretch;
  }

  .tm-header .uk-navbar-nav > li > a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: var(--ne-header-main-height);
    min-height: var(--ne-header-main-height);

    padding-left: 40px !important;
    padding-right: 40px !important;

    color: rgba(242, 242, 242, 0.55) !important;

    font-family: var(--ne-font-mono) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1;
    letter-spacing: 0.20em !important;
    text-transform: uppercase !important;

    text-decoration: none !important;

    transition: color 200ms ease;
  }

  .tm-header .uk-navbar-nav > li > a::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: var(--ne-primary);

    opacity: 0;

    transition:
      opacity 300ms ease,
      background-color 300ms ease;
  }

  .tm-header .uk-navbar-nav > li:hover > a,
  .tm-header .uk-navbar-nav > li > a[aria-expanded="true"],
  .tm-header .uk-navbar-nav > li.uk-active > a {
    color: #ffffff !important;
  }

  .tm-header .uk-navbar-nav > li:hover > a::after,
  .tm-header .uk-navbar-nav > li > a[aria-expanded="true"]::after,
  .tm-header .uk-navbar-nav > li.uk-active > a::after {
    opacity: 1;
  }
}


/* ---------------------------------------------------------
   5. Dropdown / mega menu desktop
   Base44:
   absolute left-0 right-0 top-full bg-background
   border-t border-primary/20
   shadow-2xl shadow-black/50
   inner: max-w-7xl px-10 lg:px-16 py-10 grid-cols-4 gap-x-10 gap-y-6
   item: border-left only
   --------------------------------------------------------- */

@media (min-width: 960px) {

  .tm-header .uk-navbar-dropdown,
  .tm-header .uk-drop.uk-navbar-dropdown {
    margin-top: 0 !important;

    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    min-width: 100% !important;

    padding: 40px 0 !important;

    background: var(--ne-bg) !important;
    color: var(--ne-text) !important;

    border-top: 1px solid rgba(249, 184, 6, 0.20) !important;
    border-bottom: 0 !important;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.50) !important;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    overflow: visible;
  }

  .tm-header .uk-navbar-dropdown::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background: var(--ne-primary);
    pointer-events: none;
  }

  .tm-header .uk-navbar-dropdown > * {
    position: relative;
    z-index: 1;
  }

  .tm-header .uk-navbar-dropdown .tm-grid-expand,
  .tm-header .uk-navbar-dropdown .uk-width-1-1 {
    max-width: var(--ne-containerbig-max);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 64px;
    padding-right: 64px;
  }

  .tm-header .uk-navbar-dropdown .uk-margin {
    margin: 0 !important;
  }

  .tm-header .uk-navbar-dropdown .uk-grid {
    margin-top: 0 !important;
  }

  .tm-header .uk-navbar-dropdown .uk-child-width-1-4\@m {
    column-gap: 40px;
    row-gap: 24px;
    margin-left: 0 !important;
  }

  .tm-header .uk-navbar-dropdown .uk-child-width-1-4\@m > * {
    width: calc((100% - 120px) / 4);
    padding-left: 0 !important;
  }

  .tm-header .uk-navbar-dropdown .el-item {
    height: 100%;
  }

  .tm-header .uk-navbar-dropdown .uk-link-toggle,
  .tm-header .uk-navbar-dropdown .uk-panel {
    display: flex !important;
    flex-direction: column;
    gap: 4px;

    min-height: 0;
    height: auto;

    padding: 0 0 0 16px !important;

    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(77, 77, 76, 0.30) !important;
    border-radius: 0 !important;

    color: var(--ne-text) !important;
    text-decoration: none !important;

    box-shadow: none !important;
    transform: none !important;

    transition:
      border-color 200ms ease,
      color 200ms ease;
  }

  .tm-header .uk-navbar-dropdown .uk-link-toggle::before,
  .tm-header .uk-navbar-dropdown .uk-panel::before,
  .tm-header .uk-navbar-dropdown .uk-link-toggle::after,
  .tm-header .uk-navbar-dropdown .uk-panel::after {
    display: none !important;
    content: none !important;
  }

  .tm-header .uk-navbar-dropdown .uk-link-toggle:hover,
  .tm-header .uk-navbar-dropdown .uk-panel:hover {
    background: transparent !important;
    border-left-color: var(--ne-primary) !important;
    transform: none !important;
  }

  .tm-header .uk-navbar-dropdown .el-title {
    margin: 0 !important;

    color: var(--ne-primary) !important;

    font-family: var(--ne-font-mono) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;

    transition: color 150ms ease;
  }

  .tm-header .uk-navbar-dropdown .el-meta {
    margin: 0 !important;

    color: rgba(255, 255, 255, 0.70) !important;

    font-family: var(--ne-font-body) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.375 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    transition: color 150ms ease;
  }

  .tm-header .uk-navbar-dropdown a:hover .el-title,
  .tm-header .uk-navbar-dropdown .uk-link-toggle:hover .el-title,
  .tm-header .uk-navbar-dropdown .uk-panel:hover .el-title {
    color: rgba(249, 184, 6, 0.80) !important;
  }

  .tm-header .uk-navbar-dropdown a:hover .el-meta,
  .tm-header .uk-navbar-dropdown .uk-link-toggle:hover .el-meta,
  .tm-header .uk-navbar-dropdown .uk-panel:hover .el-meta {
    color: #ffffff !important;
  }
}


/* ---------------------------------------------------------
   6. Micro utility demo-safe
   --------------------------------------------------------- */

.ne-scanlines {
  position: relative;
}

.ne-scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );

  z-index: 1;
}


/* ---------------------------------------------------------
   7. Scrollbar
   Base44 reference:
   width 6px, track bg, thumb border/hover primary-hover
   --------------------------------------------------------- */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ne-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--ne-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ne-primary-hover);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--ne-border) var(--ne-bg);
}

/* ---------------------------------------------------------
   8. Hero video
   Base44 reference:
   min-h-screen, video cover, double gradient overlay,
   yellow marks, decorative lines, title fill animation.
   --------------------------------------------------------- */

.hero-video.uk-section {
  position: relative !important;
  min-height: 100vh !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  background: var(--ne-bg, #343432) !important;
  color: var(--ne-text, #f2f2f2);
  isolation: isolate;
}

/* YOOtheme video background */
.hero-video > video,
.hero-video video[uk-cover] {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  object-fit: cover !important;

  transform: none !important;
  z-index: 0;
}

/* Overlay Base44: left dark gradient */
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to right,
    rgba(26, 26, 25, 0.95),
    rgba(26, 26, 25, 0.75),
    rgba(26, 26, 25, 0.10)
  );
}

/* Overlay Base44: vertical dark gradient */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(26, 26, 25, 0.80),
    transparent,
    rgba(26, 26, 25, 0.30)
  );
}

/* Neutralizza wrapper YOOtheme che potrebbero diventare riferimento assoluto */
.hero-video .uk-position-relative.uk-panel {
  position: static !important;
}

.hero-video .uk-grid-margin {
  margin-top: 0 !important;
}

.hero-video .tm-grid-expand {
  margin-left: 0 !important;
}

.hero-video .tm-grid-expand > * {
  padding-left: 0 !important;
}

/* Content layer */
.hero-video > .uk-width-1-1 {
  width: 100%;
}

.ne-hero-inner {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: var(--ne-container-max, 1280px);
  box-sizing: border-box;

  margin-left: auto;
  margin-right: auto;

  padding-left: 40px;
  padding-right: 40px;
  padding-top: 144px;
}

.ne-hero-content {
  max-width: 768px;
}

/* Title */
.hero-video .ne-hero-title {
  margin: 0 !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
  font-weight: 300 !important;

  text-transform: uppercase !important;
  letter-spacing: 0.025em !important;

  color: #ffffff;
}

.hero-video .ne-hero-title span {
  display: block;
}

/* Base44 title fill animation */
.ne-title-fill-gold {
  opacity: 0;
  animation: neTitleFillGold 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}

.ne-title-fill-outline {
  opacity: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--ne-primary, #f9b806);

  animation: neTitleFillWhite 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.55s;
}

@keyframes neTitleFillGold {
  0% {
    -webkit-text-stroke: 1px var(--ne-primary, #f9b806);
    color: transparent;
    opacity: 0;
  }

  45% {
    -webkit-text-stroke: 1px var(--ne-primary, #f9b806);
    color: transparent;
    opacity: 1;
  }

  100% {
    -webkit-text-stroke: 0 transparent;
    color: var(--ne-primary, #f9b806);
    opacity: 1;
  }
}

@keyframes neTitleFillWhite {
  0% {
    -webkit-text-stroke: 1px #ffffff;
    color: transparent;
    opacity: 0;
  }

  45% {
    -webkit-text-stroke: 1px #ffffff;
    color: transparent;
    opacity: 1;
  }

  100% {
    -webkit-text-stroke: 0 transparent;
    color: #ffffff;
    opacity: 1;
  }
}

/* Subtitle */
.hero-video .ne-hero-subtitle {
  margin: 24px 0 0 !important;

  max-width: 760px;

  color: #ffffff !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 24px !important;
  line-height: 1.375 !important;
  font-weight: 300 !important;
  letter-spacing: 0.025em !important;
}

/* CTA */
.ne-hero-cta-wrap {
  margin-top: 40px;
}

.ne-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 16px 32px;

  border: 1px solid rgba(249, 184, 6, 0.50);

  color: var(--ne-text, #f2f2f2) !important;
  background: transparent;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 400 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;

  clip-path: polygon(
    12px 0%,
    100% 0%,
    calc(100% - 12px) 100%,
    0% 100%
  );

  transition:
    color 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease;
}

.ne-hero-cta:hover {
  color: var(--ne-primary, #f9b806) !important;
  border-color: var(--ne-primary, #f9b806);
}

.ne-hero-cta svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Decorative yellow marks */
.ne-hero-decor {
  pointer-events: none;
}

.ne-hero-mark {
  position: absolute;
  z-index: 2;
  display: none;

  color: var(--ne-primary, #f9b806);
}

.ne-hero-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.ne-hero-mark-1 {
  right: 5%;
  top: 20%;
  width: 192px;
  transform: translateY(-20px);
}

.ne-hero-mark-2 {
  right: 20%;
  bottom: 15%;
  width: 112px;
  transform: translateY(0);
}

.ne-hero-mark-3 {
  right: 38%;
  top: 12%;
  width: 64px;
  transform: translateY(-2px) rotate(1deg);
}

/* Decorative thin lines */
.ne-hero-line {
  position: absolute;
  left: 0;
  z-index: 2;

  display: none;
  height: 1px;

  pointer-events: none;
}

.ne-hero-line-1 {
  top: 50%;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(249, 184, 6, 0.20),
    transparent,
    transparent
  );
}

.ne-hero-line-2 {
  top: 33.333%;
  width: 33.333%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(249, 184, 6, 0.10),
    transparent
  );
}


/* Responsive sizes, aligned to Base44 */
@media (min-width: 640px) {

  .hero-video .ne-hero-title {
    font-size: 60px !important;
  }
}

@media (min-width: 768px) {

  .hero-video .ne-hero-title {
    font-size: 72px !important;
  }

  .hero-video .ne-hero-subtitle {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 960px) {

  .ne-hero-inner {
    padding-left: 64px;
    padding-right: 64px;
    padding-top: 96px;
  }

  .hero-video .ne-hero-title {
    font-size: 96px !important;
  }

  .hero-video .ne-hero-subtitle {
    font-size: 36px !important;
    line-height: 1.12 !important;
  }

  .ne-hero-mark,
  .ne-hero-line {
    display: block;
  }
}

@media (min-width: 1200px) {

  .ne-hero-mark-3 {
    display: block;
  }
}

@media (max-width: 959px) {

  .ne-hero-cta {
    padding: 14px 24px;
    font-size: 11px !important;
  }
}
.ne-hero-mark {
  opacity: 0.08!important;
}

/* ---------------------------------------------------------
   9. About section
   Base44 reference:
   py-24 lg:py-32, 2 columns, video frame,
   yellow badge, kicker, large ABOUT title, body text, mono link.
   --------------------------------------------------------- */

.ne-about-section.uk-section {
  background: var(--ne-bg, #343432) !important;
  color: var(--ne-text, #f2f2f2);
}

.ne-about-section .uk-container {
  max-width: var(--ne-container-max, 1280px);
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

/* Base44 gap-16 = 64px */
.ne-about-section .uk-grid-column-large {
  margin-left: -64px !important;
}

.ne-about-section .uk-grid-column-large > * {
  padding-left: 64px !important;
}

/* Left column: video + badge */
.ne-about-section .uk-grid-item-match > .uk-panel {
  position: relative;
}

/* Video block */
.ne-about-video {
  position: relative;
  z-index: 1;

  width: 100%;
  aspect-ratio: 16 / 9;

  margin: 0 !important;

  overflow: visible;
}

/* Offset frame: Base44 absolute -top-4 -left-4 */
.ne-about-video::before {
  content: "";
  position: absolute;

  top: -16px;
  left: -16px;

  width: 100%;
  height: 100%;

  border: 1px solid rgba(249, 184, 6, 0.20);
  border-radius: 2px;

  pointer-events: none;
  z-index: 0;
}

.ne-about-video video,
.ne-about-video .el-image {
  position: relative;
  z-index: 1;

  display: block;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;

  border-radius: 2px;
  overflow: hidden;

  background: var(--ne-card, #3b3b3a);
}

/* ---------------------------------------------------------
   Video decoration variant
   Frame positioned bottom-right instead of top-left.
   Usage:
   .ne-about-video.ne-video-deco-bottom-right
   --------------------------------------------------------- */
.ne-about-video.ne-video-deco-bottom-right,
.ne-about-video.ne-video-deco-bottom-left {
  aspect-ratio: 4 / 3;
}
.ne-about-video.ne-video-deco-bottom-right::before {
  top: auto;
  left: auto;
  right: -12px;
  bottom: -12px;

  border-color: rgba(249, 184, 6, 0.15);
}

/* Mantiene il video sopra alla cornice */
.ne-about-video.ne-video-deco-bottom-right video,
.ne-about-video.ne-video-deco-bottom-right .el-image {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   Video decoration variant
   Frame positioned bottom-left.
   Usage:
   .ne-about-video.ne-video-deco-bottom-left
   --------------------------------------------------------- */

.ne-about-video.ne-video-deco-bottom-left::before {
  top: auto;
  left: -12px;
  right: auto;
  bottom: -12px;

  border-color: rgba(249, 184, 6, 0.15);
}

/* Mantiene il video sopra alla cornice */
.ne-about-video.ne-video-deco-bottom-left video,
.ne-about-video.ne-video-deco-bottom-left .el-image {
  position: relative;
  z-index: 1;
}

/* Mobile: lascia spazio a sinistra */
@media (max-width: 959px) {

  .ne-about-video.ne-video-deco-bottom-left {
    margin-left: 16px !important;
    margin-right: 0 !important;
    width: calc(100% - 16px);
  }
}

@media (max-width: 639px) {

  .ne-about-video.ne-video-deco-bottom-left::before {
    left: -10px;
    bottom: -10px;
  }
}
/* Mobile: lascia spazio a destra invece che a sinistra */
@media (max-width: 959px) {

  .ne-about-video.ne-video-deco-bottom-right {
    margin-left: 0 !important;
    margin-right: 16px !important;
    width: calc(100% - 16px);
  }
}

@media (max-width: 639px) {

  .ne-about-video.ne-video-deco-bottom-right::before {
    right: -10px;
    bottom: -10px;
  }
}
/* Badge: Base44 absolute -bottom-6 -right-6 */
.ne-about-badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  z-index: 3;

  display: inline-flex;
  align-items: baseline;
  gap: 8px;

  padding: 16px 24px;

  background: var(--ne-primary, #f9b806);
  color: #272726;

  border-radius: 2px;

  transform: translateY(-5px);
}

.ne-about-number {
  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ne-about-numbertext {
  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

/* Right column panel */
.ne-about-panel {
  margin: 0 !important;
}

/* Kicker: line + Chi Siamo */
.ne-about-panel .el-title {
  display: flex;
  align-items: center;
  gap: 16px;

  margin: 0 0 24px !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 10px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0.45em !important;
  text-transform: uppercase !important;
}

.ne-about-panel .el-title::before {
  content: "";
  display: block;

  width: 32px;
  height: 1px;

  background: var(--ne-primary, #f9b806);
  flex: none;
}

/* ABOUT title */
.ne-about-panel .el-meta {
  margin: 0 0 24px !important;

  color: #ffffff !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
  font-weight: 300 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
}

/* Body text */
.ne-about-panel .el-content {
  margin-top: 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.625 !important;
  font-weight: 400 !important;
}

.ne-about-panel .el-content p {
  margin: 0 0 16px !important;
}

.ne-about-panel .el-content p:last-child {
  margin-bottom: 0 !important;
}

/* Link */
.ne-about-panel .uk-margin-medium-top {
  margin-top: 32px !important;
}

.ne-about-panel .el-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  transition:
    gap 200ms ease,
    color 200ms ease;
}

.ne-about-panel .el-link:hover {
  gap: 12px;
  color: var(--ne-primary, #f9b806) !important;
  text-decoration: none !important;
}

.ne-about-panel .el-link svg {
  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 200ms ease;
}

.ne-about-panel .el-link:hover svg {
  transform: translateX(4px);
}


/* Desktop spacing */
@media (min-width: 960px) {

  .ne-about-section.uk-section {
  }

  .ne-about-panel .el-meta {
    font-size: 60px !important;
  }
}


/* Mobile adjustments */
@media (max-width: 959px) {

  .ne-about-section .uk-grid-column-large {
    margin-left: 0 !important;
  }

  .ne-about-section .uk-grid-column-large > * {
    padding-left: 0 !important;
  }

  .ne-about-section .uk-grid-column-large > * + * {
    margin-top: 64px;
  }

  .ne-about-video {
    margin-left: 16px !important;
    width: calc(100% - 16px);
  }

  .ne-about-badge {
    right: 0;
    bottom: -22px;
  }

  .ne-about-panel .el-meta {
    font-size: 48px !important;
  }
}

@media (max-width: 639px) {

  .ne-about-section.uk-section {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  .ne-about-badge {
    position: relative;
    right: auto;
    bottom: auto;

    margin-top: -8px;
    margin-left: auto;

    transform: none;
  }

  .ne-about-number {
    font-size: 26px;
  }

  .ne-about-numbertext {
    font-size: 13px;
  }

  .ne-about-panel .el-title {
    letter-spacing: 0.32em !important;
  }

  .ne-about-panel .el-meta {
    font-size: 42px !important;
  }
}
/* ---------------------------------------------------------
   Small title panel variant
   Base44 reference:
   numbered kicker + smaller heading + body + CTA.
   Usage:
   .ne-about-panel.ne-small-title
   --------------------------------------------------------- */

.ne-about-panel.ne-small-title {
  margin: 0 !important;
}

/* Kicker / number row */
.ne-about-panel.ne-small-title .el-title {
  margin: 0 0 24px !important;

  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0.40em !important;
}

.ne-about-panel.ne-small-title .el-title::before {
  width: 32px;
  flex-basis: 32px;
}

/* Small heading:
   Base44 text-3xl md:text-4xl lg:text-5xl */
.ne-about-panel.ne-small-title .el-meta {
  margin: 0 0 24px !important;

  color: #ffffff !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
}
.ne-about-panel.ne-xs-title .el-meta {
  font-size: 26px !important;
}

/* Text */
.ne-about-panel.ne-small-title .el-content {
  margin: 0 !important;
}

.ne-about-panel.ne-small-title .el-content p {
  margin: 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.625 !important;
  font-weight: 400 !important;
}

/* CTA */
.ne-about-panel.ne-small-title .uk-margin-medium-top {
  margin-top: 24px !important;
}

.ne-about-panel.ne-small-title .el-link {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 14px !important;
  line-height: 1;
  font-weight: 400 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  transition:
    color 200ms ease,
    gap 200ms ease;
}

.ne-about-panel.ne-small-title .el-link:hover {
  color: #ffffff !important;
  gap: 12px;
}

.ne-about-panel.ne-small-title .el-link svg {
  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 200ms ease;
}

.ne-about-panel.ne-small-title .el-link:hover svg {
  transform: translateX(4px);
}


/* Responsive heading sizes */
@media (min-width: 768px) {

  .ne-about-panel.ne-small-title .el-meta {
    font-size: 36px !important;
  }
.ne-about-panel.ne-xs-title .el-meta {
  font-size: 30px !important;
}
}

@media (min-width: 960px) {

  .ne-about-panel.ne-small-title .el-meta {
    font-size: 48px !important;
  }
.ne-about-panel.ne-xs-title .el-meta {
  font-size: 36px !important;
}
}
/* ---------------------------------------------------------
   10. Numbers section
   Base44 reference:
   py-20 lg:py-24, bg-card, border-y,
   decorative primary glows, 4 counters.
   --------------------------------------------------------- */

.ne-numbers.uk-section {
  position: relative;
  overflow: hidden;

  background: var(--ne-card, #3b3b3a) !important;
  color: var(--ne-text, #f2f2f2);

  padding-top: 80px !important;
  padding-bottom: 80px !important;

  border-top: 1px solid rgba(77, 77, 76, 0.50);
  border-bottom: 1px solid rgba(77, 77, 76, 0.50);
}

/* Glow alto sinistra */
.ne-numbers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;

  width: 256px;
  height: 256px;

  background: rgba(249, 184, 6, 0.05);
  border-radius: 9999px;

  filter: blur(64px);
  transform: translateY(-30%);

  pointer-events: none;
  z-index: 0;
}

/* Glow basso destra */
.ne-numbers::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: 0;

  width: 192px;
  height: 192px;

  background: rgba(249, 184, 6, 0.03);
  border-radius: 9999px;

  filter: blur(64px);
  transform: translateY(30%);

  pointer-events: none;
  z-index: 0;
}

.ne-numbers .uk-container {
  position: relative;
  z-index: 1;

  max-width: var(--ne-container-max, 1280px);
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

/* Base44 gap-12 = 48px */
.ne-numbers .tm-grid-expand {
  row-gap: 48px;
}

.number-countdown-cont {
  text-align: center;
}

.number-countdown {
  display: block;

  color: var(--ne-primary, #f9b806);

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.number-countdown-cont p {
  margin: 8px 0 0 !important;

  color: var(--ne-text-muted, #d9d9d9);

  font-family: var(--ne-font-mono, "Space Mono", monospace);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.30em;
  text-transform: uppercase;
}

@media (min-width: 960px) {

  .ne-numbers.uk-section {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  .number-countdown {
    font-size: 48px;
  }
}

@media (max-width: 639px) {

  .number-countdown-cont p {
    letter-spacing: 0.22em;
  }
}

/* ---------------------------------------------------------
   11. Group section
   Variation of About section:
   text left, video right, company list, 4:3 video.
   --------------------------------------------------------- */

.ne-group-section.uk-section {
  border-top: 1px solid rgba(77, 77, 76, 0.20);
}

/* In questa section il video Base44 è aspect-[4/3], non 16/9 */
.ne-group-section .ne-about-video {
  aspect-ratio: 4 / 3;
}

/* Overlay video Base44: from-primary/10 via-transparent to-black/30 */
.ne-group-section .ne-about-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: 2px;

  background: linear-gradient(
    to bottom right,
    rgba(249, 184, 6, 0.10),
    transparent,
    rgba(0, 0, 0, 0.30)
  );

  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Lista società */
.ne-group-section .ne-about-grid {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.ne-group-section .ne-about-grid .uk-grid {
  margin-top: 0 !important;
  margin-left: 0 !important;
}

.ne-group-section .ne-about-grid .uk-grid > * {
  padding-left: 0 !important;
}

.ne-group-section .ne-about-grid .uk-grid-margin {
  margin-top: 12px !important;
}

.ne-group-section .ne-about-grid .el-item {
  padding-left: 16px;

  border-left: 1px solid rgba(249, 184, 6, 0.40);

  background: transparent !important;
  box-shadow: none !important;
}

.ne-group-section .ne-about-grid .el-title {
  margin: 0 !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
}

.ne-group-section .ne-about-grid .el-content {
  margin-top: 4px !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

/* Bottone/link “Scopri il gruppo” */
.ne-group-section .ne-about-button {
  margin-top: 32px !important;
}

.ne-group-section .ne-about-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  transition:
    gap 200ms ease,
    color 200ms ease;
}

.ne-group-section .ne-about-button a:hover {
  gap: 12px;
  color: var(--ne-primary, #f9b806) !important;
  text-decoration: none !important;
}

.ne-group-section .ne-about-button svg {
  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 200ms ease;
}

.ne-group-section .ne-about-button a:hover svg {
  transform: translateX(4px);
}


/* Mobile */
@media (max-width: 959px) {

  .ne-group-section .ne-about-grid {
    margin-top: 24px !important;
  }

  .ne-group-section .ne-about-button {
    margin-top: 32px !important;
  }
}

/* ---------------------------------------------------------
   12. Projects section
   Base44 reference:
   py-24 lg:py-32, heading block, 3 project cards,
   image zoom, dark gradient overlay, circular arrow.
   --------------------------------------------------------- */

.ne-projects-section.uk-section {
  background: var(--ne-bg, #343432) !important;
  color: var(--ne-text, #f2f2f2);
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

.ne-projects-section .uk-container {
  max-width: var(--ne-container-max, 1280px);
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header spacing: Base44 mb-16 */
.ne-projects-section .ne-about-panel {
  margin-bottom: 64px !important;
}

/* Riduce il margine automatico tra heading e griglia progetti */
.ne-projects-section .uk-container > .uk-grid-margin:nth-of-type(2) {
  margin-top: 0 !important;
}

/* Project cards */
.ne-projects-section .box-progetto {
  margin: 0 !important;
  text-align: left !important;
}

.ne-projects-section .box-progetto > a.uk-inline-clip {
  position: relative;

  display: block;
  width: 100%;

  aspect-ratio: 3 / 2;

  overflow: hidden;

  background: var(--ne-card, #3b3b3a) !important;
  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 2px;

  color: #ffffff !important;
  text-decoration: none !important;

  transition:
    border-color 500ms ease,
    background-color 500ms ease;
}

.ne-projects-section .box-progetto > a.uk-inline-clip:hover {
  border-color: rgba(249, 184, 6, 0.30);
}

/* Image full cover */
.ne-projects-section .box-progetto .el-image {
  position: absolute;
  inset: 0;

  display: block;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  object-fit: cover !important;

  transform: scale(1);
  transition: transform 700ms ease;
}

.ne-projects-section .box-progetto > a.uk-inline-clip:hover .el-image {
  transform: scale(1.05);
}

/* Dark gradient over image */
.ne-projects-section .box-progetto > a.uk-inline-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to top,
    rgba(52, 52, 50, 1),
    rgba(52, 52, 50, 0.30),
    transparent
  );

  pointer-events: none;
}

/* Bottom content */
.ne-projects-section .box-progetto .uk-position-bottom-left {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2;

  width: auto;
}

.ne-projects-section .box-progetto .uk-position-bottom-left > .uk-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  grid-template-areas:
    "meta icon"
    "title icon";
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;

  padding: 24px !important;
}

.ne-projects-section .box-progetto .el-meta {
  grid-area: meta;

  margin: 0 !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
}

.ne-projects-section .box-progetto .el-title {
  grid-area: title;

  margin: 0 !important;

  color: #ffffff !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Arrow circle */
.ne-projects-section .box-progetto .uk-position-bottom-left > .uk-panel > div:last-child {
  grid-area: icon;
  align-self: start;
  justify-self: end;

  margin: 4px 0 0 !important;
}

.ne-projects-section .box-progetto .el-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 9999px;

  color: #ffffff !important;
  background: transparent !important;

  text-decoration: none !important;
  background-image: none !important;

  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease;
}

.ne-projects-section .box-progetto > a.uk-inline-clip:hover .el-link {
  color: #272726 !important;
  background: var(--ne-primary, #f9b806) !important;
  border-color: var(--ne-primary, #f9b806);
}

.ne-projects-section .box-progetto .el-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}


/* Final link: Vedi tutte le realizzazioni */
.ne-projects-section .uk-container > .uk-grid-margin:nth-of-type(3) {
  margin-top: 48px !important;
}

.ne-projects-section .uk-text-right {
  margin: 0 !important;
}

.ne-projects-section .uk-text-right a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  transition:
    gap 200ms ease,
    color 200ms ease;
}

.ne-projects-section .uk-text-right a:hover {
  gap: 12px;
  color: var(--ne-primary, #f9b806) !important;
  text-decoration: none !important;
}

.ne-projects-section .uk-text-right a svg {
  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 200ms ease;
}

.ne-projects-section .uk-text-right a:hover svg {
  transform: translateX(4px);
}


/* Desktop */
@media (min-width: 960px) {

  .ne-projects-section.uk-section {
    padding-top: 128px !important;
    padding-bottom: 128px !important;
  }
}


/* Tablet/mobile */
@media (max-width: 959px) {

  .ne-projects-section .box-progetto {
    margin-bottom: 24px !important;
  }

  .ne-projects-section .box-progetto:last-child {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 639px) {

  .ne-projects-section .ne-about-panel {
    margin-bottom: 48px !important;
  }

  .ne-projects-section .box-progetto .uk-position-bottom-left > .uk-panel {
    padding: 20px !important;
  }

  .ne-projects-section .box-progetto .el-title {
    font-size: 17px !important;
  }

  .ne-projects-section .uk-text-right {
    text-align: left !important;
  }

  .ne-projects-section .uk-text-right a {
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
  }
}

/* ---------------------------------------------------------
   13. Consulenza section
   Base44 reference:
   centered CTA, diagonal card/background gradient,
   central primary glow, clipped buttons.
   --------------------------------------------------------- */

.ne-consulenza-section.uk-section {
  position: relative;
  overflow: hidden;

  background: var(--ne-bg, #343432) !important;
  color: var(--ne-text, #f2f2f2);

  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

/* Background gradient: from-card via-background to-card */
.ne-consulenza-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    to bottom right,
    var(--ne-card, #3b3b3a),
    var(--ne-bg, #343432),
    var(--ne-card, #3b3b3a)
  );

  pointer-events: none;
}

/* Central glow */
.ne-consulenza-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;

  width: 600px;
  height: 600px;

  background: rgba(249, 184, 6, 0.05);
  border-radius: 9999px;

  filter: blur(64px);
  transform: translate(-50%, -50%);

  pointer-events: none;
}

.ne-consulenza-section .uk-container {
  position: relative;
  z-index: 1;

  max-width: 896px;
  box-sizing: border-box;

  padding-left: 24px;
  padding-right: 24px;
}

/* Panel */
.ne-consulenza-panel {
  margin: 0 !important;
  text-align: center;
}

/* Kicker */
.ne-consulenza-panel .el-title {
  margin: 0 !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.45em !important;
  text-transform: uppercase !important;
}

/* Main title */
.ne-consulenza-panel .el-meta {
  margin: 16px 0 0 !important;

  color: #ffffff !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
  font-weight: 300 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
}

/* Description */
.ne-consulenza-panel .el-content {
  max-width: 672px;

  margin: 24px auto 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.625 !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
}

/* Buttons wrapper */
.ne-consulenza-section .uk-width-1-1 > .uk-margin.uk-text-center {
  margin-top: 40px !important;
  margin-bottom: 0 !important;
}

.ne-consulenza-section .uk-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 16px;

  margin-left: 0 !important;
}

.ne-consulenza-section .uk-flex-center > * {
  padding-left: 0 !important;
}

/* Shared button style */
.ne-consulenza-buttonyellow,
.ne-consulenza-buttonphone {
  position: relative;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 20px;

  padding: 16px 32px;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  clip-path: polygon(
    12px 0%,
    100% 0%,
    calc(100% - 12px) 100%,
    0% 100%
  );

  overflow: hidden;

  transition:
    color 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease;
}

.ne-consulenza-buttonyellow svg,
.ne-consulenza-buttonphone svg {
  position: relative;
  z-index: 1;

  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 300ms ease;
}

.ne-consulenza-buttonyellow:hover svg,
.ne-consulenza-buttonphone:hover svg {
  transform: translateX(4px);
}

/* Yellow primary button */
.ne-consulenza-buttonyellow {
  background: var(--ne-primary, #f9b806) !important;
  border: 1px solid var(--ne-primary, #f9b806);

  color: #272726 !important;
}

/* Shine effect */
.ne-consulenza-buttonyellow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );

  transform: translateX(-100%);

  transition: transform 700ms ease;
}

.ne-consulenza-buttonyellow:hover::before {
  transform: translateX(100%);
}

.ne-consulenza-buttonyellow > * {
  position: relative;
  z-index: 1;
}

/* Outline phone button */
.ne-consulenza-buttonphone {
  background: transparent !important;
  border: 1px solid rgba(249, 184, 6, 0.40);

  color: var(--ne-text, #f2f2f2) !important;

  font-weight: 500 !important;
}

.ne-consulenza-buttonphone:hover {
  color: var(--ne-primary, #f9b806) !important;
  border-color: var(--ne-primary, #f9b806);
}


/* Desktop */
@media (min-width: 960px) {

  .ne-consulenza-section.uk-section {
    padding-top: 128px !important;
    padding-bottom: 128px !important;
  }

  .ne-consulenza-panel .el-meta {
    font-size: 60px !important;
  }
}


/* Mobile */
@media (max-width: 639px) {

  .ne-consulenza-panel .el-title {
    letter-spacing: 0.32em !important;
  }

  .ne-consulenza-panel .el-meta {
    font-size: 42px !important;
  }

  .ne-consulenza-section .uk-flex-center {
    flex-direction: column;
    align-items: stretch;
  }

  .ne-consulenza-section .uk-flex-center > * {
    width: 100%;
  }

  .ne-consulenza-buttonyellow,
  .ne-consulenza-buttonphone {
    width: 100%;
    box-sizing: border-box;

    padding-left: 24px;
    padding-right: 24px;

    font-size: 11px !important;
    letter-spacing: 0.16em !important;
  }
}
/* ---------------------------------------------------------
   14. Footer
   Base44 reference:
   bg-card, primary top line, decorative mark,
   logo/social, offices/nav, company profile card,
   copyright row.
   --------------------------------------------------------- */

.ne-footer.uk-section {
  position: relative;
  overflow: hidden;

  background: var(--ne-card, #3b3b3a) !important;
  color: var(--ne-text, #f2f2f2);

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  border-top: 1px solid rgba(249, 184, 6, 0.10);
}

/* Top gradient line */
.ne-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(249, 184, 6, 0.40),
    transparent
  );

  pointer-events: none;
}

/* Large yellow Base44-style mark */
.ne-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;

  width: 384px;
  height: 240px;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='8,0 52,0 44,50 0,50' fill='%23f9b806'/%3E%3Cpolygon points='58,0 80,0 72,50 50,50' fill='%23f9b806'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;

  opacity: 0.03;
  pointer-events: none;
}

.ne-footer > .uk-container {
  position: relative;
  z-index: 1;

  max-width: var(--ne-container-max, 1280px);
  box-sizing: border-box;

  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: 24px;
  padding-right: 24px;
}


/* First row */
.ne-footer .footer-rowfirst {
  position: relative;
  align-items: flex-start;
}

.ne-footer .footer-col-left {
  position: relative;
}

.ne-footer .footer-panel {
  margin: 0 0 24px !important;
}

.ne-footer .footer-panel .el-image {
  display: block;

  width: auto;
  height: 48px;

  object-fit: contain;

  margin: 0 0 16px !important;
}

.ne-footer .footer-panel .el-content {
  max-width: 360px;

  margin: 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.625 !important;
  font-weight: 400 !important;
}


/* Small headings */
.ne-footer .footer-heading-xs,
.ne-footer .footer-data .el-title {
  margin: 0 0 16px !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.30em !important;
  text-transform: uppercase !important;
}


/* Social icons */
.ne-footer .footer-col-left > .uk-margin {
  margin: 0 !important;
}

.ne-footer .footer-col-left ul.uk-grid {
  margin-left: 0 !important;
}

.ne-footer .footer-col-left ul.uk-grid > * {
  padding-left: 0 !important;
  margin-right: 12px;
}

.ne-footer .footer-col-left ul.uk-grid > *:last-child {
  margin-right: 0;
}

.ne-footer .footer-col-left ul .el-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: var(--ne-text-muted, #d9d9d9) !important;

  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 2px;

  background: transparent;

  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.ne-footer .footer-col-left ul .el-link:hover {
  color: var(--ne-primary, #f9b806) !important;
  border-color: rgba(249, 184, 6, 0.50);
  background: rgba(249, 184, 6, 0.10);
}

.ne-footer .footer-col-left ul .el-link svg {
  width: 20px;
  height: 20px;
}

.ne-footer .footer-col-left ul .el-link svg,
.ne-footer .footer-col-left ul .el-link svg * {
  fill: none;
  stroke: currentColor;
}


/* Offices data */
.ne-footer .footer-data {
  margin: 0 0 24px !important;
}

.ne-footer .footer-data:last-child {
  margin-bottom: 0 !important;
}

.ne-footer .footer-data .el-content {
  margin: 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.ne-footer .footer-data .el-content > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ne-footer .footer-data .el-content > div > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ne-footer .footer-data svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  color: var(--ne-primary, #f9b806);

  margin-top: 2px;
}

.ne-footer .footer-data a {
  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;

  text-decoration: none !important;

  transition: color 200ms ease;
}

.ne-footer .footer-data a:hover {
  color: var(--ne-primary, #f9b806) !important;
}


/* Footer nav */
.ne-footer .footer-nav {
  margin: 0 !important;
}

.ne-footer .footer-nav > li {
  margin: 0 0 8px !important;
}

.ne-footer .footer-nav > li:last-child {
  margin-bottom: 0 !important;
}

.ne-footer .footer-nav .el-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;

  text-decoration: none !important;
  background-image: none !important;

  transition: color 200ms ease;
}

.ne-footer .footer-nav .el-link::before {
  content: "";
  display: block;

  width: 4px;
  height: 4px;

  border-radius: 9999px;
  background: var(--ne-primary, #f9b806);

  flex: none;
}

.ne-footer .footer-nav .el-link:hover {
  color: var(--ne-primary, #f9b806) !important;
}


/* Separator before Company Profile */
.ne-footer .footer-spacer {
  margin-top: 64px !important;
}

.ne-footer .footer-spacer hr {
  margin: 0 !important;

  border: 0;
  border-top: 1px solid rgba(77, 77, 76, 0.30);
}


/* Company Profile card */
.ne-footer .footer-companyprofile {
  margin-top: 48px !important;
}

.ne-footer .footer-companyprofile-card {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;

  padding: 32px;

  background: linear-gradient(
    to right,
    var(--ne-card, #3b3b3a),
    rgba(59, 59, 58, 0.50)
  );

  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 2px;
}

.ne-footer .footer-companyprofile-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;

  width: 256px;
  height: 256px;

  background: rgba(249, 184, 6, 0.05);
  border-radius: 9999px;

  filter: blur(64px);
  transform: translate(50%, -50%);

  pointer-events: none;
}

.ne-footer .footer-companyprofile-intro,
.ne-footer .footer-companyprofile-formarea {
  position: relative;
  z-index: 1;
}

.ne-footer .footer-companyprofile-heading {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0 0 16px;
}

.ne-footer .footer-companyprofile-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  color: var(--ne-primary, #f9b806);

  background: rgba(249, 184, 6, 0.10);
  border-radius: 2px;
}

.ne-footer .footer-companyprofile-icon svg {
  width: 20px;
  height: 20px;
}

.ne-footer .footer-companyprofile-title {
  margin: 0 !important;

  color: #ffffff !important;

  font-family: var(--ne-font-heading, "Outfit", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.ne-footer .footer-companyprofile-label {
  margin: 4px 0 0 !important;

  color: var(--ne-primary, #f9b806) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.30em !important;
  text-transform: uppercase !important;
}

.ne-footer .footer-companyprofile-text {
  max-width: 448px;

  margin: 0 !important;

  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.625 !important;
  font-weight: 400 !important;
}

.ne-footer .footer-companyprofile-form {
  display: flex;
  gap: 12px;

  margin: 0;
}

.ne-footer .footer-companyprofile-label-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);

  white-space: nowrap;
}

.ne-footer .footer-companyprofile-input {
  flex: 1 1 auto;
  min-width: 0;

  height: 48px;

  box-sizing: border-box;

  padding: 12px 16px;

  background: var(--ne-bg, #343432) !important;
  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 2px;

  color: var(--ne-text, #f2f2f2) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;

  clip-path: polygon(
    8px 0%,
    100% 0%,
    calc(100% - 8px) 100%,
    0% 100%
  );

  transition: border-color 200ms ease;
}

.ne-footer .footer-companyprofile-input::placeholder {
  color: rgba(217, 217, 217, 0.50);
}

.ne-footer .footer-companyprofile-input:focus {
  outline: none;
  border-color: rgba(249, 184, 6, 0.50);
}

.ne-footer .footer-companyprofile-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 48px;

  padding: 12px 24px;

  background: var(--ne-primary, #f9b806) !important;
  border: 1px solid var(--ne-primary, #f9b806);
  border-radius: 2px;

  color: #272726 !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;

  cursor: pointer;

  clip-path: polygon(
    8px 0%,
    100% 0%,
    calc(100% - 8px) 100%,
    0% 100%
  );

  transition:
    background-color 200ms ease,
    transform 200ms ease;
}

.ne-footer .footer-companyprofile-submit:hover {
  background: var(--ne-primary-hover, #e8ab30) !important;
}

.ne-footer .footer-companyprofile-submit svg {
  width: 16px;
  height: 16px;
  flex: none;

  transition: transform 200ms ease;
}

.ne-footer .footer-companyprofile-submit:hover svg {
  transform: translate(2px, -2px);
}

.ne-footer .footer-companyprofile-privacy {
  margin: 12px 0 0 !important;

  color: rgba(217, 217, 217, 0.40) !important;

  font-family: var(--ne-font-body, "Barlow", Arial, sans-serif) !important;
  font-size: 9px !important;
  line-height: 1.4 !important;
}


/* Copyright row */
.ne-footer .footer-rowcopy {
  margin-top: 32px !important;
  padding-top: 32px;

  border-top: 1px solid rgba(77, 77, 76, 0.30);

  align-items: center;
}

.ne-footer .footer-copyright,
.ne-footer .footer-iva {
  color: var(--ne-text-muted, #d9d9d9) !important;

  font-family: var(--ne-font-mono, "Space Mono", monospace) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.ne-footer .footer-iva {
  color: rgba(217, 217, 217, 0.40) !important;
}


/* Desktop refinements */
@media (min-width: 960px) {

  .ne-footer > .uk-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .ne-footer .footer-col-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;

    width: 1px;
    height: 128px;

    background: linear-gradient(
      to bottom,
      transparent,
      rgba(77, 77, 76, 0.50),
      transparent
    );

    pointer-events: none;
  }

  .ne-footer .footer-companyprofile-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 40px;
  }
}


/* Tablet/mobile */
@media (max-width: 959px) {

  .ne-footer .footer-rowfirst > * + * {
    margin-top: 48px;
  }

  .ne-footer .footer-col-left::after {
    display: none;
  }

  .ne-footer .footer-data {
    margin-bottom: 32px !important;
  }

  .ne-footer .footer-companyprofile-form {
    flex-direction: column;
  }

  .ne-footer .footer-companyprofile-submit {
    width: 100%;
  }

  .ne-footer .footer-rowcopy {
    row-gap: 12px;
    text-align: center;
  }

  .ne-footer .footer-iva {
    text-align: center !important;
  }
}

@media (max-width: 639px) {

  .ne-footer > .uk-container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .ne-footer::after {
    width: 280px;
    height: 175px;
  }

  .ne-footer .footer-companyprofile-card {
    padding: 24px;
  }

  .ne-footer .footer-companyprofile-heading {
    align-items: flex-start;
  }

  .ne-footer .footer-companyprofile-title {
    font-size: 13px !important;
  }

  .ne-footer .footer-companyprofile-input,
  .ne-footer .footer-companyprofile-submit {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   15. Hero interna servizio
   Base44:
   relative overflow-hidden pt-20 pb-20 border-b border-border/20
   video background opacity-20
   gradient from-background/60 via-background/80 to-background
   --------------------------------------------------------- */

.ne-hero-video {
  position: relative;
  overflow: hidden;

  background: var(--ne-bg) !important;
  border-bottom: 1px solid rgba(77, 77, 76, 0.20);
}

/* Caso video: la section è direttamente .ne-hero-video */
.ne-hero-video.uk-section {
  padding-top: 0 !important;
  padding-bottom: 80px !important;
}

/* Caso immagine YOOtheme: la section è figlia di .ne-hero-video */
.ne-hero-video > .uk-section {
  position: relative;
  overflow: hidden;

  background-color: var(--ne-bg) !important;
}

/* Video background */
.ne-hero-video > video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 0.20;

  pointer-events: none;
}

/* Immagine background YOOtheme */
.ne-hero-video > .uk-background-cover {
  background-color: var(--ne-bg) !important;
  background-blend-mode: multiply;
}

/* Overlay gradient: valido sia per video che per background image */
.ne-hero-video > .uk-position-cover,
.ne-hero-video > .uk-section > .uk-position-cover {
  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(52, 52, 50, 0.60) 0%,
      rgba(52, 52, 50, 0.80) 50%,
      rgba(52, 52, 50, 1) 100%
    ) !important;

  pointer-events: none;
}

/* Content container */
.ne-hero-video > .uk-container,
.ne-hero-video > .uk-section > .uk-container {
  position: relative;
  z-index: 2;

  max-width: var(--ne-containerbig-max);
  box-sizing: border-box;

  padding-top: 80px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 960px) {
.ne-hero-video > .uk-container,
.ne-hero-video > .uk-section > .uk-container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* Neutralizza margini YOOtheme inutili nella hero */
.ne-hero-video .uk-grid-margin,
.ne-hero-video .tm-grid-expand {
  margin-top: 0 !important;
}

.ne-hero-video .uk-width-1-1 {
  min-width: 0;
}
/* ---------------------------------------------------------
   20. Hero interna con immagine
   Variante più trasparente rispetto a .ne-hero-video.
   YOOtheme usa background image su .uk-section interna.
   --------------------------------------------------------- */

.ne-hero-image {
  position: relative;
  overflow: hidden;

  background: var(--ne-bg) !important;
  border-bottom: 1px solid rgba(77, 77, 76, 0.20);
}

/* Section interna generata da YOOtheme */
.ne-hero-image > .uk-section {
  position: relative;
  overflow: hidden;

  background-color: var(--ne-bg) !important;
}

/* Background image YOOtheme */
.ne-hero-image > .uk-background-cover {
  background-color: var(--ne-bg) !important;
}

/* Overlay molto più trasparente */
.ne-hero-image > .uk-position-cover,
.ne-hero-image > .uk-section > .uk-position-cover {
  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(52, 52, 50, 0.18) 0%,
      rgba(52, 52, 50, 0.28) 45%,
      rgba(52, 52, 50, 0.55) 100%
    ) !important;

  pointer-events: none;
}

/* Contenuti sopra overlay */
.ne-hero-image > .uk-container,
.ne-hero-image > .uk-section > .uk-container {
  position: relative;
  z-index: 2;
}

/* Sicurezza extra per contenuti YOOtheme interni */
.ne-hero-image .tm-grid-expand,
.ne-hero-image .uk-panel {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   22. Hero video full
   Video full viewport con overlay cinematografico.
   Variante pensata per video senza contenuti sovrapposti.
   --------------------------------------------------------- */

.ne-hero-videofull {
  position: relative;
  overflow: hidden;

  min-height: 100vh;

  background: var(--ne-bg) !important;
  border-bottom: 1px solid rgba(77, 77, 76, 0.20);
}

/* Caso diretto: la section è .ne-hero-videofull */
.ne-hero-videofull.uk-section {
  position: relative;
  overflow: hidden;

  min-height: 100vh;
}

/* Caso YOOtheme annidato: section interna */
.ne-hero-videofull > .uk-section {
  position: relative;
  overflow: hidden;

  min-height: 100vh;

  background-color: var(--ne-bg) !important;
}

/* Video background */
.ne-hero-videofull > video,
.ne-hero-videofull > .uk-section > video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 1;

  filter:
    saturate(1.14)
    contrast(1.08)
    brightness(1.03);

  pointer-events: none;
}

/* Overlay cinematografico */
.ne-hero-videofull > .uk-position-cover,
.ne-hero-videofull > .uk-section > .uk-position-cover {
  z-index: 1;

  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(249, 184, 6, 0.09) 18%,
      rgba(249, 184, 6, 0.03) 34%,
      rgba(52, 52, 50, 0) 52%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 0, 0, 0) 38%,
      rgba(0, 0, 0, 0.24) 72%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(52, 52, 50, 0.10) 0%,
      rgba(52, 52, 50, 0.04) 38%,
      rgba(52, 52, 50, 0.22) 70%,
      rgba(52, 52, 50, 0.48) 100%
    ) !important;

  pointer-events: none;
}

/* Contenuti sempre sopra overlay, nel caso vengano aggiunti in futuro */
.ne-hero-videofull > .uk-container,
.ne-hero-videofull > .uk-section > .uk-container {
  position: relative;
  z-index: 2;
}

/* Sicurezza extra per contenuti YOOtheme interni */
.ne-hero-videofull .tm-grid-expand,
.ne-hero-videofull .uk-panel {
  position: relative;
  z-index: 2;
}

/* Mobile viewport fallback */
@media (max-width: 767px) {
  .ne-hero-videofull,
  .ne-hero-videofull.uk-section,
  .ne-hero-videofull > .uk-section {
    min-height: 100svh;
  }
}

/* Back button */
.ne-back-button.uk-margin {
  margin-top: 0 !important;
  margin-bottom: 40px !important;
}

.ne-back-button .el-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.25em;

  color: rgba(242, 242, 242, 0.65) !important;
  text-decoration: none !important;

  transition: color 250ms ease;
}

.ne-back-button .el-content:hover {
  color: var(--ne-primary) !important;
}

.ne-back-button svg {
  display: block;

  width: 14px;
  height: 14px;

  flex: 0 0 auto;
}

/* Panel hero */
.ne-panel-hero.uk-panel {
  max-width: 100%;
}

.ne-panel-hero.uk-margin {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Meta: linea + Servizio 01 */
.ne-panel-hero .el-meta {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 0 !important;
  margin-bottom: 24px !important;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.40em;

  color: var(--ne-primary) !important;
}

.ne-panel-hero .el-meta::before {
  content: "";
  display: block;

  width: 32px;
  height: 1px;

  background: var(--ne-primary);
  flex: 0 0 auto;
}

/* Titolo */
.ne-panel-hero .el-title {
  max-width: 1100px;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  font-family: var(--ne-font-heading);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: -0.025em;

  color: var(--ne-text) !important;
}

.ne-panel-hero .el-title .uk-text-primary {
  color: var(--ne-primary) !important;
}

@media (min-width: 640px) {
  .ne-panel-hero .el-title {
    font-size: 72px;
  }
}

@media (min-width: 960px) {
  .ne-panel-hero .el-title {
    font-size: 96px;
  }
}

/* Testo intro */
.ne-panel-hero .el-content.uk-panel {
  max-width: 672px;

  margin-top: 32px !important;

  font-family: var(--ne-font-body);
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.65) !important;
}

/* Mobile */
@media (max-width: 959px) {
  .ne-hero-video.uk-section {
    padding-bottom: 64px !important;
  }
}

@media (max-width: 639px) {
  .ne-panel-hero .el-title {
    font-size: 44px;
  }

  .ne-panel-hero .el-content.uk-panel {
    font-size: 17px;
  }
}

/* ---------------------------------------------------------
   16. Section border + griglia competenze
   Base44:
   border-b border-border/20
   grid gap-8
   card border border-border/30 p-8 hover:border-primary/40
   --------------------------------------------------------- */

/* Border section utility */
.ne-border-bottom.uk-section {
  border-bottom: 1px solid rgba(77, 77, 76, 0.20);
}

/* Grid gap: gap-8 = 32px */
.ne-grid01 > .uk-grid {
  margin-left: -32px;
}

.ne-grid01 > .uk-grid > * {
  padding-left: 32px;
}

.ne-grid01v2 > .uk-grid {
  margin-left: -25px;
}

.ne-grid01v2 > .uk-grid > * {
  padding-left: 25px;
}

.ne-grid01 > .uk-grid > .uk-grid-margin {
  margin-top: 32px;
}

/* Card */
.ne-grid01 .el-item {
  height: 100%;

  padding: 25px;
  box-sizing: border-box;

  border: 1px solid rgba(77, 77, 76, 0.30);
  background: transparent;

  transition:
    border-color 250ms ease,
    background-color 250ms ease;
}

.ne-grid01v2 .el-item {
  background: #3b3b39;
}

.ne-grid01 .el-item:hover {
  border-color: rgba(249, 184, 6, 0.40);
}

/* Icona */
.ne-grid01 .el-meta {
  margin-top: 0 !important;
  margin-bottom: 20px !important;

  line-height: 0;
  color: var(--ne-primary) !important;
}

.ne-grid01 .el-meta svg {
  display: block;

  width: 20px;
  height: 20px;

  color: var(--ne-primary);
  stroke: currentColor;
}
.ne-grid01v2 .el-meta svg {
  width: 32px;
  height: 32px;
}

/* Titolo card */
.ne-grid01 .el-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;

  font-family: var(--ne-font-heading);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.025em;

  color: #ffffff !important;
}

.ne-grid01v2 .el-title {
  font-size: 14px;
  font-weight: 500;
}
/* Testo card */
.ne-grid01 .el-content.uk-panel {
  margin-top: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.85) !important;
}

/* ---------------------------------------------------------
   17. Griglia processo / step
   Base44:
   grid gap-0 border-l border-t border-border/20
   item border-r border-b border-border/20 p-8
   --------------------------------------------------------- */

.ne-grid02 > .uk-grid {
  margin-left: 0 !important;
  margin-top: 0 !important;

  border-left: 1px solid rgba(77, 77, 76, 0.20);
  border-top: 1px solid rgba(77, 77, 76, 0.20);
}

/* Rimuove gutter YOOtheme */
.ne-grid02 > .uk-grid > * {
  padding-left: 0 !important;
}

/* Rimuove margini verticali YOOtheme tra righe */
.ne-grid02 > .uk-grid > .uk-grid-margin {
  margin-top: 0 !important;
}

/* Card/cella */
.ne-grid02 .el-item {
  height: 100%;

  padding: 32px;
  box-sizing: border-box;

  border-right: 1px solid rgba(77, 77, 76, 0.20);
  border-bottom: 1px solid rgba(77, 77, 76, 0.20);

  background: transparent;
}

/* Numero */
.ne-grid02 .el-meta {
  display: block;

  margin-top: 0 !important;
  margin-bottom: 16px !important;

  font-family: var(--ne-font-heading);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;

  color: rgba(77, 77, 76, 0.25) !important;
}

/* Titolo */
.ne-grid02 .el-title {
  margin-top: 0 !important;
  margin-bottom: 8px !important;

  font-family: var(--ne-font-mono);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.10em;

  color: var(--ne-primary) !important;
}

/* Testo */
.ne-grid02 .el-content.uk-panel {
  margin-top: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.625;
  font-weight: 400;
}

/* Responsive coerente con Base44: 1 col / 2 col / 3 col */
.ne-grid02 > .uk-grid > * {
  width: 100%;
}

@media (min-width: 768px) {
  .ne-grid02 > .uk-grid > * {
    width: 50% !important;
  }
}

@media (min-width: 1024px) {
  .ne-grid02 > .uk-grid > * {
    width: 33.333333% !important;
  }
}

/* ---------------------------------------------------------
   18. Mappa cantieri interattiva
   Base44:
   map image opacity-15, marker pulse, legend, city menu
   YOOtheme:
   Popover markers + JS-generated menu
   --------------------------------------------------------- */

.ne-mappacantieri {
  width: 100%;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
}

.ne-mappacantieri .uk-inline {
  display: block;
  width: 100%;
}

/* Immagine Italia */
.ne-mappacantieri img {
  display: block;
  width: 100%;
  height: auto;

  user-select: none;
  pointer-events: none;

  filter: brightness(0) invert(1);
  opacity: 0.15;
}

/* Marker YOOtheme trasformato in punto Base44 */
.ne-mappacantieri .el-marker.uk-marker {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;

  padding: 0 !important;
  box-sizing: border-box;

  background: var(--ne-primary) !important;
  color: var(--ne-primary) !important;

  border: 0 !important;
  border-radius: 999px !important;

  box-shadow: 0 10px 18px rgba(249, 184, 6, 0.45);

  overflow: visible;
  isolation: isolate;

  transform: translate(-50%, -50%) !important;

  transition:
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.ne-mappacantieri .el-marker.uk-marker:hover {
  box-shadow:
    0 0 0 2px rgba(249, 184, 6, 0.20),
    0 12px 24px rgba(249, 184, 6, 0.65);
}

.ne-mappacantieri .el-marker.uk-marker.is-active {
  background: #ffffff !important;
  color: #ffffff !important;

  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(249, 184, 6, 0.60);
}

/* Nasconde il + di default YOOtheme */
.ne-mappacantieri .el-marker.uk-marker > svg {
  display: none !important;
}

/* Pulse */
/* Pulse */
.ne-mappacantieri .el-marker.uk-marker::before,
.ne-mappacantieri .el-marker.uk-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 7px;
  height: 7px;

  margin-top: -4px;
  margin-left: -4px;

  border: 1px solid var(--ne-primary);
  border-radius: 999px;

  pointer-events: none;
  z-index: -1;

  animation: ne-map-marker-pulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ne-mappacantieri .el-marker.uk-marker::after {
  animation-delay: 0.75s;
}

.ne-mappacantieri .el-marker.uk-marker.is-active::before,
.ne-mappacantieri .el-marker.uk-marker.is-active::after {
  opacity: 0;
  animation: none;
}

@keyframes ne-map-marker-pulse {
  0% {
    opacity: 0.60;
    transform: scale(1);
  }

  65% {
    opacity: 0;
    transform: scale(2.05);
  }

  100% {
    opacity: 0;
    transform: scale(2.05);
  }
}

/* Label città generata dal JS */
.ne-map-label {
  position: absolute;
  top: 8px;
  left: 50%;

  transform: translateX(-50%);

  display: block;
  white-space: nowrap;

  padding: 2px 4px;

  border-radius: 2px;
  background: rgba(52, 52, 50, 0.60);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  font-family: var(--ne-font-mono);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 400;

  letter-spacing: 0.08em;

  color: rgba(242, 242, 242, 0.9);

  pointer-events: none;

  transition: color 200ms ease;
}

.ne-mappacantieri .el-marker.uk-marker:hover .ne-map-label {
  color: var(--ne-primary);
}

.ne-mappacantieri .el-marker.uk-marker.is-active .ne-map-label {
  color: #ffffff;
}

/* Popover */
/* Popover */
.ne-mappacantieri .uk-drop {
  z-index: 900;

  width: min(384px, calc(100vw - 32px)) !important;
}

/* Finestra popup */
.ne-map-marker.uk-card {
  position: relative;

  background: var(--ne-card) !important;

  border: 1px solid rgba(249, 184, 6, 0.30) !important;
  border-radius: 0 !important;

  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.60) !important;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ne-map-marker.uk-card.uk-card-body {
  padding: 28px !important;
  padding-right: 48px !important;
}

/* Bottone chiudi generato dal JS */
.ne-map-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  color: rgba(242, 242, 242, 0.55);

  cursor: pointer;

  transition: color 200ms ease;
}

.ne-map-popup-close:hover {
  color: var(--ne-primary);
}

.ne-map-popup-close svg {
  display: block;

  width: 14px;
  height: 14px;

  stroke: currentColor;
}

/* Contenuto popup */
.ne-map-marker .el-title {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: 0 !important;
  margin-bottom: 4px !important;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--ne-primary) !important;
}

/* Icona map-pin */
.ne-map-marker .el-title::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 12px;
  height: 12px;

  background-color: var(--ne-primary);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Titolo progetto / cantiere */
.ne-map-marker .el-meta {
  margin-top: 0 !important;
  margin-bottom: 20px !important;

  font-family: var(--ne-font-heading);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;

  text-transform: none;
  letter-spacing: 0;

  color: var(--ne-text) !important;
}

/* Gruppo righe */
.ne-map-marker .el-content.uk-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;

  margin-top: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.62) !important;
}

/* Singole righe info */
.ne-map-marker .mappa-materiali,
.ne-map-marker .mappa-data,
.ne-map-marker .mappa-operatori {
  display: flex;
  align-items: center;
  gap: 8px;

  color: rgba(242, 242, 242, 0.62);
}

/* Icone righe */
.ne-map-marker .mappa-materiali::before,
.ne-map-marker .mappa-data::before,
.ne-map-marker .mappa-operatori::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 14px;
  height: 14px;

  background-color: rgba(242, 242, 242, 0.55);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Building */
.ne-map-marker .mappa-materiali::before {
  width: 12px;
  height: 12px;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
}

/* Calendar */
.ne-map-marker .mappa-data::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}

/* Users */
.ne-map-marker .mappa-operatori::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
/* Intro menu sotto mappa */
.ne-cantieri-intromenu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 16px;

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;

  letter-spacing: 0.04em;

  color: rgba(242, 242, 242, 0.60);
}

.ne-cantieri-intromenu .cantieri-attivi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ne-cantieri-intromenu .bollino-cantieri {
  display: inline-block;

  width: 6px;
  height: 6px;

  border-radius: 999px;
  background: var(--ne-primary);
}

.ne-cantieri-intromenu .divider {
  color: rgba(242, 242, 242, 0.25);
}

.ne-cantieri-intromenu .clicca-citta {
  color: rgba(242, 242, 242, 0.45);
}

/* Menu città generato dal JS */
.ne-mappacantieri-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin-top: 24px;
}

@media (min-width: 640px) {
  .ne-mappacantieri-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ne-mappacantieri-menu__button {
  display: flex;
  align-items: center;
  gap: 8px;

  width: 100%;

  padding: 8px 12px;
  box-sizing: border-box;

  border: 1px solid rgba(77, 77, 76, 0.40);
  border-radius: 2px;

  background: var(--ne-card);

  color: rgba(242, 242, 242, 0.70);

  text-align: left;
  cursor: pointer;

  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.ne-mappacantieri-menu__button:hover,
.ne-mappacantieri-menu__button.is-active {
  border-color: rgba(249, 184, 6, 0.55);
  background-color: rgba(249, 184, 6, 0.1);
  color: #ffffff;
}

.ne-mappacantieri-menu__button:hover .ne-mappacantieri-menu__dot,
.ne-mappacantieri-menu__button.is-active .ne-mappacantieri-menu__dot {
  background: #fff;
}

.ne-mappacantieri-menu__dot {
  display: block;
  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 999px;
  background: var(--ne-primary);
}

.ne-mappacantieri-menu__label {
  display: block;

  min-width: 0;

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;

  letter-spacing: 0.04em;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile */
@media (max-width: 639px) {
  .ne-mappacantieri {
    max-width: 420px;
  }

  .ne-map-label {
    font-size: 8px;
  }

  .ne-cantieri-intromenu {
    font-size: 11px;
  }
}
/* ---------------------------------------------------------
   19. CTA bottom interna
   Base44:
   label mono small + bottone primary clipped
   --------------------------------------------------------- */

.ne-ctabottom01.uk-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  text-align: center;
}

/* Neutralizza margini YOOtheme interni */
.ne-ctabottom01 .uk-margin-top,
.ne-ctabottom01 .el-title {
  margin-top: 0 !important;
}

.ne-ctabottom01 .el-title {
  margin-bottom: 0 !important;

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.35em;

  color: rgba(242, 242, 242, 0.65) !important;
}

/* Bottone */
.ne-ctabottom01 .el-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 16px 32px;
  box-sizing: border-box;

  background: var(--ne-primary);

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.25em;

  color: #272726 !important;
  text-decoration: none !important;

  clip-path: polygon(
    12px 0%,
    100% 0%,
    calc(100% - 12px) 100%,
    0% 100%
  );

  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.ne-ctabottom01 .el-link:hover {
  background: rgba(249, 184, 6, 0.90);
  color: #272726 !important;
  text-decoration: none !important;
}

.ne-ctabottom01 .el-link svg {
  display: block;

  width: 16px;
  height: 16px;

  flex: 0 0 auto;

  stroke: currentColor;
}
/* ---------------------------------------------------------
   21. Quote panel CEO
   Glass panel, quote icon, large editorial text.
   --------------------------------------------------------- */

.quote-panel.uk-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  box-sizing: border-box;
  max-width: 840px;

  padding: 48px 56px;

  background:
    linear-gradient(
      135deg,
      rgba(59, 59, 58, 0.72) 0%,
      rgba(52, 52, 50, 0.52) 52%,
      rgba(39, 39, 38, 0.68) 100%
    );

  border: 1px solid rgba(249, 184, 6, 0.22);
  border-radius: 2px;

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* Glow interno molto leggero */
.quote-panel.uk-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(249, 184, 6, 0.16) 0%,
      rgba(249, 184, 6, 0.06) 28%,
      transparent 58%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 38%
    );

  pointer-events: none;
}

/* Bordo luminoso basso/destra */
.quote-panel.uk-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  z-index: -1;

  width: 220px;
  height: 220px;

  background: rgba(249, 184, 6, 0.10);
  filter: blur(60px);

  pointer-events: none;
}

/* Icona quote SVG */
.quote-panel .el-image.uk-svg {
  display: block;

  width: 76px;
  height: 76px;

  margin: 0 0 28px 0 !important;

  color: var(--ne-primary) !important;
  fill: currentColor;

  opacity: 0.42;

  filter:
    drop-shadow(0 10px 24px rgba(249, 184, 6, 0.24))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.18));
}

.quote-panel .el-image.uk-svg path {
  fill: currentColor;
}

/* Testo citazione */
.quote-panel .el-content.uk-panel {
  max-width: 760px;

  margin-top: 0 !important;

  font-family: var(--ne-font-body);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.18;
  font-weight: 300;

  color: rgba(255, 255, 255, 0.94) !important;
}

/* Firma */
.quote-panel .el-meta {
  position: relative;

  margin-top: 28px !important;
  padding-top: 20px;

  font-family: var(--ne-font-mono);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.22em;

  color: var(--ne-primary) !important;
}

.quote-panel .el-meta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 48px;
  height: 1px;

  background: rgba(249, 184, 6, 0.55);
}

/* Mobile */
@media (max-width: 959px) {
  .quote-panel.uk-panel {
    padding: 40px 36px;
  }

  .quote-panel .el-image.uk-svg {
    width: 64px;
    height: 64px;
    margin-bottom: 24px !important;
  }

  .quote-panel .el-content.uk-panel {
    font-size: clamp(25px, 7vw, 34px);
  }
}

@media (max-width: 639px) {
  .quote-panel.uk-panel {
    padding: 32px 28px;
  }

  .quote-panel .el-meta {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}

/* ---------------------------------------------------------
   23. Hero gradient pagine interne
   Base44:
   gradient card → background, glow primary, titolo primary
   --------------------------------------------------------- */

.ne-hero-gradient.uk-section {
  position: relative;
  overflow: hidden;

  background: var(--ne-bg) !important;
}

/* Fondo gradient + glow */
.ne-hero-gradient.uk-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(
      circle at 100% 18%,
      rgba(249, 184, 6, 0.05) 0%,
      rgba(249, 184, 6, 0.025) 18%,
      transparent 36%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(249, 184, 6, 0.035) 0%,
      rgba(249, 184, 6, 0.018) 22%,
      transparent 42%
    ),
    linear-gradient(
      to bottom,
      var(--ne-card) 0%,
      var(--ne-bg) 100%
    );

  pointer-events: none;
}

/* Contenuto sopra il fondo */
.ne-hero-gradient > .uk-container {
  position: relative;
  z-index: 1;

  max-width: var(--ne-containerbig-max);
  box-sizing: border-box;
}

/* Panel */
.ne-panel-hero-gradient.uk-panel {
  max-width: 760px;
}

.ne-panel-hero-gradient.uk-margin {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Titolo con linea superiore */
.ne-panel-hero-gradient .el-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  font-family: var(--ne-font-heading);
  font-size: 40px;
  line-height: 1.18;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.05em;

  color: var(--ne-primary) !important;
}

.ne-panel-hero-gradient .el-title::before {
  content: "";
  display: block;

  width: 32px;
  height: 1px;

  margin-bottom: 24px;

  background: var(--ne-primary);
}

@media (min-width: 768px) {
  .ne-panel-hero-gradient .el-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .ne-panel-hero-gradient .el-title {
    font-size: 60px;
  }
}

/* Testo */
.ne-panel-hero-gradient .el-content.uk-panel {
  max-width: 672px;

  margin-top: 16px !important;

  font-family: var(--ne-font-body);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;

  letter-spacing: 0.025em;

  color: rgba(242, 242, 242, 0.65) !important;
}

.ne-panel-hero-gradient .el-content p {
  margin: 0;
}

/* Mobile */
@media (max-width: 639px) {
  .ne-panel-hero-gradient .el-title {
    font-size: 36px;
  }

  .ne-panel-hero-gradient .el-content.uk-panel {
    font-size: 15px;
  }
}
/* ---------------------------------------------------------
   24. Griglia certificazioni
   Base44:
   grid 1 / 2 / 3 col, gap-8, card bg-card,
   border-border/40, hover border-primary/40,
   icon 56px, badge anno, title + description
   --------------------------------------------------------- */

.certificazioni.griglia {
  width: 100%;
}

/* Grid custom: neutralizza la griglia YOOtheme */
.certificazioni.griglia > .uk-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 32px;

  margin-left: 0 !important;
  margin-top: 0 !important;
}

.certificazioni.griglia > .uk-grid > * {
  width: auto !important;
  max-width: none !important;

  padding-left: 0 !important;
  margin-top: 0 !important;
}

.certificazioni.griglia > .uk-grid > .uk-grid-margin {
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .certificazioni.griglia > .uk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .certificazioni.griglia > .uk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Wrapper item */
.certificazioni.griglia .el-item {
  height: 100%;
}

/* Card cliccabile */
.certificazioni.griglia .uk-link-toggle {
  position: relative;

  display: flex !important;
  flex-direction: column;

  height: 100%;
  min-height: 200px;

  padding: 112px 32px 32px;
  box-sizing: border-box;

  background: var(--ne-card);

  border: 1px solid rgba(77, 77, 76, 0.40);
  border-radius: 2px;

  color: var(--ne-text) !important;
  text-decoration: none !important;

  overflow: hidden;

  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.certificazioni.griglia .uk-link-toggle:hover,
.certificazioni.griglia .uk-link-toggle:focus-visible {
  border-color: rgba(249, 184, 6, 0.40);
  background: rgba(59, 59, 58, 0.96);

  text-decoration: none !important;
}

.certificazioni.griglia .uk-link-toggle:focus-visible {
  outline: 1px solid rgba(249, 184, 6, 0.65);
  outline-offset: 4px;
}

/* Icona SVG inserita nel campo el-link */
.certificazioni.griglia .el-link {
  position: absolute;
  top: 32px;
  left: 32px;

  display: block;

  width: 56px;
  height: 56px;

  margin: 0 !important;

  line-height: 0;

  color: var(--ne-primary) !important;
  text-decoration: none !important;

  perspective: 200px;
  transform-style: preserve-3d;

  filter: drop-shadow(0 0 2px rgba(249, 184, 6, 0.20));

  transition: filter 300ms ease;
}

.certificazioni.griglia .el-link svg {
  display: block;

  width: 100%;
  height: 100%;

  transform-origin: center center;
  transform-style: preserve-3d;
}

.certificazioni.griglia .uk-link-toggle:hover .el-link,
.certificazioni.griglia .uk-link-toggle:focus-visible .el-link {
  filter:
    drop-shadow(0 0 8px rgba(249, 184, 6, 0.60))
    drop-shadow(0 0 2px rgba(249, 184, 6, 0.30));
}

.certificazioni.griglia .uk-link-toggle:hover .el-link svg,
.certificazioni.griglia .uk-link-toggle:focus-visible .el-link svg {
  animation: ne-certificazioni-spin3d 800ms linear forwards;
}

@keyframes ne-certificazioni-spin3d {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/* Badge anno */
.certificazioni.griglia .el-meta {
  position: absolute;
  top: 32px;
  right: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0 !important;

  padding: 4px 12px;
  box-sizing: border-box;

  border-radius: 2px;
  background: rgba(249, 184, 6, 0.10);

  font-family: var(--ne-font-body);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;

  color: var(--ne-primary) !important;
}

/* Titolo */
.certificazioni.griglia .el-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;

  font-family: var(--ne-font-heading);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 300;

  letter-spacing: 0.025em;

  color: var(--ne-text) !important;
}

/* Descrizione */
.certificazioni.griglia .el-content.uk-panel {
  flex: 1 1 auto;

  margin-top: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.625;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.65) !important;
}

.certificazioni.griglia .el-content p {
  margin: 0;
}

/* Mobile */
@media (max-width: 639px) {
  .certificazioni.griglia .uk-link-toggle {
    min-height: 240px;
    padding: 104px 28px 28px;
  }

  .certificazioni.griglia .el-link {
    top: 28px;
    left: 28px;

    width: 52px;
    height: 52px;
  }

  .certificazioni.griglia .el-meta {
    top: 28px;
    right: 28px;
  }
}
/* ---------------------------------------------------------
   25. Titolo con righetta
   Base44:
   flex items-center gap-4 mb-8
   line 32px primary + h2 uppercase
   --------------------------------------------------------- */

.ne-titolo-righetta {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 32px;

  font-family: var(--ne-font-heading);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 300;

  text-transform: uppercase;
  letter-spacing: 0.025em;

  color: #ffffff;
}

.ne-titolo-righetta::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 32px;
  height: 1px;

  background: var(--ne-primary);
}

@media (min-width: 768px) {
  .ne-titolo-righetta {
    font-size: 28px;
  }
}
/* ---------------------------------------------------------
   26. Bottone download sostenibilità
   Base44:
   card link border, file icon left, download icon right
   --------------------------------------------------------- */

.bottoni-sostenibilita.uk-margin {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.bottoni-sostenibilita .el-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;

  max-width: 440px;

  padding: 20px 44px 20px 24px;
  box-sizing: border-box;

  border: 1px solid rgba(77, 77, 76, 0.40);
  border-radius: 2px;

  background: rgb(47, 55, 50);

  font-family: var(--ne-font-mono);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.10em;

  color: rgba(242, 242, 242, 0.80) !important;
  text-decoration: none !important;

  transition:
    border-color 300ms ease,
    color 300ms ease,
    background-color 300ms ease;
}

.bottoni-sostenibilita .el-content:hover {
  border-color: rgba(249, 184, 6, 0.60);
  color: var(--ne-primary) !important;
  text-decoration: none !important;
}

/* Icona file a sinistra */
.bottoni-sostenibilita .el-content::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 20px;
  height: 20px;

  background-color: var(--ne-primary);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Icona download a destra */
.bottoni-sostenibilita .el-content::after {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  background-color: rgba(242, 242, 242, 0.55);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition: background-color 300ms ease;
  position: absolute;
  right: 20px;
}

.bottoni-sostenibilita .el-content:hover::after {
  background-color: var(--ne-primary);
}

@media (min-width: 960px) {
  .bottoni-sostenibilita .el-content {
    width: 440px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .bottoni-sostenibilita .el-content {
    padding: 18px 20px;

    font-size: 12px;
    letter-spacing: 0.08em;
  }
}
/* ---------------------------------------------------------
   27. Griglia contatti
   Base44:
   space-y-6, icon box 40x40, label uppercase,
   valore foreground, hover primary
   --------------------------------------------------------- */

.ne-grid-contatti {
  width: 100%;
}

/* Lista verticale: space-y-6 = 24px */
.ne-grid-contatti > .uk-grid {
  display: flex !important;
  flex-direction: column;
  gap: 24px;

  margin-left: 0 !important;
  margin-top: 0 !important;
}

.ne-grid-contatti > .uk-grid > * {
  width: 100% !important;

  padding-left: 0 !important;
  margin-top: 0 !important;
}

.ne-grid-contatti > .uk-grid > .uk-grid-margin {
  margin-top: 0 !important;
}

/* Singola riga contatto */
.ne-grid-contatti .el-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;

  margin: 0 !important;
}

/* Box icona */
.ne-grid-contatti .el-meta {
  grid-column: 1;
  grid-row: 1 / span 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  margin: 0 !important;

  border-radius: 2px;
  background: rgba(249, 184, 6, 0.10);

  color: var(--ne-primary) !important;

  transition: background-color 200ms ease;
}

.ne-grid-contatti .el-item:hover .el-meta {
  background: rgba(249, 184, 6, 0.20);
}

.ne-grid-contatti .el-meta svg {
  display: block;

  width: 20px;
  height: 20px;

  color: var(--ne-primary);
  stroke: currentColor;
}

/* Label */
.ne-grid-contatti .el-title {
  grid-column: 2;
  grid-row: 1;

  margin: 0 0 4px 0 !important;

  font-family: var(--ne-font-body);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.15em;

  color: rgba(242, 242, 242, 0.65) !important;
}

/* Valore */
.ne-grid-contatti .el-content.uk-panel {
  grid-column: 2;
  grid-row: 2;

  margin: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;

  color: var(--ne-text) !important;
}

.ne-grid-contatti .el-content p {
  margin: 0;
}

/* Link email / telefono */
.ne-grid-contatti .el-content a,
.ne-grid-contatti .el-content joomla-hidden-mail a {
  color: var(--ne-text) !important;
  text-decoration: none !important;

  transition: color 200ms ease;
}

.ne-grid-contatti .el-content a:hover,
.ne-grid-contatti .el-content joomla-hidden-mail a:hover {
  color: var(--ne-primary) !important;
  text-decoration: none !important;
}

/* Mobile */
@media (max-width: 639px) {
  .ne-grid-contatti > .uk-grid {
    gap: 22px;
  }

  .ne-grid-contatti .el-content.uk-panel {
    font-size: 15px;
  }
}
/* ---------------------------------------------------------
   28. Lista lavora con noi
   Base44:
   space-y-3, card bg-card, border-border/50,
   hover border-primary/30, p-5, title/content/meta
   --------------------------------------------------------- */

.ne-lista-lavora-connoi {
  width: 100%;
}

/* Lista verticale: space-y-3 = 12px */
.ne-lista-lavora-connoi > .uk-grid {
  display: flex !important;
  flex-direction: column;
  gap: 12px;

  margin-left: 0 !important;
  margin-top: 0 !important;
}

.ne-lista-lavora-connoi > .uk-grid > * {
  width: 100% !important;

  padding-left: 0 !important;
  margin-top: 0 !important;
}

.ne-lista-lavora-connoi > .uk-grid > .uk-grid-margin {
  margin-top: 0 !important;
}

/* Card */
.ne-lista-lavora-connoi .el-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title meta"
    "content meta";
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;

  background: var(--ne-card);

  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 2px;

  transition:
    border-color 300ms ease,
    background-color 300ms ease;
}

.ne-lista-lavora-connoi .el-item:hover {
  border-color: rgba(249, 184, 6, 0.30);
  background: rgba(59, 59, 58, 0.96);
}

/* Titolo mansione */
.ne-lista-lavora-connoi .el-title {
  grid-area: title;

  margin: 0 !important;

  font-family: var(--ne-font-heading);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.05em;

  color: var(--ne-text) !important;
}

/* Descrizione */
.ne-lista-lavora-connoi .el-content.uk-panel {
  grid-area: content;

  margin: 0 !important;

  max-width: 760px;

  font-family: var(--ne-font-body);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.65) !important;
}

.ne-lista-lavora-connoi .el-content p {
  margin: 0;
}

/* Meta destra */
.ne-lista-lavora-connoi .el-meta {
  grid-area: meta;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;

  margin: 0 !important;

  white-space: nowrap;
}

/* Badge lavoro */
.ne-lista-lavora-connoi .lavoro {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 2px 8px;
  box-sizing: border-box;

  background: rgba(249, 184, 6, 0.10);

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.20em;

  color: var(--ne-primary);
}

/* Luogo */
.ne-lista-lavora-connoi .luogo {
  display: block;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.55);
}

/* Mobile */
@media (max-width: 639px) {
  .ne-lista-lavora-connoi .el-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "content"
      "meta";
    row-gap: 8px;

    align-items: start;
  }

  .ne-lista-lavora-connoi .el-meta {
    align-items: flex-start;
    margin-top: 4px !important;
  }

  .ne-lista-lavora-connoi .el-title {
    font-size: 13px;
  }
}
/* ---------------------------------------------------------
   29. Modulo candidatura / ConvertForms
   Base44:
   form max-w-3xl, bg-card, border-border/50, p-8,
   grid fields, dark inputs, upload dashed, privacy, clipped submit
   --------------------------------------------------------- */

.modulo-contatti {
  width: 100%;
  max-width: 768px;
}

/* ---------------------------------------------------------
   Struttura form
   --------------------------------------------------------- */

.modulo-contatti .convertforms,
.modulo-contatti form,
.modulo-contatti .cf-form-wrap {
  width: 100%;
}

.modulo-contatti .cf-form-wrap {
  padding: 32px !important;
  box-sizing: border-box;

  background: var(--ne-card) !important;

  border: 1px solid rgba(77, 77, 76, 0.50);
  border-radius: 0;
}

.modulo-contatti .cf-form-wrap * {
  box-sizing: border-box;
}

.modulo-contatti .cf-field-hp {
  display: none !important;
}

/* ---------------------------------------------------------
   Grid campi
   --------------------------------------------------------- */

.modulo-contatti .cf-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;

  margin: 0 !important;
}

.modulo-contatti .cf-control-group {
  width: auto !important;
  max-width: none !important;

  float: none !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0;
}

.modulo-contatti .cf-control-group:not(.cf-one-half),
.modulo-contatti fieldset.cf-control-group,
.modulo-contatti .cf-control-group[data-type="textarea"],
.modulo-contatti .cf-control-group[data-type="fileupload"],
.modulo-contatti .cf-control-group[data-type="checkbox"],
.modulo-contatti .cf-control-group[data-type="submit"] {
  grid-column: 1 / -1;
}

/* ---------------------------------------------------------
   Label
   --------------------------------------------------------- */

.modulo-contatti .cf-control-label {
  margin: 0 0 8px 0 !important;
}

.modulo-contatti .cf-label,
.modulo-contatti legend.cf-label {
  display: block;

  margin: 0 !important;
  padding: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 12px!important;
  line-height: 1.2;
  font-weight: 600!important;

  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: rgba(255, 255, 255, 0.82) !important;
}

.modulo-contatti .cf-required-label {
  color: var(--ne-primary) !important;
}

/* ---------------------------------------------------------
   Input / textarea
   --------------------------------------------------------- */

.modulo-contatti input.cf-input:not([type="checkbox"]),
.modulo-contatti textarea.cf-input {
  display: block;

  width: 100% !important;

  margin: 0 !important;

  border: 1px solid rgba(77, 77, 76, 1) !important;
  border-radius: 6px;

  background: var(--ne-bg) !important;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;

  color: var(--ne-text) !important;

  box-shadow: none !important;
  outline: none !important;

  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.modulo-contatti input.cf-input:not([type="checkbox"]) {
  height: 36px;

  padding: 4px 12px !important;
}

.modulo-contatti textarea.cf-input {
  min-height: 104px;

  padding: 10px 12px !important;

  resize: none;
}

.modulo-contatti input.cf-input::placeholder,
.modulo-contatti textarea.cf-input::placeholder {
  color: rgba(242, 242, 242, 0.58) !important;
}

.modulo-contatti input.cf-input:not([type="checkbox"]):focus,
.modulo-contatti textarea.cf-input:focus {
  border-color: rgba(249, 184, 6, 0.65) !important;

  box-shadow:
    0 0 0 1px rgba(249, 184, 6, 0.18) !important;
}

/* ---------------------------------------------------------
   Upload CV
   --------------------------------------------------------- */

.modulo-contatti .tf-file-upload-editor {
  width: 100%;

  border: 0 !important;

  background: var(--ne-bg) !important;
  color: rgba(242, 242, 242, 0.65) !important;

  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.modulo-contatti .tf-file-upload-editor:hover,
.modulo-contatti .tf-file-upload-editor.dz-drag-hover {
  border-color: rgba(249, 184, 6, 0.50) !important;
  background: rgba(52, 52, 50, 0.92) !important;
}

.modulo-contatti .tf-file-upload-editor .dz-message {
  border: 1px solid rgba(77, 77, 76, 1) !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;

  min-height: 52px;

  margin: 0 !important;
  padding: 12px 16px !important;

  background: transparent !important;
  color: rgba(242, 242, 242, 0.65) !important;

  text-align: left;

  cursor: pointer;
}

.modulo-contatti .tf-file-upload-editor .dz-message svg {
  display: block;
  flex: 0 0 auto;

  width: 18px;
  height: 18px;

  color: var(--ne-primary) !important;
}

.modulo-contatti .tf-file-upload-editor .drag-and-drop-text {
  display: none !important;
}

.modulo-contatti .tf-file-upload-editor .dz-message::after {
  content: "Clicca per selezionare il file";

  display: block;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.72) !important;
}

.modulo-contatti .tf-file-upload-editor .max-file-size {

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.45) !important;
}

.modulo-contatti .tf-file-upload-editor--items {
  padding: 0 16px 14px;

  background: transparent !important;
  color: rgba(242, 242, 242, 0.70) !important;
}

.modulo-contatti .tf-file-upload-editor--items:empty {
  display: none;
}

/* ---------------------------------------------------------
   Privacy
   --------------------------------------------------------- */

.modulo-contatti fieldset.cf-control-group {
  min-width: 0;
}

.modulo-contatti fieldset.cf-control-group > legend.cf-label {
  margin-bottom: 8px !important;
}

.modulo-contatti .cf-list {
  margin: 0 !important;
}

.modulo-contatti .cf-checkbox-group {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;

  margin: 0 !important;
}

.modulo-contatti input[type="checkbox"].cf-input {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  margin: 2px 0 0 0 !important;

  accent-color: var(--ne-primary);

  cursor: pointer;
}

.modulo-contatti .cf-checkbox-group label.cf-label {
  flex: 1 1 auto;

  font-family: var(--ne-font-body);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;

  text-transform: none;
  letter-spacing: 0;

  color: rgba(242, 242, 242, 0.68) !important;
}

.modulo-contatti .cf-checkbox-group label.cf-label a {
  color: var(--ne-primary) !important;
  text-decoration: none !important;
}

.modulo-contatti .cf-checkbox-group label.cf-label a:hover {
  text-decoration: underline !important;
}

/* ---------------------------------------------------------
   Submit
   --------------------------------------------------------- */

.modulo-contatti .cf-control-group[data-type="submit"] {
  margin-top: 4px !important;
}

.modulo-contatti .cf-text-left {
  text-align: left !important;
}

.modulo-contatti .cf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 40px;

  padding: 12px 40px !important;
  box-sizing: border-box;

  border: 0 !important;
  border-radius: 0 !important;

  background: var(--ne-primary) !important;

  font-family: var(--ne-font-mono);
  font-size: 12px!important;
  line-height: 1.2;
  font-weight: 700!important;

  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: #272726 !important;

  box-shadow: none !important;

  cursor: pointer;

  clip-path: polygon(
    10px 0%,
    100% 0%,
    calc(100% - 10px) 100%,
    0% 100%
  );

  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.modulo-contatti .cf-btn:hover,
.modulo-contatti .cf-btn:focus-visible {
  background: rgba(249, 184, 6, 0.90) !important;
  color: #272726 !important;
}

.modulo-contatti .cf-btn::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 14px;
  height: 14px;

  background-color: currentColor;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.modulo-contatti .cf-btn-text {
  display: block;
}

.modulo-contatti .cf-spinner-container {
  margin-left: 4px;
}

/* ---------------------------------------------------------
   Response
   --------------------------------------------------------- */

.modulo-contatti .cf-response {
  margin: 0 0 20px 0 !important;

  font-family: var(--ne-font-body);
  font-size: 14px;
  line-height: 1.5;

  color: var(--ne-text);
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 639px) {
  .modulo-contatti .cf-form-wrap {
    padding: 28px !important;
  }

  .modulo-contatti .cf-fields {
    grid-template-columns: 1fr;
  }

  .modulo-contatti .cf-control-group,
  .modulo-contatti .cf-control-group.cf-one-half {
    grid-column: 1 / -1;
  }

  .modulo-contatti .tf-file-upload-editor .dz-message {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .modulo-contatti .tf-file-upload-editor .max-file-size {
    margin-left: 0;
  }

  .modulo-contatti .cf-btn {
    width: 100% !important;
  }
}
/* ---------------------------------------------------------
   31. Header progetto
   Base44:
   min-h 70vh, background image, overlay gradient,
   content bottom, dettagli mono, titolo huge.
   --------------------------------------------------------- */

.ne-progetto-header {
  position: relative;
  overflow: hidden;

  background: var(--ne-bg) !important;
}

/* Section interna YOOtheme con background image */
.ne-progetto-header > .uk-section {
  position: relative;
  overflow: hidden;

  min-height: 70vh;

  background-color: var(--ne-bg) !important;
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: flex-end !important;
}

/* Overlay gradient sopra immagine */
.ne-progetto-header > .uk-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      to top,
      rgba(52, 52, 50, 1) 0%,
      rgba(52, 52, 50, 0.60) 48%,
      rgba(52, 52, 50, 0.20) 100%
    );

  pointer-events: none;
}

/* Contenuti sopra overlay */
.ne-progetto-header > .uk-section > .uk-width-1-1,
.ne-progetto-header .uk-container,
.ne-progetto-header .tm-grid-expand,
.ne-progetto-header .uk-panel {
  position: relative;
  z-index: 1;
}

/* Container Base44 max-w-7xl px-8 / lg:px-16 */
.ne-progetto-header .uk-container {
  max-width: var(--ne-containerbig-max);
  box-sizing: border-box;

  padding-left: 32px;
  padding-right: 32px;
}

@media (min-width: 960px) {
  .ne-progetto-header .uk-container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* Reset margini YOOtheme interni */
.ne-progetto-header .uk-grid-margin,
.ne-progetto-header .tm-grid-expand {
  margin-top: 0 !important;
}

.ne-progetto-header .uk-width-1-1 {
  min-width: 0;
}

/* Dettagli progetto: lineetta + meta */
.ne-progetto-dettagli {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 24px;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.35em;

  color: var(--ne-primary);
}

.ne-progetto-dettagli::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 32px;
  height: 1px;

  margin-right: 8px;

  background: var(--ne-primary);
}

.ne-progetto-dettagli .el-item,
.ne-progetto-dettagli .el-content {
  display: inline;
}

.ne-progetto-dettagli a {
  color: inherit !important;
  text-decoration: none !important;
}

.ne-progetto-dettagli a:hover {
  color: #ffffff !important;
}

/* Titolo */
.ne-progetto-titolo {
  max-width: 1152px;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  font-family: var(--ne-font-heading);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: -0.025em;

  color: var(--ne-text) !important;
}

.ne-progetto-titolo span {
  color: var(--ne-primary);
}

@media (min-width: 768px) {
  .ne-progetto-titolo {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .ne-progetto-titolo {
    font-size: 96px;
  }
}

/* Descrizione subito dopo il titolo */
.ne-progetto-titolo + .uk-panel {
  max-width: 576px;

  margin-top: 24px !important;
  margin-bottom: 0 !important;

  font-family: var(--ne-font-body);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.65) !important;
}

/* Mobile */
@media (max-width: 639px) {
  .ne-progetto-header .uk-container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .ne-progetto-dettagli {
    gap: 6px;

    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .ne-progetto-titolo {
    font-size: 44px;
  }

  .ne-progetto-titolo + .uk-panel {
    font-size: 15px;
  }
}
/* ---------------------------------------------------------
   32. Back button testuale
   Base44:
   inline-flex, icon left, mono 10px, uppercase,
   tracking 0.25em, muted → primary hover.
   --------------------------------------------------------- */

.ne-button-back {
  display: inline-flex;
}

.ne-button-back .el-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.25em;

  color: rgba(242, 242, 242, 0.65) !important;
  text-decoration: none !important;

  transition: color 200ms ease;
}

.ne-button-back .el-content:hover {
  color: var(--ne-primary) !important;
  text-decoration: none !important;
}

.ne-button-back .el-content svg {
  display: block;

  width: 14px;
  height: 14px;

  flex: 0 0 auto;

  stroke: currentColor;
}

/* ---------------------------------------------------------
   30. Project list / gallery rows
   Base44:
   image/content split, min-h 60vh, alternating rows,
   image zoom hover, border primary, number + line.
   --------------------------------------------------------- */

.ne-project-list {
  background: var(--ne-bg) !important;
}

/* Full bleed dentro la section specifica */
.ne-project-list > .uk-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.ne-project-list .tm-grid-expand,
.ne-project-list .uk-grid-margin,
.ne-project-list .uk-width-1-1 {
  margin-top: 0 !important;
}

/* Riga progetto */
.ne-project-list .ne-project-row.uk-panel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "image"
    "number"
    "meta"
    "content";

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  background: var(--ne-bg);

  border-bottom: 1px solid rgba(77, 77, 76, 0.20);

  overflow: hidden;
}

/* Immagine cliccabile */
.ne-project-list .ne-project-row > a {
  position: relative;
  isolation: isolate;

  grid-area: image;

  display: block;

  width: 100%;
  height: 288px;

  overflow: hidden;

  cursor: zoom-in;
  text-decoration: none !important;
}

/* Immagine come background reale */
.ne-project-list .ne-project-row > a .el-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);
  transition: transform 700ms ease;
}

/* Bordo hover */
.ne-project-list .ne-project-row > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  border: 0 solid var(--ne-primary);

  pointer-events: none;

  transition: border-width 300ms ease;
}

/* Icona freccia hover */
.ne-project-list .ne-project-row > a::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;

  display: block;

  width: 24px;
  height: 24px;

  background-color: var(--ne-primary);

  opacity: 0;

  transform: translateY(4px);

  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

/* Icona arrow-right Lucide */
/* Icona freccia hover generata via JS */
.ne-project-list .ne-project-arrow {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  background: var(--ne-primary);

  color: #272726;

  opacity: 0;

  transform: translateY(4px);

  pointer-events: none;

  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.ne-project-list .ne-project-arrow svg {
  display: block;

  width: 16px;
  height: 16px;

  stroke: currentColor;

  transform: translateX(0);

  transition: transform 300ms ease;
}

.ne-project-list .ne-project-row > a:hover .ne-project-arrow {
  opacity: 1;
}

.ne-project-list .ne-project-row > a:hover .ne-project-arrow svg {
}
.ne-project-list .ne-project-row > a:hover .el-image {
  transform: scale(1.05);
}

.ne-project-list .ne-project-row > a:hover::before {
  border-width: 4px;
}
/* Numero + linea */
.ne-project-list .ne-project-row .el-title {
  grid-area: number;

  display: flex;
  align-items: center;
  gap: 16px;

  margin: 0 0 32px 0 !important;
  padding: 44px 32px 0;

  font-family: var(--ne-font-heading);
  font-size: 64px;
  line-height: 1;
  font-weight: 700;

  color: rgba(77, 77, 76, 0.30) !important;

  user-select: none;
}

.ne-project-list .ne-project-row .el-title::after {
  content: "";
  display: block;
  flex: 1 1 auto;

  height: 1px;

  background: rgba(77, 77, 76, 0.30);
}

/* Categoria */
.ne-project-list .ne-project-row .el-meta {
  grid-area: meta;

  margin: 0 0 12px 0 !important;
  padding: 0 32px;

  font-family: var(--ne-font-mono);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.30em;

  color: var(--ne-primary) !important;
}

/* Testo */
.ne-project-list .ne-project-row .el-content.uk-panel {
  grid-area: content;

  margin: 0 !important;
  padding: 0 32px 48px;

  max-width: 720px;

  font-family: var(--ne-font-body);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.65) !important;
}

.ne-project-list .ne-project-row .el-content p {
  margin: 0;
}

/* Desktop: split + alternanza */
@media (min-width: 960px) {
  .ne-project-list .ne-project-row.uk-panel {
    min-height: 60vh;

    grid-template-columns: 55% 45%;
    grid-template-rows:
      minmax(0, 1fr)
      auto
      auto
      auto
      minmax(0, 1fr);

    grid-template-areas:
      "image ."
      "image number"
      "image meta"
      "image content"
      "image .";
  }

  .ne-project-list .uk-width-1-1 > .ne-project-row:nth-of-type(even) {
    grid-template-columns: 45% 55%;
    grid-template-areas:
      ". image"
      "number image"
      "meta image"
      "content image"
      ". image";
  }

  .ne-project-list .ne-project-row > a {
    height: 100%;
    min-height: 60vh;
  }

  .ne-project-list .ne-project-row .el-title {
    padding: 0 64px;
  }

  .ne-project-list .ne-project-row .el-meta {
    padding: 0 64px;
  }

  .ne-project-list .ne-project-row .el-content.uk-panel {
    padding: 0 64px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .ne-project-list .ne-project-row > a {
    height: 240px;
  }

  .ne-project-list .ne-project-row .el-title {
    padding: 36px 28px 0;
    margin-bottom: 28px !important;

    font-size: 54px;
  }

  .ne-project-list .ne-project-row .el-meta {
    padding: 0 28px;
  }

  .ne-project-list .ne-project-row .el-content.uk-panel {
    padding: 0 28px 40px;

    font-size: 15px;
  }
}
.uk-lightbox.uk-lightbox-panel {
  background: rgba(52, 52, 50, 0.45) !important;

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
/* Caption */
.uk-lightbox .uk-lightbox-caption:empty {
  display: none !important;
}

.uk-lightbox .uk-lightbox-caption {
  z-index: 2;

  left: 96px !important;
  right: 96px !important;
  bottom: 24px !important;

  width: auto !important;

  padding: 0 !important;

  text-align: left !important;
  background: transparent;
}

.uk-lightbox .ne-lightbox-caption-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: 100%;
  max-width: 1024px;

  margin-left: auto;
  margin-right: auto;
}

.uk-lightbox .ne-lightbox-caption-title {
  display: block;

  min-width: 0;

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.20em;

  color: var(--ne-primary);
}

.uk-lightbox .ne-lightbox-caption-count {
  display: block;
  flex: 0 0 auto;

  font-family: var(--ne-font-mono);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;

  color: rgba(242, 242, 242, 0.55);
}

@media (max-width: 767px) {
  .uk-lightbox .uk-lightbox-caption {
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
  }

  .uk-lightbox .ne-lightbox-caption-inner {
    gap: 16px;
  }

  .uk-lightbox .ne-lightbox-caption-title,
  .uk-lightbox .ne-lightbox-caption-count {
    font-size: 10px;
  }
}