/* ==========================================================================
   Wise — sito vetrina statico
   ========================================================================== */

/* Font Outfit ospitato sul nostro server (niente richieste a Google Fonts).
   Font variabile: un file per sottoinsieme copre tutti i pesi 100–900.
   Licenza SIL Open Font License 1.1: assets/fonts/OFL.txt */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c1: #6172f3;
  --c2: #7988ff;
  --c3-white: #f5f8ff;
  --c4: #e6e8fd;
  --background: #070811;
  --v1: #465fff;
  --v2: #181c3b;
  --border: #b7bad6;
  --text-secondary: #667085;
  --success: #36c1ac;

  /* Colors/Wise (Figma) */
  --wise-dark-1: #0b101d;
  --wise-dark-2: #333f5b;
  --wise-dark-3: #5c657c;
  --wise-dark-4: #858c9d;
  --wise-sand-6: #fdfcfb;
  --wise-sky-1: #b7cbee;
  --wise-sky-2: #c3d4f1;
  --wise-sky-3: #cfdcf4;
  --wise-sky-4: #dbe5f7;
  --wise-sky-5: #e7eef9;
  --wise-sky-6: #f3f6fc;
  --wise-sea-1: #212632;
  --wise-sea-2: #4c587d;
  --wise-sea-3: #707997;
  --wise-sea-4: #939bb1;
  --wise-sea-5: #b7bccb;
  --wise-sea-6: #dbdde5;
  --wise-blue-1: #425983;
  --wise-blue-2: #627598;
  --wise-cement-1: #424244;
  --wise-cement-2: #626263;
  --wise-cement-3: #818182;
  --wise-sand-1: #f1edea;
  --wise-sand-4: #f8f6f4;
  --wise-blue-3: #8190ac;
  --wise-blue-4: #a1acc1;
  --wise-blue-5: #c0c8d6;
  --wise-blue-6: #dfe3ea;
  --wise-red-1: #ea4949;
  --wise-red-2: #ee6767;
  --wise-red-3: #f18686;
  --wise-red-4: #f4a4a4;
  --wise-red-5: #f8c2c2;
  --wise-red-6: #fbe1e1;
  --wise-dark-5: #adb2bd;
  --wise-dark-6: #d6d8de;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --container-w: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--background);
  color: var(--background);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

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

section[id], main [id] { scroll-margin-top: 24px; }

/* Text styles — fonte: Figma "Text Styles" (font-family: Outfit) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0;
}

h1 { font-size: 80px; font-weight: 900; line-height: 0.95; letter-spacing: -0.8px; }
h2 { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -0.56px; }
h3 { font-size: 42px; font-weight: 900; line-height: 1.1; letter-spacing: -0.42px; }
h4 { font-size: 33px; font-weight: 500; line-height: 1.2; letter-spacing: -0.33px; }
h5 { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -0.26px; }
h6 { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.16px; }

.h2-lg {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.56px;
}

.text-body-1 { font-family: var(--font-body); font-weight: 400; font-size: 19px; line-height: 1.4; letter-spacing: -0.19px; }

.text-accent { color: var(--c1); }

.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-slot { display: inline-flex; align-items: center; justify-content: center; width: 18px; flex-shrink: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  line-height: normal;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--border);
  margin: 0 0 20px;
}
.eyebrow-dark { color: var(--background); border-color: var(--background); }

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.16px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--c1); color: var(--c3-white); box-shadow: 0 1px 2px rgba(16,24,40,0.05); }
.btn-primary:hover { background: var(--c2); }

.btn-outline { background: transparent; border-color: var(--c3-white); color: var(--c3-white); box-shadow: 0 1px 1px rgba(16,24,40,0.05); }
.btn-outline:hover { background: var(--c3-white); color: var(--background); box-shadow: 0 1px 2px rgba(16,24,40,0.05); }

.btn-dark { background: var(--background); color: var(--c3-white); }
.btn-dark:hover { background: #14162a; }

.btn-login {
  background: var(--wise-sky-1);
  color: var(--wise-dark-1);
  height: 39px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.16px;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-login:hover { background: var(--wise-sky-3); }

.btn-block { width: 100%; }

.floating-cta {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wise-red-1);
  color: var(--wise-sand-6);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.17px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.floating-cta:hover { background: var(--wise-red-2); }
.floating-cta .icon { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .floating-cta { right: 16px; bottom: 16px; padding: 10px 16px; font-size: 15px; }
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: relative;
  z-index: 100;
  background: var(--wise-dark-1);
  animation: header-drop-in 1s var(--ease) both;
}
.site-header.header-transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
}

@keyframes header-drop-in {
  from { transform: translateY(-100%); opacity: 0; }
  /* transform:none (non translateY(0)) a fine animazione: un transform
     "a riposo" diverso da none crea un containing block per i discendenti
     position:fixed (es. il pannello mobile del menu), rompendone il
     posizionamento rispetto al viewport. */
  to { transform: none; opacity: 1; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 35px 15px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s var(--ease);
}
.logo:hover { opacity: 0.8; }
.logo-mark { width: 130px; height: 33px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.main-nav a, .link-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 4px;
  color: var(--wise-sand-6);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.17px;
  transition: color 0.25s var(--ease);
}
.main-nav a:hover, .link-with-icon:hover { color: var(--wise-red-4); }
.menu-plus {
  width: 19px;
  height: 19px;
  color: currentColor;
  transition: transform 0.35s var(--ease);
}
a:hover > .menu-plus { transform: rotate(90deg); }

/* ---- Nav dropdown / mega menu ---- */
.nav-dropdown-trigger { background: none; border: none; cursor: pointer; }
.nav-dropdown-trigger:hover .menu-plus,
.nav-dropdown.is-open .menu-plus { transform: rotate(45deg); }

/* .mega-menu si posiziona rispetto a .site-header (position:relative), non al
   trigger: cosi resta sempre centrato sull'intera pagina, non sotto "Moduli". */
.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 900px;
  max-width: calc(100vw - 70px);
  padding: 0;
  background: var(--wise-sky-6);
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(7, 8, 17, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}

.mega-menu-list { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-width: 0; padding: 40px; }
.mega-menu .mega-menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  color: var(--wise-dark-1);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.mega-menu .mega-menu-item:hover { background: var(--wise-sky-4); color: var(--wise-dark-1); }
.mega-menu-item-title {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
}
.mega-menu-item-title .icon { width: 18px; height: 18px; }
.mega-menu-item p { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: -0.14px; line-height: 1.4; color: var(--wise-dark-4); }

.mega-menu-divider { align-self: stretch; width: 1px; flex-shrink: 0; background: var(--wise-dark-1); }

.mega-menu-stats { display: flex; flex-direction: column; justify-content: space-between; flex: none; width: 370px; min-width: 0; padding: 40px; }
.mega-menu-stats .stat { height: auto; gap: 6px; }
.mega-menu-stats .stat-head { gap: 12px; }
.mega-menu-stats .stat-line { background: var(--wise-dark-1); }
.mega-menu-stats .stat-label { font-weight: 400; font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-1); }
.mega-menu-stats .stat-value { font-weight: 400; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; color: var(--wise-dark-1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-partner-link { padding-top: 12px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--c3-white);
  padding: 4px;
}
.nav-toggle-icon-open { width: 22.5px; height: 9.375px; }
.nav-toggle-icon-close { display: none; width: 20px; height: 20px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close { display: block; }

.main-nav-divider { display: none; }
.main-nav .main-nav-cta { display: none; }

/* Blocca lo scroll della pagina mentre il pannello mobile e' aperto
   (vedi .main-nav.is-open, position:fixed, e setNavOpen() in main.js). */
html.nav-open-lock, html.nav-open-lock body { overflow: hidden; height: 100%; }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  background: var(--wise-dark-1);
  padding: 140px 0 0;
  overflow: hidden;
  color: var(--wise-sand-6);
}

.hero .text-accent { color: var(--wise-sky-1); }
.hero .btn-primary { background: var(--wise-sky-1); color: var(--wise-dark-1); }
.hero .btn-primary:hover { background: var(--wise-sky-3); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 46px;
  max-width: 1440px;
  padding: 0 120px;
}

.hero h1 { max-width: 1125px; font-size: 64px; line-height: 1; letter-spacing: -0.64px; }

.hero-lead {
  max-width: 1125px;
  font-weight: 400;
  font-size: 21.5px;
  line-height: 1.4;
  letter-spacing: -0.215px;
  color: var(--wise-sand-6);
  opacity: 0.85;
}

.hero .btn {
  height: auto;
  padding: 14px 20px;
  gap: 10px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.17px;
}
.hero .btn-outline { background: var(--wise-cement-1); border-color: transparent; color: var(--wise-sand-6); }
.hero .btn-outline:hover { background: var(--wise-cement-2); }

.hero-actions { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn .icon { width: 15px; height: 15px; }

.hero-intro { will-change: transform, opacity; }
.hero-intro-1 { animation: hero-text-rise-in 1s var(--ease) 0s both; }
.hero-intro-2 { animation: hero-lead-rise-in 1s var(--ease) 0.1s both; }
.hero-intro-3 { animation: hero-text-rise-in 1s var(--ease) 0.2s both; }

@keyframes hero-text-rise-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes hero-lead-rise-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 0.85; }
}

.hero-mockup {
  width: 100%;
  max-width: 1125px;
  aspect-ratio: 1125 / 622;
  background: #e9eef9;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-top: 8px;
  overflow: hidden;
  animation: hero-rise-in 0.8s var(--ease) both;
}

@keyframes hero-rise-in {
  from { transform: translateY(100vh); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-mockup-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------- Perché usare Wise ---------------------------------- */

.perche-wise { background: var(--wise-sky-6); color: var(--wise-dark-1); padding: 80px 0 120px; }
.perche-wise .eyebrow { border-color: var(--wise-dark-3); color: var(--wise-dark-3); }
.perche-wise .eyebrow-dark { background: var(--wise-sky-4); color: var(--wise-blue-3); border-color: transparent; }
.perche-wise .section-head h2 { white-space: nowrap; }
.perche-wise .section-head { margin-bottom: 48px; gap: 48px; }

.perche-wise-grid { display: flex; gap: 40px; align-items: flex-start; justify-content: center; max-width: 1100px; margin: 0 auto; }
.perche-wise-card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.perche-wise-ill { width: 100%; height: 300px; object-fit: contain; }
.perche-wise-body { display: flex; flex-direction: column; gap: 36px; width: 100%; }
.perche-wise-body h4 { margin: 0; }
.perche-wise-body p { font-size: 19px; font-weight: 400; line-height: 1.4; letter-spacing: -0.19px; margin: 0; }

/* ---------------------------------- Partners ---------------------------------- */

.partners { background: var(--wise-blue-1); padding: 60px 40px; }
/* Sezione "Si sono affidati a Wise" SPENTA su tutte le pagine: i loghi sono
   segnaposto. Per riaccenderla, con i loghi reali, basta togliere questa riga. */
.partners { display: none; }
.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.partners .eyebrow { margin: 0; white-space: nowrap; background: var(--wise-blue-2); color: var(--wise-blue-6); border-color: transparent; }

.partners-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 26s linear infinite;
}
.partners-set {
  display: flex;
  align-items: center;
  gap: 39.799px;
  margin-right: 39.799px;
  flex-shrink: 0;
}
.partners-set img { opacity: 0.9; display: block; flex-shrink: 0; }

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-marquee:hover .partners-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ---------------------------------- About / Stats ---------------------------------- */

.about { background: var(--wise-sky-1); color: var(--wise-dark-1); padding: 120px 0; }
.about .container { max-width: 1440px; padding: 0 35px; }
.about-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex: 0 1 680px;
  min-width: 0;
}
.about-copy-top { display: flex; flex-direction: column; gap: 36px; }

.about-title {
  display: flex;
  flex-direction: column;
  color: var(--wise-sky-6);
  margin: 0;
}
.about-title-line { line-height: 1; white-space: nowrap; }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
}
.about-text p { font-size: 17px; letter-spacing: -0.17px; line-height: 1.4; margin: 0; }

.about-cta {
  align-self: flex-start;
  height: auto;
  padding: 40px;
  gap: 10px;
  font-size: 21.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.215px;
  border-radius: 4px;
  background: var(--wise-sand-1);
  color: var(--wise-dark-1);
}
.about-cta:hover { background: var(--wise-sand-6); }
.about-cta .icon { width: 20px; height: 20px; }

