
:root{
  --impact:#08bfdc;
  --impact-dark:#079bb2;
  --white:#ffffff;
  --ice:#f4fbfd;
  --soft:#edf8fb;
  --text:#202a31;
  --muted:#66747b;
  --line:rgba(8,191,220,.18);
  --shadow:0 20px 60px rgba(8,191,220,.14);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Montserrat',sans-serif;color:var(--text);background:var(--white);line-height:1.65;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1120px,92%);margin:0 auto}
section{padding:110px 0}
.center{text-align:center}
.small-title{color:var(--impact);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;margin-bottom:16px}
.section-title{font-size:clamp(2rem,4.3vw,4rem);line-height:1.08;letter-spacing:-.035em;margin-bottom:24px}
.hero-text{max-width:720px;color:#55656c;font-size:1.05rem;font-weight:300}
.hero-actions,.section-cta{display:flex;gap:16px;flex-wrap:wrap;margin-top:34px}
.btn,.btn-primary,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:14px 22px;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;transition:.3s ease}
.btn-primary{background:var(--impact);color:#fff;box-shadow:0 16px 38px rgba(8,191,220,.24)}
.btn-primary:hover{background:var(--impact-dark);transform:translateY(-3px)}
.btn-ghost{border:2px solid rgba(255,255,255,.7);color:#fff}
.btn-ghost.dark{border-color:var(--impact);color:var(--impact)}
.btn-ghost:hover{background:#fff;color:var(--text);transform:translateY(-3px)}
.btn-ghost.dark:hover{background:var(--impact);color:#fff}
.kicker{display:inline-flex;align-items:center;gap:10px;color:var(--impact);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;margin-bottom:18px}
.kicker::before{content:"";width:40px;height:2px;background:var(--impact)}
.site-header{position:fixed;top:0;left:0;width:100%;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);z-index:1000;transition:all .3s ease}
.site-header.scrolled{box-shadow:0 10px 30px rgba(0,0,0,.05)}
.navbar{width:min(1180px,92%);margin:0 auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.nav-brand img{height:40px;width:auto;object-fit:contain}
.menu-toggle{width:54px;height:54px;border-radius:50%;border:0;background:var(--impact);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 35px rgba(8,191,220,.3)}
.menu-toggle span,.menu-toggle span:before,.menu-toggle span:after{display:block;content:"";width:22px;height:2px;background:#fff;position:relative;transition:.3s ease}
.menu-toggle span:before{position:absolute;top:-7px}
.menu-toggle span:after{position:absolute;top:7px}
.menu-toggle.active span{background:transparent}
.menu-toggle.active span:before{top:0;transform:rotate(45deg)}
.menu-toggle.active span:after{top:0;transform:rotate(-45deg)}
.dropdown-menu{position:fixed;top:76px;right:4%;width:min(420px,92vw);background:linear-gradient(145deg,#0ec4df,#09aeca);border-radius:0 0 28px 28px;padding:28px;box-shadow:0 30px 80px rgba(8,191,220,.35);transform:translateY(-18px) scale(.96);opacity:0;pointer-events:none;transition:.35s ease;color:#fff}
.dropdown-menu.open{transform:translateY(0) scale(1);opacity:1;pointer-events:auto}
.dropdown-menu a{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.24);font-size:1rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.dropdown-menu a.active{opacity:.8}
.menu-social{display:flex;gap:14px;margin-top:24px}
.menu-social a{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45)}
.hero.hero-cover{position:relative;min-height:100vh;display:flex;align-items:center;color:#fff;background:url('../assets/hero-automotive.webp') center right/cover no-repeat;overflow:hidden;padding:110px 0 70px}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to right, rgba(0,0,0,.78) 0%, rgba(0,0,0,.58) 38%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.05) 100%)}
.hero-inner{position:relative;z-index:2}
.hero-copy{max-width:680px;animation:fadeUp .9s ease both}
.hero-copy h1{font-size:clamp(3rem,7vw,6rem);line-height:.97;letter-spacing:-.05em}
.accent{color:var(--impact)}
.hero-copy .hero-text{color:rgba(255,255,255,.86)}
.scroll-indicator{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.7);font-size:.72rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;z-index:2}
.approach-grid,.services-grid,.values-line{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:30px}
.card,.service,.value-mini,.contact-box{border:1px solid var(--line);border-radius:20px;background:#fff;padding:26px;box-shadow:var(--shadow)}
.card h3,.service h3,.value-mini h3,.contact-box h3{margin-bottom:10px;font-size:1.2rem}
.card p,.service p,.value-mini p,.contact-box p{color:#58676e;font-weight:300}
.settori-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:36px}
.settori-grid a{border:1px solid var(--line);border-radius:18px;padding:20px 16px;text-align:center;font-weight:700;background:#fff;transition:.3s ease}
.settori-grid a:hover{transform:translateY(-4px);border-color:var(--impact);color:var(--impact)}
.portfolio-preview .portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:36px}
.portfolio-preview .portfolio-grid a{display:block;overflow:hidden;border-radius:18px}
.portfolio-preview img,.portfolio-grid img{width:100%;height:100%;object-fit:cover;transition:.45s ease;border-radius:18px}
.portfolio-preview img:hover,.portfolio-grid img:hover{transform:scale(1.03)}
.portfolio-hero{padding:160px 0 80px;text-align:center}
.portfolio-nav{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:0 auto 70px;width:min(1000px,92%)}
.portfolio-nav a{padding:12px 18px;border:1px solid var(--line);border-radius:999px;font-weight:700;background:#fff;transition:.3s ease}
.portfolio-nav a:hover{border-color:var(--impact);color:var(--impact)}
.portfolio-block{padding:0 0 100px}
.portfolio-intro{max-width:760px;margin-bottom:34px}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;z-index:2000;padding:20px}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:90vh;border-radius:10px}
.page-hero{padding:160px 0 70px}
.text-flow,.visual-intro,.privacy-container,.cookie-container{max-width:860px;margin:0 auto}
.text-flow p,.visual-intro p,.visual-approach p,.privacy-container p,.cookie-container p,.lead-text p,.contact-intro p,.cv-block p{color:#56666d;margin-bottom:16px;font-weight:300;line-height:1.78}
.cv-block{max-width:820px;margin:70px auto 0}
.cv-cta-inline{margin-top:24px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}
.cv-download{background:var(--ice);text-align:center;border-radius:28px;padding:80px 24px;margin-top:60px}
.cv-download .hero-text{margin:10px auto}
.contact-grid,.lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.contact-form,.lead-form{display:flex;flex-direction:column;gap:14px}
.contact-form input,.contact-form textarea,.contact-form select,.lead-form input,.lead-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:15px 16px;font-family:inherit;font-size:1rem}
.contact-form textarea,.lead-form textarea{min-height:150px;resize:vertical}
.form-consent{font-size:.82rem;color:#6c7b80}
.form-consent a{color:var(--impact)}
.whatsapp-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;background:var(--impact);color:#fff;padding:12px 18px;border-radius:999px;font-size:.8rem;text-transform:uppercase;font-weight:700;letter-spacing:.08em}
.newsletter-placeholder{border:1px dashed var(--line);border-radius:18px;padding:22px;color:#64747b;background:var(--ice)}
.footer{border-top:1px solid var(--line);background:var(--ice);padding:55px 0 24px}
.footer-inner{width:min(1180px,92%);margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;gap:30px;align-items:center}
.footer-brand{font-size:.78rem;font-weight:800;letter-spacing:.28em;text-transform:uppercase;color:#708087}
.social-links{display:flex;gap:16px;justify-content:center}
.social-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--impact);background:#fff;color:var(--impact);transition:.3s ease;font-size:1.16rem}
.social-icon:hover{background:var(--impact);color:#fff;transform:translateY(-5px)}
.footer-contacts{text-align:right;color:var(--impact);font-size:.88rem;font-weight:600}
.footer-contacts a{display:block;margin:5px 0}
.legal{width:min(1180px,92%);margin:32px auto 0;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#8ea0a7;font-size:.74rem}
.legal a{color:#8ea0a7;margin-left:14px}
.cookie-banner{position:fixed;bottom:18px;left:18px;right:18px;background:#111;color:#fff;border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.28);padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:1500;opacity:0;pointer-events:none;transform:translateY(20px);transition:.35s ease}
.cookie-banner.show{opacity:1;pointer-events:auto;transform:translateY(0)}
.cookie-banner p{font-size:.92rem;line-height:1.5}
.cookie-banner a{color:#7be7f8}
.cookie-actions{display:flex;gap:10px}
.cookie-actions button{border:0;padding:11px 15px;border-radius:999px;cursor:pointer;font-weight:700}
#acceptCookies{background:var(--impact);color:#fff}
#rejectCookies{background:#333;color:#fff}
.reveal{opacity:0;transform:translateY(36px);transition:opacity .8s ease, transform .8s ease}
.reveal.active{opacity:1;transform:translateY(0)}
.floating-cta{position:fixed;right:20px;bottom:20px;z-index:999;opacity:0;transform:translateY(20px);pointer-events:none;transition:.35s ease}
.floating-cta.active{opacity:1;transform:translateY(0);pointer-events:auto}
.floating-cta a{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;background:var(--impact);color:#fff;font-weight:700;box-shadow:0 16px 40px rgba(8,191,220,.25)}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:980px){section{padding:90px 0}.approach-grid,.services-grid,.values-line,.contact-grid,.lead-grid,.footer-inner,.settori-grid,.portfolio-preview .portfolio-grid{grid-template-columns:1fr}.portfolio-grid{grid-template-columns:1fr}.footer-contacts{text-align:center}.legal{justify-content:center;text-align:center}}
@media(max-width:640px){.hero.hero-cover{background-position:70% center}.hero-copy h1{font-size:2.7rem}.hero-actions,.section-cta,.cookie-banner,.cookie-actions{flex-direction:column;align-items:stretch}.btn-primary,.btn-ghost,.floating-cta a{width:100%}.cookie-banner{left:12px;right:12px;bottom:12px}.scroll-indicator{display:none}}


/* Correzioni finali: meno bottoni, più racconto editoriale */
.narrow{max-width:860px}
.single-action{justify-content:center}
.editorial-grid .card span,
.sector-number,
.culture-list article span{
  display:inline-flex;
  color:var(--impact);
  font-weight:800;
  letter-spacing:.12em;
  font-size:.8rem;
  margin-bottom:14px;
}
.sector-editorial{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  margin-top:40px;
}
.sector-story{
  min-height:260px;
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px 22px;
  background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);
  box-shadow:0 18px 45px rgba(20,45,55,.06);
}
.sector-story h3{
  font-size:1.08rem;
  margin-bottom:14px;
}
.sector-story p{
  color:#58676e;
  font-weight:300;
  line-height:1.7;
  font-size:.94rem;
}
.preview-large{
  grid-template-columns:1.3fr 1fr 1fr !important;
  align-items:stretch;
}
.preview-large a:first-child{
  grid-row:span 2;
}
.preview-large img{
  min-height:320px;
}
.about-split{
  display:grid;
  grid-template-columns:1.05fr .75fr;
  gap:70px;
  align-items:center;
}
.about-copy .hero-text{
  margin-top:18px;
}
.about-photo-wrap{
  position:relative;
}
.about-photo-wrap::before{
  content:"";
  position:absolute;
  inset:26px -22px -22px 26px;
  border:2px solid var(--impact);
  border-radius:28px;
  z-index:-1;
}
.about-photo{
  width:100%;
  display:block;
  border-radius:28px;
  box-shadow:0 28px 80px rgba(0,0,0,.15);
  object-fit:cover;
}
.about-text h2{
  margin-top:54px;
  margin-bottom:16px;
  font-size:clamp(1.8rem,3vw,2.7rem);
  letter-spacing:-.03em;
}
.complete-grid{
  grid-template-columns:repeat(3,1fr);
  align-items:start;
}
.complete-grid img{
  aspect-ratio:4/3;
  object-fit:cover;
  cursor:zoom-in;
}
.portfolio-nav{
  gap:10px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:18px 0;
}
.portfolio-nav a{
  border:0;
  background:transparent;
  border-radius:0;
  padding:10px 12px;
  color:#526269;
}
.portfolio-nav a:hover{
  transform:none;
  color:var(--impact);
}
.culture-roadmap{
  max-width:980px;
  margin:0 auto;
}
.culture-roadmap h2{
  margin-bottom:26px;
}
.culture-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.culture-list article{
  border:1px solid var(--line);
  background:#fff;
  border-radius:22px;
  padding:26px;
}
.culture-list article h3{
  margin-bottom:10px;
}
.culture-list article p{
  color:#58676e;
  line-height:1.7;
  font-weight:300;
}
.floating-cta{display:none!important}
.hero-actions{
  gap:14px;
}
@media(max-width:1100px){
  .sector-editorial{grid-template-columns:repeat(2,1fr)}
  .complete-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .about-split{grid-template-columns:1fr;gap:36px}
  .preview-large{grid-template-columns:1fr!important}
  .preview-large a:first-child{grid-row:auto}
  .sector-editorial,.culture-list,.complete-grid{grid-template-columns:1fr}
}


/* =========================================================
   FIX FINALE: logo locale, icone locali, menu, Cultura Visiva
   ========================================================= */

.nav-brand{
  display:inline-flex;
  align-items:center;
  width:min(270px,58vw);
  min-height:52px;
  color:var(--impact);
}
.brand-svg{
  display:block;
  width:100%;
  max-width:270px;
  height:auto;
  overflow:visible;
}
.nav-arrow{
  font-size:1.05rem;
  line-height:1;
  opacity:.85;
  margin-left:18px;
}
.dropdown-menu a{
  gap:18px;
}
.menu-social{
  display:flex!important;
  gap:14px;
  margin-top:24px;
  align-items:center;
}
.dropdown-menu .menu-social a,
.menu-social-icon{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  justify-content:center!important;
  align-items:center!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.dropdown-menu .menu-social a img,
.menu-social-icon img{
  width:23px;
  height:23px;
  display:block;
  filter:none;
  color:currentColor;
}
.social-icon{
  color:var(--impact)!important;
}
.social-icon img{
  width:24px;
  height:24px;
  display:block;
}
.social-icon:hover img{
  filter:brightness(0) invert(1);
}
.footer-contacts a{
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.footer-contacts img{
  width:17px;
  height:17px;
  display:inline-block;
}
.culture-note{
  color:#58676e;
  line-height:1.75;
  font-weight:300;
  max-width:860px;
  margin:0 0 32px;
}
.culture-topic-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}
.culture-topic-card{
  appearance:none;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);
  text-align:left;
  border-radius:24px;
  padding:26px;
  min-height:255px;
  cursor:pointer;
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  font-family:inherit;
  color:var(--text);
}
.culture-topic-card:hover{
  transform:translateY(-5px);
  border-color:rgba(8,191,220,.45);
  box-shadow:0 26px 70px rgba(8,191,220,.12);
}
.culture-topic-card span{
  display:inline-flex;
  color:var(--impact);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.72rem;
  margin-bottom:18px;
}
.culture-topic-card h3{
  font-size:1.15rem;
  line-height:1.28;
  margin-bottom:14px;
}
.culture-topic-card p{
  color:#58676e;
  font-weight:300;
  line-height:1.72;
  font-size:.94rem;
}
.culture-reader{
  margin-top:38px;
}
.culture-back{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  color:var(--impact);
  margin-bottom:28px;
}
.culture-article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:clamp(28px,5vw,64px);
  box-shadow:var(--shadow);
}
.culture-article h2{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:1.02;
  letter-spacing:-.04em;
  margin-bottom:24px;
}
.article-body{
  max-width:820px;
}
.article-body p,
.article-body li{
  color:#56666d;
  line-height:1.85;
  font-weight:300;
  font-size:1rem;
}
.article-body h3{
  margin-top:34px;
  margin-bottom:12px;
  font-size:1.35rem;
}
.article-placeholder{
  border:1px dashed rgba(8,191,220,.35);
  background:#f7fbfc;
  border-radius:18px;
  padding:20px;
  color:#789!important;
}
[hidden]{
  display:none!important;
}
@media(max-width:1100px){
  .culture-topic-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .nav-brand{width:min(230px,62vw)}
  .culture-topic-grid{grid-template-columns:1fr}
  .culture-topic-card{min-height:auto}
  .footer-contacts a{justify-content:center}
}


/* =========================================================
   FIX DEFINITIVO: LOGO REALE, ICONE INLINE, HOME, CULTURA
   ========================================================= */
.logo-image-brand{
  width:min(280px,58vw);
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.logo-image-brand img{
  display:block;
  width:100%;
  max-width:280px;
  height:auto;
  object-fit:contain;
}
.site-header.scrolled .logo-image-brand img{
  max-width:235px;
}
.svg-icon{
  width:24px;
  height:24px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.svg-icon.small{
  width:18px;
  height:18px;
}
.svg-dot{
  stroke:none;
  fill:currentColor;
}
.menu-social{
  display:flex!important;
  gap:14px;
  align-items:center;
  margin-top:24px;
}
.dropdown-menu .menu-social a,
.menu-social-icon{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.55)!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
.menu-social-icon .svg-icon{
  color:#fff!important;
  width:24px!important;
  height:24px!important;
}
.social-icon{
  color:var(--impact)!important;
  display:grid!important;
  place-items:center!important;
}
.social-icon .svg-icon{
  color:var(--impact)!important;
}
.social-icon:hover .svg-icon{
  color:#fff!important;
}
.footer-contacts a{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.footer-contacts .svg-icon{
  color:var(--impact)!important;
  flex:none;
}
.nav-arrow{
  margin-left:18px;
}
.sector-cards-initial{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  margin-top:38px;
}
.sector-card-initial{
  min-height:260px;
  border:1px solid var(--line);
  border-radius:26px;
  padding:30px 22px;
  background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  color:var(--text);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.sector-card-initial:hover{
  transform:translateY(-5px);
  border-color:rgba(8,191,220,.42);
  box-shadow:0 26px 70px rgba(8,191,220,.12);
}
.sector-svg{
  width:44px;
  height:44px;
  fill:none;
  stroke:var(--impact);
  stroke-width:3.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-bottom:28px;
}
.sector-card-initial h3{
  font-size:1.02rem;
  margin-bottom:12px;
}
.sector-card-initial p{
  color:#58676e;
  line-height:1.65;
  font-weight:300;
  font-size:.94rem;
}
.culture-topic-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:30px;
}
.culture-topic-card.minimal{
  min-height:150px;
  padding:28px;
  text-align:left;
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  cursor:pointer;
  font-family:inherit;
  color:var(--text);
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.culture-topic-card.minimal:hover{
  transform:translateY(-4px);
  border-color:rgba(8,191,220,.42);
  box-shadow:0 24px 60px rgba(8,191,220,.11);
}
.culture-topic-card.minimal span{
  display:block;
  color:var(--impact);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.culture-topic-card.minimal h3{
  font-size:1.12rem;
  line-height:1.28;
}
.culture-reader{
  margin-top:38px;
}
.culture-back{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  color:var(--impact);
  margin-bottom:28px;
}
.culture-article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:clamp(30px,5vw,64px);
  box-shadow:var(--shadow);
}
.culture-article h2{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:1.04;
  letter-spacing:-.04em;
  margin-bottom:26px;
}
.empty-topic{
  max-width:760px;
  border:1px dashed rgba(8,191,220,.35);
  border-radius:20px;
  padding:22px;
  background:#f7fbfc;
}
.empty-topic p{
  color:#789;
}
[hidden]{
  display:none!important;
}
@media(max-width:1100px){
  .sector-cards-initial{grid-template-columns:repeat(2,1fr)}
  .culture-topic-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .logo-image-brand{width:min(230px,62vw)}
  .logo-image-brand img{max-width:230px}
  .sector-cards-initial{grid-template-columns:1fr}
  .culture-topic-grid{grid-template-columns:1fr}
  .sector-card-initial{min-height:auto}
  .footer-contacts a{justify-content:center!important}
}


/* =========================================================
   FIX PERFORMANCE + LOGO + ICONE ORIGINAL-LIKE + SETTORI
   ========================================================= */
.logo-image-brand{
  width:min(280px,58vw);
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.logo-image-brand img{
  display:block;
  width:100%;
  max-width:280px;
  height:auto;
  object-fit:contain;
}
.site-header.scrolled .logo-image-brand img{
  max-width:235px;
}
.brand-icon{
  width:23px;
  height:23px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.facebook-icon{
  fill:currentColor;
  stroke:none;
}
.contact-icon{
  width:18px;
  height:18px;
}
.icon-dot{
  fill:currentColor;
  stroke:none;
}
.menu-social{
  display:flex!important;
  gap:14px;
  align-items:center;
  margin-top:24px;
}
.dropdown-menu .menu-social a,
.menu-social-icon{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.58)!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
.menu-social-icon .brand-icon{
  color:#fff!important;
}
.social-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.social-icon{
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  color:var(--impact)!important;
  border:1px solid rgba(8,191,220,.28)!important;
  background:#fff!important;
}
.social-icon .brand-icon{
  color:var(--impact)!important;
}
.social-icon:hover{
  background:var(--impact)!important;
}
.social-icon:hover .brand-icon{
  color:#fff!important;
}
.footer-contacts a{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.footer-contacts .brand-icon{
  color:var(--impact)!important;
  flex:none;
}
.portfolio-sector-links{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  margin-top:38px;
}
.portfolio-sector-link{
  min-height:170px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  text-align:center;
  color:var(--text);
  text-decoration:none;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.portfolio-sector-link:hover{
  transform:translateY(-4px);
  border-color:rgba(8,191,220,.45);
  box-shadow:0 24px 60px rgba(8,191,220,.12);
}
.sector-icon{
  width:42px;
  height:42px;
  fill:none;
  stroke:var(--impact);
  stroke-width:3.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.portfolio-sector-link span{
  font-weight:700;
  letter-spacing:-.02em;
  font-size:.98rem;
}
.culture-topic-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:30px;
}
.culture-topic-card.minimal{
  min-height:150px;
  padding:28px;
  text-align:left;
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  cursor:pointer;
  font-family:inherit;
  color:var(--text);
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.culture-topic-card.minimal:hover{
  transform:translateY(-4px);
  border-color:rgba(8,191,220,.42);
  box-shadow:0 24px 60px rgba(8,191,220,.11);
}
.culture-topic-card.minimal span{
  display:block;
  color:var(--impact);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.culture-topic-card.minimal h3{
  font-size:1.12rem;
  line-height:1.28;
}
.culture-reader{
  margin-top:38px;
}
.culture-back{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  color:var(--impact);
  margin-bottom:28px;
}
.culture-article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:clamp(30px,5vw,64px);
  box-shadow:var(--shadow);
}
.culture-article h2{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:1.04;
  letter-spacing:-.04em;
  margin-bottom:26px;
}
.empty-topic{
  max-width:760px;
  border:1px dashed rgba(8,191,220,.35);
  border-radius:20px;
  padding:22px;
  background:#f7fbfc;
}
.empty-topic p{
  color:#789;
}
.complete-grid img{
  content-visibility:auto;
}
[hidden]{
  display:none!important;
}
@media(max-width:1100px){
  .portfolio-sector-links{grid-template-columns:repeat(2,1fr)}
  .culture-topic-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .logo-image-brand{width:min(230px,62vw)}
  .logo-image-brand img{max-width:230px}
  .portfolio-sector-links{grid-template-columns:1fr}
  .portfolio-sector-link{min-height:140px}
  .culture-topic-grid{grid-template-columns:1fr}
  .footer-contacts a{justify-content:center!important}
}


/* =========================================================
   CORREZIONE REALE: FONT AWESOME ORIGINAL, WORLD CARDS, SPEED
   ========================================================= */
.nav-brand{
  display:flex;
  align-items:center;
  width:min(280px,58vw);
  min-height:58px;
}
.nav-brand img{
  display:block;
  width:100%;
  max-width:280px;
  height:auto;
  object-fit:contain;
}
.site-header.scrolled .nav-brand img{max-width:235px}
.dropdown-menu a i.fa-arrow-right{margin-left:18px;font-size:1rem}
.menu-social{
  display:flex!important;
  gap:14px;
  align-items:center;
  margin-top:24px;
}
.menu-social a{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
.menu-social a i{color:#fff!important;font-size:1.25rem!important;line-height:1!important}
.social-links{display:flex;align-items:center;justify-content:center;gap:14px}
.social-icon{
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  color:var(--impact)!important;
  border:1px solid rgba(8,191,220,.28)!important;
  background:#fff!important;
}
.social-icon i{color:var(--impact)!important;font-size:1.16rem!important}
.social-icon:hover{background:var(--impact)!important}
.social-icon:hover i{color:#fff!important}
.footer-contacts a{display:flex!important;align-items:center!important;gap:8px!important}
.footer-contacts i{color:var(--impact)!important}

/* Settori Home: world-card come codice fornito */
.worlds{
  padding:120px 0;
  background:#f7fbfc;
}
.world-list{
  max-width:1320px;
  margin:54px auto 0;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.world-card{
  min-height:520px;
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:30px;
  color:#fff;
  text-decoration:none;
  background:#0b1114;
  box-shadow:0 30px 90px rgba(0,0,0,.16);
  transform:translateZ(0);
}
.world-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.72;
  filter:saturate(.95) contrast(1.04);
  transition:transform .7s ease, opacity .7s ease;
}
.world-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.78));
}
.world-card:hover img{transform:scale(1.08);opacity:.88}
.world-content{
  position:relative;
  z-index:2;
  height:100%;
  min-height:520px;
  padding:30px 24px;
  display:flex;
  flex-direction:column;
}
.world-number{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  color:var(--impact);
  margin-bottom:26px;
}
.world-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(8,191,220,.18);
  border:1px solid rgba(8,191,220,.38);
  margin-bottom:auto;
}
.world-icon i{color:#fff;font-size:1.12rem}
.world-content h3{
  margin-top:28px;
  font-size:clamp(1.8rem,2.4vw,2.7rem);
  line-height:.96;
  letter-spacing:-.06em;
}
.world-content p{
  margin-top:18px;
  color:rgba(255,255,255,.82);
  line-height:1.65;
  font-weight:300;
  font-size:.94rem;
}
.world-link{
  margin-top:24px;
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--impact);
  color:#fff;
}
.world-link i{font-size:.95rem}

/* Cultura: solo codice HTML, sezioni nascoste non linkabili */
.culture-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}
.culture-topic-card.minimal{
  min-height:150px;
  padding:28px;
  text-align:left;
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  cursor:pointer;
  font-family:inherit;
  color:var(--text);
  box-shadow:0 18px 45px rgba(20,45,55,.06);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.culture-topic-card.minimal:hover{transform:translateY(-4px);border-color:rgba(8,191,220,.42);box-shadow:0 24px 60px rgba(8,191,220,.11)}
.culture-topic-card.minimal span{display:block;color:var(--impact);font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:16px}
.culture-topic-card.minimal h3{font-size:1.12rem;line-height:1.28}
.culture-reader{margin-top:38px}
.culture-back{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  color:var(--impact);
  margin-bottom:28px;
}
.culture-article{background:#fff;border:1px solid var(--line);border-radius:28px;padding:clamp(30px,5vw,64px);box-shadow:var(--shadow)}
.culture-article h2{font-size:clamp(2rem,4vw,3.6rem);line-height:1.04;letter-spacing:-.04em;margin-bottom:26px}
.empty-topic{max-width:760px;border:1px dashed rgba(8,191,220,.35);border-radius:20px;padding:22px;background:#f7fbfc}
.empty-topic p{color:#789}

/* Performance */
.complete-grid img{content-visibility:auto;contain-intrinsic-size:320px 240px}
[hidden]{display:none!important}
@media(max-width:1200px){
  .world-list{grid-template-columns:repeat(2,1fr)}
  .world-card,.world-content{min-height:430px}
}
@media(max-width:900px){.culture-topic-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){
  .nav-brand{width:min(230px,62vw)}
  .nav-brand img{max-width:230px}
  .world-list{grid-template-columns:1fr;padding:0 18px}
  .world-card,.world-content{min-height:390px}
  .culture-topic-grid{grid-template-columns:1fr}
  .footer-contacts a{justify-content:center!important}
}


/* =========================================================
   HOME SENZA PREVIEW PORTFOLIO + PORTFOLIO A SEZIONI
   ========================================================= */

.portfolio-preview{
  display:none!important;
}
.portfolio-entry-hero{
  padding-bottom:70px;
}
.portfolio-category-stage{
  padding:30px 0 110px;
}
.portfolio-category-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  max-width:1320px;
  margin:0 auto;
}
.portfolio-category-card{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border:0;
  border-radius:30px;
  background:#0b1114;
  color:#fff;
  padding:0;
  cursor:pointer;
  text-align:left;
  box-shadow:0 30px 90px rgba(0,0,0,.16);
  font-family:inherit;
  transform:translateZ(0);
}
.portfolio-category-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.72;
  filter:saturate(.95) contrast(1.04);
  transition:transform .7s ease, opacity .7s ease;
}
.portfolio-category-card:hover img{
  transform:scale(1.08);
  opacity:.88;
}
.portfolio-category-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.82));
  z-index:1;
}
.portfolio-category-content{
  position:relative;
  z-index:2;
  min-height:560px;
  padding:30px 24px;
  display:flex;
  flex-direction:column;
}
.portfolio-category-content .world-icon{
  margin-bottom:auto;
}
.portfolio-category-content h3{
  margin-top:28px;
  font-size:clamp(1.75rem,2.2vw,2.55rem);
  line-height:.96;
  letter-spacing:-.06em;
}
.portfolio-category-content p{
  margin-top:16px;
  color:rgba(255,255,255,.82);
  line-height:1.55;
  font-weight:300;
  font-size:.94rem;
}
.portfolio-reader{
  margin-top:20px;
}
.portfolio-reader-section{
  animation:portfolioFade .38s ease both;
}
@keyframes portfolioFade{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
.portfolio-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:34px;
}
.portfolio-section-heading h2{
  font-size:clamp(2.4rem,5vw,5.4rem);
  line-height:.95;
  letter-spacing:-.06em;
  margin:0 0 16px;
}
.portfolio-section-heading p{
  max-width:760px;
  color:#58676e;
  line-height:1.7;
  font-weight:300;
}
.portfolio-back{
  flex:none;
  appearance:none;
  border:1px solid var(--line);
  border-radius:999px;
  padding:13px 18px;
  background:#fff;
  color:var(--impact);
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  transition:transform .25s ease, border-color .25s ease;
}
.portfolio-back:hover{
  transform:translateY(-2px);
  border-color:rgba(8,191,220,.5);
}
[data-portfolio-reader][hidden],
[data-portfolio-overview][hidden],
.portfolio-reader-section[hidden]{
  display:none!important;
}
@media(max-width:1200px){
  .portfolio-category-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .portfolio-category-card,
  .portfolio-category-content{
    min-height:440px;
  }
}
@media(max-width:780px){
  .portfolio-category-grid{
    grid-template-columns:1fr;
  }
  .portfolio-category-card,
  .portfolio-category-content{
    min-height:390px;
  }
  .portfolio-section-heading{
    align-items:flex-start;
    flex-direction:column-reverse;
  }
}






/* =========================================================
   PRIVACY / COOKIE CONSENT AGGIORNATO
   ========================================================= */
.cookie-consent{
  align-items:flex-start;
}
.cookie-copy{
  max-width:760px;
}
.cookie-copy strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
}
.cookie-copy p{
  margin:0 0 6px;
}
.cookie-actions{
  flex-wrap:wrap;
  justify-content:flex-end;
}
#customizeCookies{
  background:#fff;
  color:#111;
}
.cookie-preferences{
  position:fixed;
  inset:0;
  z-index:2200;
  background:rgba(6,13,16,.72);
  backdrop-filter:blur(14px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.cookie-preferences[hidden]{
  display:none!important;
}
.cookie-panel{
  position:relative;
  width:min(680px,100%);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  color:#111;
  border-radius:28px;
  padding:34px;
  box-shadow:0 40px 100px rgba(0,0,0,.35);
}
.cookie-panel h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:.95;
  letter-spacing:-.06em;
  margin:8px 0 16px;
}
.cookie-panel p{
  color:#58676e;
  line-height:1.7;
}
.cookie-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:1.4rem;
}
.cookie-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  margin-top:14px;
}
.cookie-option strong,
.cookie-option span{
  display:block;
}
.cookie-option span{
  color:#6b7b82;
  font-size:.9rem;
  line-height:1.5;
}
.cookie-option input{
  width:22px;
  height:22px;
  accent-color:var(--impact);
  flex:none;
}
.cookie-option.locked{
  background:#f6fbfc;
}
.cookie-panel-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-top:22px;
}
.cookie-panel-actions button{
  border:0;
  border-radius:999px;
  padding:13px 18px;
  font-weight:800;
  cursor:pointer;
}
#saveCookiePrefs{
  background:#111;
  color:#fff;
}
#acceptCookiesPanel{
  background:var(--impact);
  color:#fff;
}
.legal-text h2{
  margin-top:34px;
}
.legal-text a{
  color:var(--impact);
  font-weight:700;
}

/* =========================================================
   PROTEZIONE FOTO / STAMPA
   Nota: è un deterrente tecnico, non può impedire screenshot esterni.
   ========================================================= */
img,
.protected-media,
.portfolio-grid,
.lightbox,
.world-card,
.portfolio-category-card{
  -webkit-user-select:none;
  user-select:none;
  -webkit-user-drag:none;
  -webkit-touch-callout:none;
}
.protected-media{
  pointer-events:auto;
}
@media print{
  body::before{
    content:"Stampa e salvataggio delle immagini non autorizzati.";
    display:block;
    padding:40px;
    font-family:Montserrat,Arial,sans-serif;
    font-size:18px;
    color:#111;
  }
  main, header, footer, .cookie-banner, .cookie-preferences, .lightbox{
    display:none!important;
  }
}
@media(max-width:640px){
  .cookie-panel{
    padding:28px 20px;
  }
  .cookie-option{
    align-items:flex-start;
  }
  .cookie-actions,
  .cookie-panel-actions{
    flex-direction:column;
    align-items:stretch;
  }
}


/* =========================================================
   FINAL PERFORMANCE PASS
   ========================================================= */
:focus-visible{
  outline:3px solid var(--impact);
  outline-offset:4px;
}
img{
  max-width:100%;
}
.nav-brand img,
.footer img{
  height:auto;
}
.portfolio-category-stage.reveal{
  opacity:1 !important;
  transform:none !important;
}
.portfolio-reader:not([hidden]),
.portfolio-reader-section:not([hidden]){
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
}
[data-portfolio-overview][hidden],
.portfolio-reader[hidden],
.portfolio-reader-section[hidden]{
  display:none !important;
}
.portfolio-reader-section:not([hidden]) .portfolio-grid{
  display:grid !important;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.portfolio-reader-section:not([hidden]) .portfolio-grid img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:4/3;
  object-fit:cover;
  opacity:1 !important;
  visibility:visible !important;
  content-visibility:auto;
  contain-intrinsic-size:320px 240px;
  border-radius:18px;
}
template{
  display:none !important;
}
.lightbox img{
  -webkit-user-select:none;
  user-select:none;
}
@media(max-width:980px){
  .portfolio-reader-section:not([hidden]) .portfolio-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:640px){
  .portfolio-reader-section:not([hidden]) .portfolio-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   FINAL ALIGNMENT FIX
   Correzione centrature tipografiche senza modificare contenuti.
   ========================================================= */

/* Blocchi dichiarati centrati: il contenuto deve essere realmente centrato */
.center,
.container.center,
.page-hero .center,
.section-head,
.hero-copy,
.cv-download,
.footer,
.footer-inner,
.legal,
.cookie-container .center,
.privacy-container .center{
  text-align:center;
}

/* Elementi testuali centrati: larghezza controllata e margine simmetrico */
.center .hero-text,
.page-hero .hero-text,
.section-head p,
.hero-copy p,
.cv-download .hero-text,
.lead-text.center,
.text-flow.center,
.visual-intro.center{
  display:block;
  max-width:820px;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Titoli e label centrati: evita piccoli scostamenti ottici */
.center h1,
.center h2,
.center h3,
.page-hero h1,
.section-head h2,
.hero-copy h1,
.cv-download h2{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* Small title centrato anche quando è inline/inline-flex */
.center .small-title,
.page-hero .small-title,
.section-head .small-title,
.hero-copy .small-title,
.cv-download .small-title{
  display:flex;
  justify-content:center;
  align-items:center;
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* CTA e gruppi bottoni: centratura reale del gruppo */
.hero-actions,
.section-cta,
.single-action,
.cookie-panel-actions{
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* Card e griglie che devono mantenere testo centrato solo nei blocchi previsti */
.values-line,
.editorial-grid,
.settori-grid,
.services-grid,
.portfolio-categories{
  text-align:center;
}

/* Evita disallineamenti dei paragrafi centrati con larghezza piena */
.hero-text,
.section-head p{
  text-wrap:balance;
}

/* Footer: centratura coerente su tutte le larghezze */
.footer-inner{
  justify-items:center;
}
.footer-contacts{
  text-align:center;
}
.legal{
  align-items:center;
}

/* Mobile: nessun elemento centrato deve rimanere spostato lateralmente */
@media(max-width:640px){
  .center,
  .container.center,
  .page-hero .center,
  .section-head,
  .hero-copy,
  .cv-download{
    text-align:center !important;
  }

  .center .hero-text,
  .page-hero .hero-text,
  .section-head p,
  .hero-copy p{
    max-width:100%;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-actions,
  .section-cta,
  .single-action{
    align-items:center;
    justify-content:center;
  }
}


/* =========================================================
   FIX CHI SONO: ALLINEAMENTO TESTO + CORNICE FOTO
   Intervento mirato solo alla sezione iniziale della pagina Chi sono.
   ========================================================= */
.about-hero .about-split{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 430px);
  gap:86px;
  align-items:center;
}

.about-hero .about-copy{
  max-width:580px;
  justify-self:center;
  text-align:center;
}

.about-hero .about-copy .small-title{
  display:flex;
  justify-content:center;
  align-items:center;
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.about-hero .about-copy h1{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.about-hero .about-copy .hero-text{
  max-width:540px;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center;
}

.about-photo-wrap{
  position:relative;
  max-width:430px;
  justify-self:center;
  padding:12px;
  border:2px solid var(--impact);
  border-radius:34px;
  background:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.10);
}

.about-photo-wrap::before{
  content:none !important;
  display:none !important;
}

.about-photo{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:24px;
  box-shadow:none;
}

@media(max-width:980px){
  .about-hero .about-split{
    grid-template-columns:1fr;
    gap:54px;
  }

  .about-hero .about-copy,
  .about-photo-wrap{
    justify-self:center;
  }
}

@media(max-width:640px){
  .about-photo-wrap{
    max-width:360px;
    padding:10px;
    border-radius:30px;
  }

  .about-photo{
    border-radius:22px;
  }
}
