
/*
Theme Name: Outcome Theme
Author: Angelo Germano
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: outcome-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=M+PLUS+Rounded+1c&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ================================
   RESET / BASE
===================================*/

/* Reset minimale per coerenza cross-browser */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--DM-Sans);
  font-size: 1rem;       
  line-height: 1.6;
  color: var(--white);
  background-color: var(--warm-grey-1);
}



.page-template-page_clienti {
  background-color: var(--warm-grey-1) !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

ul, ol { padding-left: 1.5em; }
li { margin-bottom: .3em; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ================================
   TIPOGRAFIA BASE
===================================*/

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--white);
  font-family: var(--Outfit);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);  
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem); 
}
h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
h5 {
  font-size: 1.125rem; 
}
h6 {
  font-size: 1rem; 
  text-transform: uppercase;
  letter-spacing: .05em;
}
p {
  margin-bottom: 1em;
  font-family: var(--DM-Sans);
  color: var(--white);
}
blockquote {
  font-family: var(--DM-Sans);
  font-weight: 800;
  margin: 1.5em 0;
  color: var(--white);
}


/* ================================
   UTILITIES DI SPAZIATURA
===================================*/

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem !important; }
.mb-1 { margin-bottom: .5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }


/* ================================
   BASE / TOKENS
===================================*/
:root{
  --container-w: 1370px;      
  --gutter: 24px;            

  --radius: 16px; 
  --radius-small: 8px; 
  --radius-xsmall: 4px;       

  --bp-lg: 1200px;
  --bp-md: 900px;
  --bp-sm: 600px;            

  --white: #ffffff;
  --black: #000000;
  --red-primary: #FF0000;
  --warm-grey-1: #121212;
  --warm-grey-2: #1B1918;
  --warm-grey-3: #373633;
  --warm-grey-4: #A7A69D;
  --warm-grey-5: #F1F0E2;
  --purple-blur: #7E88F7;
  --yellow-blur: #F6F3B7;  

  --gradient-1: linear-gradient(180deg, var(--purple-blur) 0%, var(--yellow-blur) 44.71%, var(--red-primary) 100%);

  --Outfit: 'Outfit', sans-serif;
  --DM-Mono: 'DM Mono', monospace;
  --DM-Sans: 'DM Sans', sans-serif; 

  --stat-card-w: 324px;
  --peek: 20px;  

  
}

/* Reset minimo */
img{max-width:100%;display:block;height:auto}

/* ================================
   CONTAINERS
   Uso:
   <div class="container container--1370">...</div>
   <div class="container container--1130">...</div>
   <div class="container container--1020">...</div>
   <div class="container container--full">...</div>
===================================*/
.container{
  width: min(var(--container-w), 92vw);
  margin-inline: auto;
}
.container--1550{ --container-w: 1550px; }
.container--1370{ --container-w: 1370px; }
.container--1130{ --container-w: 1130px; }
.container--1020{ --container-w: 1020px; }
.container--980{ --container-w: 980px; }
.container--900{ --container-w: 900px; }
.container--750{ --container-w: 750px; }
.container--670{ --container-w: 670px; }
.container--450{ --container-w: 450px; }
.container--full{
  width: 100% !important;
  max-width: none;
}

@media (max-width: 600px){
  .container{width: min(var(--container-w), 90vw);}
}


/* ================================
   GRID SYSTEM (3 / 4 / 5 colonne)
   Esempio:
   <ul class="grid cols-4 md-cols-3 sm-cols-2 gap-24">...</ul>
===================================*/

.grid{
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(var(--cols, 1), 1fr);
}

.cols-1{ --cols: 1; }
.cols-2{ --cols: 2; }
.cols-3{ --cols: 3; }
.cols-4{ --cols: 4; }
.cols-5{ --cols: 5; }

@media (max-width: 1200px){
  .lg-cols-1{ --cols: 1; }
  .lg-cols-2{ --cols: 2; }
  .lg-cols-3{ --cols: 3; }
  .lg-cols-4{ --cols: 4; }
  .lg-cols-5{ --cols: 5; }
}
@media (max-width: 900px){
  .md-cols-1{ --cols: 1; }
  .md-cols-2{ --cols: 2; }
  .md-cols-3{ --cols: 3; }
  .md-cols-4{ --cols: 4; }
  .md-cols-5{ --cols: 5; }
}
@media (max-width: 600px){
  .sm-cols-1{ --cols: 1; }
  .sm-cols-2{ --cols: 2; }
  .sm-cols-3{ --cols: 3; }
  .sm-cols-4{ --cols: 4; }
  .sm-cols-5{ --cols: 5; }
}

.gap-12{ --gutter: 12px; }
.gap-16{ --gutter: 16px; }
.gap-20{ --gutter: 20px; }
.gap-24{ --gutter: 24px; }
.gap-32{ --gutter: 32px; }
.gap-40{ --gutter: 40px; }


/* ================================
   CARD BASE
===================================*/

.card{
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.card__media{
  position: relative;
  aspect-ratio: 1/1.2;
  overflow: hidden;
}
.card__img{
  width:100%;height:100%;object-fit:cover;
  transform: scale(1);
  transition: transform .4s ease;
  display:block;
}
.card:hover .card__img{ transform: scale(1.05); }


/* ================================
   UTILITIES VARIE (facoltative)
===================================*/

.center{ display:grid; place-items:center; }
.text-center{ text-align:center; }
.hide-sm{ display:inherit; }
@media (max-width:600px){ .hide-sm{ display:none; } }


/* ================================
  xVARIE
===================================*/

.section-block{
  text-align: center;
  padding-block: clamp(30px, 6vw, 80px);
}

.section-block-careers{
  text-align: center;
  padding-block: 30px;
}

.section-eyebrow{
  color:var(--red-primary);
  font-family: var(--DM-Mono);
  font-size:14px;
  font-weight:400;
  letter-spacing:0em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.section-title{
  color:var(--white);
  font-family: var(--Outfit);
  font-size:64px;
  font-weight:900;
  line-height:1;
  margin-bottom:24px;
  margin-inline:auto;
}

.section-title-smaller{
  font-size:40px !important;
}

.section-title-smaller2{
  font-size:32px !important;
  line-height: 1.15 !important;
}

.careers-title{
  color:var(--white);
  font-family: var(--Outfit);
  font-size:40px;
  font-weight:900;
  line-height:1;
  margin-bottom:24px;
  margin-inline:auto;
}

.section-linkedin{
  color:var(--white);
  font-family: var(--Outfit);
  font-size:32px;
  font-weight: 900;
  line-height:1.15;
  margin-bottom:24px;
  margin-inline:auto;
}

.interne-linkedin{margin-top: 0px; margin-bottom: 0px}

.section-academy{
  color:var(--white);
  font-family: var(--Outfit);
  font-size:40px;
  font-weight: 900;
  line-height:1.15;
  margin-bottom:24px;
  margin-inline:auto;
}

.section-subtitle, .section-subtitle p{
  color:var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size:20px;
  font-weight:400;
  line-height:1.15;
  margin-bottom:24px;
  margin-inline:auto;
}

.section-subtitle-smaller{
  font-size:18px !important;
}

.careers-body{
  color:var(--white);
  font-family: var(--DM-Sans);
  font-size:24px;
  font-weight:700;
  line-height:1.15;
  margin-bottom:24px;
  margin-inline:auto;
  text-align: left;
}

.careers-subtitle{
  color:var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size:18px;
  font-weight:400;
  line-height:1.15;
  margin-bottom:24px;
  margin-inline:auto;
  text-align: left;
}

/* Responsive */
@media (max-width: 900px){
  .section-title{font-size: 52px}
  .section-title-smaller{font-size: 40px !important;}
  .interne-linkedin{margin-top: 40px; margin-bottom: 40px}

}
@media (max-width: 600px){
  .section-title{font-size: 40px}
  .section-subtitle, .section-subtitle p{font-size: 18px;}
  .section-eyebrow{margin-bottom: 8px;}
}



/* ================================
  xCTA
===================================*/

/* CTA primaria */
.btn-cta {
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 12px; border-radius:var(--radius-xsmall);font-family: var(--DM-Mono);
  background:var(--red-primary); color:var(--white); text-decoration:none; font-weight:400; font-size: 14px;
  transition: background .3s ease, color .3s ease, gap .3s ease;
}

.btn-cta:hover {
  background: var(--warm-grey-5);
  color: var(--warm-grey-1);
  gap: 16px;
}

.btn-cta .chev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--white);
  border-radius: 50%;
  position: relative;
  transition: border .3s ease;
}