.about-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 600px;
  max-width: 100%;
}
.about-stats .stat-label { font-size: 17px; font-weight: 400; letter-spacing: -0.17px; }
.about-stats .stat-value { font-size: 80px; font-weight: 500; line-height: 0.95; letter-spacing: -0.8px; }
.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 140px;
}
.stat-head { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.stat-line { display: block; width: 100%; height: 1px; background: var(--c3-white); }
.about .stat-line { background: var(--wise-dark-1); }
.stat-label { font-family: var(--font-body); font-weight: 300; font-size: 14px; letter-spacing: -0.01em; line-height: 1.4; }
.stat-value {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3.5rem, 6.81vw, 6.125rem);
  line-height: 1;
  letter-spacing: -0.01em;
  width: 100%;
}

/* ---------------------------------- Section head (shared) ---------------------------------- */

.section-head {
  max-width: 792px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-head h2 { text-align: center; }
.section-head p:not(.eyebrow) { font-size: 20px; letter-spacing: -0.01em; }
.section-head .eyebrow { margin-bottom: 0; align-self: center; }
.section-head-tight { max-width: 900px; margin-bottom: 40px; }
.section-head-tight .eyebrow { text-align: center; }

/* ---------------------------------- Filosofia ---------------------------------- */

.filosofia { background: var(--wise-dark-1); color: var(--wise-sand-6); padding: 120px 0; }
.filosofia .container { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.filosofia .section-head { margin-bottom: 0; max-width: 920px; gap: 20px; }
.filosofia .section-head p:not(.eyebrow) { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }
.filosofia .eyebrow { background: var(--wise-dark-2); color: var(--wise-dark-4); border-color: transparent; }
.filosofia .btn-primary { background: var(--wise-sky-1); color: var(--wise-dark-1); }
.filosofia .btn-primary:hover { background: var(--wise-sky-3); }
.filosofia .btn .icon { width: 15px; height: 15px; }
.eyebrow-accent { color: var(--wise-blue-3); }

.form-note { text-align: center; font-size: 12px; font-weight: 400; letter-spacing: -0.01em; margin-top: 4px; }
.form-success {
  display: none;
  text-align: center;
  font-size: 14px;
  color: var(--success);
  font-weight: 500;
  margin-top: 8px;
}
form.is-submitted .form-success { display: block; }
form.is-submitted input,
form.is-submitted select,
form.is-submitted button[type="submit"] { opacity: 0.5; pointer-events: none; }


/* ---------------------------------- Come funziona ---------------------------------- */

.come-funziona { background: var(--wise-dark-1); color: var(--wise-sand-6); padding: 120px 0; }
.come-funziona .container { max-width: 1440px; padding: 0 35px; }
.come-funziona .eyebrow { background: var(--wise-dark-2); color: var(--wise-dark-4); border-color: transparent; }
.section-head-left { align-items: flex-start; text-align: left; margin: 0 0 60px; gap: 28px; max-width: none; }
.section-head-left .eyebrow { align-self: flex-start; }
.section-head-left h2 { text-align: left; }
.section-head-left p:not(.eyebrow) { max-width: 792px; font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; }

.come-funziona-grid { display: flex; gap: 20px; align-items: stretch; }
.come-funziona-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  background: var(--wise-sea-1);
  border-radius: 6px;
  padding: 20px 40px 40px;
}
.come-funziona-ill { position: relative; width: 100%; height: 400px; border-radius: 4px; overflow: hidden; background: #22232d; }
.come-funziona-ill-canvas { display: block; width: 100%; height: 100%; }
.come-funziona-ill-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.come-funziona-body { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.come-funziona-body h5 { margin: 0; }
.come-funziona-body p { font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -0.17px; margin: 0; }

/* ---------------------------------- Pricing ---------------------------------- */

.pricing { background: var(--wise-sky-5); color: var(--wise-dark-1); padding: 120px 0; }
.pricing .container { max-width: 1440px; padding: 0 35px; }
.pricing .section-head { gap: 18px; margin-bottom: 120px; }
.pricing .section-head p { color: var(--wise-dark-1); }
.pricing .section-head p:not(.eyebrow) { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; }

.price-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-carousel-inner {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 996px;
  flex: 1;
  min-width: 0;
}

.price-carousel-nav {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wise-sand-6);
  border: none;
  color: var(--wise-dark-2);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.price-carousel-nav .icon { width: 12.0014px; height: 22.0012px; }
.price-carousel-nav.is-next .icon { transform: scaleX(-1); }
.price-carousel-nav:hover:not(:disabled) { background: #f3f0ee; }
.price-carousel-nav.is-prev:disabled, .price-carousel-nav.is-next:disabled { opacity: 0.4; cursor: default; }

/* ---- card column (single active .plan-card shown at a time) ---- */
.price-card-col {
  position: relative;
  width: 488px;
  height: 640px;
  flex-shrink: 0;
}

/* ---- image column ---- */
.price-photo {
  position: relative;
  width: 488px;
  height: 640px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.price-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#price-card-col .plan-card-box { width: 488px; height: 640px; border-radius: 6px; flex: none; min-height: 0; }
#price-card-col .plan-card { display: none; }
#price-card-col .plan-card.is-active { display: flex; }

/* ---------------------------------- Spot offer ---------------------------------- */

.spot { background: var(--wise-sky-1); padding: 80px 0 120px; }
.spot .container { display: flex; flex-direction: column; align-items: center; }
.spot .eyebrow { margin-bottom: 40px; background: var(--wise-sky-3); color: var(--wise-blue-2); border-color: transparent; }
.spot-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 4px;
  padding: 40px;
  height: 210px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 996px;
  margin: 0 auto;
}
.spot-copy { display: flex; flex-direction: column; justify-content: space-between; height: 100%; width: 550px; max-width: 100%; flex-shrink: 0; }
.spot-copy h3 { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -0.26px; }
.spot-copy p { font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -0.17px; }
.spot-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; height: 100%; width: 346px; max-width: 100%; flex-shrink: 0; }
.price-amount { display: flex; align-items: flex-end; justify-content: center; gap: 2px; text-align: center; white-space: nowrap; }
.price-number { font-family: var(--font-heading); font-weight: 600; font-size: 42px; line-height: 1.1; letter-spacing: -0.01em; }
.price-period { font-family: var(--font-heading); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -0.26px; }
.spot-price .price-amount { color: var(--wise-dark-1); }
.spot-price .btn { white-space: nowrap; }
.spot-price .btn-primary {
  height: auto;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.17px;
  background: var(--wise-red-1);
  color: var(--wise-sand-6);
}
.spot-price .btn-primary:hover { background: var(--wise-red-2); }

/* ---------------------------------- Contact ---------------------------------- */

.contact { background: var(--wise-sky-5); color: var(--wise-dark-1); padding: 120px 0; }
.contact .container { max-width: 1440px; padding: 0 35px; }
.contact-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

.contact-copy { display: flex; flex-direction: column; gap: 18px; width: 620px; max-width: 100%; text-align: left; }
.contact-copy h2 { font-size: 64px; line-height: 1.1; letter-spacing: -0.64px; }
.contact-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; line-height: 1.4; margin: 0; }

.contact-form {
  width: 620px;
  max-width: 100%;
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-fields { display: flex; flex-direction: column; gap: 20px; padding-bottom: 22px; }
.contact-form-actions { display: flex; flex-direction: column; gap: 26px; padding-top: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  height: 44px;
  border: 1px solid var(--wise-blue-6);
  border-radius: 8px;
  background: var(--wise-sand-6);
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.16px;
  color: var(--wise-dark-1);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  width: 100%;
}
.contact-form textarea {
  height: 66px;
  padding: 10px 16px;
  resize: vertical;
  line-height: 1.4;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.14px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--wise-dark-1); opacity: 0.55; }
.contact-form textarea::placeholder { color: var(--wise-dark-5); opacity: 1; }

.phone-input {
  display: flex;
  align-items: stretch;
  height: 44px;
  border: 1px solid var(--wise-blue-6);
  border-radius: 8px;
  background: var(--wise-sand-6);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  overflow: hidden;
}
.contact-form .phone-input select.phone-prefix {
  width: auto;
  flex-shrink: 0;
  height: auto;
  border: none;
  border-right: 1px solid var(--wise-blue-6);
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px 0 12px;
  background: transparent;
}
.contact-form .phone-input input.phone-prefix {
  width: 56px;
  flex: 0 0 56px;
  height: auto;
  border: none;
  border-right: 1px solid var(--wise-blue-6);
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px 0 12px;
  background: transparent;
}
.contact-form .phone-input input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  flex: 1;
  min-width: 0;
}
.contact-form .piano-select-trigger { border-color: var(--wise-blue-6); }
.form-privacy { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 20px; margin: 0; }
.form-privacy a { text-decoration: underline; }
.contact-submit { background: var(--wise-dark-2); color: var(--wise-sand-6); }
.contact-submit:hover { background: var(--wise-dark-3); }

/* ---------------------------------- Business CTA ---------------------------------- */

.business-cta { background: var(--wise-sand-6); padding: 120px 0; }
.business-cta-grid { display: flex; gap: 20px; align-items: stretch; justify-content: center; max-width: 996px; margin: 0 auto; }
.business-cta-left { display: flex; flex-direction: column; gap: 20px; width: 488px; max-width: 100%; }
.business-cta-card {
  background: var(--wise-red-2);
  border-radius: 4px;
  padding: 40px;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.business-cta-title { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; color: var(--wise-sand-6); margin: 0; }
.business-cta-lead { font-size: 16px; font-weight: 500; letter-spacing: -0.16px; line-height: 1.4; color: var(--wise-sand-6); margin: 0; }
.business-cta-btn {
  background: var(--wise-dark-1);
  color: var(--wise-sand-6);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.19px;
  box-shadow: 0px 1px 2px 0px rgba(16,24,40,0.05);
  transition: background 0.2s var(--ease);
}
.business-cta-btn:hover { background: var(--wise-dark-2); }
.business-cta-btn .icon { width: 22.5px; height: 22.5px; }
.business-cta-left .business-cta-btn .icon { width: 20px; height: 20px; }
.business-cta-photo { flex: 1 1 0; height: auto; border-radius: 4px; overflow: hidden; }
.business-cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------- Footer ---------------------------------- */

.site-footer { background: var(--wise-dark-1); color: var(--wise-sky-6); padding: 120px 0 40px; }
.site-footer .container { max-width: 1440px; padding: 0 35px; }
.site-footer .text-accent { color: var(--wise-sky-1); }
.footer-grid { display: flex; align-items: stretch; justify-content: space-between; gap: 40px; height: 600px; }

.footer-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; max-width: 480px; flex-shrink: 0; }
.footer-brand-top { display: flex; flex-direction: column; justify-content: space-between; height: 350px; }
.footer-claim {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.42px;
  width: 500px;
  max-width: 100%;
  margin: 0;
}
.footer-desc { font-size: 17px; font-weight: 400; letter-spacing: -0.17px; line-height: 1.4; width: 350px; max-width: 100%; margin: 0; }
.footer-copy { font-size: 14px; font-weight: 400; letter-spacing: -0.14px; margin: 0; }

.footer-nav { display: flex; flex-direction: column; justify-content: space-between; gap: 80px; }
.footer-nav-rows { display: flex; flex-direction: column; gap: 48px; }
.footer-nav-row { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; width: 151px; }
.footer-col-title { font-family: var(--font-heading); font-weight: 400; font-size: 14px; letter-spacing: -0.14px; color: var(--wise-sky-1); margin: 0 0 18px; }
.footer-col a { font-family: var(--font-heading); font-weight: 300; font-size: 14px; letter-spacing: 0; color: var(--wise-sky-6); }
.footer-col a:hover { color: var(--wise-sky-1); }

.footer-ai { display: flex; flex-direction: column; gap: 20px; }
.footer-ai p { font-size: 14px; font-weight: 400; letter-spacing: -0.14px; margin: 0; }
.footer-ai-badges { display: flex; gap: 8px; align-items: center; }
.footer-ai-badge { display: inline-flex; color: var(--wise-sky-6); transition: color 0.2s var(--ease); }
.footer-ai-badge:hover { color: var(--wise-sky-1); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.is-visible, .reveal-right.is-visible { transform: translateX(0); }

.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 350ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 420ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 490ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .site-header, .hero-mockup, .hero-intro { animation: none; transform: none; }
  .site-header, .hero-mockup { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .about-grid { flex-direction: column; align-items: stretch; gap: 48px; }
  .about-copy, .about-stats { flex: 1 1 auto; width: 100%; }
  .about-stats { gap: 32px; }
  .about-title-line { white-space: normal; }
  /* Carosello prezzi (index.html): swipe orizzontale + pallini al posto
     delle frecce prev/next e della foto, da tablet in giù. #price-carousel
     e' l'id specifico della home — non tocca la griglia di prezzi.html. */
  .price-carousel { flex-direction: column; padding: 0; gap: 16px; }
  .price-carousel-inner { flex-direction: column; align-items: center; width: 100%; max-width: none; gap: 0; }
  #price-carousel .price-carousel-nav { display: none; }
  #price-carousel .price-photo { display: none; }
  #price-card-col {
    /* Bleed a tutta larghezza (tocca i bordi del device) indipendentemente
       dal padding di .pricing .container — stesso trucco di .hero-mockup. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: auto;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 30px;
    padding: 0 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #price-card-col::-webkit-scrollbar { display: none; }
  #price-card-col .plan-card { display: flex; flex-shrink: 0; width: 488px; scroll-snap-align: center; }
  #price-card-col .plan-card-box { width: 488px; height: 640px; }

  .price-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
  .price-carousel-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: var(--wise-blue-5); }
  .price-carousel-dot.is-active { background: var(--wise-blue-2); }
  .footer-grid { flex-direction: column; gap: 48px; height: auto; }
  .footer-brand { max-width: 100%; }
  .footer-brand-top { height: auto; gap: 24px; }
  .footer-nav-row { gap: 32px; }
  .contact-grid { flex-direction: column; align-items: stretch; }
  .contact-copy, .contact-form { width: 100%; }
  .business-cta-grid { flex-direction: column; }
  .business-cta-left { width: 100%; }
  .business-cta-photo { width: 100%; min-height: 320px; }
  .spot-card { flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: space-between; text-align: center; height: auto; min-height: 340px; }
  .spot-copy, .spot-price { height: auto; }
  .spot-copy { gap: 20px; }
  .spot-price { align-items: center; gap: 20px; }
  .spot-price .price-amount { justify-content: center; }
  .come-funziona-grid { flex-direction: column; align-items: center; }
  .come-funziona-card { width: 100%; max-width: 488px; }
  /* Video hero a tutta larghezza (tocca i bordi) indipendentemente dal
     padding di .hero-inner — stesso trucco di .partners-marquee. */
  .hero-mockup {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
}

@media (max-width: 860px) {
  .header-inner { padding-left: 10px; padding-right: 10px; }
  .main-nav { display: none; }
  .header-partner-link { display: none; }
  .header-actions .btn-login { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-dropdown, .nav-dropdown-trigger { width: 100%; }
  .nav-dropdown-trigger { justify-content: space-between; }
  .mega-menu {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .nav-dropdown.is-open .mega-menu { display: flex; transform: none; }
  .mega-menu-stats, .mega-menu-divider { display: none; }
  /* Il mega-menu e' pensato per un fondo chiaro (dropdown desktop); qui
     eredita lo sfondo scuro del pannello mobile, quindi i testi vanno
     ribaltati a chiaro (altrimenti risultano scuro-su-scuro, illeggibili). */
  .mega-menu .mega-menu-item { color: var(--wise-sand-6); }
  .mega-menu .mega-menu-item p { color: var(--wise-dark-4); }
  .mega-menu .mega-menu-item:hover { background: var(--wise-dark-2); color: var(--wise-sand-6); }
  /* Su mobile il "+" di Moduli resta un "+" anche da aperto (da Figma),
     niente rotazione a "x" come nell'hover/dropdown desktop. */
  .nav-dropdown.is-open .menu-plus { transform: none; }

  .main-nav-divider { display: block; height: 1px; border: none; margin: 0; background: rgba(245,248,255,0.15); width: 100%; flex-shrink: 0; }
  .main-nav .main-nav-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    /* gap:26px del pannello + 74px = 100px totali prima del bottone, da Figma */
    margin-top: 74px;
    background: var(--wise-sky-1);
    color: var(--wise-dark-1);
    /* Dentro a .main-nav.is-open (flex column) i figli si schiaccerebbero
       sotto la loro altezza quando "Moduli" espanso fa traboccare il
       pannello — il bottone deve restare sempre alla sua size M piena. */
    flex-shrink: 0;
  }
  .main-nav .main-nav-cta:hover { background: var(--wise-sky-3); }

  /* Su pagine "header-on-light" (header chiaro finche' non si scrolla) i
     link diventano scuri per contrastare quello sfondo — ma il pannello
     mobile e' sempre scuro, quindi qui vanno ribaltati a chiari. */
  .header-on-light .main-nav.is-open a:not(.main-nav-cta),
  .header-on-light .main-nav.is-open .link-with-icon { color: var(--wise-sand-6); }
  .header-on-light .main-nav.is-open a:not(.main-nav-cta):hover,
  .header-on-light .main-nav.is-open .link-with-icon:hover { color: var(--wise-red-4); }

  /* Il pannello e' una "pagina" a se stante: fixed su tutto il viewport
     sotto l'header (non absolute), cosi' non si puo' scrollare la pagina
     dietro finche' e' aperto — vedi anche .nav-open-lock sull'html. */
  .main-nav.is-open {
    display: flex;
    position: fixed;
    top: 79px; left: 0; right: 0; bottom: 0;
    background: var(--wise-dark-1);
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 10px 60px;
    gap: 26px;
    overflow-y: auto;
    border-top: 1px solid rgba(245,248,255,0.1);
  }
}

@media (max-width: 640px) {
  /* Margini pagina 10px, coerenti col frame mobile Figma (360px, homepage-mob) */
  .container,
  .about .container,
  .come-funziona .container,
  .pricing .container,
  .contact .container,
  .site-footer .container {
    padding: 0 10px;
  }

  .form-row { grid-template-columns: 1fr; }

  /* ---- Hero ---- */
  .hero { padding: 110px 0 0; }
  .hero .hero-inner { padding: 0 10px; gap: 46px; }
  .hero h1 { max-width: none; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; }
  .hero-lead { font-size: 17px; letter-spacing: -0.17px; }
  .hero-actions { flex-direction: column; gap: 24px; }
  .hero-mockup {
    aspect-ratio: auto;
    height: 199px;
    margin-top: 8px;
  }

  /* ---- Partners ---- */
  .partners-set { gap: 30px; margin-right: 30px; }

  /* ---- Perché usare Wise ---- */
  .perche-wise { padding: 80px 0; }
  .perche-wise .section-head h2 { font-size: 42px; white-space: normal; }
  .perche-wise-grid { flex-direction: column; gap: 40px; }
  .perche-wise-card { gap: 48px; }
  .perche-wise-body { gap: 12px; text-align: center; }
  .perche-wise-body h4 { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -0.26px; }
  .perche-wise-body p { font-size: 17px; letter-spacing: -0.17px; }

  /* ---- Chi Siamo / Stats ---- */
  .about { padding: 100px 0; }
  .about-grid { gap: 36px; }
  /* .about-copy "si dissolve": i suoi figli diventano item diretti di
     .about-grid, cosi il bottone puo passare DOPO le stats (order) senza
     toccare il markup ne il layout desktop. */
  .about-copy { display: contents; }
  .about-copy-top { order: 1; }
  .about-stats { order: 2; gap: 20px; }
  .about-cta { order: 3; align-self: stretch; justify-content: center; }
  .about-title, .about .h2-lg { font-size: 56px; }
  .stat { gap: 20px; }
  .stat-value { font-size: clamp(3.5rem, 6.81vw, 6.125rem); }

  /* ---- Come funziona ---- */
  .come-funziona { padding: 100px 0; }
  .section-head-left h2 { font-size: 42px; }
  .section-head-left p:not(.eyebrow) { font-size: 17px; letter-spacing: -0.17px; }
  .come-funziona-card { padding: 10px; gap: 20px; }
  .come-funziona-ill { height: 320px; }
  .come-funziona-body p { font-size: 14px; letter-spacing: -0.14px; }

  /* ---- Spot / Licenza ---- */
  .spot { padding: 40px 0; }
  .spot-card { padding: 20px; gap: 40px; }
  .spot-copy, .spot-price { width: 100%; }
  .spot-copy h3 { font-size: 26px; }
  .spot-price .price-amount { white-space: normal; }
  .spot-price .price-period { font-size: 16px; font-weight: 500; }

  /* ---- Filosofia ---- */
  .filosofia { padding: 120px 0; }
  .filosofia .section-head { gap: 20px; }
  .filosofia-quote { font-size: 42px; }
  .filosofia .section-head p:not(.eyebrow) { font-size: 14px; letter-spacing: -0.14px; }

  /* ---- Contatti ---- */
  .contact { padding: 100px 0; }
  .contact-grid { gap: 60px; }
  .contact-copy h2 { font-size: 42px; line-height: 1.1; }
  .contact-copy p { font-size: 14px; letter-spacing: -0.14px; }
  .contact-form { padding: 40px; }

  /* ---- Business CTA (in fondo) ---- */
  .business-cta { padding: 120px 0; }
  .business-cta-photo { display: none; }
  .business-cta-card { height: auto; padding: 40px; }

  /* ---- Footer ---- */
  .site-footer { padding: 100px 0 40px; }
  .footer-grid { gap: 48px; }
  .footer-brand-top { gap: 20px; }
  .footer-claim { font-size: 33px; }
  .footer-nav { gap: 40px; }
  .footer-nav-rows { gap: 40px; }
  .footer-nav-row { gap: 20px 38px; }

  /* ---- Pricing carousel (index.html): card piu' strette per lo swipe
     su telefono (il meccanismo del carosello e' definito a 1024px) ---- */
  .pricing { padding: 60px 0; }
  .pricing .section-head { gap: 18px; margin-bottom: 48px; }
  .pricing .section-head p:not(.eyebrow) { font-size: 17px; letter-spacing: -0.17px; }
  .pricing-switcher { margin-bottom: 28px; }
  #price-card-col .plan-card { width: 300px; }
  #price-card-col .plan-card-box { width: 300px; height: 670px; }
}

@media (min-width: 1025px) {
  .price-carousel-dots { display: none; }
}

/* ==========================================================================
   Pagina AI (ai.html)
   ========================================================================== */

.text-dark { color: var(--wise-dark-1); }

/* ---- Hero ---- */
.ai-hero {
  background: var(--wise-sky-1);
  color: var(--wise-sand-6);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
}
.ai-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; min-height: 540px; display: flex; align-items: stretch; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.ai-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 785px;
}
.ai-hero-copy { display: flex; flex-direction: column; gap: 26px; }
.ai-hero-left h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.56vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.ai-hero-lead { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }
.ai-hero-cta {
  align-self: flex-start;
  height: auto;
  padding: 14px 20px;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.17px;
}
.ai-hero-cta .icon { width: 15px; height: 15px; }
.ai-hero .btn-dark { background: var(--wise-dark-1); color: var(--wise-sand-6); }

.ai-hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  flex: 0 1 500px;
}
.ai-hero-stats .stat { height: auto; gap: 12px; }
.ai-hero-stats .stat-head { gap: 12px; }
.ai-hero-stats .stat-line { background: var(--wise-sand-6); }
.ai-hero-stats .stat-label { font-family: var(--font-body); font-weight: 400; font-size: 19px; letter-spacing: -0.19px; }

/* ---- Confronto (Consulenza) ---- */
.ai-compare { background: var(--wise-sky-5); color: var(--wise-dark-1); padding: 80px 0 120px; }
.ai-compare .container { display: flex; flex-direction: column; gap: 10px; max-width: 1200px; padding: 0; }
.ai-compare-intro {
  background: var(--wise-dark-2);
  color: var(--wise-sand-6);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.ai-compare-intro .eyebrow { align-self: flex-start; margin: 0; background: var(--wise-blue-2); color: var(--wise-blue-6); border-color: transparent; }
.ai-compare-intro > div { display: flex; flex-direction: column; gap: 26px; width: 100%; }
.ai-compare-intro h2 { font-size: 42px; }
.ai-compare-intro p:not(.eyebrow) { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; margin: 0; }

.ai-compare-grid { display: flex; gap: 10px; align-items: stretch; }
.ai-compare-card {
  flex: 1 1 0;
  background: var(--wise-sand-6);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.ai-compare-card h3 { font-size: 26px; letter-spacing: -0.01em; margin: 0; }
.ai-compare-list { display: flex; flex-direction: column; gap: 6px; }
.ai-compare-list li { display: flex; align-items: flex-start; gap: 6px; font-family: var(--font-body); font-weight: 500; font-size: 16px; letter-spacing: -0.16px; line-height: 1.4; }
.ai-compare-list .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.ai-compare-list.is-negative .icon { color: var(--wise-blue-4); }
.ai-compare-list.is-positive .icon { color: var(--wise-red-2); }

.ai-why .section-head .eyebrow { align-self: flex-start; }

/* ---- Perché usare Wise ---- */
.ai-why { background: var(--wise-sky-1); color: var(--wise-sand-6); padding: 80px 0; }
.ai-why .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; gap: 48px; }
.ai-why .section-head { max-width: none; width: 100%; margin: 0; gap: 26px; align-items: flex-start; text-align: left; }
.ai-why .section-head h2 { text-align: left; }
.ai-why-eyebrow { background: var(--wise-sky-4); color: var(--wise-blue-2); border-color: transparent; }

.ai-why-grid { display: flex; gap: 20px; align-items: stretch; }
.ai-why-card { flex: 1 1 0; background: var(--wise-sky-6); color: var(--wise-dark-1); padding: 40px; display: flex; flex-direction: column; gap: 20px; border-radius: 6px; }
.ai-why-card-icon { height: 110px; display: flex; align-items: flex-end; flex-shrink: 0; }
.ai-why-card-head { display: flex; align-items: flex-end; min-height: 108px; }
.ai-why-card-head h3 { flex: 1 0 0; font-size: 26px; font-weight: 400; letter-spacing: -0.26px; margin: 0; }
.ai-why-card p { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; margin: 0; }

/* L'esperienza utente (riusa .filosofia della Home) */
.ai-ux .text-accent { color: var(--wise-sky-1); }

@media (max-width: 1360px) {
  .ai-hero .container { flex-direction: column; }
  .ai-hero-left, .ai-hero-stats { flex: 1 1 auto; }
}

@media (max-width: 1024px) {
  .ai-compare-grid { flex-direction: column; }
  .ai-why-grid { flex-direction: column; }
}

@media (max-width: 640px) {
  .ai-hero { padding: 140px 0 80px; }
  .ai-hero-cta { height: 56px; padding: 0 20px; font-size: 16px; }
  .ai-compare .container { padding: 0 24px; }
  .ai-compare-intro { padding: 24px; }
  .ai-compare-card { padding: 24px; }
}

/* ==========================================================================
   Pagina Piani & Prezzi (prezzi.html)
   ========================================================================== */

.eyebrow-brand { border-color: var(--c1); color: var(--c1); }

/* ---- Hero ---- */
.pricing-hero {
  background: var(--wise-dark-1);
  color: var(--wise-sand-6);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.pricing-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; min-height: 540px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.pricing-hero-copy { display: flex; flex-direction: column; gap: 26px; flex: 0 1 650px; }
.pricing-hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.56vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.pricing-hero-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }
.pricing-hero-copy .text-accent { color: var(--wise-red-3); }
.pricing-hero-photo { flex: 0 1 500px; width: 100%; max-width: 500px; aspect-ratio: 500 / 540; border-radius: 10px; overflow: hidden; }
.pricing-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Griglia piani ---- */
.plans { background: var(--wise-sky-6); color: var(--wise-dark-1); padding: 120px 0; }
.plans .container { max-width: 1440px; padding: 0 35px; }
.plans-head { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 792px; margin: 0 auto 48px; text-align: center; }
.plans-head .eyebrow { margin: 0; }
.plans-head .eyebrow-brand { background: var(--wise-sky-4); color: var(--wise-blue-2); border-color: transparent; }
.plans-head h3 { margin: 0; }
.plans-head p:not(.eyebrow) { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; margin: 0; }

.pricing-switcher { display: flex; justify-content: center; margin: 0 0 40px; }
.pricing-switcher-tabs { display: inline-flex; align-items: center; padding: 4px; background: var(--wise-sky-4); border-radius: 50px; }
.pricing-switcher-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 48px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--wise-blue-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pricing-switcher-tab.is-active { background: var(--wise-sand-6); color: var(--wise-dark-1); box-shadow: 0 1px 1px rgba(16, 24, 40, 0.05); }

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; }
.plan-card-box {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 16px;
  min-height: 680px;
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.plan-card.is-dark .plan-card-box { background: var(--wise-dark-1); color: var(--wise-sand-6); }

.plan-card-content { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.plan-card-top { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.plan-card-name { font-family: var(--font-heading); font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; line-height: 1.4; margin: 0; }

.plan-card-price { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.plan-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; }
.plan-price-main { display: flex; align-items: flex-end; gap: 2px; }
.plan-price-number { font-family: var(--font-heading); font-size: 33px; font-weight: 700; letter-spacing: -0.33px; line-height: 1.2; }
.plan-price-period { font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: -0.14px; padding-bottom: 4px; }
.plan-price-was { display: flex; flex-direction: column; align-items: flex-end; padding-bottom: 4px; color: var(--wise-dark-5); white-space: nowrap; }
.plan-price-was-amount { font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 20px; text-decoration: line-through; text-decoration-thickness: 1px; }
.plan-price-was-note { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: -0.11px; }

.plan-card-fine { display: flex; flex-direction: column; font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: -0.14px; line-height: 1.4; margin: 0; width: 100%; }
.plan-card-fine p { margin: 0; }
.plan-card-fine span:first-child { color: var(--wise-dark-5); }
.plan-card-fine span:last-child { color: var(--wise-dark-3); }
.plan-card.is-dark .plan-card-fine span:last-child { color: var(--wise-sand-6); }

.plan-card-divider { height: 1px; border: none; margin: 0; background: var(--wise-dark-6); }
.plan-card.is-dark .plan-card-divider { background: var(--wise-dark-3); }

.plan-card-specs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; width: 100%; font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: -0.14px; color: var(--wise-dark-3); }
.plan-card.is-dark .plan-card-specs { color: var(--wise-dark-6); }
.plan-card-specs-sep { display: inline-block; width: 1px; height: 20px; background: var(--wise-dark-6); }
.plan-card.is-dark .plan-card-specs-sep { background: var(--wise-dark-3); }

.plan-card-features { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.plan-card-features li { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: -0.14px; line-height: 1.4; color: var(--wise-dark-3); }
.plan-card.is-dark .plan-card-features li { color: var(--wise-dark-6); }
.plan-card-features li strong { font-weight: 700; }
.plan-card-features li.is-highlight { color: #12b76a; font-weight: 700; }
.plan-card.is-dark .plan-card-features li.is-highlight { color: #12b76a; }
.plan-card-features .icon-check-mark,
.compare-table .icon-check-mark { width: 10.5px; height: 7.78px; flex-shrink: 0; color: #12b76a; }
/* Etichetta "In arrivo": funzioni previste dalla matrice licenze ma non ancora disponibili */
.plan-card-soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 100px; background: var(--wise-sky-5); color: var(--wise-blue-1); font-family: var(--font-heading); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: -0.11px; white-space: nowrap; vertical-align: 1px; }
.plan-card.is-dark .plan-card-soon { background: var(--wise-dark-2); color: var(--wise-sky-4); }

.plan-card-cta {
  border-radius: 4px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.17px;
  box-shadow: 0px 1px 2px 0px rgba(16,24,40,0.05);
  transition: filter 0.2s var(--ease);
}
.plan-card-cta:hover { filter: brightness(1.08); }
.plan-card-cta.is-starter { background: var(--wise-sky-1); color: var(--wise-dark-1); }
.plan-card-cta.is-evolution { background: var(--wise-blue-1); color: var(--wise-sand-6); }
.plan-card-cta.is-professional { background: var(--wise-dark-1); color: var(--wise-sand-6); }
.plan-card-cta.is-enterprise { background: var(--wise-sand-1); color: var(--wise-dark-1); }

@media (max-width: 1200px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card-box { height: auto; min-height: 620px; flex: 1; gap: 24px; }
}

@media (max-width: 1360px) {
  .pricing-hero .container { flex-direction: column; align-items: flex-start; }
  .pricing-hero-copy { flex: 1 1 auto; }
  .pricing-hero-photo { flex: 1 1 auto; max-width: 500px; }
}

@media (max-width: 640px) {
  .pricing-hero { padding: 140px 0 60px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-head { max-width: none; }
}

/* ---- Sotto le card: riga fissa richiesta dalla matrice licenze + link al confronto ---- */
.plans-foot { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; text-align: center; }
.plans-note { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -0.17px; color: var(--wise-dark-3); }
.plans-note strong { font-weight: 600; color: var(--wise-dark-1); }
.plans-note .icon-infinity { width: 25px; height: 11.67px; flex-shrink: 0; color: var(--wise-blue-2); }
.plans-more .icon { transform: rotate(90deg); }

/* Home: link "Vedi in dettaglio" sotto il carosello prezzi */
.pricing-more { display: flex; justify-content: center; margin-top: 60px; }

/* ---- Le esclusive di Wise (riusa .consulenza-grid/.consulenza-card) ---- */
.exclusives { background: var(--wise-sand-6); color: var(--wise-dark-1); padding: 100px 0 120px; }
.exclusives .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; }
.exclusives .plans-head { margin-bottom: 40px; }
.exclusives .consulenza-card { background: var(--wise-sand-4); color: var(--wise-dark-1); min-height: 300px; justify-content: flex-start; }
.exclusives .consulenza-card .icon { color: var(--wise-blue-2); }
/* Margini verticali: ogni icona occupa 39px di altezza (quella del casco), così i titoli delle 4 card partono alla stessa quota */
.exclusives .consulenza-card .icon-infinity { width: 47px; height: 21.94px; margin: 8.53px 0; }
.exclusives .consulenza-card .icon-helmet { width: 47px; height: 39px; }
.exclusives .consulenza-card .icon-squares-four { width: 35px; height: 35px; margin: 2px 0; }
.exclusives .consulenza-card .icon-handshake { width: 47px; height: 32.31px; margin: 3.35px 0; }

/* ---- Confronto piani (tabella) ---- */
.compare { background: var(--wise-sky-6); color: var(--wise-dark-1); padding: 100px 0 120px; }
.compare .container { max-width: 1440px; padding: 0 35px; }
.compare-wrap { max-width: 1200px; margin: 0 auto; background: var(--wise-sand-6); border-radius: 16px; padding: 8px 24px 24px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-family: var(--font-body); }
.compare-table th,
.compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--wise-blue-6); font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: -0.14px; text-align: center; vertical-align: middle; color: var(--wise-dark-3); }
.compare-table thead th,
.compare-table thead td { position: sticky; top: 0; z-index: 2; background: var(--wise-sand-6); padding: 20px 8px 16px; border-bottom-color: var(--wise-dark-6); vertical-align: bottom; }
.compare-table .compare-corner { width: 34%; }
.compare-plan { display: block; font-family: var(--font-heading); font-size: 21.5px; font-weight: 400; line-height: 1.4; letter-spacing: -0.215px; color: var(--wise-dark-1); }
.compare-fit { display: block; font-size: 13px; letter-spacing: -0.13px; color: var(--wise-dark-4); }
.compare-table tbody th[scope="row"] { padding-left: 0; text-align: left; font-size: 15px; letter-spacing: -0.15px; color: var(--wise-dark-1); }
.compare-table .compare-group th { padding: 28px 0 10px; text-align: left; font-family: var(--font-heading); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wise-blue-1); border-bottom-color: var(--wise-dark-6); }
/* Linee verticali tra le colonne dei piani */
.compare-table thead th,
.compare-table tbody td { border-left: 1px solid var(--wise-blue-6); }
.compare-table td .plan-card-soon { margin-left: 0; }
.compare-no { color: var(--wise-dark-5); }
.compare-note { display: block; font-size: 12px; letter-spacing: -0.12px; color: var(--wise-dark-4); }
.compare-table tfoot td { padding: 24px 6px 0; border-bottom: none; }
.compare-table tfoot .plan-card-cta { padding: 12px 8px; font-size: 15px; letter-spacing: -0.15px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .exclusives { padding: 60px 0 80px; }
  .exclusives .container { padding: 0 16px; }
}

@media (max-width: 1100px) {
  .compare-table .compare-corner { width: 28%; }
  .compare-plan { font-size: 17px; letter-spacing: -0.17px; }
}

/* Sotto i 900px ogni riga diventa: nome della funzione a tutta larghezza,
   poi i 4 valori in colonna; i nomi dei piani restano fissi in alto */
@media (max-width: 900px) {
  .compare { padding: 60px 0 80px; }
  .compare .container { padding: 0 16px; }
  .compare-wrap { padding: 0 12px 12px; border-radius: 12px; }
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table th,
  .compare-table td { display: block; }
  .compare-table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compare-table thead { position: sticky; top: 0; z-index: 2; background: var(--wise-sand-6); }
  .compare-table thead th { position: static; padding: 12px 2px 10px; }
  .compare-table .compare-corner,
  .compare-fit,
  .compare-table tfoot { display: none; }
  .compare-plan { font-size: 13px; font-weight: 600; letter-spacing: -0.13px; }
  .compare-table tbody th[scope="row"] { grid-column: 1 / -1; padding: 12px 0 4px; border-bottom: none; font-size: 14px; letter-spacing: -0.14px; }
  .compare-table tbody td { padding: 4px 2px 12px; font-size: 12.5px; letter-spacing: -0.125px; }
  .compare-table .compare-group th { grid-column: 1 / -1; padding: 20px 0 8px; }
  .compare-table thead th:first-of-type,
  .compare-table tbody th[scope="row"] + td { border-left: none; }
}

/* ==========================================================================
   Pagina Consulenza (consulenza.html)
   ========================================================================== */

/* ---- Header su sfondo chiaro ---- */
.header-on-light .main-nav a,
.header-on-light .link-with-icon,
.header-on-light .nav-toggle { color: var(--wise-dark-1); }
.header-on-light .main-nav a:hover,
.header-on-light .link-with-icon:hover { color: var(--wise-dark-3); }
.header-on-light .btn-login { background: var(--wise-red-3); color: var(--wise-sky-6); }

/* ---- Hero ---- */
.consulenza-hero {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  overflow: hidden;
}
.consulenza-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; min-height: 540px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.consulenza-hero-copy { display: flex; flex-direction: column; gap: 26px; flex: 0 1 600px; }
.consulenza-hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.56vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.consulenza-hero-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }
.consulenza-hero-photo { flex: 0 1 660px; width: 100%; max-width: 660px; }
.consulenza-hero-photo img { width: 100%; height: auto; display: block; border-radius: 10px; }
.consulenza-hero .text-accent { color: var(--wise-cement-3); }

/* ---- Servizi sul campo ---- */
.consulenza-services { background: var(--wise-sand-6); padding: 80px 0 120px; }
.consulenza-services .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.consulenza-services-head { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 700px; text-align: center; }
.consulenza-services-head .eyebrow { margin: 0; }
.consulenza-services-head .eyebrow-brand { background: var(--wise-red-4); color: var(--wise-red-6); border-color: transparent; }
.consulenza-services-head h2 { margin: 0; }
.consulenza-services-head p:not(.eyebrow) { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; margin: 0; }

.consulenza-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; width: 100%; max-width: 1120px; }
.consulenza-card { background: var(--c3-white); border-radius: 6px; padding: 40px; min-height: 350px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.consulenza-card .icon { width: 55px; height: 55px; color: var(--background); }
.consulenza-card img.icon { width: auto; height: auto; max-width: 55px; max-height: 55px; align-self: flex-start; }
.consulenza-services .consulenza-card { background: var(--wise-sand-4); color: var(--wise-dark-1); }
.consulenza-services .consulenza-card .icon { color: var(--wise-red-1); }
.consulenza-services .icon-note { width: 38px; height: 38px; }
.consulenza-services .icon-helmet { width: 47px; height: 39px; }
.consulenza-services .icon-chart-polar { width: 41px; height: 41px; }
.consulenza-services .icon-shield-check { width: 38px; height: 39px; }
.consulenza-card img[src$="icon-clock-counter-clockwise.svg"] { width: 37px; height: 35px; }
.consulenza-card img[src$="icon-paper-plane-tilt.svg"] { width: 35px; height: 35px; }
.consulenza-card img[src$="icon-handshake.svg"] { width: 47px; height: 32px; }
.consulenza-card img[src$="icon-scan-smiley.svg"] { width: 35px; height: 35px; }
.consulenza-card-body { display: flex; flex-direction: column; gap: 20px; }
.consulenza-card-body h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 400; letter-spacing: -0.26px; line-height: 1.2; margin: 0; }
.consulenza-card-body p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; line-height: 1.4; margin: 0; }

.consulenza-services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--wise-cement-3);
  color: var(--wise-sand-6);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  box-shadow: 0px 1.25px 2.5px 0px rgba(16,24,40,0.05);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
