 /* ============================================================
       CSS VARIABLES & RESET
    ============================================================ */
    :root {
      --red:        #00bb35;
      --red-dark:   #00a043;
      --red-light:  #00ff1e;
      --green:      #2D6A4F;
      --green-mid:  #40916C;
      --green-light:#52B788;
      --white:      #FFFFFF;
      --off-white:  #F5F5F0;
      --light-grey: #E8E8E2;
      --mid-grey:   #9A9A9A;
      --dark:       #1A1A1A;
      --darker:     #111111;
      --section-pad: 96px 0;
      --radius:     4px;
      --shadow:     0 4px 24px rgba(0,0,0,0.10);
      --shadow-lg:  0 12px 48px rgba(0,0,0,0.16);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: 'Barlow', sans-serif;
      color: var(--dark);
      background: var(--white);
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ============================================================
       TYPOGRAPHY
    ============================================================ */
    h1, h2, h3, h4, h5 {
      font-family: 'Barlow Condensed', sans-serif;
      line-height: 1.1;
      letter-spacing: -0.01em;
    }

    .section-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .section-label::after {
      content: '';
      display: inline-block;
      width: 32px;
      height: 2px;
      background: var(--red);
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3.4rem);
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 16px;
    }

    .section-subtitle {
      font-size: 1.1rem;
      font-weight: 400;
      color: #555;
      max-width: 560px;
      line-height: 1.65;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: var(--radius);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.22s ease;
    }
    .btn-primary {
      background: var(--red);
      color: var(--white);
      border-color: var(--red);
    }
    .btn-primary:hover {
      background: var(--red-dark);
      border-color: var(--red-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(200,16,46,0.35);
    }
    .btn-outline {
      background: transparent;
      color: var(--white);
      border-color: rgba(255,255,255,0.55);
    }
    .btn-outline:hover {
      background: var(--white);
      color: var(--dark);
      border-color: var(--white);
    }
    .btn-green {
      background: var(--green);
      color: var(--white);
      border-color: var(--green);
    }
    .btn-green:hover {
      background: var(--green-mid);
      border-color: var(--green-mid);
      transform: translateY(-2px);
    }
    .btn-dark {
      background: var(--dark);
      color: var(--white);
      border-color: var(--dark);
    }
    .btn-dark:hover {
      background: #333;
      transform: translateY(-2px);
    }

    /* ============================================================
       NAVBAR
    ============================================================ */
    #navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      padding: 0;
    }
    #navbar.scrolled {
      background: var(--darker);
      box-shadow: 0 2px 20px rgba(0,0,0,0.35);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      padding: 0 32px;
      max-width: 1320px;
      margin: 0 auto;
    }

    /* Logo area */
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .nav-logo-icon {
      width: 42px;
      height: 42px;
      background: var(--red);
      border-radius: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.15rem;
      font-weight: 800;
      color: white;
      letter-spacing: 0.02em;
      flex-shrink: 0;
    }
    .nav-logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }
    .nav-logo-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: 0.03em;
    }
    .nav-logo-sub {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.55);
      font-weight: 400;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* Nav links */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.78);
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--red);
      transition: width 0.22s ease;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-links a:hover::after { width: 100%; }

    .nav-cta {
      background: var(--red) !important;
      color: white !important;
      padding: 9px 20px;
      border-radius: var(--radius);
      font-size: 0.88rem !important;
    }
    .nav-cta::after { display: none !important; }
    .nav-cta:hover { background: var(--red-dark) !important; }

    /* Hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }
    .nav-toggle span {
      display: block;
      width: 26px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s;
    }

    /* Mobile menu */
    .nav-mobile {
      display: none;
      flex-direction: column;
      background: var(--darker);
      padding: 16px 32px 24px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-mobile a {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.78);
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: color 0.2s;
    }
    .nav-mobile a:hover { color: var(--red); }
    .nav-mobile.open { display: flex; }

    /* ============================================================
       TOP BAR
    ============================================================ */
    .top-bar {
      background: var(--darker);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding: 7px 0;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.55);
    }
    .top-bar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 6px;
    }
    .top-bar span { display: flex; align-items: center; gap: 6px; }
    .top-bar a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
    .top-bar a:hover { color: var(--red); }

    /* ============================================================
       HERO
    ============================================================ */
    #home {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      padding-top: 140px;
      padding-bottom: 80px;
    }

    /* Geometric background */
    .hero-bg {
      position: absolute;
      inset: 0;
      background: var(--darker);
      z-index: 0;
    }
    .hero-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(18, 207, 4, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(45,106,79,0.12) 0%, transparent 60%);
    }
    /* Diagonal stripe accent */
    .hero-bg::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 42%;
      height: 100%;
      background: rgba(255,255,255,0.025);
      clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }

    /* Animated grid lines */
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 760px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(200,16,46,0.15);
      border: 1px solid rgba(200,16,46,0.35);
      padding: 6px 16px;
      border-radius: 100px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #7df081;
      margin-bottom: 28px;
    }
    .hero-badge i { font-size: 0.9rem; }

    .hero-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(3rem, 8vw, 6rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1;
      margin-bottom: 10px;
      opacity: 0;
      transform: translateY(24px);
      animation: fadeUp 0.7s 0.1s forwards;
    }
    .hero-title .accent { color: var(--red); }

    .hero-subtitle {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(1.4rem, 3.5vw, 2.4rem);
      font-weight: 300;
      color: rgba(255,255,255,0.6);
      margin-bottom: 28px;
      letter-spacing: 0.01em;
      opacity: 0;
      transform: translateY(24px);
      animation: fadeUp 0.7s 0.25s forwards;
    }

    .hero-desc {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.6);
      max-width: 540px;
      line-height: 1.7;
      margin-bottom: 40px;
      opacity: 0;
      transform: translateY(24px);
      animation: fadeUp 0.7s 0.4s forwards;
    }

    .hero-buttons {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(24px);
      animation: fadeUp 0.7s 0.55s forwards;
    }

    /* Stats bar */
    .hero-stats {
      position: relative;
      z-index: 1;
      display: flex;
      gap: 48px;
      margin-top: 72px;
      padding-top: 40px;
      border-top: 1px solid rgba(255,255,255,0.1);
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 0.7s 0.7s forwards;
    }
    .hero-stat-item { display: flex; flex-direction: column; }
    .hero-stat-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2.6rem;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
    }
    .hero-stat-num span { color: var(--red); }
    .hero-stat-label {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* Scroll indicator */
    .hero-scroll {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: rgba(255,255,255,0.3);
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-family: 'Barlow Condensed', sans-serif;
      animation: bounce 2s infinite;
      z-index: 1;
    }
    .hero-scroll i { font-size: 1.3rem; }

    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(-8px); }
    }

    /* ============================================================
       SERVICES STRIP (below hero)
    ============================================================ */
    .services-strip {
      background: var(--red);
      padding: 0;
      overflow: hidden;
    }
    .services-strip-inner {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
    }
    .strip-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 20px 24px;
      border-right: 1px solid rgba(255,255,255,0.2);
      transition: background 0.2s;
      cursor: default;
    }
    .strip-item:last-child { border-right: none; }
    .strip-item:hover { background: var(--red-dark); }
    .strip-item i {
      font-size: 1.5rem;
      color: rgba(255,255,255,0.7);
      flex-shrink: 0;
    }
    .strip-item-text {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: white;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      line-height: 1.2;
    }

    /* ============================================================
       CHI SIAMO
    ============================================================ */
    #chi-siamo {
      padding: var(--section-pad);
      background: var(--off-white);
    }

    .chisiamo-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .chisiamo-img-block {
      position: relative;
    }
    .chisiamo-img-main {
      width: 100%;
      height: 480px;
      background: linear-gradient(135deg, #2D6A4F 0%, #40916C 50%, #1B4332 100%);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1rem;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      position: relative;
      overflow: hidden;
    }
    .chisiamo-img-main::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                         linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 30px 30px;
    }
    .img-placeholder-label {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 20px;
    }
    .img-placeholder-label i { font-size: 3rem; display: block; margin-bottom: 12px; opacity: 0.4; }

    /* Floating badge */
    .chisiamo-badge {
      position: absolute;
      bottom: -28px;
      right: -24px;
      background: var(--red);
      color: white;
      border-radius: 6px;
      padding: 20px 24px;
      text-align: center;
      box-shadow: var(--shadow-lg);
    }
    .chisiamo-badge-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2.8rem;
      font-weight: 800;
      line-height: 1;
    }
    .chisiamo-badge-text {
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.85;
      margin-top: 4px;
    }

    @media (max-width: 768px) {
  .img-card {
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .img-card img {
    height: auto !important;
  }
}

    /* Valori */
    .valori-list {
      margin-top: 40px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .valore-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid var(--light-grey);
    }
    .valore-item:last-child { border-bottom: none; }
    .valore-icon {
      width: 42px;
      height: 42px;
      background: var(--red);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: white;
      font-size: 1.15rem;
    }
    .valore-text h4 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 3px;
    }
    .valore-text p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.55;
    }

    .img-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

    /* ============================================================
       SERVIZI
    ============================================================ */
    #servizi {
      padding: var(--section-pad);
      background: var(--white);
    }

    .servizi-header {
      text-align: center;
      margin-bottom: 60px;
    }
    .servizi-header .section-label { justify-content: center; }
    .servizi-header .section-label::after { display: none; }
    .servizi-header .section-label::before {
      content: '';
      display: inline-block;
      width: 32px;
      height: 2px;
      background: var(--red);
    }
    .servizi-header .section-subtitle { margin: 0 auto; text-align: center; }

    .servizi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .servizio-card {
      background: var(--off-white);
      border-radius: 6px;
      padding: 36px 28px;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border-bottom: 3px solid transparent;
    }
    .servizio-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-bottom-color: var(--red);
    }

    /* Top accent line */
    .servizio-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--red), var(--red-light));
      opacity: 0;
      transition: opacity 0.25s;
    }
    .servizio-card:hover::before { opacity: 1; }

    .servizio-icon {
      width: 56px;
      height: 56px;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
    .icon-red { background: rgba(200,16,46,0.1); color: var(--red); }
    .icon-green { background: rgba(45,106,79,0.1); color: var(--green); }
    .icon-orange { background: rgba(220,100,0,0.1); color: #e07820; }
    .icon-blue { background: rgba(0,80,180,0.1); color: #1456b8; }
    .icon-teal { background: rgba(0,130,130,0.08); color: #0d7b7b; }

    .servizio-card h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .servizio-card p {
      font-size: 0.92rem;
      color: #666;
      line-height: 1.65;
      margin-bottom: 20px;
    }

    .servizio-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .servizio-list li {
      font-size: 0.88rem;
      color: #555;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .servizio-list li i {
      color: var(--green-mid);
      margin-top: 2px;
      flex-shrink: 0;
    }

    /* Full-width card variant */
    .servizio-card.full-width {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 28px;
      align-items: start;
    }

    /* ============================================================
       PERCHÉ SCEGLIERCI
    ============================================================ */
    #perche {
      padding: var(--section-pad);
      background: var(--darker);
      position: relative;
      overflow: hidden;
    }
    #perche::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 100% at 100% 50%, rgba(200,16,46,0.1) 0%, transparent 65%);
    }

    #perche .section-title { color: var(--white); }
    #perche .section-subtitle { color: rgba(255,255,255,0.55); }

    .perche-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    @media (max-width: 768px) {
  .perche-right {
    display: none;
  }
}

  .perche-right img {
    width: 70%;
    max-width: 220px;
    margin: 0 auto;
  }


    .perche-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .perche-item {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 6px;
      padding: 24px 20px;
      transition: background 0.2s, border-color 0.2s;
    }
    .perche-item:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(10, 207, 0, 0.84);
    }
    .perche-item i {
      font-size: 1.8rem;
      color: var(--red);
      margin-bottom: 12px;
    }
    .perche-item h4 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 6px;
    }
    .perche-item p {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.6;
    }

    .perche-right {
      position: relative;
    }
    .perche-img {
      width: 100%;
      height: 460px;
      background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.2);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border: 1px solid rgba(255,255,255,0.06);
      overflow: hidden;
    }
    .perche-img-label { text-align: center; }
    .perche-img-label i { font-size: 2.5rem; display: block; margin-bottom: 10px; opacity: 0.2; }

    /* Certifications box */
    .perche-cert {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--red);
      border-radius: 6px;
      padding: 18px 22px;
      box-shadow: var(--shadow-lg);
    }
    .perche-cert-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .perche-cert-items { display: flex; flex-direction: column; gap: 6px; }
    .perche-cert-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      color: white;
      font-weight: 500;
    }
    .perche-cert-item i { font-size: 1rem; }


    .perche-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.perche-right img {
  width: 130%;
  max-width: none;
  margin-top: -50px;
}

    /* ============================================================
       PORTFOLIO / LAVORI
    ============================================================ */
    #lavori {
      padding: var(--section-pad);
      background: var(--off-white);
    }

    .lavori-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 48px;
      flex-wrap: wrap;
      gap: 20px;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .portfolio-grid .large { grid-column: span 2; }

    .portfolio-item {
      position: relative;
      border-radius: 6px;
      overflow: hidden;
      aspect-ratio: 4/3;
      cursor: pointer;
      background: var(--light-grey);
    }
    .portfolio-item.large { aspect-ratio: 16/9; }

    .portfolio-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #ddd 0%, #c8c8c8 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.4s ease;
    }
    .portfolio-item:hover .portfolio-placeholder { transform: scale(1.05); }

    .portfolio-placeholder-inner {
      text-align: center;
      color: #999;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .portfolio-placeholder-inner i { font-size: 2rem; display: block; margin-bottom: 8px; }

    .portfolio-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 55%);
      display: flex;
      align-items: flex-end;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .portfolio-item:hover .portfolio-overlay { opacity: 1; }

    .portfolio-overlay-text {
      font-family: 'Barlow Condensed', sans-serif;
      color: white;
    }
    .portfolio-overlay-text span {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--red);
      display: block;
      margin-bottom: 4px;
    }
    .portfolio-overlay-text h4 {
      font-size: 1.25rem;
      font-weight: 700;
    }


    


    

    /* ============================================================
       CTA BANNER
    ============================================================ */
    .cta-banner {
      background: var(--red);
      padding: 72px 0;
      position: relative;
      overflow: hidden;
    }
    .cta-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                         linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .cta-banner-inner {
      position: relative;
      z-index: 1;
      text-align: center;
    }
    .cta-banner h2 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 800;
      color: white;
      margin-bottom: 12px;
    }
    .cta-banner p {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.75);
      margin-bottom: 36px;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-banner-buttons {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-white {
      background: white;
      color: var(--red);
      border-color: white;
    }
    .btn-white:hover {
      background: var(--off-white);
      transform: translateY(-2px);
    }

    /* ============================================================
       CONTATTI
    ============================================================ */
    #contatti {
      padding: var(--section-pad);
      background: var(--white);
    }

    .contatti-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 64px;
      align-items: start;
    }

    .contatto-info-list {
      margin-top: 36px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .contatto-info-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 20px 0;
      border-bottom: 1px solid var(--light-grey);
    }
    .contatto-info-item:last-child { border-bottom: none; }
    .contatto-info-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.2rem;
    }
    .ci-red { background: rgba(200,16,46,0.1); color: var(--red); }
    .ci-green { background: rgba(45,106,79,0.1); color: var(--green); }
    .ci-dark { background: rgba(26,26,26,0.07); color: var(--dark); }

    .contatto-info-text { display: flex; flex-direction: column; }
    .contatto-info-text span:first-child {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--mid-grey);
      margin-bottom: 4px;
    }
    .contatto-info-text a,
    .contatto-info-text strong {
      font-size: 1rem;
      font-weight: 600;
      color: var(--dark);
      transition: color 0.2s;
    }
    

    /* Orari */
    .orari-box {
      background: var(--off-white);
      border-radius: 6px;
      padding: 24px;
      margin-top: 28px;
    }
    .orari-box h4 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .orari-box h4 i { color: var(--red); }
    .orari-row {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px solid var(--light-grey);
      font-size: 0.9rem;
    }
    .orari-row:last-child { border-bottom: none; }
    .orari-row span:first-child { color: #666; }
    .orari-row span:last-child { font-weight: 600; }
    .closed { color: var(--mid-grey) !important; }

    /* Form */
    .contact-form {
      background: var(--off-white);
      border-radius: 6px;
      padding: 40px;
    }
    .contact-form h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.7rem;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .contact-form > p {
      font-size: 0.92rem;
      color: #666;
      margin-bottom: 28px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 16px;
    }
    .form-group label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #555;
      margin-bottom: 6px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 12px 14px;
      border: 1.5px solid var(--light-grey);
      border-radius: var(--radius);
      font-family: 'Barlow', sans-serif;
      font-size: 0.95rem;
      color: var(--dark);
      background: var(--white);
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
    }
    .form-group textarea { resize: vertical; min-height: 120px; }

    .form-privacy {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.82rem;
      color: #666;
      margin-bottom: 20px;
      cursor: pointer;
    }
    .form-privacy input { margin-top: 2px; accent-color: var(--red); }

    .form-success {
      display: none;
      background: rgba(45,106,79,0.08);
      border: 1.5px solid var(--green-mid);
      border-radius: var(--radius);
      padding: 16px;
      color: var(--green);
      font-weight: 600;
      font-size: 0.95rem;
      margin-top: 16px;
      align-items: center;
      gap: 10px;
    }
    .form-success.show { display: flex; }

    /* ============================================================
       FOOTER
    ============================================================ */
    footer {
      background: var(--darker);
      padding: 60px 0 0;
      color: rgba(255,255,255,0.6);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-brand .nav-logo { margin-bottom: 16px; }
    .footer-brand p {
      font-size: 0.88rem;
      line-height: 1.65;
      color: rgba(255,255,255,0.45);
      max-width: 280px;
    }
    .footer-brand .piva {
      margin-top: 14px;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.3);
    }

    .footer-col h4 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 16px;
    }
    .footer-col ul { display: flex; flex-direction: column; gap: 8px; }
    .footer-col ul li a {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.45);
      transition: color 0.2s;
    }
    .footer-col ul li a:hover { color: var(--red); }

    .footer-col address {
      font-style: normal;
      font-size: 0.88rem;
      line-height: 1.65;
      color: rgba(255,255,255,0.45);
    }
    .footer-col address a {
      color: rgba(255,255,255,0.6);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }
    .footer-col address a:hover { color: var(--red); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 20px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.3);
    }
    .footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
    .footer-bottom a:hover { color: var(--red); }

    /* ============================================================
       SCROLL ANIMATIONS
    ============================================================ */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ============================================================
       BACK TO TOP
    ============================================================ */
    #back-to-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 44px;
      height: 44px;
      background: var(--red);
      color: white;
      border: none;
      border-radius: var(--radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translateY(16px);
      transition: all 0.3s;
      z-index: 999;
    }
    #back-to-top.visible {
      opacity: 1;
      transform: translateY(0);
    }
    #back-to-top:hover { background: var(--red-dark); }

    /* ============================================================
       PLACEHOLDER HIGHLIGHT (makes missing content very visible)
    ============================================================ */
    .ph {
      background: #fff3cd;
      color: #856404;
      border: 1.5px dashed #ffc107;
      border-radius: 3px;
      padding: 1px 6px;
      font-size: 0.85em;
      font-weight: 700;
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 1024px) {
      .servizi-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .perche-grid { grid-template-columns: 1fr; gap: 48px; }
      .perche-features { order: 2; }
      .perche-right { order: 1; }
    }

    @media (max-width: 860px) {
      :root { --section-pad: 72px 0; }
      .chisiamo-grid { grid-template-columns: 1fr; gap: 56px; }
      .chisiamo-badge { right: 16px; }
      .contatti-grid { grid-template-columns: 1fr; }
      .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
      .portfolio-grid .large { grid-column: span 2; }
      .services-strip-inner { grid-template-columns: repeat(3, 1fr); }
      .services-strip-inner .strip-item:nth-child(4),
      .services-strip-inner .strip-item:nth-child(5) { border-right: none; }
      .form-row { grid-template-columns: 1fr; }
    }

    @media (max-width: 640px) {
      .nav-links { display: none; }
      .nav-toggle { display: flex; }
      .nav-inner { padding: 0 20px; }
      .services-strip-inner { grid-template-columns: 1fr 1fr; }
      .servizi-grid { grid-template-columns: 1fr; }
      .perche-features { grid-template-columns: 1fr; }
      .portfolio-grid { grid-template-columns: 1fr; }
      .portfolio-grid .large { grid-column: span 1; }
      .footer-grid { grid-template-columns: 1fr; }
      .contact-form { padding: 28px 20px; }
      .hero-stats { gap: 28px; }
      .lavori-header { flex-direction: column; align-items: flex-start; }
      .top-bar .right-info { display: none; }
      .servizio-card.full-width { grid-template-columns: 1fr; }
    }

    @media (max-width: 420px) {
      .services-strip-inner { grid-template-columns: 1fr; }
    }

    #whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
  

  height: 60px;
  padding: 0 18px;

  background: #25D366;
  color: #fff;

  border-radius: 16px; /* 👈 NON più ovale */
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);

  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700; /* 👈 più spesso */

  text-decoration: none;

  overflow: hidden;
  max-width: 60px;

  transition: all 0.3s ease;
}

#whatsapp-float svg {
  width: 34px;   /* 👈 più grande */
  height: 34px;
  display: block;
}

#whatsapp-float .wa-label {
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease;
  
}

#whatsapp-float:hover {
  max-width: 260px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  transform: translateY(-2px);
}

#whatsapp-float:hover .wa-label {
  max-width: 200px;
  opacity: 1;
  margin-left: 12px;
}