.btn-cta:hover .chev {
  border: 1px solid var(--warm-grey-1);
}

.btn-cta .chev::after { 
  content: "";
  display: block;
  width: 5px;  
  height: 5px;  
  border-right: 1px solid var(--white);
  border-top: 1px solid var(--white);
  transform: rotate(45deg);
  transition: border-right .3s ease, border-top .3s ease;;
  margin-left: -2px;
}


.btn-cta:hover .chev::after { 
  border-right: 1px solid var(--warm-grey-1);
  border-top: 1px solid var(--warm-grey-1);
}

/* CTA megamenu */
.btn-cta-megamenu {
  display:inline-flex; align-items:center; gap:10px; margin-top: 50px;
  padding:17px 20px; border-radius:var(--radius-xsmall);font-family: var(--DM-Mono);
  background:var(--white); color:var(--black); text-decoration:none; font-weight:400; font-size: 14px;
  transition: background .3s ease, color .3s ease, gap .3s ease;
}

.btn-cta-megamenu:hover {
  background: var(--warm-grey-5);
  color: var(--warm-grey-1);
  gap: 16px;
}

.btn-cta-megamenu .chev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--black);
  border-radius: 50%;
  position: relative;
  transition: border .3s ease;
}

.btn-cta-megamenu:hover .chev {
  border: 1px solid var(--warm-grey-1);
}

.btn-cta-megamenu .chev::after {
  content: "";
  display: block;
  width: 5px;  
  height: 5px;  
  border-right: 1px solid var(--black);
  border-top: 1px solid var(--black);
  transform: rotate(45deg);
  transition: border-right .3s ease, border-top .3s ease;;
  margin-left: -2px;
}


.btn-cta-megamenu:hover .chev::after { 
  border-right: 1px solid var(--warm-grey-1);
  border-top: 1px solid var(--warm-grey-1);
}

.cta-display{display: flex;}
/* responsive */
@media (max-width: 640px){.cta-display{display: none !important;}}

/* CTA footer */
.btn-cta-footer {
  width: 100%;
  justify-content: space-between;
}
.btn-cta-footer:hover {
  background: var(--warm-grey-3) !important;
  color: var(--white) !important;
}
.btn-cta-footer:hover .chev {
  border: 1px solid var(--white ) !important;
}
.btn-cta-footer:hover .chev::after { 
  border-right: 1px solid var(--white) !important;
  border-top: 1px solid var(--white) !important;
}

/* CTA secondaria */
.cta-dot{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.cta-dot__icon{
  position:relative;
  width:24px; height:24px;
  border-radius:50%;
  background-color: var(--red-primary);
  
}

.cta-dot__icon::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto 8px;
  width:6px; height:6px;
  border-top:1px solid var(--white);
  border-right:1px solid var(--white);
  transform: rotate(45deg);      
}

.cta-dot__label{ 
  color:var(--white);
  font-family: var(--DM-Mono);
  font-weight:400;
  text-transform:uppercase;
  font-size:14px;
  line-height:1;
  transition: color .25s ease, transform .25s ease;
}

.cta-dot:hover .cta-dot__label, 
.cta-dot:focus-visible .cta-dot__label{
  color:var(--warm-grey-4);
  transform: translateX(8px);
}

.cta-dot:focus-visible .cta-dot__icon{ 
  box-shadow:0 0 0 4px rgba(255,59,59,.2);
  outline:none;
}

/* CTA grey */
.btn-cta-grey {
  display:inline-flex; align-items:center; 
  padding:4px 12px; border-radius:var(--radius-xsmall);font-family: var(--DM-Mono); border: 1px solid var(--warm-grey-5);
  background:var(--warm-grey-5); color:var(--warm-grey-1); text-decoration:none; font-weight:400; font-size: 14px;
  transition: background .3s ease, color .3s ease, border .3s ease;
}
.btn-cta-grey:hover {
  background: var(--warm-grey-1);
  color: var(--white);
  border: 1px solid var(--warm-grey-3) 
}



/* =========================
   xHEADER
   ========================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0px;
}
.site-logo img { display:block; height:100px; width:auto; margin-top: 10px; } 
.site-name { font-weight:700; font-size:1.125rem; color:var(--white); }

.header-right { display:flex; align-items:center; gap:18px; transition: gap .3s ease;}

.header-right:has(.btn-cta:hover) {
  gap: 12px
}

.burger {
  width: 40px; height: 40px;
  background: transparent; border: none;
  position: relative; cursor: pointer; padding: 0; margin: 0 0 4px;
}

.burger span {
  position: absolute; left: 50%;
  width: 24px; height: 2px;
  background: var(--white); 
  transform: translateX(-50%);
  transition: transform .25s ease, top .25s ease;
  will-change: transform, top;        
}

.burger span:first-child{ top: calc(50% - 4px); }
.burger span:last-child { top: calc(50% + 4px); }

.burger:hover span:first-child{
  top: 50%;
  transform: translateX(-50%) rotate(90deg);
}
.burger:hover span:last-child{
  top: 50%;
  transform: translateX(-50%); 
}


.site-menu { 
  position: absolute; inset: 100% 0 auto 0; background: rgba(0,0,0,.9); padding:16px; 
}
.site-menu .menu { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.site-menu a { color:var(--white); text-decoration:none; font-weight:600; }

.sticky-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 11;
  background: rgba(18, 18, 18, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); 
  border-bottom: 1px solid var(--warm-grey-3);
  transform: translateY(-100%); 
  opacity: 0;
  pointer-events: none;        
}

.sticky-header .header-inner{ padding: 4px 0 3px; }
.sticky-header .site-logo img{ height: 24px; width: auto; display: block;margin: 0px; }

body.show-sticky #sticky-header{ /* compatibilità A11y */
  pointer-events: auto;
}

