@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

/* ============================================================
   WEUNIT DESIGN SYSTEM — CSS Variables (da theme.css WeUnit)
   ============================================================ */
:root {
  --theme-color:      #eb8220;
  --bg-primary:       #ffffff;
  --bg-secondary:     #d9d9d9;
  --bg-input:         #efefef;
  --border-input:     #d9d9d9;
  --text-input:       #424242;
  --text-placeholder: #97979b;
  --shadow-md:        0 0 20px rgba(0, 0, 0, 0.1);
  --primary-text:     #212529;
  --secondary-text:   #8f8e93;
  --text-color:       #121212;
  --bg-footer-left:   #949398;
  --bg-footer-right:  #a9a8ad;
  --light:            #ffffff;
  --light-gray:       #d9d9d9;
  --light-gray-50:    #efefef;
  --dark-text:        #424242;
  --teal-green:       #007884;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html, body {
  overflow-x: clip;
  background: #fff;
  font-size: 10px;
  color: var(--primary-text);
}

body { line-height: 1.5; }
img  { max-width: 100%; display: block; height: auto; }
a    { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { text-decoration: none; }
ul   { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   WEUNIT TYPOGRAPHY SCALE
   ============================================================ */
h1 { font-size: 5rem; }
h2 { font-size: 4rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 3.2rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 1.5rem; }

.fs-12 { font-size: 1.2rem; }
.fs-13 { font-size: 1.3rem; }
.fs-14 { font-size: 1.4rem; }
.fs-16 { font-size: 1.6rem; }
.fs-17 { font-size: 1.7rem; }
.fs-20 { font-size: 2rem; }
.fs-23 { font-size: 2.3rem; }
.fs-25 { font-size: 2.5rem; }
.fs-30 { font-size: 3rem; }
.fs-35 { font-size: 3.5rem; }
.fs-40 { font-size: 4rem; }
.fs-50 { font-size: 5rem; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ============================================================
   WEUNIT COLOR UTILITIES
   ============================================================ */
.tc-orange { color: var(--theme-color) !important; }
.tc-green  { color: var(--teal-green) !important; }
.tc-white  { color: var(--light) !important; }
.tc-dark   { color: var(--text-color) !important; }
.tc-muted  { color: var(--secondary-text) !important; }

.bg-orange { background-color: var(--theme-color) !important; }
.bg-teal   { background-color: var(--teal-green) !important; }
.bg-gray   { background-color: var(--light-gray) !important; }
.bg-white  { background-color: var(--bg-primary) !important; }

/* ============================================================
   WEUNIT BUTTONS (da style.css WeUnit)
   ============================================================ */
.btn-theme {
  display: inline-block;
  background-color: var(--theme-color);
  color: var(--light) !important;
  padding: 10px 30px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-theme:hover { color: var(--light) !important; font-weight: 500; transform: scale(1.02); }

.btn-green {
  display: inline-block;
  background-color: var(--teal-green);
  color: var(--light) !important;
  padding: 10px 30px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-green:hover { color: var(--light) !important; font-weight: 500; transform: scale(1.02); }

.btn-light-round {
  display: inline-block;
  background: var(--bg-primary);
  color: var(--theme-color) !important;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 3px 0px 8px 0px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-light-round:hover { transform: scale(1.02); }

.btn-navbar {
  display: inline-block;
  background-color: var(--theme-color);
  color: var(--light) !important;
  padding: 11px 24px;
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-navbar:hover { opacity: 0.9; transform: scale(1.02); color: var(--light) !important; }

/* ============================================================
   WEUNIT INPUT STYLES
   ============================================================ */
input, select, textarea {
  background-color: var(--bg-input);
  border-color: var(--border-input);
  color: var(--text-input);
  font-size: 1.4rem !important;
  border-radius: 5px;
  border: 1px solid var(--border-input);
}
input::placeholder, textarea::placeholder { color: var(--text-placeholder); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: none; border-color: var(--theme-color); }
input[type="checkbox"] {
  appearance: none; width: 20px !important; height: 20px !important;
  min-width: 20px; border-radius: 5px !important; padding: 0 !important;
  cursor: pointer; position: relative; flex-shrink: 0;
}
input[type="checkbox"]:checked { background: var(--theme-color) !important; }
input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 10px; border: solid var(--light);
  border-width: 0 3px 3px 0; transform: translate(-50%, -60%) rotate(45deg);
}

/* ============================================================
   SPACING
   ============================================================ */
.mt-50  { margin-top: 50px !important; }
.mt-60  { margin-top: 60px; }
.mt-80  { margin-top: 80px; }
.mt-100 { margin-top: 100px; }
.mb-30  { margin-bottom: 30px; }
.mb-50  { margin-bottom: 50px; }
.mb-60  { margin-bottom: 60px; }
.py-80  { padding-top: 80px; padding-bottom: 80px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }

/* ============================================================
   LINE CONTAINER DIVIDER (WeUnit pattern)
   ============================================================ */
.line-container {
  position: relative; text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.line-container::before,
.line-container::after {
  content: ""; position: absolute; top: 50%;
  width: 40%; height: 1px; background: var(--theme-color);
}
.line-container::before { left: 0; }
.line-container::after  { right: 0; }
.line-container span {
  background: var(--bg-primary);
  padding: 0 20px; position: relative; z-index: 1;
}
.section-label-pill {
  display: inline-block;
  background: rgba(235, 130, 32, 0.1);
  color: var(--theme-color);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 999px;
  border: 1px solid rgba(235, 130, 32, 0.25);
  margin-bottom: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-topbar {
  background: #1a1a1a;
  padding: 10px 0;
  font-size: 1.15rem; font-weight: 600;
}
.site-topbar .topbar-inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 28px;
  padding: 0 60px;
}
.site-topbar a { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-topbar a:hover { color: var(--theme-color); }
.site-topbar .social-icons { display: flex; align-items: center; gap: 14px; }
.site-topbar .social-icons a { display: flex; align-items: center; }
.site-topbar .social-icons img { width: 14px; height: 14px; opacity: 0.65; transition: opacity 0.2s ease; filter: brightness(0) invert(1); }
.site-topbar .social-icons a:hover img { opacity: 1; filter: invert(54%) sepia(69%) saturate(500%) hue-rotate(350deg) brightness(95%); }
.topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.topbar-contact-link { display: flex; align-items: center; gap: 6px; }
.topbar-icon { width: 13px; height: 13px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.75; }
.topbar-contact-link:hover .topbar-icon { filter: invert(54%) sepia(69%) saturate(500%) hue-rotate(350deg) brightness(95%); opacity: 1; }

.header-outer {
  position: sticky; top: 0; z-index: 1000;
  padding: 0;
  background: transparent;
  pointer-events: none;
  transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-outer.scrolled {
  padding: 10px 24px;
}
.main-header {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  padding: 18px 36px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  pointer-events: all;
  transition:
    background     0.45s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius  0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow     0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding        0.45s cubic-bezier(0.4, 0, 0.2, 1),
    max-width      0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 14px 28px 14px 36px;
  max-width: 1300px;
}

.header-logo { text-decoration: none; }
.header-logo .logo-name {
  display: block; font-size: 1.8rem; font-weight: 800;
  color: var(--text-color); line-height: 1.1;
}
.header-logo .logo-sub {
  display: block; font-size: 1.05rem; font-weight: 400;
  color: var(--secondary-text); text-transform: uppercase; letter-spacing: 0.08em;
}
.header-logo .logo-name span { color: var(--theme-color); }

.header-nav {
  display: flex; align-items: center; gap: 32px;
}
.header-nav a {
  font-size: 1.25rem; font-weight: 700; text-transform: uppercase;
  color: var(--text-color); letter-spacing: 0.04em;
}
.header-nav a:hover { color: var(--theme-color); }
.header-nav a.active { color: var(--theme-color); }

/* ---- MEGA DROPDOWN ---- */
.nav-has-dropdown { position: static; }

.nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 1.25rem; font-weight: 700; text-transform: uppercase;
  color: var(--text-color); letter-spacing: 0.04em;
  font-family: inherit; line-height: 1;
  transition: color 0.2s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active { color: var(--theme-color); }

.nav-chevron {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0; opacity: 0.55;
}
.nav-dropdown-btn[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* panel */
.nav-mega {
  position: absolute;
  top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 800px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 500;
}
.nav-has-dropdown:hover .nav-mega,
.nav-mega.open {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* bridge so mouse can move from trigger to panel without closing */
.nav-mega::before {
  content: ''; position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}

.mega-inner { padding: 24px 24px 20px; }

.mega-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  margin-bottom: 16px;
}

.mega-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px; border-radius: 12px;
  text-decoration: none;
  transition: background 0.16s;
}
.mega-item:hover { background: #f5f5f5; text-decoration: none; }
.mega-item:hover .mega-title { color: var(--theme-color); }

.mega-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(0,120,132,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-green); flex-shrink: 0;
}

.mega-title {
  display: block; font-size: 1.3rem; font-weight: 700;
  color: #121212; margin-bottom: 2px;
  transition: color 0.16s; text-transform: none; letter-spacing: 0;
}
.mega-desc {
  display: block; font-size: 1.1rem; font-weight: 300; color: #999; line-height: 1.35;
}

.mega-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #f0f0f0; padding-top: 16px;
  gap: 12px;
}
.mega-footer-label { font-size: 1.2rem; color: #bbb; font-weight: 400; }

.mega-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px;
  background: var(--teal-green); color: #fff;
  font-size: 1.2rem; font-weight: 700; font-family: inherit;
  border-radius: 100px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.16s;
  flex-shrink: 0;
}
.mega-cta:hover { background: #005f69; color: #fff; text-decoration: none; transform: translateX(2px); }

/* ---- MEGA DROPDOWN — RICH VARIANT ---- */
.nav-mega--rich { width: 800px; }
.nav-mega--rich .mega-inner { display: none; }

.mega-rich { padding: 20px 20px 18px; border-radius: 20px; overflow: hidden; }

/* top header row */
.mega-rich-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.mega-rich-label {
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.11em; color: #c8c8c8;
}
.mega-rich-all {
  font-size: 1.15rem; font-weight: 600; color: var(--teal-green, #007884);
  text-decoration: none; display: flex; align-items: center; gap: 4px;
  transition: color 0.15s;
}
.mega-rich-all:hover { color: var(--theme-color, #eb8220); text-decoration: none; }
.mega-rich-sep { height: 1px; background: #f0f0f0; margin-bottom: 14px; }

/* 2-col service grid */
.mega-rich-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-bottom: 14px;
}

.mega-rich-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; transition: background 0.14s;
}
.mega-rich-item:hover { background: #f5f5f5; text-decoration: none; }
.mega-rich-item:hover .mega-rich-title { color: var(--theme-color, #eb8220); }
.mega-rich-item:has(.mega-rich-icon--teal):hover .mega-rich-title { color: var(--teal-green, #007884); }
.mega-rich-item:has(.mega-rich-icon--teal):hover .mega-rich-arrow { color: var(--teal-green, #007884); }
.mega-rich-item:hover .mega-rich-arrow { opacity: 1; transform: translateX(3px); }

/* icon — two colour variants */
.mega-rich-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mega-rich-icon--teal   { background: rgba(0,120,132,0.09);  color: var(--teal-green, #007884); }
.mega-rich-icon--orange { background: rgba(235,130,32,0.09); color: var(--theme-color, #eb8220); }

.mega-rich-body { flex: 1; min-width: 0; }
.mega-rich-title {
  display: block; font-size: 1.3rem; font-weight: 700; color: #121212;
  margin-bottom: 1px; transition: color 0.14s;
}
.mega-rich-desc {
  display: block; font-size: 1.1rem; font-weight: 300; color: #b0b0b0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mega-rich-arrow {
  opacity: 0; color: #ccc; flex-shrink: 0;
  transition: opacity 0.14s, transform 0.14s;
}

/* footer */
.mega-rich-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid #f0f0f0; gap: 12px;
}
.mega-rich-foot-note { font-size: 1.1rem; color: #d0d0d0; }
.mega-rich-foot-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px;
  background: var(--theme-color, #eb8220); color: #fff;
  font-size: 1.2rem; font-weight: 700; font-family: inherit;
  border-radius: 100px; text-decoration: none;
  transition: background 0.18s, transform 0.14s; flex-shrink: 0;
}
.mega-rich-foot-btn:hover { background: #d46f12; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* mobile services expand */
.mobile-services-wrap {
  display: flex; flex-direction: column; align-items: center; width: 100%;
}
.mobile-services-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 2.8rem; font-weight: 800; color: var(--text-color);
  text-transform: uppercase; padding: 0;
}
.mobile-services-toggle:hover { color: var(--theme-color); }
.mobile-svc-chevron {
  transition: transform 0.25s ease; opacity: 0.55;
}
.mobile-services-toggle[aria-expanded="true"] .mobile-svc-chevron { transform: rotate(180deg); }

.mobile-services-list {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; width: 100%;
  overflow: hidden; max-height: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0; padding: 0;
}
.mobile-services-list.open {
  max-height: 600px; opacity: 1; padding: 12px 0 4px;
}
.mobile-link-sub {
  font-size: 1.8rem !important; color: var(--teal-green) !important;
  font-weight: 600 !important;
}
.mobile-link-sub:hover { color: var(--theme-color) !important; }

/* HAMBURGER */
.hamburger-btn {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--text-color); transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 2000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px;
  transform: translateX(100%); transition: transform 0.4s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 2.8rem; font-weight: 800; color: var(--text-color);
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--theme-color); }
.mobile-nav-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none; cursor: pointer;
  font-size: 2.4rem; color: var(--secondary-text);
}

/* ============================================================
   PARALLAX CLOUDS
   ============================================================ */
.parallax-cloud {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* Hero clouds */
.hpc-1 { width: 300px; top:  5%; left:  -7%; opacity: 0.40; }
.hpc-2 { width: 190px; top: 10%; right:  -3%; opacity: 0.34; }
.hpc-3 { width: 155px; top: 62%; left:   4%; opacity: 0.30; }
.hpc-4 { width: 235px; top: 36%; right:  25%; opacity: 0.32; }
/* About section clouds */
.apc-1 { width: 270px; top: 12%; left:  -5%; opacity: 0.20; }
.apc-2 { width: 185px; top: 58%; right:  -3%; opacity: 0.16; }
/* Hero container above cloud layer */
.hero-section > .container { position: relative; z-index: 2; }

/* ============================================================
   HERO — JUMBO CONTAINER
   ============================================================ */
.hero-section {
  background: linear-gradient(to right, #d9d9d9 0%, #e6e6e6 38%, #d0d0d0 100%);
  min-height: 820px;
  padding-top: 20px;
  position: relative;
  overflow: clip;
  display: flex; align-items: center;
}

.hero-content { position: relative; z-index: 2; padding: 24px 0 60px; }

.hero-tag {
  color: var(--teal-green);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px; margin-top: 0;
}

.hero-title {
  font-size: clamp(3.6rem, 5vw, 5.5rem);
  font-weight: 800; color: var(--text-color);
  line-height: 1.1; margin-bottom: 20px;
}
.hero-title .highlight { color: var(--theme-color); }
.hero-title .highlight-teal { color: var(--teal-green); }

.hero-subtitle {
  font-size: 1.6rem; font-weight: 300;
  color: var(--primary-text); line-height: 1.7;
  max-width: 520px; margin-bottom: 40px;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-cta .btn-theme  { font-size: 1.5rem; padding: 14px 34px; display: inline-flex; align-items: center; gap: 8px; }
.hero-cta .btn-green  { font-size: 1.5rem; padding: 14px 34px; display: inline-flex; align-items: center; gap: 8px; }

/* Button inline SVG icons */
.btn-icon { width: 18px; height: 18px; display: inline-block; flex-shrink: 0; }
.btn-icon-white { filter: brightness(0) invert(1); }

.hero-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-primary); border-radius: 999px;
  padding: 6px 16px; box-shadow: 2px 2px 10px rgba(0,0,0,0.12);
  font-size: 1.2rem; font-weight: 600;
}
.hero-badge i { color: var(--theme-color); font-size: 1.2rem; }
.badge-icon { width: 15px; height: 15px; flex-shrink: 0; filter: invert(40%) sepia(10%) saturate(400%) hue-rotate(200deg); }
.badge-icon-orange { filter: invert(58%) sepia(80%) saturate(600%) hue-rotate(349deg) brightness(95%); }

/* HERO RIGHT — lead form */
.hero-lead-wrap {
  position: relative;
  display: flex; justify-content: flex-end;
  padding-bottom: 30px;
}

/* WeUnit card pattern (identico a contact-form-wrap) */
.hero-lead-card {
  background: var(--bg-primary);
  border-radius: 35px;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-md);
  width: 100%; max-width: 480px;
  position: relative; z-index: 5;
}

.hero-lead-top { margin-bottom: 28px; }
.hero-lead-top h3 {
  font-size: 2.8rem; font-weight: 700;
  color: var(--text-color); margin-bottom: 6px; line-height: 1.2;
}
.hero-lead-top p { font-size: 1.3rem; color: var(--secondary-text); font-weight: 400; }

/* Label — identica a .form-group label WeUnit */
.hlf-group { margin-bottom: 20px; }
.hlf-label {
  display: block; font-size: 1.3rem; font-weight: 600;
  color: var(--dark-text); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Range slider */
.hlf-slider-val-wrap { text-align: center; margin-bottom: 10px; }
.hlf-slider-val {
  font-size: 2.8rem; font-weight: 800; color: var(--theme-color);
}
.hlf-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 5px;
  background: var(--bg-input); outline: none; cursor: pointer;
}
.hlf-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--theme-color); cursor: pointer;
  box-shadow: 0 2px 8px rgba(235,130,32,0.45);
  transition: transform 0.15s ease;
}
.hlf-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.hlf-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--theme-color); cursor: pointer; border: none;
  box-shadow: 0 2px 8px rgba(235,130,32,0.45);
}
.hlf-slider-marks {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; color: var(--secondary-text);
  margin-top: 6px; font-weight: 500;
}

/* Type grid — stile WeUnit con border come form-control */
.hlf-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hlf-type {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  color: var(--text-input); font-family: "Montserrat", sans-serif;
  text-align: left; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.hlf-type svg { width: 16px; height: 16px; flex-shrink: 0; }
.hlf-type.active { background: var(--theme-color); border-color: var(--theme-color); color: white; }
.hlf-type:hover:not(.active) { border-color: var(--theme-color); color: var(--theme-color); }

/* Inputs — identici a .form-group .form-control WeUnit */
.hlf-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  font-size: 1.4rem;
  color: var(--text-input);
  font-family: "Montserrat", sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}
.hlf-input::placeholder { color: var(--text-placeholder); }
.hlf-input:focus { border-color: var(--theme-color); box-shadow: 0 0 0 3px rgba(235,130,32,0.1); }

/* Submit — identico a btn-submit-form WeUnit */
.hlf-submit {
  width: 100%; padding: 14px;
  background: var(--theme-color); color: var(--light) !important;
  border: none; border-radius: 20px; cursor: pointer;
  font-size: 1.5rem; font-weight: 300;
  font-family: "Montserrat", sans-serif;
  margin-top: 4px; transition: all 0.3s ease;
}
.hlf-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.hlf-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.hlf-privacy {
  font-size: 1.1rem; color: var(--secondary-text);
  text-align: center; margin-top: 10px; margin-bottom: 0;
}
.hlf-privacy a { color: var(--theme-color); }

.hlf-success { text-align: center; padding: 24px 0 8px; }
.hlf-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-green); color: white;
  font-size: 2.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.hlf-success h4 { font-size: 2rem; font-weight: 700; color: var(--text-color); margin-bottom: 8px; }
.hlf-success p  { font-size: 1.3rem; color: var(--secondary-text); }

/* City illustration background */
.hero-city-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 240px; z-index: 0; pointer-events: none;
  overflow: hidden;
  opacity: 0.42;
}
.hero-city-obj {
  display: block; width: 100%; height: 100%;
  border: none;
}

/* Wave divider bottom */
.hero-bottom-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; overflow: hidden; z-index: 2;
}
.hero-bottom-wave svg,
.hero-bottom-wave img { width: 100%; height: 100%; display: block; object-fit: fill; }

/* ============================================================
   SERVIZI — CARDS WEUNIT
   ============================================================ */
.services-section { padding: 80px 0; background: var(--bg-primary); position: relative; }

@keyframes svcCloudDrift {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(22px); }
}
@keyframes svcCloudDriftR {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(-18px); }
}
.svc-cloud {
  position: absolute; pointer-events: none; user-select: none;
}
.svc-cloud-1 {
  width: 180px; top: 30px; left: 2%;
  opacity: 0.18; animation: svcCloudDrift 12s ease-in-out infinite;
}
.svc-cloud-2 {
  width: 140px; top: 60px; right: 3%;
  opacity: 0.22; animation: svcCloudDriftR 15s ease-in-out infinite 2s;
}
.svc-cloud-3 {
  width: 110px; bottom: 80px; left: 8%;
  opacity: 0.12; animation: svcCloudDriftR 10s ease-in-out infinite 5s;
}
.svc-cloud-4 {
  width: 150px; bottom: 60px; right: 6%;
  opacity: 0.20; animation: svcCloudDrift 13s ease-in-out infinite 3s;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 4rem; font-weight: 300; color: var(--text-color); margin-bottom: 12px; }
.section-header p { font-size: 1.6rem; font-weight: 300; color: var(--primary-text); max-width: 600px; margin: 16px auto 0; }

/* WeUnit card style — horizontal layout */
.service-card {
  background-color: var(--bg-primary);
  border-radius: 28px;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  margin-bottom: 60px;
}
.service-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.15); }

.service-card-img-wrap {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
}
.service-card-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-photo { transform: scale(1.04); }

.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
  gap: 14px;
}

/* ---- STACKING CARDS ON SCROLL ---- */
.stacking-cards-wrap {
  --card-peek: 20px;
  --numcards: 6;

  display: block;
  max-width: 100%;
  width: 100%;
  margin: 40px auto 0;
}

.stack-panel {
  position: sticky;
  top: calc(50vh - 210px);
  height: auto;
  z-index: var(--i, 1);
  padding-top: calc((var(--i, 1) - 1) * var(--card-peek));
}

.stack-panel .service-card {
  margin-bottom: 0;
  height: auto;
  min-height: unset;
}
.stack-panel .service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }

/* Scale-back on browsers that support scroll-driven animations */
@supports (animation-timeline: view()) {
  .stack-panel .service-card {
    transform-origin: 50% 0;
    animation: cardShrink both linear;
    animation-timeline: view();
    animation-range: exit -5% exit 25%;
  }
  @keyframes cardShrink {
    to {
      scale: calc(1 - 0.045 * (var(--numcards) - var(--i, 1)));
      filter: brightness(calc(1 - 0.07 * (var(--numcards) - var(--i, 1))));
    }
  }
}

.service-card-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background-color: var(--theme-color);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(235,130,32,0.35);
  flex-shrink: 0;
}
.service-card-circle i   { font-size: 2rem; color: var(--light); }
.service-card-circle img { width: 28px; height: 28px; display: block; }

.service-card-title {
  font-size: 2.2rem; font-weight: 700; color: var(--text-color);
  margin: 0; line-height: 1.2;
}

.service-card-body { margin: 0; }
.service-card-body p {
  font-size: 1.45rem; font-weight: 300; color: var(--primary-text);
  line-height: 1.65; margin-bottom: 20px;
}
.service-card .btn-green { font-size: 1.3rem; padding: 8px 28px; }

/* ============================================================
   CHI SONO — ABOUT (sfondo teal)
   ============================================================ */
.about-section {
  background-color: var(--teal-green);
  padding: 80px 0;
  position: relative; overflow: hidden;
  z-index: 2;
}

/* Background cloud blobs — slide in from sides on scroll */
.about-bg-cloud-l,
.about-bg-cloud-r {
  position: absolute;
  top: -20%; width: 58%; height: 140%;
  background: var(--teal-green);
  z-index: 0; pointer-events: none;
  transition: transform 1.4s cubic-bezier(0.34, 1.08, 0.64, 1);
}
.about-bg-cloud-l {
  left: 0;
  border-radius: 0 40% 40% 0 / 0 50% 50% 0;
  transform: translateX(-102%);
}
.about-bg-cloud-r {
  right: 0;
  border-radius: 40% 0 0 40% / 50% 0 0 50%;
  transform: translateX(102%);
  transition-delay: 0.1s;
}
.about-section.clouds-in .about-bg-cloud-l { transform: translateX(0); }
.about-section.clouds-in .about-bg-cloud-r { transform: translateX(0); }

/* Content above clouds */
.about-section .container { position: relative; z-index: 2; }


.about-img-wrap { position: relative; padding-bottom: 20px; }
.about-img-frame {
  width: 100%; border-radius: 24px;
  overflow: hidden; box-shadow: 0 24px 56px rgba(0,0,0,0.3);
  aspect-ratio: 4/5;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.about-exp-badge {
  position: absolute; bottom: 0; right: -8px;
  background: var(--theme-color); color: var(--light);
  border-radius: 20px; padding: 14px 22px;
  text-align: center; box-shadow: 0 8px 28px rgba(235,130,32,0.5);
  z-index: 2;
}
.about-exp-badge .num { display: block; font-size: 3rem; font-weight: 800; line-height: 1; }
.about-exp-badge .lbl { font-size: 1.1rem; font-weight: 500; white-space: nowrap; }

.about-weunit-badge {
  position: absolute; bottom: 0; right: -8px;
  background: var(--bg-primary); border-radius: 14px;
  padding: 12px 18px; box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 10px; z-index: 2;
}
.about-weunit-badge img { height: 22px; width: auto; }
.about-weunit-badge span {
  font-size: 1.1rem; font-weight: 700; color: var(--teal-green);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}

.about-content { color: var(--light); padding-left: 20px; }
.about-content h2 {
  font-size: 3.8rem; font-weight: 800; color: var(--light);
  line-height: 1.15; margin-bottom: 20px; margin-top: 16px;
}
.about-content p {
  font-size: 1.5rem; font-weight: 300; color: rgba(255,255,255,0.88);
  line-height: 1.75; margin-bottom: 28px;
}

/* Credential grid — 2×2 */
.about-cred-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 32px;
}
.about-cred-item {
  background: var(--bg-primary);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.about-cred-label {
  display: block; font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--theme-color); margin-bottom: 4px;
}
.about-cred-val {
  display: block; font-size: 1.35rem; font-weight: 500;
  color: var(--dark-text);
}

.about-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* COUNTERS ROW */
.counters-section { background: var(--bg-primary); padding: 60px 0; }
.counter-item { text-align: center; padding: 20px; }
.counter-val-wrap {
  display: flex; align-items: flex-end; justify-content: center;
  line-height: 1; margin-bottom: 10px; gap: 2px;
}
.counter-number {
  font-size: 5.5rem; font-weight: 800;
  color: var(--theme-color); line-height: 1;
}
.counter-suffix {
  font-size: 2.8rem; font-weight: 800; color: var(--theme-color);
  line-height: 1; padding-bottom: 4px;
}
.counter-suffix-small {
  font-size: 2rem; font-weight: 600; padding-bottom: 6px;
}
.counter-label {
  display: block; font-size: 1.3rem; font-weight: 600;
  color: var(--secondary-text); text-transform: uppercase; letter-spacing: 0.06em;
}
.counter-divider {
  width: 1px; height: 60px; background: var(--bg-secondary);
  margin: auto;
}

/* ============================================================
   PERCHÉ SCEGLIERMI — CIRCLE BLOCKS (WeUnit style)
   ============================================================ */
.why-section { background: linear-gradient(to right, #d9d9d9 0%, #e6e6e6 38%, #d0d0d0 100%); padding: 80px 0; position: relative; overflow: hidden; }

.why-turbine {
  position: absolute; pointer-events: none;
  opacity: 0.28; bottom: 0;
}
.why-turbine-big {
  width: 160px; right: 3%;
}
.why-turbine-small {
  width: 120px; left: 3%;
}

.why-circle-wrap { display: flex; flex-direction: column; align-items: center; }

.why-circle {
  width: 200px; height: 200px; border-radius: 50%;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}
.why-circle:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.why-circle i            { font-size: 3.5rem; color: var(--theme-color); margin-bottom: 8px; }
.why-circle .why-circle-icon { width: 56px; height: 56px; display: block; margin-bottom: 8px; }
.why-circle .why-num {
  font-size: 3.2rem; font-weight: 800; color: var(--theme-color); line-height: 1;
}
.why-circle .why-unit { font-size: 1.8rem; font-weight: 800; color: var(--theme-color); }

.why-title { font-size: 2rem; font-weight: 700; color: var(--text-color); margin-bottom: 10px; text-align: center; }
.why-desc  { font-size: 1.4rem; font-weight: 300; color: var(--primary-text); line-height: 1.65; text-align: center; max-width: 260px; margin: 0 auto; }

/* WHY BOTTOM QUOTE */
.why-quote {
  margin-top: 60px; padding: 40px 48px;
  background: var(--bg-primary); border-radius: 35px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.why-quote blockquote {
  font-size: 1.8rem; font-weight: 300;
  color: var(--primary-text); line-height: 1.65;
  font-style: italic; max-width: 600px;
  border-left: 4px solid var(--theme-color); padding-left: 20px;
}
.why-quote blockquote cite { display: block; font-size: 1.3rem; font-weight: 700; color: var(--theme-color); margin-top: 10px; font-style: normal; }

/* ============================================================
   RECENSIONI IN EVIDENZA
   ============================================================ */
.reviews-highlight { background: var(--bg-secondary, #f5f5f5); padding: 90px 0; }

/* Banner Google recensioni */
.rev-hl-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.rev-hl-banner-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.rev-hl-banner-glogo { flex-shrink: 0; }

.rev-hl-banner-info { display: flex; flex-direction: column; }
.rev-hl-banner-label {
  font-size: 1.3rem; font-weight: 700; color: var(--text-color);
  letter-spacing: 0.02em; margin-bottom: 4px;
}
.rev-hl-banner-score {
  display: flex; align-items: baseline; gap: 12px;
}
.rev-hl-banner-num {
  font-size: 3.6rem; font-weight: 800; color: var(--text-color);
  line-height: 1;
}
.rev-hl-banner-stars {
  font-size: 2rem; color: #fbbc05; letter-spacing: 2px;
}
.rev-hl-banner-sub {
  font-size: 1.25rem; font-weight: 300;
  color: var(--secondary-text, #888); margin-top: 6px;
}

.rev-hl-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal-green); color: #fff;
  font-size: 1.4rem; font-weight: 700;
  padding: 14px 30px; border-radius: 100px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s;
  box-shadow: 0 6px 20px rgba(0,120,132,0.25);
  flex-shrink: 0;
}
.rev-hl-btn:hover {
  background: #005f69; color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,120,132,0.35);
}

@media (max-width: 767px) {
  .reviews-highlight { padding: 60px 0; }
  .rev-hl-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 22px;
  }
  .rev-hl-banner-left { flex-direction: column; gap: 14px; }
  .rev-hl-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   TESTIMONIANZE — WEUNIT STYLE
   ============================================================ */
.testimonials-section { background: var(--bg-primary); padding: 80px 0; }

/* Card — stile WeUnit */
.testimonial-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-input);
}
.testimonial-quote {
  font-size: 5.5rem; line-height: 0.7; color: var(--theme-color);
  font-family: Georgia, serif; font-weight: 700;
  margin-bottom: 12px; display: block;
}
.testimonial-stars {
  font-size: 1.6rem; color: var(--theme-color);
  letter-spacing: 2px; margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.4rem; font-weight: 300; color: var(--primary-text);
  line-height: 1.75; font-style: italic; flex: 1; margin-bottom: 24px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border-input); padding-top: 20px; margin-top: auto;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--theme-color), var(--teal-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: var(--light);
}
.testimonial-name { font-size: 1.5rem; font-weight: 700; color: var(--text-color); margin-bottom: 2px; }
.testimonial-location { font-size: 1.2rem; color: var(--secondary-text); }

/* Nav buttons */
.swiper-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-primary); border: 2px solid var(--border-input);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s ease; color: var(--dark-text);
}
.swiper-btn svg { width: 18px; height: 18px; }
.swiper-btn:hover { background: var(--theme-color); border-color: var(--theme-color); color: var(--light); }

/* Google rating */
.google-rating {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 52px; flex-wrap: wrap;
}
.google-rating .g-logo { font-size: 1.4rem; font-weight: 700; color: var(--primary-text); display: flex; align-items: center; }
.google-rating .stars  { font-size: 1.8rem; color: var(--theme-color); letter-spacing: 2px; }
.google-rating .score  { font-size: 2.6rem; font-weight: 800; color: var(--text-color); }
.google-rating .count  { font-size: 1.2rem; color: var(--secondary-text); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-section {
  background: linear-gradient(to right, #d9d9d9 0%, #e6e6e6 38%, #d0d0d0 100%);
  padding: 80px 0; overflow: hidden;
}
.blog-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px;
  margin-bottom: 48px;
}
.blog-title {
  font-size: clamp(2.8rem, 3.5vw, 4.2rem);
  font-weight: 300; color: var(--text-color);
  line-height: 1.2; margin: 12px 0 14px;
}
.blog-title strong { font-weight: 800; }
.blog-sub {
  font-size: 1.5rem; font-weight: 300;
  color: var(--secondary-text); line-height: 1.6; margin: 0;
}
.blog-header-cta { flex-shrink: 0; }
.blog-swiper { padding: 8px 4px 52px !important; }

.blog-card {
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s ease;
}
.blog-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.blog-card-img { width: 100%; height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat {
  font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--theme-color); margin-bottom: 10px; display: block;
}
.blog-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--text-color);
  line-height: 1.3; margin-bottom: 12px;
}
.blog-card-desc {
  font-size: 1.35rem; font-weight: 300; color: var(--primary-text);
  line-height: 1.6; margin-bottom: 20px; flex: 1;
}
.blog-card-btn { font-size: 1.2rem; padding: 7px 22px; align-self: flex-start; }
.blog-pagination { bottom: 10px !important; }
.blog-pagination .swiper-pagination-bullet-active { background: var(--teal-green) !important; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-section {
  background: var(--bg-primary);
  padding: 80px 0;
  position: relative;
  overflow: clip;
}
.contact-section > .container { position: relative; z-index: 2; }
/* Contact clouds */
.cpc-1 { width: 260px; top:  8%; left:  -5%; opacity: 0.35; }
.cpc-2 { width: 180px; top: 15%; right:  -2%; opacity: 0.28; }
.cpc-3 { width: 200px; top: 55%; right:  10%; opacity: 0.25; }
.cpc-4 { width: 150px; top: 70%; left:   8%; opacity: 0.22; }
.contact-city-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 240px; z-index: 0; pointer-events: none;
  overflow: hidden;
  opacity: 0.35;
}

.contact-form-wrap {
  background: var(--bg-primary); border-radius: 35px;
  padding: 48px 40px; box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { font-size: 2.8rem; font-weight: 700; color: var(--text-color); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 1.3rem; font-weight: 600; color: var(--dark-text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group .form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg-input); border: 1px solid var(--border-input);
  border-radius: 8px; font-size: 1.4rem; color: var(--text-input) !important;
  transition: border-color 0.3s ease;
}
.form-group select.form-control {
  -webkit-appearance: none;
  appearance: none;
  height: auto !important;
  cursor: pointer;
  color: var(--text-input) !important;
  -webkit-text-fill-color: var(--text-input) !important;
  background-color: var(--bg-input) !important;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23424242'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.form-group select.form-control option { color: #212529; background: #ffffff; }
.form-group .form-control:focus { border-color: var(--theme-color); outline: none; box-shadow: 0 0 0 3px rgba(235,130,32,0.1); }
.form-group textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit-form {
  width: 100%; padding: 14px; background: var(--theme-color);
  color: var(--light) !important; border: none; border-radius: 20px;
  font-size: 1.5rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit-form:hover { opacity: 0.9; transform: scale(1.01); }

.form-success {
  display: none; text-align: center; padding: 20px;
  background: rgba(0,120,132,0.08); border-radius: 12px;
  border: 1px solid rgba(0,120,132,0.2); margin-top: 16px;
  font-size: 1.5rem; font-weight: 500; color: var(--teal-green);
}

.privacy-row {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1.3rem; color: var(--secondary-text); line-height: 1.5;
}
.privacy-row a { color: var(--theme-color); }

/* CONTACT INFO */
.contact-info-wrap {
  background: var(--teal-green); border-radius: 35px;
  padding: 48px 36px; height: 100%;
  display: flex; flex-direction: column;
}
.contact-info-wrap h3 { font-size: 2.8rem; font-weight: 700; color: var(--light); margin-bottom: 32px; }

.contact-info-list { margin-bottom: 32px; flex: 1; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon i  { font-size: 1.6rem; color: var(--light); }
.contact-info-icon svg { width: 18px; height: 18px; color: var(--light); flex-shrink: 0; }
.info-label { display: block; font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.info-value { font-size: 1.4rem; font-weight: 500; color: var(--light); }
.info-value a { color: var(--light); }
.info-value a:hover { color: rgba(255,255,255,0.75); }

.contact-social-title { font-size: 1.2rem; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.contact-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social-links a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--light); font-size: 1.6rem; transition: all 0.3s ease;
}
.contact-social-links a:hover { background: var(--theme-color); border-color: var(--theme-color); }
.contact-social-links a img { filter: brightness(0) invert(1); }
.footer-social a img { filter: brightness(0) invert(1); }
.btn-svg-icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }

.weunit-badge-contact {
  margin-top: 24px; padding: 16px;
  background: rgba(255,255,255,0.1); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; gap: 12px;
}
.weunit-badge-contact .wu-logo { font-size: 1.5rem; font-weight: 800; color: var(--light); white-space: nowrap; }
.weunit-badge-contact p { font-size: 1.2rem; color: rgba(255,255,255,0.75); line-height: 1.45; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(to right, var(--bg-footer-left), var(--bg-footer-right));
  padding: 70px 0 0;
}

.footer-logo { font-size: 2rem; font-weight: 800; color: var(--light); display: block; margin-bottom: 4px; }
.footer-logo span { color: #fff; }
.footer-logo-sub { font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 1.3rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 1.4rem; transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--theme-color); border-color: var(--theme-color); color: var(--light); }

.footer-creds { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cred {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px; font-size: 1.1rem; color: rgba(255,255,255,0.55);
}
.footer-cred i   { color: rgba(255,255,255,0.4); }
.footer-cred svg { width: 14px; height: 14px; color: rgba(255,255,255,0.5); flex-shrink: 0; }

.footer-col-title { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 1.3rem; color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--light); }

.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 1.3rem; color: rgba(255,255,255,0.6);
}
.footer-contact-list li i   { color: var(--theme-color); margin-top: 2px; flex-shrink: 0; font-size: 1.3rem; }
.footer-contact-list li svg { width: 14px; height: 14px; color: var(--theme-color); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.6); }
.footer-contact-list a:hover { color: var(--light); }

.footer-bottom {
  margin-top: 50px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p, .footer-bottom a { font-size: 1.2rem; color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0;   }
  100% { transform: scale(1.5); opacity: 0;   }
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 28px rgba(37,211,102,0.55); color: #fff; }
.whatsapp-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: #1a1a1a; color: #fff;
  font-size: 1.2rem; font-weight: 600; white-space: nowrap;
  padding: 7px 14px; border-radius: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-50%) translateX(6px);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1a1a1a;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--text-color); color: rgba(255,255,255,0.8);
  padding: 16px 24px; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; font-size: 1.3rem;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--theme-color); }
.cookie-btn {
  padding: 8px 20px; background: var(--theme-color); color: var(--light);
  border: none; border-radius: 20px; cursor: pointer; font-size: 1.3rem; font-weight: 600;
  transition: all 0.3s ease;
}
.cookie-btn:hover { opacity: 0.85; }

/* ============================================================
   SCROLL WORDS SECTION
   ============================================================ */
.scroll-words-section {
  --start: 35vh;
  background: var(--bg-primary);
  padding-bottom: 15vh;
}
.scroll-words-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--start) - 0.6lh);
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  gap: 0.3em;
}
.scroll-words-prefix {
  position: sticky;
  top: calc(var(--start) - 0.6lh);
  font-weight: 300;
  color: var(--dark-text);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
  font-size: inherit;
  line-height: inherit;
}
.scroll-words-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 800;
}
.scroll-words-list li {
  --dimmed: rgba(66, 66, 66, 0.15);
  background: linear-gradient(
    180deg,
    var(--dimmed) 0 calc(var(--start) - 0.62lh),
    var(--theme-color) calc(var(--start) - 0.66lh) calc(var(--start) + 0.66lh),
    var(--dimmed) calc(var(--start) + 0.62lh)
  );
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-words-list li { background: none; color: var(--dark-text); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .header-outer { padding: 0; }
  .header-outer.scrolled { padding: 8px 12px; }
  .main-header  { padding: 16px 24px; }
  .main-header.scrolled { padding: 10px 20px; }
  .site-topbar .topbar-inner { padding: 0 20px; }

  /* Hero — col-xl-6 stacks below 1200px: center the form card */
  .hero-lead-wrap { justify-content: center; margin-top: 40px; }
  .hero-lead-card { max-width: 580px; }

  /* Hide bottom clouds that would overlap the stacked form */
  .hpc-3 { display: none; }
  .hpc-4 { display: none; }
}

/* ---- TABLET ---- */
@media (max-width: 992px) {
  .header-nav, .btn-navbar { display: none !important; }
  .hamburger-btn { display: flex !important; }

  .hero-section { min-height: auto; padding-top: 60px; padding-bottom: 60px; }
  .hero-lead-wrap { justify-content: center; margin-top: 40px; }
  .hero-lead-card { max-width: 100%; }

  /* Clouds — scale down on tablet */
  .hpc-1 { width: 200px; }
  .hpc-2 { width: 130px; }
  .hpc-3 { width: 110px; }
  .hpc-4 { width: 160px; }

  .about-content { padding-left: 0; margin-top: 40px; }
  .about-exp-badge { right: 10px; }
  .contact-info-wrap { margin-top: 32px; }
  .why-quote { flex-direction: column; text-align: center; padding: 32px 24px; }
  .why-quote blockquote { border-left: none; border-top: 4px solid var(--theme-color); padding-left: 0; padding-top: 20px; }

  /* Service cards — stack on tablet */
  .service-card { flex-direction: column; min-height: unset; }
  .service-card-img-wrap { width: 100%; height: 240px; }
  .service-card-content { padding: 28px 28px; }
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .site-topbar { display: none; }

  /* Hero */
  .hero-section { padding-top: 40px; padding-bottom: 40px; }
  .hero-content { padding: 16px 0 32px; }
  .hero-title { font-size: clamp(3rem, 8vw, 4rem); }
  .hero-subtitle { font-size: 1.45rem; margin-bottom: 28px; }
  .hero-cta { gap: 10px; margin-bottom: 24px; }
  .hero-city-wrap { height: 140px; opacity: 0.25; }

  /* Clouds — smaller & moved to not overlap content */
  .hpc-1 { width: 140px; top: 2%; left: -4%; opacity: 0.25; }
  .hpc-2 { display: none; }
  .hpc-3 { display: none; }
  .hpc-4 { width: 130px; top: 8%; right: -2%; opacity: 0.18; }

  /* Lead card */
  .hero-lead-card { padding: 28px 24px 24px; border-radius: 24px; }
  .hero-lead-top h3 { font-size: 2.2rem; }

  /* Scroll words */
  .scroll-words-inner {
    flex-direction: column; align-items: center; gap: 0;
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }
  .scroll-words-prefix { position: static; text-align: center; white-space: normal; margin-bottom: 0.15em; }
  .scroll-words-list { text-align: center; }

  /* Services */
  h2 { font-size: 3.2rem; }
  .services-section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 3.2rem; }
  .service-card { flex-direction: column; min-height: unset; margin-bottom: 24px; border-radius: 20px; }
  .service-card-img-wrap { width: 100%; height: 200px; }
  .service-card-content { padding: 22px 22px; gap: 10px; }
  .service-card-title { font-size: 1.9rem; }
  .service-card-body p { font-size: 1.35rem; margin-bottom: 14px; }
  .svc-cloud-1, .svc-cloud-2, .svc-cloud-3, .svc-cloud-4 { display: none; }

  /* Disattiva lo stacking sticky su mobile: flusso normale, card centrate */
  .stack-panel {
    position: static;
    top: auto;
    z-index: auto;
    padding-top: 0;
  }
  .stack-panel .service-card {
    animation: none;
    scale: 1;
    filter: none;
    transform: none;
  }

  /* About */
  .about-section { padding: 56px 0; }
  .about-img-frame { aspect-ratio: 3/2; }
  .about-content h2 { font-size: 3rem; }

  /* Counters */
  .counters-section .col-6 + .col-6 { border-left: 1px solid var(--bg-secondary); }

  /* Blog */
  .blog-section .blog-panel-inner { padding: 40px 28px; }
  .blog-panel-right { padding: 40px 20px; }

  /* Contact */
  .contact-form-wrap, .contact-info-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom .footer-legal { justify-content: center; }
  .site-footer { padding: 50px 0 0; }
}