.consulenza-services-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.consulenza-services-cta .icon { width: 15px; height: 15px; }

/* ---- FAQ / Accordion ---- */
.consulenza-faq { background: var(--wise-sand-6); padding: 80px 0 120px; }
.consulenza-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.consulenza-faq h2 { color: var(--wise-dark-1); text-align: center; margin: 0; }
.consulenza-faq .accordion-item { border-bottom-color: var(--wise-dark-1); }
.consulenza-faq .accordion-trigger { color: var(--wise-dark-1); }
.consulenza-faq .accordion-panel-inner { color: var(--wise-dark-1); }

.accordion { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 920px; }
.accordion-item { border-bottom: 0.3px solid var(--background); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.19px;
  color: var(--background);
}
.accordion-trigger .icon { width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.accordion-item.is-open .accordion-trigger .icon { transform: rotate(45deg); }
.accordion-panel { height: 0; overflow: hidden; }
.accordion-panel-inner { padding: 0 30px 20px 0; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--background); opacity: 0.75; }

/* ---- Prenota videocall ---- */
.consulenza-videocall { background: var(--wise-sand-6); padding: 120px 0; display: flex; justify-content: center; }
.consulenza-videocall-card {
  background: var(--wise-sky-1);
  border-radius: 4px;
  padding: 40px;
  width: 800px;
  max-width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: center;
}
.consulenza-videocall-copy { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.consulenza-videocall-title { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; color: var(--wise-sand-6); margin: 0; max-width: 672px; }
.consulenza-videocall-sub { font-family: var(--font-heading); font-weight: 400; font-size: 21.5px; line-height: 1.4; letter-spacing: -0.215px; color: var(--wise-dark-1); margin: 0; }
.consulenza-videocall-card .business-cta-btn { justify-content: center; gap: 8px; }
.consulenza-videocall-card .business-cta-btn .icon { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .consulenza-videocall { padding: 80px 0; }
  .consulenza-videocall-card { padding: 24px; min-height: auto; }
}

@media (max-width: 1360px) {
  .consulenza-hero .container { flex-direction: column; align-items: flex-start; }
  .consulenza-hero-copy { flex: 1 1 auto; }
  .consulenza-hero-photo { flex: 1 1 auto; max-width: 660px; }
}

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

@media (max-width: 640px) {
  .consulenza-hero { padding: 140px 0 60px; }
  .consulenza-services, .consulenza-faq { padding: 60px 0 80px; }
  .consulenza-services .container, .consulenza-faq .container { gap: 60px; }
}

/* ==========================================================================
   Pagina Diventa Partner (diventa-partner.html)
   ========================================================================== */

.text-teal { color: var(--wise-red-3); }
.eyebrow-teal { background: var(--wise-sky-4); color: var(--wise-blue-2); border-color: transparent; }

/* ---- Hero ---- */
.partner-hero {
  background: var(--wise-dark-1);
  color: var(--wise-sand-6);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.partner-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; min-height: 540px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.partner-hero-copy { display: flex; flex-direction: column; gap: 26px; flex: 0 1 600px; }
.partner-hero-copy h1 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.4rem, 5.56vw, 5rem); line-height: 0.95; letter-spacing: -0.01em; }
.partner-hero-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }
.partner-hero-photo { flex: 0 1 625px; width: 100%; max-width: 625px; aspect-ratio: 625 / 540; border-radius: 10px; overflow: hidden; }
.partner-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Vantaggi Partner ---- */
.partner-benefits { background: var(--wise-sand-4); padding: 80px 0 120px; }
.partner-benefits .container { max-width: 1440px; padding: 0 40px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.partner-benefits-head { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 700px; text-align: center; }
.partner-benefits-head .eyebrow { margin: 0; }
.partner-benefits-head h2 { margin: 0; }
.partner-benefits-head p:not(.eyebrow) { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; margin: 0; }

.partner-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; width: 100%; max-width: 1120px; }
.partner-benefit-card { background: var(--wise-sand-6); border-radius: 6px; padding: 40px; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.partner-benefit-card .icon { color: var(--wise-dark-1); }
.partner-benefit-card .icon-chart-line-up { width: 38.25px; height: 32.3px; }
.partner-benefit-card .icon-signature { width: 40.8px; height: 38.25px; }
.partner-benefit-card .icon-timer { width: 34.85px; height: 40.8px; }
.partner-benefit-card .icon-headset { width: 38.25px; height: 40.8px; }
.partner-benefit-card-body { display: flex; flex-direction: column; gap: 20px; }
.partner-benefit-card-body h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 400; letter-spacing: -0.26px; line-height: 1.2; margin: 0; }
.partner-benefit-card-body p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; line-height: 1.4; margin: 0; }