/* responsive */
@media (max-width: 640px){
  .site-logo img { height:70px; margin-top: 8px;} 
  .header-right { margin-top: 10px; gap: 10px;}
  .sticky-header .header-right{ margin-top: 0px; gap: 10px; }
}


/* =========================
   xMENU OVERLAY
   ========================= */

.menu-section{
  text-align: left !important;
  padding: 0px !important;
}
   
.menu-overlay{
  position: fixed; inset: 0 auto 0 0; 
  width: 100vw; min-width: 240px; max-width: 100%; 
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  will-change: opacity;
  transition: opacity .35s ease;
  z-index: 90;
}

.offcanvas{
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 70vw; 
  background: var(--red-primary);
  will-change: transform;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  z-index: 99;
  display: grid;
  padding: clamp(24px,3vw,40px) clamp(40px,5vw,64px) clamp(16px,2vw,24px) clamp(24px,3vw,40px); 
}

.offcanvas-inner{
  align-self: center; 
  justify-self: start; 
  width: min(980px, 100%);
  color: var(--white);

}

.menu-close{
  position: absolute; top: 18px; right: 18px;
  width: 28px; height: 28px;
  background: transparent; border: none; cursor: pointer;
  transition: transform .25s ease;
}
.menu-close::before,
.menu-close::after{
  content:""; position:absolute; left:50%; top:50%;
  width: 18px; height: 2px; background:var(--white); transform-origin:center;
}
.menu-close::before{ transform: translate(-50%,-50%); }
.menu-close::after{ transform: translate(-50%,-50%) rotate(90deg); }

.menu-close:hover{
  transform: rotate(135deg);
}

.menu-label{
  display:inline-block;
  background:var(--warm-grey-2); color:var(--warm-grey-4); border: var(--warm-grey-3) 1px solid;
  font: 400 14px/1.2  var(--DM-Mono);
  padding: 2px 7px; border-radius: var(--radius-xsmall); letter-spacing:.04em;
  margin-bottom: clamp(18px,2.5vw,28px); margin-top: 60px;
}

.menu-grid{
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 140px; align-items: start;
}
.menu-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:12px; grid-auto-rows: 1fr; }
.menu-grid.big a{
  font-family:  var(--Outfit); font-weight: 900; text-decoration:none; color:var(--white); 
  font-size: clamp(45px,4.6vw,64px); line-height: 1.05;
}
.menu-grid.small a{
  font-weight: 700; text-decoration:none; color:var(--white);
  font-family: var(--Outfit); font-weight: 900;
  font-size: clamp(24px,2.1vw,32px); line-height: 1.2;
}
.menu-grid a {
  color: var(--white);
  text-decoration: none;
  font-weight: inherit;
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease;
} 

.menu-grid a:hover{  opacity: 0.5; transform: translateX(10px);}

body.menu-open{
  overflow: hidden; /* no scroll body se menu è aperto */
  height: 100vh;
  overscroll-behavior: contain;
}
body.menu-open .offcanvas{ transform: translateX(0); }
body.menu-open .menu-overlay{ opacity: 1; pointer-events: auto; }


/* Responsive */
@media (max-width: 900px){
 .menu-overlay{ display:none; } 
  .offcanvas{ width: 100vw}
}
@media (max-width: 640px){
  .offcanvas{ overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .menu-grid{ grid-template-columns: 1fr; gap: 12px; }
  .menu-grid.big a{line-height: 0.9;font-size: clamp(43px, 4.6vw, 64px);}
  .menu-label{margin-top: 20px};
  .last-menu-li{margin-bottom: 15px;}
  .menu-grid ul{grid-auto-rows: auto;}
}

@media (max-height: 800px) and (min-width: 800px){
  .menu-label {margin-top: 30px; }
}

@media (max-height: 740px) and (min-width: 800px){
  .menu-grid.big a{font-size: 45px; line-height: 0.9;}
  .menu-grid.small a {font-size: 24px; line-height: 0;}
  .btn-cta-megamenu {margin-top: 24px;}
}
@media (max-height: 740px) and (min-width: 800px){
  .menu-grid.big a{font-size: 40px; line-height: 0.6;}
}



/* =========================
   xFOOTER
   ========================= */

.site-footer{
  background-color: var(--warm-grey-5);
}

.site-footer .footer-top{
  display:grid;
  grid-template-columns: 1fr 1fr 2fr; 
  column-gap: 24px;
  row-gap: 24px;
  padding: 80px 36px 200px; 
}

.site-footer .footer-col{
  min-width:0;

}
.site-footer .nav-col .footer-title{
  font-family: var(--DM-Mono); font-weight: 400;
  font-size:14px; line-height:1.15; margin:0 0 16px; color: var(--red-primary);
}
.site-footer .footer-links{list-style:none; margin:0; padding:0;}
.site-footer .footer-links li + li{ margin-top:16px; }             
.site-footer .footer-links a{
  font-size:16px; line-height:1.30; text-decoration:none; font-weight: 500; color: var(--warm-grey-3);
  transition: color .2s ease, opacity .2s ease; font-family: var(--DM-Sans);
}
.site-footer .footer-links a:hover {color: var(--warm-grey-4); } 

.footer-cta{
  padding: 20px;
  position: relative;
  border-radius: var(--radius-small);
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08)  1.2px, transparent 1.2px );
  background-size: 6px 6px;
  background-color: var(--warm-grey-1);
  background-repeat: repeat;
}
.footer-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; 
  background: var(--gradient-1);         
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.site-footer .footer-cta__title{
 font-size: clamp(28px, 2.8vw, 40px);
 line-height:1.15; margin:0 0 16px; font-weight: 900;
}

.site-footer .footer-bottom{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; padding:0px 36px 32px;
}
.site-footer .footer-brand img{ display:block; height:auto; width: 80%;}

.site-footer .footer-right {
  display:flex; flex-direction:column; align-items:flex-end; gap:24px;
}
.site-footer .footer-social a svg {display:block; width:24px; height:24px;}

.site-footer .footer-legal{
  display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center;
  gap:16px; font-size:14px; line-height:1.30; color: var(--warm-grey-3);
}
.site-footer .footer-legal a{ text-decoration:none; }

