*{box-sizing:border-box}
:root{
  --orange:#ff6b00;
  --cyan:#00d9ff;
  --dark:#071014;
  --deep:#02090d;
  --paper:#f4f1ea;
  --white:#fff;
}
html,body{
  margin:0;
  background:var(--dark);
  color:#fff;
  font-family:Inter,Arial,sans-serif;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}

/* HEADER IN LINEA CON LE ALTRE PAGINE SERVIZI */
.stageo-header{
  height:104px;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 46px;
  position:relative;
  z-index:50;
}
.stageo-logo img{
  height:80px;
  width:auto;
  display:block;
}
.stageo-nav{
  display:flex;
  align-items:center;
  gap:34px;
}
.stageo-nav a{
  font-family:"Barlow Condensed",Inter,Arial,sans-serif;
  font-size:18px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#071014;
}
.stageo-nav a.active{
  color:var(--orange);
  border-bottom:2px solid var(--orange);
  padding-bottom:20px;
}
.stageo-quote{
  background:var(--orange);
  color:#fff;
  padding:22px 34px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.stageo-menu{
  display:none;
  background:none;
  border:1px solid rgba(0,0,0,.25);
  color:#071014;
  font-size:24px;
  padding:8px 12px;
}

/* HERO */
.espropri-hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  background:
    radial-gradient(circle at 74% 48%, rgba(0,217,255,.13), transparent 28%),
    radial-gradient(circle at 18% 28%, rgba(255,107,0,.08), transparent 24%),
    linear-gradient(90deg,#02090d 0%,#04131a 54%,#061923 100%);
  isolation:isolate;
}
.espropri-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:52px 52px;
  opacity:.18;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.85),transparent 94%);
  z-index:-2;
}
.espropri-hero::after{
  content:"";
  position:absolute;
  width:820px;
  height:820px;
  right:-210px;
  top:68px;
  border-radius:50%;
  border:1px solid rgba(255,107,0,.18);
  box-shadow:0 0 130px rgba(0,217,255,.08);
  z-index:-1;
}
.hero-grid{
  width:min(1580px,calc(100% - 120px));
  margin:0 auto;
  min-height:760px;
  display:grid;
  grid-template-columns:minmax(520px,640px) minmax(640px,1fr);
  gap:70px;
  align-items:center;
}
.hero-copy{
  position:relative;
  z-index:5;
}
.eyebrow{
  margin:0 0 24px;
  color:var(--orange);
  font-family:"Barlow Condensed",Inter,Arial,sans-serif;
  font-size:20px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hero-copy h1{
  margin:0;
  font-family:"Barlow Condensed",Inter,Arial,sans-serif;
  font-size:clamp(110px,8.4vw,172px);
  line-height:.78;
  font-weight:900;
  letter-spacing:-.05em;
  text-transform:uppercase;
  color:#fff;
  text-shadow:0 18px 55px rgba(0,0,0,.62);
}
.lead{
  max-width:640px;
  margin:36px 0 0;
  color:#dce7ed;
  font-size:23px;
  line-height:1.48;
  font-weight:600;
}
.hero-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:40px;
}
.btn{
  min-height:62px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 28px;
  border:1px solid rgba(255,255,255,.22);
  font-weight:900;
}
.btn-primary{background:var(--orange);border-color:var(--orange);color:#071014}
.btn-ghost{background:rgba(255,255,255,.045);color:#fff}
.btn:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(0,0,0,.35)}

/* RIQUADRO DESTRA */
.hero-media{
  position:relative;
  z-index:4;
  width:100%;
  min-height:440px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.media-panel{
  position:relative;
  width:100%;
  max-width:900px;
  height:420px;
  border:1px solid rgba(0,217,255,.45);
  border-radius:34px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0%,rgba(0,217,255,.20),transparent 45%),
    linear-gradient(180deg,rgba(7,18,24,.94),rgba(3,10,14,.98));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.045) inset,
    0 0 75px rgba(0,217,255,.17),
    0 30px 90px rgba(0,0,0,.58);
}
.media-panel::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid rgba(255,107,0,.44);
  border-radius:25px;
  z-index:6;
  opacity:.84;
  pointer-events:none;
}
.media-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,10,14,.96),transparent 12%,transparent 88%,rgba(2,10,14,.96)),
    repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 8px);
  opacity:.30;
  z-index:5;
  pointer-events:none;
}
.panel-glow{
  position:absolute;
  width:320px;
  height:76px;
  border:1px solid rgba(0,217,255,.42);
  border-radius:999px;
  left:50%;
  top:25px;
  transform:translateX(-50%);
  box-shadow:0 0 40px rgba(0,217,255,.27);
  z-index:7;
  opacity:.72;
}
.scan-line{
  position:absolute;
  top:0;
  bottom:0;
  width:120px;
  left:-150px;
  background:linear-gradient(90deg,transparent,rgba(0,217,255,.22),transparent);
  z-index:8;
  animation:scan 6s linear infinite;
}
.carousel{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:2;
}
.carousel-track{
  position:absolute;
  top:98px;
  left:0;
  height:214px;
  display:flex;
  gap:20px;
  width:max-content;
  padding:0 34px;
  animation:scrollEspropri 31s linear infinite;
}
.media-card{
  flex:0 0 auto;
  width:258px;
  height:214px;
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#0b141a;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 45px rgba(0,0,0,.44);
}
.media-wide{
  width:395px;
  border-color:rgba(255,107,0,.60);
}
.media-portrait{
  width:190px;
}
.media-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
  filter:contrast(1.03) saturate(1.03);
}
.media-portrait img{object-position:center center}
.panel-caption{
  position:absolute;
  left:42px;
  right:42px;
  bottom:30px;
  z-index:9;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.panel-caption strong{
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.panel-caption span{
  color:var(--cyan);
  font-size:13px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
@keyframes scrollEspropri{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes scan{from{transform:translateX(0)}to{transform:translateX(1120px)}}

/* SEZIONI */
.impact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:var(--paper);
  color:#071014;
}
.impact-grid article{
  padding:50px 7%;
  border-right:1px solid #d8d4cc;
  min-height:236px;
}
.impact-grid article:last-child{border-right:0}
.impact-grid span{color:var(--orange);font-weight:900}
.impact-grid h2{
  margin:16px 0;
  font-family:"Barlow Condensed",Inter,sans-serif;
  font-size:42px;
  line-height:.92;
  text-transform:uppercase;
}
.impact-grid p{color:#3f4c54;line-height:1.65}
.dark-section{
  padding:90px 6%;
  background:radial-gradient(circle at 80% 20%,rgba(0,217,255,.15),transparent 28%),#071014;
}
.section-head h2,.deliverables-head h2,.process h2,.cta h2{
  margin:0 0 22px;
  font-family:"Barlow Condensed",Inter,sans-serif;
  font-size:clamp(50px,5vw,88px);
  line-height:.9;
  text-transform:uppercase;
}
.section-head p,.deliverables-head p,.cta p{
  max-width:900px;
  color:#c8d3da;
  font-size:18px;
  line-height:1.7;
}
.service-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:34px;
}
.service-cards article{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  padding:28px;
}
.service-cards h3{
  margin:0 0 12px;
  color:#fff;
  font-family:"Barlow Condensed",Inter,sans-serif;
  font-size:34px;
  line-height:.95;
  text-transform:uppercase;
}
.service-cards p{color:#c6d0d7;line-height:1.62}
.deliverables,.process{
  padding:90px 6%;
  background:var(--paper);
  color:#071014;
}
.deliverables-head p,.process p{color:#44515a}
.deliverables-grid{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.deliverables-grid article{
  min-height:116px;
  background:#fff;
  border:1px solid #ddd8cf;
  padding:24px;
  display:flex;
  align-items:center;
  gap:16px;
  box-shadow:0 18px 40px rgba(7,16,20,.08);
}
.deliverables-grid span{color:var(--orange);font-size:24px}
.deliverables-grid strong{font-size:18px}
.process{background:#fff}
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:34px;
}
.steps div{
  background:var(--paper);
  border:1px solid #ddd8cf;
  padding:28px;
}
.steps span{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--orange);
  color:#071014;
  font-weight:900;
}
.steps h3{
  font-family:"Barlow Condensed",Inter,sans-serif;
  font-size:34px;
  line-height:.95;
  margin:20px 0 12px;
  text-transform:uppercase;
}
.steps p{line-height:1.6}
.cta{
  padding:76px 6%;
  background:var(--orange);
  color:#071014;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:42px;
}
.cta .eyebrow{color:#071014}
.cta p{color:#172129}
.cta-actions{display:flex;gap:14px;flex-wrap:wrap}
.cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 24px;
  background:#071014;
  color:#fff;
  font-weight:900;
}
.cta-button.dark{background:#fff;color:#071014}

@media(max-width:1280px){
  .hero-grid{
    width:min(100% - 70px,1500px);
    grid-template-columns:minmax(420px,560px) minmax(500px,1fr);
    gap:42px;
  }
  .media-panel{max-width:780px}
  .hero-copy h1{font-size:clamp(84px,7vw,138px)}
  .lead{font-size:20px}
}
@media(max-width:980px){
  .stageo-header{
    height:auto;
    min-height:90px;
    flex-wrap:wrap;
    padding:14px 24px;
  }
  .stageo-nav{
    order:3;
    width:100%;
    justify-content:flex-start;
    gap:18px;
    flex-wrap:wrap;
  }
  .stageo-quote{padding:16px 20px}
  .espropri-hero{min-height:auto}
  .hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding:70px 0;
    gap:36px;
  }
  .hero-media{
    justify-content:flex-start;
    min-height:auto;
  }
  .media-panel{
    max-width:100%;
    height:360px;
  }
  .carousel-track{top:84px}
  .impact-grid,.service-cards,.deliverables-grid,.steps{grid-template-columns:1fr}
  .impact-grid article{border-right:0;border-bottom:1px solid #d8d4cc}
  .cta{display:block}
  .cta-actions{margin-top:24px}
}
@media(max-width:640px){
  .stageo-logo img{height:60px}
  .stageo-nav a{font-size:16px}
  .hero-grid{
    width:calc(100% - 34px);
    padding:54px 0;
  }
  .hero-copy h1{font-size:78px}
  .lead{font-size:18px}
  .hero-actions{display:grid}
  .media-panel{
    height:320px;
    border-radius:22px;
  }
  .media-panel::before{
    inset:15px;
    border-radius:17px;
  }
  .carousel-track{
    top:74px;
    gap:14px;
    padding:0 22px;
  }
  .media-card{
    width:205px;
    height:174px;
    border-radius:14px;
  }
  .media-wide{width:282px}
  .media-portrait{width:140px}
  .panel-caption{
    left:24px;
    right:24px;
    bottom:20px;
    display:block;
  }
  .panel-caption span{
    display:block;
    margin-top:8px;
  }
}


/* =========================================================
   PATCH MOBILE STAGEO - ESPROPRI
   Ottimizzazione smartphone / tablet
   ========================================================= */

@media (max-width: 980px){
  html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .stageo-header{
    position:relative;
    height:auto;
    min-height:78px;
    padding:12px 16px;
    gap:10px;
    align-items:center;
  }

  .stageo-logo{
    display:flex;
    align-items:center;
    max-width:48%;
  }

  .stageo-logo img{
    height:54px;
    max-width:100%;
    object-fit:contain;
  }

  .stageo-menu{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    width:44px;
    height:44px;
    border:1px solid rgba(7,16,20,.18);
    border-radius:0;
    background:#fff;
    color:#071014;
    font-size:24px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
  }

  .stageo-quote{
    order:2;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 16px;
    font-size:13px;
    letter-spacing:.05em;
  }

  .stageo-nav{
    order:3;
    display:none;
    width:100%;
    margin-top:8px;
    padding:12px;
    background:#071014;
    border:1px solid rgba(255,255,255,.12);
    gap:0;
  }

  .stageo-nav.open{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .stageo-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    font-size:15px;
  }

  .stageo-nav a.active{
    border-bottom:1px solid var(--orange);
    padding-bottom:10px;
    color:var(--orange);
  }

  .espropri-hero{
    min-height:auto;
  }

  .espropri-hero::after{
    width:420px;
    height:420px;
    right:-230px;
    top:160px;
    opacity:.55;
  }

  .hero-grid{
    width:calc(100% - 32px);
    min-height:auto;
    grid-template-columns:1fr;
    gap:34px;
    padding:44px 0 46px;
  }

  .hero-copy{
    max-width:100%;
  }

  .eyebrow{
    font-size:15px;
    line-height:1.15;
    letter-spacing:.13em;
    margin-bottom:18px;
  }

  .hero-copy h1{
    font-size:clamp(68px, 21vw, 96px);
    line-height:.82;
    letter-spacing:-.045em;
    max-width:100%;
    overflow-wrap:normal;
  }

  .lead{
    margin-top:24px;
    max-width:100%;
    font-size:17px;
    line-height:1.55;
    font-weight:600;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:26px;
  }

  .btn{
    width:100%;
    min-height:54px;
    padding:0 18px;
    font-size:14px;
  }

  .hero-media{
    min-height:auto;
    justify-content:center;
    width:100%;
  }

  .media-panel{
    width:100%;
    max-width:100%;
    height:320px;
    border-radius:22px;
  }

  .media-panel::before{
    inset:14px;
    border-radius:17px;
  }

  .panel-glow{
    width:220px;
    height:52px;
    top:18px;
  }

  .carousel-track{
    top:74px;
    height:176px;
    gap:14px;
    padding:0 20px;
    animation-duration:28s;
  }

  .media-card{
    width:220px;
    height:176px;
    border-radius:14px;
  }

  .media-wide{
    width:286px;
  }

  .media-portrait{
    width:150px;
  }

  .panel-caption{
    left:22px;
    right:22px;
    bottom:19px;
    display:block;
  }

  .panel-caption strong{
    display:block;
    font-size:11px;
    line-height:1.25;
  }

  .panel-caption span{
    display:block;
    margin-top:6px;
    font-size:10px;
  }

  .impact-grid article,
  .dark-section,
  .deliverables,
  .process,
  .cta{
    padding-left:18px;
    padding-right:18px;
  }

  .impact-grid article{
    min-height:0;
    padding-top:34px;
    padding-bottom:34px;
  }

  .impact-grid h2{
    font-size:34px;
  }

  .dark-section,
  .deliverables,
  .process{
    padding-top:58px;
    padding-bottom:58px;
  }

  .section-head h2,
  .deliverables-head h2,
  .process h2,
  .cta h2{
    font-size:clamp(42px, 13vw, 62px);
    line-height:.92;
  }

  .section-head p,
  .deliverables-head p,
  .cta p{
    font-size:16px;
    line-height:1.65;
  }

  .service-cards,
  .deliverables-grid,
  .steps{
    gap:12px;
  }

  .service-cards article,
  .deliverables-grid article,
  .steps div{
    padding:22px;
  }

  .service-cards h3,
  .steps h3{
    font-size:30px;
  }

  .deliverables-grid article{
    min-height:94px;
  }

  .cta{
    padding-top:54px;
    padding-bottom:54px;
  }

  .cta-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .cta-button{
    width:100%;
    min-height:54px;
    text-align:center;
  }
}

@media (max-width: 480px){
  .stageo-header{
    padding:10px 12px;
  }

  .stageo-logo{
    max-width:58%;
  }

  .stageo-logo img{
    height:48px;
  }

  .stageo-menu{
    width:40px;
    height:40px;
    font-size:22px;
  }

  .stageo-nav.open{
    grid-template-columns:1fr;
  }

  .stageo-quote{
    min-height:44px;
    font-size:12px;
  }

  .hero-grid{
    width:calc(100% - 24px);
    padding-top:38px;
  }

  .hero-copy h1{
    font-size:64px;
  }

  .lead{
    font-size:16px;
  }

  .media-panel{
    height:292px;
  }

  .carousel-track{
    top:68px;
    height:158px;
    gap:12px;
  }

  .media-card{
    width:198px;
    height:158px;
  }

  .media-wide{
    width:250px;
  }

  .media-portrait{
    width:132px;
  }

  .panel-caption{
    bottom:17px;
  }

  .panel-caption strong{
    font-size:10px;
  }
}