.partner-benefits-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--wise-red-3);
  color: var(--wise-sand-6);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  box-shadow: 0px 1.25px 2.5px 0px rgba(16,24,40,0.05);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
.partner-benefits-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.partner-benefits-cta .icon { width: 15px; height: 15px; }

/* ---- FAQ ---- */
.partner-faq { background: var(--wise-sand-4); padding: 80px 0 120px; }
.partner-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.partner-faq h2 { color: var(--wise-dark-1); text-align: center; margin: 0; }
.partner-faq .accordion-item { border-bottom-color: var(--wise-dark-1); }
.partner-faq .accordion-trigger { color: var(--wise-dark-1); }
.partner-faq .accordion-panel-inner { color: var(--wise-dark-1); }

/* ---- Candidatura Partner ---- */
.partner-contact { background: var(--wise-red-3); color: var(--wise-dark-1); padding: 120px 0; }
.partner-contact .container { max-width: 1440px; padding: 0 35px; }
.partner-contact .contact-form input,
.partner-contact .contact-form select,
.partner-contact .contact-form textarea,
.partner-contact .phone-input { border-color: var(--wise-sea-4); }
.partner-contact .contact-form .phone-input select.phone-prefix,
.partner-contact .contact-form .phone-input input.phone-prefix { border-right-color: var(--wise-sea-4); }