/* responsive */
@media (max-width: 1024px){
  .site-footer .footer-top{ grid-template-columns: 0.7fr 1fr 2fr;  }
  
}
@media (max-width: 600px){
  
  .site-footer .footer-top{ padding: 80px 0px 200px; width: 90% !important;}
 
}
@media (max-width: 540px){
  .site-footer .footer-top{ grid-template-columns: 1fr 1.5fr;   padding: 40px 0px 50px; }
  .site-footer .cta-col{ grid-column: 1 / -1; }
  .site-footer .footer-cta__title{ font-size:25px}
  .site-footer .footer-bottom{ flex-direction:column; align-items:flex-start; padding: 0px 0px 32px; width: 90% !important;}
  .site-footer .footer-right {display: grid; grid-template-columns: auto 1fr;align-items: start;grid-auto-rows: auto; width: 100%; gap: 16px;}
  .site-footer .footer-social {grid-column: 2; grid-row: 1; align-self: flex-end; justify-self: end; width: 24px;}
  .site-footer .footer-legal{ justify-content:flex-start; grid-column: 1; grid-row: 1;min-width: 0;}
}


/* =========================
   xHERO
   ========================= */
:root{
  
  --header-h: 0px; 
  --hero-pad: clamp(16px, 3vw, 48px);
  --team-hero-height: 640px;
}

/* hero homepage */
.hero{
  min-height: calc(100svh - var(--header-h));
  isolation: isolate;
  overflow: hidden;
  background: var(--warm-grey-1); 
}

.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
 
}
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); 
}
.influencer-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); 
}

.hero-content{
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 80px 40px;
  text-align: left;
}

.team-hero .hero-content{
  padding: 80px 40px 140px;
}

.hero-slider__viewport { position: relative; }
.hero-slide {

  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;   
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 2s ease, opacity 2s ease;
  z-index: 1;
}
.hero-slide .hero-content { width: 100%; } 

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0%);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.is-exit-left {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.hero-title{
  align-self: center;
  margin: 0px;
  padding-top: 1em;
  justify-self: start;
  width: 66.6%;      
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(36px, 3.2vw, 48px);
}

.influencer-title{
  align-self: center;
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items: baseline;
  margin: 0px;
  justify-self: start;
  max-width: 800px;      
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(65px, 7.5vw, 80px);
}

.typer-text {
  white-space: pre-wrap;
  display:inline; 
}

.typer-caret {
  position:absolute; left:0; top:0;
  width:0.15em; height:0.9em;
  background: var(--red-primary, var(--red-primary));
  animation: caretBlink 1s steps(1,end) infinite;
  margin:0; transform:none;
  margin-left: 2%;

}

@keyframes caretBlink {
  0%,49% { opacity: 1; }
  50%,100% { opacity: 0; }
}




.hero-payoff{
  align-self: end;
  justify-self: end;
  color: var(--red-primary);
  width: 33.3%;
  padding-left: 1em;
  border-left: 3px solid var(--red-primary);
}
.payoff-quote{
  margin: 0 0 20px 0;
  font-size: clamp(16px, 3.2vw, 18px);
  line-height: 1.15;
  font-weight: 700;
   quotes: none;
}
.payoff-quote:before{ content: none; }
.payoff-quote:after{ content: none; }
.payoff-meta{
  color: var(--red-primary);
  font-weight: 600;
   font-size: clamp(16px, 3.2vw, 18px);
}
.payoff-role{
  color: var(--warm-grey-4);
  font-weight: 500;
  font-family: var(--DM-Sans);
  font-size: clamp(14px, 3.2vw, 16px);
}
.payoff-author{
 
  font-family: var(--DM-Sans);
}

.hero-scroll {
  position: absolute;
  left: var(--hero-pad);
  bottom: var(--hero-pad);
  width: 32px;
  height: 68px;
  background: transparent;
  border: none;
  animation: arrow-bounce 2s ease infinite;
}

.hs-right{
  left: auto;
  right: var(--hero-pad);
}

.hero-scroll::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -3px;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
}

.hero-scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes arrow-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(10px); }
  60% { transform: translateY(0);}
  100% { transform: translateY(0); }
}

/* hero team */
.team-hero{
  height: auto;
  max-height: var(--team-hero-height);
  overflow: hidden;
  background: var(--warm-grey-1); 
}
.hero-image{
  height: 580px;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%),
    var(--hero-img) center center / cover no-repeat;
  background-color: #0b0b0b; 
  color: #fff;
}

.team-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: var(--team-hero-height);
  object-fit: cover;
}
.team-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.3)  1px, transparent 1px );
  background-size: 5px 5px;
  background-color: rgba(0, 0, 0, 0.4);
  background-repeat: repeat;
  max-height: var(--team-hero-height);
}
.client-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.3)  1px, transparent 1px );
  background-size: 5px 5px;
  background-color: rgba(0, 0, 0, 0.3);
  background-repeat: repeat;
  max-height: var(--team-hero-height);
}
.team-media{
  max-height: var(--team-hero-height);
}
.team-title{
  align-self: center;
  text-align: center;
  margin: 0px;
  justify-self: center;
  width: 100%;      
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  font-size: clamp(60px, 7.2vw, 80px);
}
.team-content{
  height: var(--team-hero-height) !important;
}

/* responsive */
@media (max-width: 960px){
  .hero-title, .influencer-title{ width: 100%; }
  .hero-payoff{ justify-self: start; width: 100%;}
  .hero-content{padding: 120px 40px !important;}
  .hero-scroll {left: auto; right: var(--hero-pad); bottom: 30px;}
  .hero-image{height: 400px;}
  
}
@media (max-width: 640px){
  .hero{min-height: auto;}
  .hero-content{padding: 120px 20px 0px !important;}
  .hero-title{ font-size: 32px; align-self: self-start;}
  .influencer-title{font-size: clamp(37px, 9.2vw, 60px);}
  .hero-slide {display: flex; flex-direction: column; gap: 40px;}
  :root{--team-hero-height: 400px;}
  .team-title{font-size: 40px; margin-bottom: 70px;}
  .hero-image{height: 260px; background-position: top;}

}


/* =========================
   xADVISOR
   ========================= */

/* Home Advisor */
.home-advisors{
  padding-top: 30px;
  padding-bottom: 70px;
}

.home-advisors__grid, .team-advisors__grid{
  align-items: center; 
}

.home-advisors__title{
  color: var(--white);
  font-family: var(--Outfit);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15; 
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
}

.home-advisors__subtitle{
  color: var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 28px 0;
  max-width: 48ch;
}

.home-advisors__media{
  position: relative;
  display: inline-block;
  margin-left: auto;
  perspective: 600px;
}

.home-advisors__copy{
  max-width: 38ch; 
  text-align: left;
}

.advisors-card{
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 1.5s ease;
}

.advisors-card img{
  display: block;
  width: 100%;
  height: auto;           
  border-radius: var(--radius);
}

.advisors-card--front{
  position: relative;     
  z-index: 2;
}

.advisors-card--fronter{
  position: absolute;     
  z-index: 3;
  overflow: unset !important;
}

.advisors-card--fronter img{
  max-width: 300px;
}

.advisors-card--back{
  position: absolute;
  inset: 0;              
  z-index: 1;
  transform: translate(-35px, 35px); 
}