/* ---- SMALL MOBILE ---- */
@media (max-width: 576px) {
  .hero-title { font-size: clamp(2.8rem, 7.5vw, 3.6rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-theme, .hero-cta .btn-green { justify-content: center; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 1.1rem; padding: 5px 12px; }

  /* Hero lead card full-width compact */
  .hero-lead-card { padding: 24px 18px 20px; }
  .hero-lead-top h3 { font-size: 2rem; }
  .hlf-type-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hlf-type { font-size: 1.2rem; padding: 8px 10px; }

  /* Hide hpc-4 too on very small */
  .hpc-4 { display: none; }
  .hpc-1 { width: 110px; }

  /* Section padding */
  .services-section { padding: 44px 0; }
  .about-section { padding: 44px 0; }

  /* About quote */
  .about-content h2 { font-size: 2.8rem; }
  .why-quote blockquote { font-size: 1.6rem; }

  /* Stacking cards disattivato su mobile — vedi @media 768px */
  .stack-panel { top: auto; }
}

/* ============================================================
   SCROLL REVEAL — wave bounce slide-up
   ============================================================ */
@keyframes slideUpWave {
  0%   { transform: translateY(56px); opacity: 0; }
  58%  { transform: translateY(-9px); opacity: 1; }
  76%  { transform: translateY(5px); }
  90%  { transform: translateY(-2px); }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(56px);
}
.scroll-reveal.revealed {
  animation: slideUpWave 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.scroll-reveal.revealed[data-delay="1"] { animation-delay: 0.08s; }
.scroll-reveal.revealed[data-delay="2"] { animation-delay: 0.16s; }
.scroll-reveal.revealed[data-delay="3"] { animation-delay: 0.24s; }
.scroll-reveal.revealed[data-delay="4"] { animation-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
  .scroll-reveal.revealed { animation: none; }
}

/* ============================================================
   SECTION REVEAL — scroll-driven (CSS animation-timeline: view())
   ============================================================ */
.section-accent-line {
  display: block;
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, var(--teal-green), var(--theme-color));
  border-radius: 2px;
  margin-bottom: 20px;
}

@supports (animation-timeline: view()) {
  .section-wipe {
    animation: sectionHeaderIn both linear;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
  .section-wipe .section-accent-line {
    animation: accentLineIn both linear;
    animation-timeline: view();
    animation-range: entry 5% entry 50%;
  }

  @keyframes sectionHeaderIn {
    from {
      opacity: 0;
      transform: translateY(36px);
      filter: blur(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }
  @keyframes accentLineIn {
    from { width: 0; opacity: 0; }
    to   { width: 80px; opacity: 1; }
  }


  /* ---- CHI SONO — grow fedele al CodePen jh3y ---- */

  /* 1. Named view-timeline + border-radius sull'elemento stesso (come main { border-radius:1rem } nel CodePen) */
  .about-section {
    view-timeline: --about-section;
    border-radius: 28px 28px 0 0;
    overflow: visible;
  }

  /* 2. ::before — border-radius + scale + animation via named timeline del parent */
  .about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--teal-green);
    transform-origin: 50% 100%;
    scale: 0.88;
    border-radius: 28px 28px 0 0;
    animation: growAbout both ease-in-out;
    animation-timeline: --about-section;
    animation-range: entry 0% entry 50%;
  }

  /* 3. @keyframes solo 100% — from implicito (scale:0.88, border-radius:28px) */
  @keyframes growAbout {
    100% { scale: 1; border-radius: 0; }
  }

  /* 4. Contenuto fade-in via stessa named timeline */
  .about-section .container {
    position: relative; z-index: 2;
    animation: aboutFadeIn both ease-out;
    animation-timeline: --about-section;
    animation-range: entry 0% entry 55%;
  }
  @keyframes aboutFadeIn { 0% { opacity: 0; } }

  /* 5. Cloud blobs nascosti — sfondo da ::before */
  .about-section .about-bg-cloud-l,
  .about-section .about-bg-cloud-r { display: none; }

}

@media (prefers-reduced-motion: reduce) {
  .section-wipe { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .section-accent-line { animation: none !important; width: 80px !important; opacity: 1 !important; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--theme-color), #f4a843);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ============================================================
   REVEAL DIREZIONALE — sinistra / destra
   ============================================================ */
.reveal-left  { opacity: 0; transform: translateX(-52px); --slide-from: -52px; }
.reveal-right { opacity: 0; transform: translateX(52px);  --slide-from:  52px; }

@keyframes slideInSide {
  0%   { opacity: 0; transform: translateX(var(--slide-from)); }
  60%  { opacity: 1; transform: translateX(calc(var(--slide-from) * -0.08)); }
  100% { opacity: 1; transform: translateX(0); }
}
.reveal-left.revealed,
.reveal-right.revealed {
  animation: slideInSide 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal-left.revealed[data-delay="1"],
.reveal-right.revealed[data-delay="1"] { animation-delay: 0.08s; }
.reveal-left.revealed[data-delay="2"],
.reveal-right.revealed[data-delay="2"] { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .reveal-left.revealed, .reveal-right.revealed { animation: none; }
  #scroll-progress { display: none; }
}