@media (max-width: 1360px) {
  .partner-hero .container { flex-direction: column; align-items: flex-start; }
  .partner-hero-copy { flex: 1 1 auto; }
  .partner-hero-photo { flex: 1 1 auto; max-width: 625px; }
}

@media (max-width: 900px) {
  .partner-benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .partner-hero { padding: 140px 0 60px; }
  .partner-benefits, .partner-faq { padding: 60px 0 80px; }
  .partner-benefits .container, .partner-faq .container { gap: 60px; }
}

/* ==========================================================================
   Pagina Prenota Demo (prenota-demo.html)
   ========================================================================== */

.demo-body { background: var(--wise-sky-1); }

.demo-page {
  background: var(--wise-sky-1);
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 35px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ---- Form ---- */
.demo-form-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 1 715px;
  min-width: 0;
}
.demo-form-head { display: flex; flex-direction: column; gap: 10px; }
.demo-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  color: var(--wise-dark-1);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  text-decoration: underline;
}
.demo-back-link .icon { width: 14.25px; height: 14.25px; transform: rotate(180deg); }
.demo-form-head h1 { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; }

.demo-form { display: flex; flex-direction: column; width: 100%; }
.demo-form input, .demo-form select, .demo-form textarea {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--wise-sand-6);
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.16px;
  color: var(--wise-dark-1);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  width: 100%;
}
.piano-select { position: relative; }
.piano-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 10px 16px;
  background: var(--wise-sand-6);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  cursor: pointer;
  text-align: left;
}
.piano-select-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  color: var(--wise-dark-1);
}
.piano-select-value.is-placeholder { font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-5); }
.date-field { position: relative; }
.date-field-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 10px 16px;
  background: var(--wise-sand-6);
  border: 1px solid var(--wise-blue-4);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  cursor: pointer;
  text-align: left;
}
.date-field-value { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: -0.17px; color: var(--wise-dark-1); }
.date-field-value.is-placeholder { font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-5); }
.date-field-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--wise-dark-1); }

.datepicker {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  z-index: 10;
  width: 360px;
  max-width: 90vw;
  background: var(--wise-sand-6);
  border-radius: 12px;
  box-shadow: 0px 20px 24px -4px rgba(16,24,40,0.08), 0px 8px 8px -4px rgba(16,24,40,0.03);
}
.date-field.is-open .datepicker { display: flex; }
.datepicker-body { padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.datepicker-month { display: flex; align-items: center; justify-content: space-between; }
.datepicker-nav { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: none; border: none; cursor: pointer; padding: 0; color: var(--wise-dark-1); }
.datepicker-nav .icon { width: 24px; height: 24px; }
.datepicker-month-label { flex: 1 0 0; margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 17px; letter-spacing: -0.17px; color: var(--wise-dark-1); text-align: center; }
.datepicker-weekdays { display: flex; padding: 24px 0 16px; }
.datepicker-weekdays span { flex: 1 0 0; text-align: center; font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-1); }
.datepicker-days { display: flex; flex-direction: column; }
.datepicker-week { display: flex; }
.datepicker-day { flex: 1 0 0; height: 46px; display: flex; align-items: center; justify-content: center; }
.datepicker-day button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--wise-dark-1);
}
.datepicker-day.is-muted button { color: var(--wise-dark-5); }
.datepicker-day.is-selected button { background: var(--wise-sea-2); color: var(--wise-sand-6); }
.datepicker-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 20px; border-top: 1px solid var(--wise-blue-6); }
.datepicker-footer button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.17px;
}
.datepicker-cancel { background: var(--wise-sand-1); color: var(--wise-dark-1); }
.datepicker-apply { background: var(--wise-dark-1); color: var(--wise-sand-6); }
.piano-select-arrow { width: 12px; height: 14px; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.piano-select.is-open .piano-select-arrow { transform: rotate(180deg); }
.piano-select-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 20px;
  list-style: none;
  background: var(--wise-sand-6);
  border-radius: 12px;
  box-shadow: 0px 20px 24px -4px rgba(16,24,40,0.08), 0px 8px 8px -4px rgba(16,24,40,0.03);
  max-height: 320px;
  overflow-y: auto;
}
.piano-select.is-open .piano-select-menu { display: flex; }
.piano-select-menu li {
  padding: 12px 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  color: var(--wise-dark-1);
  cursor: pointer;
}
.piano-select-menu li:hover, .piano-select-menu li.is-active { color: var(--wise-blue-1); }