.home-advisors__media:hover .advisors-card--front{
  transform: translate(5px, -5px);
}
.home-advisors__media:hover .advisors-card--back{
  transform: translate(-40px, 40px);
}

/* Team Advisor */
.team-advisors{
  padding-top: 50px;
  padding-bottom: 140px;
}

.team-advisors__title{
  color: var(--white);
  font-family: var(--DM-Sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15; 
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
}

.team-advisors__subtitle{
  color: var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 28px 0;
}

.team-advisors__media{
  position: relative;
  display: inline-block;
  max-width: 560px;
}

.team-advisors__copy{
  text-align: left;
  margin-top: 50px;
}

.team-advisors-card--front{
  position: relative;     
  z-index: 2;
  overflow: unset !important;
}

.team-stats{
  position:absolute; width: 175px !important; right: 45px; border-radius:var(--radius-small) !important; bottom: -60px; transition: transform 1.5s ease;
}

.team-advisors__media:hover .team-advisors-card--front .team-stats{
  transform: translate(10px, -10px);
}
.team-advisors__media:hover .team-advisors-card--front {
  transform: translate(-5px, 5px);
}


/* Academy Advisor */
.academy-padding {
  padding-top:110px; padding-bottom:160px
}

.academy-advisors__title{
  color: var(--white);
  font-family: var(--Outfit);
  font-size: 64px;
  font-weight: 900;
  line-height: 1; 
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
}

.academy-advisors__media{
  position: relative;
  display: inline-block;
  margin-left: auto;
  max-width: 620px;
  width: 100%;
}

.academy-advisors__media .advisors-card--back{
  position: absolute;
  inset: 0;              
  z-index: 1;
  transform: translate(-45px, 45px);
}

.academy-advisors__copy{
  text-align: left;
  max-width: 90%;
}

.academy-advisors__media:hover .advisors-card--front{
  transform: translate(5px, -5px);
}
.academy-advisors__media:hover .advisors-card--back{
  transform: translate(-50px, 50px);
}

/* Pitch Advisor */
.section-pitch{
  padding-bottom: 16px !important;
}

.pitch-advisors__media{
  position: relative;
  display: inline-block;
  margin-left: auto;
  max-width: 620px;
  width: 100%;
}

.pitch-padding{
  padding-top:110px; padding-bottom:45px
}

.pitch-advisors__media .advisors-card--front{
  transform: translate(-35px, 10px);
}
.pitch-advisors__media .advisors-card--fronter{
  transform: translate(-65px, 125px)
}

.pitch-advisors__media .advisors-card--back{
  position: absolute;
  inset: 0;              
  z-index: 1;
  transform: translate(0px, 45px);
}

.pitch-advisors__media:hover .advisors-card--front{
  transform: translate(-40px, 5px);
}
.pitch-advisors__media:hover .advisors-card--fronter{
  transform: translate(-60px, 120px);
}
.pitch-advisors__media:hover .advisors-card--back{
  transform: translate(5px, 50px);
}

/* Supporto Advisor */
.supporto-advisors__subtitle{
  color: var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 28px 0;
}

.supporto-picture{margin: 80px 0;}

/* Trasformazione Advisor */
.trasformazione-advisors{
  padding-top: 80px;
  padding-bottom: 120px;
}

.trasformazione-advisors__subtitle{
    color: var(--warm-grey-4);
    font-family: var(--DM-Sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 28px 0;
  }

  .trasformazione-advisors__copy{
  text-align: left;
  margin-top: 50px;
  max-width: 440px;
}

.trasformazione-advisors__grid{
  align-items: center; 
  justify-items: self-end;
}

/* responsive */
@media (max-width: 1080px){
.pitch-advisors__media .advisors-card--fronter{
  transform: translate(-15px, 55px)
}
.pitch-advisors__media:hover .advisors-card--fronter{
  transform: translate(-10px, 60px);
}

}
@media (max-width: 960px){
  .home-advisors__media{margin: 0 auto clamp(20px,4vw,36px);max-width: 100%;}
  .home-advisors__copy{max-width: 100%; margin-bottom: 32px;}
  .advisors-card--back{transform: translate(-15px, 15px);}
  .team-advisors__grid{justify-items: center;}
  .team-stats{bottom: -40px;}
  .team-advisors{padding-bottom: 70px}
  .academy-advisors__media, .pitch-advisors__media{margin: auto;}
  .academy-advisors__copy{max-width: 100%;}
  .academy-padding{padding-top:150px; padding-bottom:110px}
  .pitch-padding{padding-top:150px; padding-bottom:45px}
  .tutorial{padding-top: 60px !important;}
  .academy-eyebrow, .academy-advisors__title, .academy-subtitle{ max-width: 90%;}
  .academy-advisors__title {font-size: 50px;}
}

@media (max-width: 900px){
  .academy-eyebrow, .academy-advisors__title, .academy-subtitle{text-align: center; max-width: 100%;}
  .academy-advisors__media .advisors-card--back{transform: translate(-30px, 30px); }
  .pitch-advisors__media .advisors-card--front{transform: translate(0px, 0px);}
  .pitch-advisors__media .advisors-card--back{transform: translate(30px, 30px);}
  .trasformazione-advisors__grid{ justify-items: center;}
  .trasformazione-advisors__copy{max-width: 100%;}
}

@media (max-width: 640px){
  .home-advisors__subtitle, .team-advisors__subtitle, .supporto-advisors__subtitle{font-size: 18px;}
  .academy-advisors__media .advisors-card--back{transform: translate(-15px, 15px); }
  .pitch-advisors__media .advisors-card--back{transform: translate(15px, 15px); }
  .academy-advisors__title{font-size: 40px;}
  .academy-padding{padding-top:120px; padding-bottom:85px}
  .pitch-padding{padding-top:150px; padding-bottom:45px}
  .tutorial{padding-top: 55px !important;}  
  .advisors-card--fronter img{max-width: 200px;}
  .pitch-advisors__media .advisors-card--fronter{transform: translate(-10px, 55px)}
  .supporto-picture{margin: 0px 0 80px;}
}



/* =========================
   xFOCUS COLUMNS
   ========================= */

.home-focus{
  text-align:center;
  padding-top: 0px;
  padding-bottom: 70px;
}

.focus-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  height:100%;    
}

.focus-card__iconbox,
.focus-card__title,
.focus-card__text{
  margin-bottom:24px !important;
}

.focus-card__iconbox{
  width: 100%;
  border-radius:var(--radius-small);
  display:flex;
  align-items:center;
  justify-content:center;
}

.focus-card__iconbox img{
  border-radius: var(--radius);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid var(--warm-grey-3);
}

.focus-card__title{
  color:var(--red-primary);
  font-family: var(--DM-Sans);
  font-size:24px;
  font-weight:700;
  margin:0;
}
.focus-card__text{
  color:var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size:16px;
  line-height:1.4;
  margin:0;
}

.focus-card .cta-dot{
  margin-top:auto;
}

/* responsive */
@media (max-width: 960px){
  .focus-card__title{margin-bottom: 6px !important;}
  .focus-card .cta-dot{margin-bottom: 40px}
  
}

@media (max-width: 900px){
  .home-focus__grid{max-width: 400px}
  .home-focus{display: flex; justify-content: center;}
}

/* =========================
   HOMEPAGE – Mappa
   ========================= */


.home-gradient{
  width:100%;
  position:relative;
  overflow:hidden;
  background: linear-gradient(to bottom, var(--warm-grey-1) 0%, var(--warm-grey-3) 100%);
}

.home-gradient__overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.home-gradient__image{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  
}
.home-gradient__img{
  width:85%;
  height:auto;
  display:block;
}

/* responsive */
@media (max-width: 960px){
  .home-gradient__img{width:120%; max-width: 120% !important;}
}

@media (max-width: 640px){
  .home-gradient__img{width:180%; max-width: 180% !important;}
}



/* =========================
   xACADEMY TUTORIAL
   ========================= */

.tutorial{
  background: var(--warm-grey-5);
  padding: 80px 0;
}

.tutorial__grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr; 
  align-items: stretch;
  gap: 90px;
}

.tutorial__media{
  position: relative;
  align-self: stretch;  
}

.tutorial__figure{
  position: sticky;
  top: 80px;
  border-radius: var(--radius);
  border-top-left-radius:0px;
  overflow: hidden;
  aspect-ratio: 4 / 3.05;
}

.tutorial__figure img{
  display: block;
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

.tutorial, .tutorial__grid, .tutorial__media{
  overflow: visible;    
}

.tutorial, .tutorial__grid{
  transform: none;
  will-change: auto;
}

.tutorial__steps{ 
  counter-reset: step;
  position: relative;
  margin: 0;
  padding: 40px 0 0 55px;   
  list-style: none;
}


.tutorial__steps::before{ 
  content: "";
  position: absolute;
  left: 22px;               
  top: 60px;
  bottom: 0;
  width: 2px;
  background-color: var(--red-primary);
  background-size: 100% 100%;
  opacity: .9;
}

.tutorial__step{
  position: relative;
  padding: 16px 0 120px;
}
.longerstep{
  padding-bottom: 210px !important;
}

.tutorial__step:last-child{ padding-bottom: 0; }

.tutorial__step::before{ 
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -48px; 
  top: 16px; font-weight: 700; font-size: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--DM-Sans);
  background-color: var(--warm-grey-5);
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
  border-radius: 50%;
}

.tutorial__step-title{
  color: var(--black);
  font-family: var(--DM-Sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.tutorial__step-text{
  color: var(--warm-grey-1);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  max-width: 58ch;

}

.tutorial__step.is-active .tutorial__step-title{
  text-decoration: none;
  color: var(--red-primary);
  text-decoration-color: var(--red-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 900px){
  .tutorial__grid{grid-template-columns: 1fr; gap: 0px;}
  .tutorial__figure{position: relative; top: 0;margin-bottom: 20px;}
  .tutorial__steps{padding-left: 40px;}
  .tutorial__step::before{left:-43px;}
  .tutorial__steps::before{left:12px;}
  .tutorial__step {padding: 16px 0 60px;}
  .longerstep{padding-bottom: 60px !important;}
}


/* =========================
   xMEDIA PITCH
   ========================= */

.mp-wrap{
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--warm-grey-3);
  background: var(--warm-grey-2);
}

.mp-eyebrow{
  text-align: center;
  color:var(--red-primary);
  font-family: var(--DM-Mono);
  font-size:14px;
  font-weight:400;
  letter-spacing:0em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.mp-grid{ align-items: stretch; }

.mp-card{
  position: relative;
  border-radius: var(--radius-small);
  overflow: hidden; 
  background-image: radial-gradient(circle, rgba(255,255,255,0.08)  1.2px, transparent 1.2px );
  background-size: 6px 6px;
  background-color: var(--warm-grey-1);
  background-repeat: repeat;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 145px;
  gap: 12px;
}

.mp-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; 
  background: var(--gradient-1);         
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.mp-card__icon{
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--red-primary);
}

.icon-check{ width: 100%; height: 100%; }

.mp-card__body{
  display: block;
}
.mp-card__title{
  margin: 0;
  color: var(--white);
  font-family: var(--DM-Sans);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
}



/* =========================
   xMEDIA AUDIT
   ========================= */
.mediaaudit-page {
  overflow-x: clip;
}

.section-audit{
margin-top: 80px; margin-bottom: 80px;
padding: 80px 0px;
border-top: 1px solid var(--warm-grey-4);
border-bottom: 1px solid var(--warm-grey-4);
}

.audit-block{padding-top: 80px !important;}

.section_audit_grey{
background-color: var(--warm-grey-5);
padding: 120px 0px 180px;
text-align: center;
}

.section_audit_grey .section-title{
  color: var(--black);
  margin-bottom: 50px;
  
}

.audit__subtitle{
color: var(--white);
text-align: center;
font-family: var(--DM-Sans);
font-size: 24px;
font-weight: 500;
line-height: 1.15; 
}

.audit-card__box{
  border-radius: var(--radius-small);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--warm-grey-1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.audit-card__box img {
  width: 100%; height: auto;
  object-fit: cover; display: block;
}

.audit-card__title{
  color: var(--red-primary);
  font-family: var(--DM-Sans);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 24px;
  text-align: left;
}

.audit-laptop-figure{
  position: relative;
  margin: 80px 0px 120px;
  width: 100%;
  aspect-ratio: 6 / 1.3;    
  overflow: visible; 
}

.audit-laptop{
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);  
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 1;
}


/* Responsive */

@media (min-width: 1500px){
  .audit-laptop-figure{margin: 70px 0px 140px;}
  .audit-laptop{width: 90%;}
}

@media (max-width: 900px){
  .section-audit{margin-top: 50px; margin-bottom: 60px;padding: 60px 0px}
  .section_audit_grey{padding: 80px 0px;}
  .audit-card__title{font-size: 24px; margin-top: 16px;}
  .audit-laptop-figure{margin: 120px 0px 130px}
  .audit-laptop{width: 135%;}
}

@media (max-width: 640px){
  .audit__subtitle{font-size: 20px;}
  .section_audit_grey{padding: 60px 0px 20px;}
  .audit-block{padding-top: 60px !important;}
  .audit-card{margin-bottom: 24px;}
  .audit-laptop-figure{margin: 70px 0px 120px}
}



/* =========================
   xTRASFORMAZIONE DIGITALE
   ========================= */
   .trasformazione-container{
    padding-top:150px !important;
   }
  .trasformazione-box{
    min-height: 800px !important;
  }

  .trasformazione-overlay{
    max-height: none !important;
  }

  .trasformazione-content{
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 40px;
  }
  .trasformazione-content2{
    align-items: center !important;
    justify-content: space-between !important;
    padding: 80px 40px;
  }

  .trasformazione-content2 .section-title{
    color: var(--black) !important;
    font-size: 32px;
  }

  .trasformazione-content2 .section-subtitle{
    color: var(--warm-grey-2) !important;
    font-size: 18px;
  }

  .trasformazione__title{
    color: var(--white);
    text-align: left;
    font-family: var(--Outfit);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
  }
  .trasformazione__subtitle{
    color: var(--white);
    text-align: left;
    font-family: var(--DM-Sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15; 
    max-width: 50%;
  }
  .trasformazione__badge {
    display: inline-block;
    margin-bottom: 24px;
    font: 400 14px var(--DM-Mono);
    text-transform: uppercase;
    padding: 2px 8px;
    color: var(--warm-grey-4);
    border-radius: var(--radius-xsmall);
    border: 1px solid var(--warm-grey-3);
    background-color: var(--warm-grey-2);
  }
  .trasformazione-scroll {
    position: absolute;
    right: var(--hero-pad);
    bottom: var(--hero-pad);
    width: 32px;
    height: 68px;
    background: transparent;
    border: none;
    animation: arrow-bounce 2s ease infinite;
}

  .trasformazione-scroll::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -3px;
    left: 50%;
    width: 2px;
    background: var(--white);
    transform: translateX(-50%);
  }

  .trasformazione-scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translateX(-50%) rotate(-45deg);
  }

.trasformazione-beige__box{
  position: relative;
  min-height: auto !important;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-grey-5); 
  isolation: isolate; 
}