.time-select { position: relative; }
.time-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 10px 16px;
  background: var(--wise-sand-6);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  cursor: pointer;
  text-align: left;
}
.time-select-value { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: -0.17px; color: var(--wise-dark-1); }
.time-select-value.is-placeholder { font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-5); }
.time-select.is-open .piano-select-arrow { transform: rotate(180deg); }
.time-select-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  z-index: 5;
  padding: 20px;
  background: var(--wise-sand-6);
  border-radius: 12px;
  box-shadow: 0px 20px 24px -4px rgba(16,24,40,0.08), 0px 8px 8px -4px rgba(16,24,40,0.03);
  max-height: 320px;
  overflow-y: auto;
}
.time-select.is-open .time-select-menu { display: flex; }
.time-select-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 6px; }
.time-chip {
  border: 1px solid var(--wise-dark-6);
  border-radius: 6px;
  padding: 6px;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.17px;
  color: var(--wise-dark-1);
}
.time-chip.is-selected { background: var(--wise-dark-1); border-color: var(--wise-dark-1); color: var(--wise-sand-6); }
.time-select-note { flex: 1 0 0; padding: 12px 0; margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-1); }
.demo-form textarea { height: 66px; padding: 10px 16px; resize: vertical; line-height: 1.4; font-family: inherit; font-size: 14px; font-weight: 400; letter-spacing: -0.14px; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: var(--wise-dark-5); }
.demo-form .phone-input .phone-prefix { width: 56px; flex-shrink: 0; height: auto; border: none; border-right: 1px solid var(--border); border-radius: 0; box-shadow: none; padding: 0 8px 0 12px; background: transparent; }
.demo-form .phone-input input:not(.phone-prefix) { border: none; border-radius: 0; box-shadow: none; height: auto; flex: 1; min-width: 0; }
.demo-form .btn-dark {
  background: var(--wise-blue-1);
  color: var(--wise-sand-6);
  height: auto;
  padding: 14px 20px;
  gap: 10px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.17px;
}

.demo-toggle-group { display: flex; flex-direction: column; justify-content: flex-end; flex: 1 0 0; min-width: 0; gap: 6px; align-self: stretch; }
.toggle-field { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.toggle-field:first-child { padding-top: 8px; }
.toggle-field span:last-child { font-family: var(--font-heading); font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: -0.17px; color: var(--wise-dark-1); }
.toggle-switch { position: relative; display: inline-flex; flex-shrink: 0; width: 36px; height: 20px; }
.toggle-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; appearance: none; -webkit-appearance: none; }
.toggle-track { position: absolute; inset: 0; background: var(--wise-blue-6); border-radius: 10px; transition: background-color 0.2s var(--ease); pointer-events: none; }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--wise-sand-6);
  box-shadow: 0 1px 2px rgba(16,24,40,0.1), 0 1px 1.5px rgba(16,24,40,0.06);
  transition: transform 0.2s var(--ease);
  pointer-events: none;
}
.toggle-switch input:checked ~ .toggle-track { background: var(--wise-blue-1); }
.toggle-switch input:checked ~ .toggle-thumb { transform: translateX(16px); }
.toggle-switch input:focus-visible ~ .toggle-track { outline: 2px solid var(--wise-blue-1); outline-offset: 2px; }

/* ---- Side column ---- */
.demo-side { display: flex; flex-direction: column; gap: 20px; flex: 0 1 635px; min-width: 358px; align-self: stretch; }

.demo-promo {
  background: var(--wise-red-3);
  border-radius: 6px;
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex: 1 0 0;
}
.demo-promo-top { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; width: 100%; }
.demo-promo-logo { width: 120px; height: 30px; flex-shrink: 0; }
.demo-promo-top h2 { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; color: var(--wise-sand-6); }
.demo-promo .btn {
  flex-shrink: 0;
  background: var(--wise-red-1);
  color: var(--wise-sand-6);
  height: auto;
  padding: 40px;
  gap: 10px;
  font-size: 21.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.215px;
}
.demo-promo .btn .icon { width: 20px; height: 20px; }

.demo-certs { background: var(--wise-sand-6); border-radius: 6px; padding: 40px; display: flex; flex-direction: column; gap: 48px; }
.demo-certs-logos { display: flex; align-items: center; justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
.demo-certs-logos img { width: 90px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.demo-cert-confindustria { width: 98px; height: 86px; }
.demo-owner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.demo-owner p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; margin: 0; color: var(--wise-dark-1); }
.demo-owner img { height: 31px; width: auto; display: block; }

/* ---- prenota-videocall.html: differisce da prenota-demo.html per sfondo,
   bordi input, colori card promo e allineamento loghi certificazioni ---- */
.videocall-page.demo-body { background: var(--wise-red-5); }
.videocall-page .demo-page { background: var(--wise-red-5); }
.videocall-page .demo-form input,
.videocall-page .demo-form textarea,
.videocall-page .phone-input,
.videocall-page .time-select-trigger {
  border-color: var(--wise-blue-4);
}
.videocall-page .demo-promo { background: var(--wise-blue-1); }
.videocall-page .demo-promo .btn { background: var(--wise-sky-1); color: var(--wise-dark-1); }
.videocall-page .demo-form .btn-dark {
  background: var(--wise-red-1);
  color: var(--wise-sand-6);
  height: 56px;
  padding: 0 20px;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: -0.16px;
}

/* ---- prova-gratuita.html: stesso layout di prenota-demo.html, card promo
   scura con le condizioni della prova (matrice licenze) ---- */
.trial-lead { font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: -0.14px; color: var(--wise-dark-3); }
.trial-page .demo-promo { background: var(--wise-dark-1); }
.trial-page .demo-promo .btn { background: var(--wise-sky-1); color: var(--wise-dark-1); }
.trial-page .demo-promo .btn .icon { width: 15px; height: 15px; }
.trial-page .demo-form .btn-dark {
  background: var(--wise-red-1);
  color: var(--wise-sand-6);
  height: 56px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: -0.16px;
}
.trial-page .demo-form .btn-dark:hover { background: var(--wise-red-2); }
.trial-terms { display: flex; flex-direction: column; gap: 14px; }
.trial-terms li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -0.17px; color: var(--wise-sand-6); }
.trial-terms .icon { width: 16px; height: 11.52px; flex-shrink: 0; margin-top: 6px; color: var(--wise-red-2); }

@media (max-width: 1100px) {
  .demo-toggle-group { height: auto; }
}

@media (max-width: 849px) {
  .demo-form-card, .demo-side { flex: 1 1 100%; min-width: 0; }
  .demo-page { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .demo-page { padding: 20px; gap: 16px; }
  .demo-form-card, .demo-certs { padding: 24px; }
  .demo-promo { padding: 20px 20px 32px; }
  .demo-form-head h1, .demo-promo-top h2 { font-size: 2rem; }
  .demo-toggle-group { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
}

/* ==========================================================================
   Pagina Carrello (carrello.html)
   ========================================================================== */

.cart-page { background: var(--wise-sky-1); min-height: 100vh; }
.cart-top { display: flex; align-items: stretch; gap: 20px; padding: 35px 35px 0; flex-wrap: wrap; }

/* ---- Riepilogo piano ---- */
.cart-summary-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 1 640px;
  max-width: 878px;
  min-width: 0;
}
.cart-summary-head { display: flex; flex-direction: column; gap: 20px; }
.cart-summary-head h1 { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; }
.cart-summary-card .demo-back-link { font-size: 17px; font-weight: 400; color: var(--wise-dark-1); }

.cart-plan-box { background: var(--wise-sky-6); border-radius: 6px; padding: 40px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-plan-head { border-bottom: 1px solid var(--wise-blue-4); padding-bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
.cart-plan-title { display: flex; gap: 10px; align-items: center; font-family: var(--font-heading); letter-spacing: -0.19px; color: var(--wise-dark-1); }
.cart-plan-title span { font-weight: 400; font-size: 17px; letter-spacing: -0.17px; }
.cart-plan-title strong { font-weight: 400; font-size: 21.5px; letter-spacing: -0.215px; }
.cart-plan-subtitle { font-family: var(--font-heading); font-weight: 400; font-size: 14px; letter-spacing: -0.14px; color: var(--wise-dark-1); margin: 0; }

.cart-plan-features { display: flex; flex-wrap: wrap; gap: 0 20px; }
.cart-plan-features li { display: flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 400; font-size: 17px; letter-spacing: -0.17px; color: var(--wise-dark-1); padding: 4px 0; }
.cart-plan-features .icon { width: 18px; height: 18px; flex-shrink: 0; }
.cart-plan-features li .icon-check { width: 14.06px; height: 10.13px; }
.cart-plan-features li .icon-x { width: 11.25px; height: 11.25px; }
.cart-plan-features li .icon-infinity { width: 16.87px; height: 7.88px; }
.cart-plan-features li .icon-plus { width: 13.5px; height: 13.5px; }
.cart-plan-features li.is-muted { color: var(--wise-blue-3); }
.cart-plan-features li.is-accent { color: var(--wise-red-2); }
.cart-plan-features li.is-success { color: var(--success); }

.cart-summary-note { font-family: var(--font-heading); font-weight: 400; font-size: 17px; letter-spacing: -0.17px; margin: 0; color: var(--wise-dark-1); }

/* ---- Checkout ---- */
.cart-checkout-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  flex: 1 1 340px;
  min-width: 0;
}
.cart-checkout-totals { display: flex; flex-direction: column; }
.cart-totals-group { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--wise-blue-4); padding-bottom: 26px; }

.cart-billing-tabs { align-self: flex-start; display: inline-flex; gap: 4px; padding: 2px; background: var(--wise-sky-6); border-radius: 8px; margin-bottom: 4px; }
.cart-billing-tabs[hidden] { display: none; }
.cart-billing-tab {
  height: 30px;
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: var(--wise-blue-4);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cart-billing-tab.is-active { background: var(--wise-sand-6); color: var(--wise-dark-1); box-shadow: 0 1px 1px rgba(16, 24, 40, 0.05); }

.cart-line { display: flex; align-items: flex-start; justify-content: space-between; padding: 2px 10px; gap: 12px; font-family: var(--font-heading); }
.cart-line p { font-size: 21.5px; letter-spacing: -0.215px; margin: 0; color: var(--wise-dark-1); }
.cart-line-sub { font-size: 14px; letter-spacing: -0.14px; font-weight: 400; }
.cart-line-amounts { display: flex; flex-direction: column; align-items: flex-end; color: var(--wise-dark-1); }
.cart-line-amounts span:first-child { font-size: 21.5px; letter-spacing: -0.215px; text-align: right; }
.cart-line-total p, .cart-line-total > span { font-weight: 700; font-size: 19px; letter-spacing: -0.19px; color: var(--wise-dark-1); }

.cart-promo { display: flex; flex-direction: column; gap: 12px; padding-top: 26px; }
.cart-promo-label { font-family: var(--font-heading); font-weight: 700; font-size: 19px; letter-spacing: -0.19px; margin: 0; color: var(--wise-dark-1); }
.cart-promo-row { display: flex; gap: 10px; }
.cart-promo-row input {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--wise-blue-4);
  border-radius: 8px;
  background: var(--wise-sand-6);
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.17px;
  color: var(--wise-dark-1);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
}
.cart-promo-row input::placeholder { color: var(--wise-blue-4); }
.cart-promo-row .btn { flex-shrink: 0; height: 44px; font-size: 17px; font-weight: 400; letter-spacing: -0.17px; }
.cart-promo-row .btn-dark { background: var(--wise-blue-1); color: var(--wise-sand-6); }

.cart-cta-main {
  background: var(--wise-sea-1);
  color: var(--wise-sand-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.17px;
  width: 100%;
  transition: filter 0.2s var(--ease);
}
.cart-cta-main:hover { filter: brightness(1.15); }
.cart-cta-main .icon { width: 15px; height: 15px; }
.cart-cta-main .icon-arrow-right { transform: rotate(-90deg); }

/* ---- CTA + certificazioni ---- */
.cart-ctas-row { display: flex; align-items: stretch; gap: 10px; padding: 20px 35px 40px; flex-wrap: wrap; }

.cart-cta-card { border-radius: 6px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; min-height: 130px; flex: 1 1 200px; max-width: 360px; min-width: 0; }
.cart-cta-card p { font-family: var(--font-heading); font-weight: 400; font-size: 17px; letter-spacing: -0.17px; line-height: 1.4; margin: 0; white-space: nowrap; }
.cart-cta-card .btn { flex-shrink: 0; }
.cart-cta-card .btn .icon { width: 15px; height: 15px; }
.cart-cta-card.is-accent { background: var(--wise-red-2); color: var(--wise-sand-6); }
.cart-cta-card.is-accent .btn-dark { background: var(--wise-sand-1); color: var(--wise-dark-1); }
.cart-cta-card.is-dark { background: var(--wise-dark-1); color: var(--wise-sand-6); }
.cart-cta-card.is-dark .btn { background: var(--wise-dark-2); color: var(--wise-sand-6); }

.cart-certs-mini { background: var(--wise-sand-6); border-radius: 6px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; flex: 1 1 240px; min-width: 0; }
.cart-certs-logos { display: flex; align-items: center; justify-content: center; gap: 12.6px; flex-wrap: wrap; }
.cart-certs-logos img { width: 63px; height: 63px; object-fit: contain; mix-blend-mode: multiply; }
.cart-cert-confindustria { width: 68.6px; height: 60.285px; }
.cart-owner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cart-owner p { font-family: var(--font-heading); font-size: 14px; letter-spacing: -0.14px; margin: 0; color: var(--wise-dark-1); }
.cart-owner img { height: 26px; width: 125px; display: block; }

@media (max-width: 1200px) {
  .cart-summary-card { max-width: none; }
}

@media (max-width: 640px) {
  .cart-top { padding: 20px 20px 0; gap: 16px; }
  .cart-summary-card, .cart-checkout-card { padding: 24px; }
  .cart-summary-head h1 { font-size: 2rem; }
  .cart-ctas-row { padding: 16px 20px 32px; }
  .cart-cta-card { flex: 1 1 100%; flex-direction: column; align-items: flex-start; text-align: left; }
  .cart-certs-mini { padding: 24px; }
}

/* ==========================================================================
   Pagina Checkout (checkout.html)
   ========================================================================== */

.checkout-page { background: var(--wise-sky-2); min-height: 100vh; }
.checkout-top { display: flex; align-items: stretch; gap: 20px; padding: 35px 35px 0; flex-wrap: wrap; }

/* ---- Fatturazione ---- */
.checkout-form-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 640px;
  max-width: 878px;
  min-width: 0;
  height: 541px;
}
.checkout-form-head { display: flex; flex-direction: column; gap: 20px; }
.checkout-form-head h1 { font-family: var(--font-heading); font-weight: 900; font-size: 42px; line-height: 1.1; letter-spacing: -0.42px; }
.checkout-form-card .demo-back-link { font-size: 17px; font-weight: 400; color: var(--wise-dark-1); }

.checkout-form { display: flex; flex-direction: column; gap: 20px; padding-bottom: 22px; }
.checkout-form input {
  height: 44px;
  border: 1px solid var(--wise-blue-4);
  border-radius: 8px;
  background: var(--wise-sand-6);
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.17px;
  color: var(--wise-dark-1);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  width: 100%;
}
.checkout-form input::placeholder { color: var(--wise-dark-5); }
.checkout-form .phone-input { border-color: var(--wise-blue-4); }
.checkout-form .phone-input .phone-prefix {
  width: 56px;
  flex: 0 0 56px;
  height: auto;
  border: none;
  border-right: 1px solid var(--wise-blue-4);
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px 0 12px;
  background: transparent;
}
.checkout-form .phone-input input:not(.phone-prefix) {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  flex: 1;
  min-width: 0;
}

/* ---- Riepilogo + pagamento ---- */
.checkout-summary-card {
  background: var(--wise-sand-6);
  color: var(--wise-dark-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  flex: 1 1 340px;
  min-width: 0;
  height: 541px;
}
.checkout-summary-body { display: flex; flex-direction: column; gap: 28px; }
.checkout-totals-group { display: flex; flex-direction: column; gap: 38px; border-bottom: 1px solid var(--wise-blue-4); padding-bottom: 26px; }
.checkout-plan-line { font-family: var(--font-heading); font-size: 17px; letter-spacing: -0.17px; margin: 0; }
.checkout-plan-line span { font-size: 21.5px; letter-spacing: -0.215px; }
.checkout-totals-lines { display: flex; flex-direction: column; gap: 6px; }
.checkout-totals-lines .cart-line { padding: 0; }

.checkout-payment { display: flex; flex-direction: column; gap: 10px; }
.checkout-payment p { font-family: var(--font-heading); font-size: 14px; letter-spacing: -0.14px; margin: 0; }
.checkout-payment-icons { display: flex; align-items: center; gap: 10px; }
.checkout-payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 10px;
  border: 1px solid var(--wise-blue-5);
  border-radius: 8px;
  background: var(--wise-sand-6);
  flex-shrink: 0;
  box-sizing: border-box;
}
.checkout-payment-icon img { display: block; width: 32px; height: auto; }
.checkout-payment-paypal-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1b4bf1;
  flex-shrink: 0;
}
.checkout-payment-paypal-badge img { width: 16.23px; height: 19px; }

/* ---- Certificazioni ---- */
.checkout-certs-row { display: flex; padding: 20px 35px 40px; }
.checkout-certs-row .cart-certs-logos img { width: 63px; height: 63px; }
.checkout-certs-row .cart-cert-confindustria { width: 68.6px; height: 60.285px; }
.checkout-certs-row .cart-owner img { height: 26px; }

@media (max-width: 1200px) {
  .checkout-form-card { max-width: none; }
}

@media (max-width: 640px) {
  .checkout-top { padding: 20px 20px 0; gap: 16px; }
  .checkout-form-card, .checkout-summary-card { padding: 24px; }
  .checkout-form-head h1 { font-size: 2rem; }
  .checkout-certs-row { padding: 16px 20px 32px; }
}

/* ==========================================================================
   Pagina Moduli Cantieri (moduli-cantieri.html)
   ========================================================================== */

/* ---- Hero ---- */
.cantieri-hero {
  background: var(--wise-dark-1);
  color: var(--wise-sand-6);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 90px 0 120px;
  overflow: hidden;
}
.cantieri-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.cantieri-hero-copy { display: flex; flex-direction: column; gap: 48px; flex: 0 1 600px; min-width: 320px; }
.cantieri-hero-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--wise-sea-1); align-self: flex-start; }
.cantieri-hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wise-red-3); flex-shrink: 0; }
.cantieri-hero-label-text { font-family: var(--font-heading); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: -0.14px; color: var(--wise-blue-3); white-space: nowrap; }
.cantieri-hero-text { display: flex; flex-direction: column; gap: 26px; }
.cantieri-hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 0.95; letter-spacing: -0.01em; }
.cantieri-hero .text-accent { color: var(--wise-sky-1); }
.cantieri-hero-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; line-height: 1.4; }
.cantieri-hero-media {
  position: relative;
  flex: 1 1 480px;
  width: 100%;
  max-width: 810px;
  aspect-ratio: 810 / 666;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}
.cantieri-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cantieri-hero-media-canvas { display: block; width: 100%; height: 100%; }
.cantieri-hero-media-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ==========================================================================
   Pagina Moduli Fornitori (moduli-fornitori.html) — riusa le sezioni
   "Cosa Include", FAQ/CTA/Partner di moduli-cantieri.html, hero propria.
   ========================================================================== */
.fornitori-hero {
  background: var(--wise-sky-6);
  color: var(--wise-dark-1);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 90px 0 120px;
  overflow: hidden;
}
.fornitori-hero .container { width: 100%; max-width: 1440px; padding: 0 0 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.fornitori-hero-copy { display: flex; flex-direction: column; gap: 48px; flex: 1 1 0; min-width: 320px; }
.fornitori-hero-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--wise-red-6); align-self: flex-start; }
.fornitori-hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wise-blue-2); flex-shrink: 0; }
.fornitori-hero-label-text { font-family: var(--font-heading); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: -0.14px; color: var(--wise-blue-2); white-space: nowrap; }
.fornitori-hero-text { display: flex; flex-direction: column; gap: 26px; }
.fornitori-hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 0.95; letter-spacing: -0.01em; }
.fornitori-hero-copy p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; line-height: 1.4; }
.fornitori-hero-media { position: relative; flex: 0 1 810px; min-width: 0; width: 100%; max-width: 810px; aspect-ratio: 810 / 666; background: transparent; display: flex; align-items: center; justify-content: center; overflow: visible; }
.fornitori-hero-media-canvas { display: block; height: 100%; width: auto; max-width: none; border-radius: 10px; }
.fornitori-hero-media-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (max-width: 1360px) {
  .fornitori-hero .container { flex-direction: column; align-items: flex-start; }
  .fornitori-hero-copy { flex: 1 1 auto; }
  .fornitori-hero-media { flex: 1 1 auto; max-width: 810px; }
}

@media (max-width: 640px) {
  .fornitori-hero { padding: 130px 0 60px; }
}

/* ---- Numeri ---- */
.fornitori-numeri { background: var(--wise-dark-2); color: var(--wise-sand-6); padding: 120px 0; }
.fornitori-numeri .container { max-width: 1440px; padding: 0 35px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.fornitori-numeri-heading { flex: 0 1 680px; margin: 0; }
.fornitori-numeri .stat-line { background: var(--wise-sand-6); }
.fornitori-numeri-stats { display: flex; flex-direction: column; gap: 60px; flex: 0 1 600px; max-width: 100%; }
.fornitori-numeri-row { display: flex; gap: 12px; align-items: flex-start; width: 100%; }
.fornitori-numeri-row .stat { flex: 1 1 0; min-width: 0; }
.fornitori-numeri .stat-label { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; }

@media (max-width: 640px) {
  .fornitori-numeri { padding: 80px 0; }
  .fornitori-numeri-row { flex-direction: column; gap: 40px; }
}

/* ---- Elenco Fornitori (riusa .consulenza-grid/.consulenza-card) ---- */
.fornitori-elenco { background: var(--wise-sky-6); color: var(--wise-dark-1); padding: 120px 0; }
.fornitori-elenco .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.fornitori-elenco-head { display: flex; flex-direction: column; gap: 18px; max-width: 800px; text-align: center; }
.fornitori-elenco-head h2 { font-size: 64px; line-height: 1.1; letter-spacing: -0.64px; }
.fornitori-elenco-head p { font-size: 19px; font-weight: 400; letter-spacing: -0.19px; margin: 0; }

@media (max-width: 640px) {
  .fornitori-elenco { padding: 80px 0; }
  .fornitori-elenco-head h2 { font-size: 2.6rem; }
}

/* ---- FAQ (riusa .accordion) ---- */
.fornitori-faq { background: var(--wise-sky-6); padding: 80px 0 120px; }
.fornitori-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.fornitori-faq h2 { color: var(--wise-dark-1); text-align: center; max-width: 700px; }
.fornitori-faq .accordion-item { border-bottom-color: var(--wise-dark-1); }
.fornitori-faq .accordion-trigger { color: var(--wise-dark-1); }
.fornitori-faq .accordion-panel-inner { color: var(--wise-dark-1); opacity: 0.85; }

/* ---- Cosa include ---- */
.cantieri-include { background: var(--wise-sea-6); padding: 120px 0; }
.cantieri-include .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.cantieri-include h2 { color: var(--wise-dark-1); text-align: center; max-width: 700px; }
.cantieri-include-cards { display: flex; flex-direction: column; gap: 20px; width: 1200px; max-width: 100%; }
.cantieri-include-card {
  background: var(--wise-sand-6);
  color: var(--wise-sea-1);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.cantieri-include-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.cantieri-include-copy h3 { font-size: 33px; font-weight: 500; line-height: 1.2; letter-spacing: -0.33px; }
.cantieri-include-media {
  position: relative;
  flex-shrink: 0;
  width: 689px;
  max-width: 100%;
  aspect-ratio: 689 / 510;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}
.cantieri-include-media-canvas { display: block; width: 100%; height: 100%; }
.cantieri-include-media-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.cantieri-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; }
.cantieri-feature-card { background: var(--wise-sand-6); color: var(--wise-sea-1); border-radius: 6px; padding: 40px; display: flex; flex-direction: column; gap: 40px; }
.cantieri-feature-media { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--wise-sea-5); }
.cantieri-feature-media-canvas { display: block; width: 100%; height: 100%; }
.cantieri-feature-media-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- FAQ ---- */
.cantieri-faq { background: var(--wise-sea-3); padding: 80px 0 120px; }
.cantieri-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.cantieri-faq h2 { color: var(--wise-sand-6); text-align: center; max-width: 700px; }
.cantieri-faq .accordion-item { border-bottom-color: var(--wise-sand-6); }
.cantieri-faq .accordion-trigger { color: var(--wise-sand-6); }
.cantieri-faq .accordion-panel-inner { color: var(--wise-sand-6); opacity: 0.85; }