.trasformazione-670{
  max-width: 670px;
  margin-bottom: 20px;
}

.trasformazione-content2 img{
  max-width: 220px !important;
}


  /* Responsive */
@media (max-width: 1200px){
  .trasformazione__subtitle{max-width: 60%;}
}

@media (max-width: 900px){
  .trasformazione__subtitle{max-width: 90%;}
  .trasformazione-box{min-height: 700px !important;}
  
}

@media (max-width: 800px){
  .trasformazione__title{font-size: 70px;}
  
}

@media (max-width: 640px){
  .trasformazione-content{padding: 20px;}
  .trasformazione-content2{padding: 40px 25px;}
  .trasformazione__title{font-size: 60px;}
  .trasformazione__subtitle{font-size: 18px; max-width: 85%;}
  .trasformazione-scroll {bottom: 50px; right: 25px;}
  .trasformazione-container{padding-top:100px; margin-bottom:30px}
}

@media (max-width: 540px){
  .trasformazione-box{min-height: 470px !important;}
  .trasformazione__title{font-size: 40px;letter-spacing: -1.2px;}
}


/* =========================
   xINFLUENCER MARKETING
   ========================= */

:root{--influencer-hero-height: 95vh;}
   
.influencer-hero{
  height: auto;
  max-height: var(--influencer-hero-height);
  overflow: hidden;
  background: var(--warm-grey-1); 
}

.influencer-hero-image{
  height: var(--influencer-hero-height);
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%),
    var(--hero-img) center center / cover no-repeat;
  background-color: #0b0b0b; 
  color: #fff;
}

.influencer-content{
  height: 100% !important;
  align-items: center;
}

.hero-influencer-title{
  font-size: clamp(50px, 7.5vw, 80px);
  max-width: 800px;
  font-weight: 900;
  line-height: 1;
}

.influencer-grid{
  display: grid;
  gap: var(--gutter);
  padding: 60px 0px;
}

.influencer-columns-image { grid-area: img; }
.textL, .textR  { grid-area: text; }

.imgL{grid-template-columns: 1fr 2fr; grid-template-areas: "img text";}
.imgR{grid-template-columns: 2fr 1fr; grid-template-areas: "text img";}
.textL{text-align: left;}
.textR{text-align: right;}
.textR, .textL{justify-content: center;display: flex;flex-direction: column;}

.section-influencer{
  padding-bottom: 20px !important;
}
.section-influencer-title{
  margin-bottom: 55px !important;
}

.influencer-columns-image img{
  border-radius: var(--radius);
  margin: 0 auto;
  aspect-ratio: 1/1;
  max-width: 324px;
  border: 1px solid var(--warm-grey-3);
}

.influencer-columns-title{
color: var(--red-primary);
font-family: var(--Outfit);
font-size: 40px;
font-weight: 900;
line-height: 1.15;
}

.influencer-columns-desk{
color: var(--warm-grey-4);
font-family: var(--DM-Sans);
font-size: 24px;
font-weight: 400;
line-height: 1.15;
}

.influencer-advisors__copy{
  text-align: left;
  max-width: 95%;
  padding-right: 10px;
}

.influencer-advisors__title{
  color: var(--white);
  font-family: var(--Outfit);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15; 
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
}

.influencer-advisors__subtitle{
  color: var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 28px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.influencer-card__icon{
  position: relative;
  flex: 0 0 24px;   
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  color: var(--red-primary);
}

.influencer-padding {
  padding-top:80px; 
}

/* Responsive */
@media (max-width: 960px){

.imgL, .imgR{grid-template-columns: 1fr; grid-template-areas: "img" "text";}
.influencer-content{padding-top: 0px !important;}
.textL, .textR{text-align: center;}
}

@media (max-width: 640px){
.influencer-columns-image img{max-width: 100%;}
.textL, .textR{text-align: left;}
.textR{text-align: left;}
.influencer-grid{padding: 40px 0px; gap: 24px;}
.influencer-columns-desk{font-size: 20px;}
}

/* =========================
   xCONTATTI
   ========================= */
  .contatti-page{
    padding-top: 120px;
    position: relative;
  }
  .contatti-bg {
  position: fixed;
  inset: 0; 
  z-index: -1; 
  background: linear-gradient(to bottom, var(--warm-grey-1) 0%, var(--warm-grey-3) 150%);
}
.contatti-section{
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

.contact-padding{
  padding: 120px 0px;
}
.contatti-scroll {
    width: 32px;
    height: 68px;
    background: transparent;
    border: none;
    animation: arrow-bounce 2s ease infinite;
}

  .contatti-scroll::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -3px;
    left: 50%;
    width: 2px;
    background: var(--white);
    transform: translateX(-50%);
  }

  .contatti-scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translateX(-50%) rotate(-45deg);
  }

  .contatti-img{
  position: relative;
  margin-top: 50px;
  min-height: clamp(230px, 40vw, 600px);
  border-radius: var(--radius);
  overflow: hidden;
  background:  var(--contatti-img) center center / cover no-repeat;
  isolation: isolate; 
}

.contact-L, .contact-R{
display: flex;
flex-direction: column;
gap: 24px;
}

.contact-L h2{
color: var(--white);
font-family: var(--Outfit);
font-size: 64px;
font-weight: 900;
line-height: 1;
}

.contact-card{
  position: relative;
  border-radius: var(--radius-small);
  padding: 24px;
  overflow: hidden; 
  background-image: radial-gradient(circle, rgba(255,255,255,0.08)  1.2px, transparent 1.2px );
  background-size: 6px 6px;
  background-color: var(--warm-grey-1);
  background-repeat: repeat;
  border: 1px solid var(--warm-grey-3);
  display: flex;
  gap: 24px;
  flex-direction: column;
  align-items: flex-start;
  cursor:pointer;
}

.contact-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;  
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.contact-card__top{
  display: flex;
  flex-direction: row;
  align-items:left ;
  width: 100%;
  justify-content: space-between;
}
 .contact-badge {
    display: inline-block;
    font: 400 14px var(--DM-Mono);
    text-transform: uppercase;
    padding: 2px 8px;
    color: var(--warm-grey-4);
    border-radius: var(--radius-xsmall);
    border: 1px solid var(--warm-grey-3);
    background-color: var(--warm-grey-2);
  }

.contact-card__title{
  color: var(--white);
  font-family: var(--DM-Sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

.contact-dot{
  display:inline-flex;
  align-items:center;
  gap:8px;
  -webkit-tap-highlight-color: transparent;
}

.contact-dot__icon{
  position:relative;
  width:24px; height:24px;
  border-radius:36px;
  background-color: var(--red-primary);
  transition: width .3s ease;
}

.contact-dot__icon::before, 
.contact-dot__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background-color:var(--white);
  transform-origin:center;
}

.contact-dot__icon::before{
  width:46%;
  height:1.5px;
  transform:translate(-50%,-50%);
  transition: width .3s ease;
}

.contact-dot__icon::after{
  width:6px;
  height:6px;
  border-top:1px solid var(--white);
  border-right:1px solid var(--white);
  background: transparent;
  transform:translate(-1px,-50%) rotate(45deg);
  transition: transform .3s ease;
}

.contact-card:hover .contact-dot__icon{
  width:47px;
}

.contact-card:hover .contact-dot__icon::after{
  transform:translate(10.3px,-50%) rotate(45deg);
}

.contact-card:hover .contact-dot__icon::before{
  width:71%;
}
.ff-default{margin-top: 10px !important;}
.fluentform .ff-el-input--label {display:none !important}
.frm-fluent-form .ff-t-container {gap:24px !important}
.fluentform .ff-el-group {margin-bottom: 24px !important}
.ff-default .ff-el-form-control {
  background-color: var(--warm-grey-1) !important; 
  border: 1px solid var(--warm-grey-3) !important;
  font-family: var(--DM-Sans) !important;
  font-size:16px !important;
  color: var(--warm-grey-4) !important;
  font-weight: 400 !important;
  padding: 7px 12px !important;
  border-radius: 4px !important;
}
.ff-el-form-control::placeholder {color: var(--warm-grey-4) !important;}

.fluentform .text-danger {
  color: var(--red-primary);
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--warm-grey-1) inset !important;
  -webkit-text-fill-color: var(--warm-grey-4) !important;
  caret-color: var(--warm-grey-4);
  transition: background-color 5000s ease-in-out 0s; 
}

input:-webkit-autofill:focus,textarea:-webkit-autofill:focus,select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--warm-grey-1) inset !important;
  -webkit-text-fill-color: var(--warm-grey-4) !important;
}

.ff-message-success{
  margin-bottom: 40px !important;
}

.ff-message-success p{
  text-align: center;
  box-sizing: border-box;
  margin: 0px;
  color: #3ffb0d;
  font-weight: 600;
}

/* Contact CTA */
:root{
  --chev-size: 19px;
  --chev-gap: 10px;
  --chev-pad-x: 12px;
}

/* stato base */
#fluentform_1 .ff-btn-submit.btn-cta{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--DM-Mono);
  font-weight:400; font-size:14px; text-transform:uppercase;
  color: var(--white);
  border:none; border-radius: var(--radius-xsmall);
  padding: 6px var(--chev-pad-x) 6px 12px;
  cursor:pointer;

  background-color: var(--red-primary) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='9' fill='none' stroke='white' stroke-width='1'/><path d='M9 7 L12 10 L9 13' fill='none' stroke='white' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/></svg>");
  background-repeat: no-repeat;
  background-size: var(--chev-size) var(--chev-size);
  background-position: right var(--chev-pad-x) center;

  padding-right: calc(var(--chev-pad-x) + var(--chev-size) + var(--chev-gap));
  transition: background-color .3s ease, color .3s ease, background-position .2s ease, padding .2s ease, margin .2s ease;

}

#fluentform_1 .ff-btn-submit.btn-cta:hover{
  margin-left: 6px;
  background-position: right calc(var(--chev-pad-x) - 4px) center;
  padding-right: calc(var(--chev-pad-x) + var(--chev-size) + var(--chev-gap) + 6px);
  
  color: var(--black);
  background-color: var(--warm-grey-5) !important;
  background-position: right var(--chev-pad-x) center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='9' fill='none' stroke='black' stroke-width='1'/><path d='M9 7 L12 10 L9 13' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/></svg>");
}

#fluentform_1 .ff_btn_style {
  background-color: var(--red-primary) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='9' fill='none' stroke='white' stroke-width='1'/><path d='M9 7 L12 10 L9 13' fill='none' stroke='white' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-size: var(--chev-size) var(--chev-size) !important;
  background-position: right var(--chev-pad-x) center !important;

  color: var(--white) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  border: none !important;
}

#fluentform_1 .ff_btn_style:hover,
#fluentform_1 .ff_btn_style:focus {
  margin-left: 6px !important;
  color: var(--black) !important;
  background-color: var(--warm-grey-5) !important;
  background-position: right var(--chev-pad-x) center !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='9' fill='none' stroke='black' stroke-width='1'/><path d='M9 7 L12 10 L9 13' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/></svg>") !important;
  opacity: 1 !important;
  filter: none !important;
}

/* responsive */
@media (max-width: 640px){
  .contact-L h2 {font-size: 40px;}
  .contact-padding {padding: 80px 0px;}
  .contatti-section {margin-top: 40px;}
  .contatti-page {padding-top: 90px;}
}

/* =========================
   x404
   ========================= */

.section-404{
  height: 80vh;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column  ;
}

.section-404 h1{
  color: var(--red-primary);
  text-align: center;
  font-family: var(--Outfit);
  font-size: 140px;
  font-weight: 900;
  line-height: 1; 
  margin-bottom: 24px;
}

.section-404 h2{
  color: var(--white);
  text-align: center;
  font-family: var(--Outfit);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-404 p{
  color: var(--warm-grey-4);
  text-align: center;
  font-family: var(--DM-Sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.30; 
}

.privacy-text p{
  color:var(--warm-grey-4);
  font-family: var(--DM-Sans);
  font-size:18px;
  font-weight:400;
  line-height:1.3;
  margin-bottom:24px;
  margin-inline:auto;
}

/* =========================
   xMOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  .typer-caret { animation: none; }
  .burger span{ transition: none; }
  .tutorial *{ transition: none !important; animation: none !important; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}