/* ---- CTA business ---- */
.cantieri-cta { background: var(--wise-sand-6); padding: 120px 0; display: flex; justify-content: center; }
.cantieri-cta-card {
  background: var(--wise-sky-1);
  border-radius: 4px;
  padding: 40px;
  width: 800px;
  max-width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: center;
}
.cantieri-cta-card h3 { color: var(--wise-sand-6); max-width: 672px; }
.cantieri-cta-card .business-cta-btn { padding: 40px; gap: 8px; font-size: 19px; font-weight: 400; letter-spacing: -0.19px; justify-content: center; }
.cantieri-cta-card .business-cta-btn:hover { background: var(--wise-sand-6); color: var(--wise-dark-1); filter: none; }
.cantieri-cta-card .business-cta-btn .icon { width: 20px; height: 20px; }

@media (max-width: 1360px) {
  .cantieri-hero .container { flex-direction: column; align-items: flex-start; }
  .cantieri-hero-copy { flex: 1 1 auto; }
  .cantieri-hero-media { flex: 1 1 auto; max-width: 810px; }
}

@media (max-width: 900px) {
  .cantieri-include-card { flex-direction: column; }
  .cantieri-include-media { width: 100%; }
  .cantieri-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cantieri-hero { padding: 130px 0 60px; }
  .cantieri-include { padding: 80px 0; }
  .cantieri-include-card { padding: 24px; }
  .cantieri-feature-card { padding: 24px; }
  .cantieri-cta { padding: 80px 0; }
  .cantieri-cta-card { padding: 24px; min-height: auto; }
}

/* ==========================================================================
   Pagina Moduli Requisiti Documentali (moduli-requisiti-documentali.html)
   ========================================================================== */

/* ---- Hero ---- */
.requisiti-hero {
  background: var(--wise-cement-1);
  color: var(--wise-sand-6);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 90px 0 120px;
  overflow: hidden;
}
.requisiti-hero .container { width: 100%; max-width: 1440px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.requisiti-hero-copy { display: flex; flex-direction: column; gap: 48px; flex: 0 1 600px; min-width: 320px; }
.requisiti-hero-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--wise-sky-4); align-self: flex-start; }
.requisiti-hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wise-red-2); flex-shrink: 0; }
.requisiti-hero-label-text { font-family: var(--font-heading); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: -0.14px; color: var(--wise-blue-1); white-space: nowrap; }
.requisiti-hero-text { display: flex; flex-direction: column; gap: 26px; }
.requisiti-hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 0.95; letter-spacing: -0.01em; }
.requisiti-hero .text-accent { color: var(--wise-sky-1); }
.requisiti-hero-copy p { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; line-height: 1.4; }
.requisiti-hero-media {
  position: relative;
  flex: 1 1 480px;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 700 / 500;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}
.requisiti-hero-media-canvas { display: block; width: 100%; height: 100%; }
.requisiti-hero-media-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Cosa include ---- */
.requisiti-include { background: var(--wise-cement-1); padding: 120px 0; }
.requisiti-include .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.requisiti-include h2 { color: var(--wise-sand-6); text-align: center; max-width: 800px; font-size: 64px; line-height: 1.1; letter-spacing: -0.64px; }
.requisiti-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; width: 1120px; max-width: 100%; }
.requisiti-card {
  background: var(--wise-cement-2);
  color: var(--wise-sand-6);
  border-radius: 6px;
  padding: 40px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.requisiti-card-body { display: flex; flex-direction: column; gap: 20px; }
.requisiti-card-body h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.26px; line-height: 1.2; margin: 0; }
.requisiti-card-body p { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; line-height: 1.4; margin: 0; }

/* ---- FAQ ---- */
.requisiti-faq { background: var(--wise-cement-1); padding: 80px 0 120px; }
.requisiti-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.requisiti-faq h2 { color: var(--wise-sand-6); text-align: center; max-width: 700px; }
.requisiti-faq .accordion-item { border-bottom-color: var(--wise-sand-6); }
.requisiti-faq .accordion-trigger { color: var(--wise-sand-6); }
.requisiti-faq .accordion-panel-inner { color: var(--wise-sand-6); opacity: 0.85; }

@media (max-width: 1360px) {
  .requisiti-hero .container { flex-direction: column; align-items: flex-start; }
  .requisiti-hero-copy { flex: 1 1 auto; }
  .requisiti-hero-media { flex: 1 1 auto; max-width: 700px; }
}

@media (max-width: 900px) {
  .requisiti-cards { grid-template-columns: 1fr; }
  .requisiti-card { height: auto; }
}

@media (max-width: 640px) {
  .requisiti-hero { padding: 130px 0 60px; }
  .requisiti-include { padding: 80px 0; }
  .requisiti-include h2 { font-size: 2.6rem; }
  .requisiti-card { padding: 24px; }
}

/* ==========================================================================
   Pagina Wise Transfer (moduli-wise-transfer.html)
   ========================================================================== */

/* ---- Hero ---- */
.transfer-hero { background: var(--wise-dark-1); color: var(--wise-sand-6); padding: 120px 0 60px; overflow: hidden; }
.transfer-hero .container { max-width: 1440px; padding: 0 35px; display: flex; justify-content: center; }
.transfer-hero-copy { display: flex; flex-direction: column; align-items: center; gap: 48px; width: 1100px; max-width: 100%; text-align: center; }
.transfer-hero-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--wise-dark-3); }
.transfer-hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wise-blue-6); flex-shrink: 0; }
.transfer-hero-label-text { font-family: var(--font-heading); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: -0.14px; color: var(--wise-blue-6); white-space: nowrap; }
.transfer-hero-text { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.transfer-hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 0.95; letter-spacing: -0.01em; text-align: center; }
.transfer-hero .text-accent { color: var(--wise-red-4); }
.transfer-hero-copy p { max-width: 700px; font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; line-height: 1.4; }

/* ---- Come funziona (elenco feature) ---- */
.transfer-feature-list { background: var(--wise-dark-1); padding: 0 0 120px; }
.transfer-feature-list .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; }
.transfer-feature-cards { display: flex; flex-direction: column; gap: 20px; width: 1200px; max-width: 100%; }
.transfer-feature-card {
  background: var(--wise-sand-6);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.transfer-feature-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; color: var(--wise-sea-1); }
.transfer-feature-copy h3 { font-size: 33px; font-weight: 500; line-height: 1.2; letter-spacing: -0.33px; margin: 0; }
.transfer-feature-copy p { font-size: 21.5px; font-weight: 400; letter-spacing: -0.215px; line-height: 1.4; margin: 0; }
.transfer-feature-media {
  position: relative;
  flex-shrink: 0;
  width: 689px;
  max-width: 100%;
  aspect-ratio: 689 / 510;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}
.transfer-feature-media.is-placeholder { background: var(--wise-dark-6); }
.transfer-feature-media-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- FAQ ---- */
.transfer-faq { background: var(--wise-dark-2); padding: 80px 0 120px; }
.transfer-faq .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.transfer-faq h2 { color: var(--wise-blue-6); text-align: center; max-width: 700px; }
.transfer-faq .accordion-item { border-bottom-color: var(--wise-blue-6); }
.transfer-faq .accordion-trigger { color: var(--wise-blue-6); }
.transfer-faq .accordion-panel-inner { color: var(--wise-blue-6); opacity: 0.85; }

@media (max-width: 900px) {
  .transfer-feature-card { flex-direction: column; align-items: stretch; }
  .transfer-feature-media { width: 100%; }
}

@media (max-width: 640px) {
  .transfer-hero { padding: 130px 0 60px; }
  .transfer-feature-list { padding: 0 0 80px; }
  .transfer-feature-card { padding: 24px; }
}

/* ==========================================================================
   Pagina Countdown (countdown.html)
   ========================================================================== */

.countdown-page { height: 100vh; height: 100dvh; overflow: hidden; }

/* Anteprima sfocata di index.html dietro al pannello: solo decorativa. */
.countdown-backdrop { height: 100vh; height: 100dvh; overflow: hidden; pointer-events: none; }

.countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 16, 29, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.countdown-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 201;
  transform: translate(-50%, -50%);
  width: 804px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 40px;
  background: var(--wise-sea-1);
  color: var(--wise-sand-6);
  border-radius: 6px;
}
.countdown-modal .text-accent { color: var(--wise-sky-1); }

.countdown-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.countdown-modal-brand { display: flex; flex-direction: column; gap: 12px; }
.countdown-modal-title { color: var(--wise-sky-1); margin: 0; }


.countdown-timer { display: flex; align-items: flex-end; justify-content: center; gap: 20px; flex-wrap: wrap; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.countdown-digits { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 166px; max-width: 100%; }
.countdown-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  padding: 20px 0;
  background: var(--wise-dark-1);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--wise-dark-6);
}
.countdown-label {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.16px;
  color: var(--wise-sand-6);
  text-align: center;
}

.countdown-divider { width: 100%; height: 1px; flex-shrink: 0; background: var(--wise-dark-3); }

.countdown-fair { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.countdown-fair-info { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.countdown-fair-logo { flex-shrink: 0; width: auto; height: 80px; }
.countdown-fair-divider { align-self: stretch; flex-shrink: 0; width: 1px; background: var(--wise-dark-3); }
.countdown-fair-text { display: flex; flex-direction: column; gap: 4px; }
.countdown-fair-text p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
  color: var(--wise-sand-6);
}

.countdown-contact-btn {
  flex-shrink: 0;
  height: auto;
  padding: 14px 20px;
  background: var(--wise-sky-1);
  color: var(--wise-dark-1);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.17px;
}
.countdown-contact-btn:hover { background: var(--wise-sky-3); }

@media (max-width: 640px) {
  .countdown-modal { padding: 24px; gap: 32px; }
  .countdown-timer { gap: 12px 20px; }
  .countdown-digits { width: 132px; }
  .countdown-digit { font-size: 44px; padding: 14px 0; }
  .countdown-modal-title { font-size: 26px; }
  .countdown-fair-info { gap: 20px; }
  .countdown-contact-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Pagine legali (privacy.html)
   ========================================================================== */
.legal { background: var(--wise-sand-6); color: var(--wise-dark-1); padding: 180px 0 120px; }
.legal > .container { max-width: 1440px; padding: 0 35px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.legal-head { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 800px; text-align: center; }
.legal-head .eyebrow { margin: 0; background: var(--wise-sky-4); color: var(--wise-blue-2); border-color: transparent; }
.legal-head h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.56px; margin: 0; }
.legal-updated { margin: 0; font-size: 15px; letter-spacing: -0.15px; color: var(--wise-dark-3); }
.legal-content { width: 100%; max-width: 760px; font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.6; letter-spacing: -0.17px; color: var(--wise-dark-2); }
.legal-content h2 { margin: 48px 0 12px; font-family: var(--font-heading); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.24px; color: var(--wise-dark-1); }
.legal-content h3 { margin: 28px 0 8px; font-family: var(--font-heading); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.19px; color: var(--wise-dark-1); }
.legal-content p { margin: 0 0 16px; }
.legal-content ul,
.legal-content ol { margin: 0 0 16px; padding-left: 24px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--wise-blue-1); text-decoration: underline; }
/* Segnaposto in attesa del testo definitivo */
.legal-placeholder { color: var(--wise-dark-4); font-style: italic; }

@media (max-width: 640px) {
  .legal { padding: 130px 0 80px; }
  .legal > .container { padding: 0 16px; gap: 40px; }
  .legal-head h1 { font-size: 2.4rem; }
  .legal-content { font-size: 16px; }
}
/* Testi di iubenda (privacy e cookie): lo stile lo porta il loro script,
   qui solo la larghezza e il reset del nostro .container */
.legal-embed { width: 100%; max-width: 1120px; }
.legal-embed .container { max-width: none; padding: 0; }

/* Form: invio in corso ed errore (vedi FORM_ENDPOINT in js/main.js) */
form.is-sending { opacity: 0.7; pointer-events: none; }
.form-error { display: none; margin-top: 8px; text-align: center; font-size: 14px; font-weight: 500; color: var(--wise-red-1); }
form.has-error .form-error { display: block; }
