:root{
  --teal:#075f5b;
  --teal2:#0d7a73;
  --orange:#d9793a;
  --gold:#dda13a;
  --green:#5c8f4d;
  --soft:#f5f2eb;
  --soft2:#eef6f4;
  --text:#17302f;
  --muted:#657574;
  --card:#ffffff;
  --line:rgba(7,95,91,.13);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#f9f7f2 0%,#edf7f4 100%);
  color:var(--text);
}

a{color:inherit}

/* ==================================================
   LANDING PROVVISORIA
   ================================================== */

body.landing{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.wrap{
  width:min(980px,100%);
  background:rgba(255,255,255,.88);
  border:1px solid rgba(7,95,91,.12);
  border-radius:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
  overflow:hidden;
}

.hero{
  padding:42px 28px 34px;
  text-align:center;
}

.logo{
  width:min(430px,90%);
  height:auto;
  display:block;
  margin:0 auto 20px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(217,121,58,.12);
  color:#995027;
  font-weight:900;
  font-size:14px;
  margin-bottom:16px;
}

h1{
  margin:0;
  font-size:clamp(30px,5vw,52px);
  line-height:1.04;
  color:var(--teal);
  letter-spacing:-.04em;
}

.subtitle{
  margin:16px auto 0;
  max-width:720px;
  color:var(--muted);
  font-size:clamp(18px,2.4vw,22px);
  line-height:1.45;
}

.cta{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:13px 18px;
  font-weight:800;
  background:var(--teal);
  color:#fff;
  box-shadow:0 10px 24px rgba(7,95,91,.18);
}

.cta a.secondary{
  background:#fff;
  color:var(--teal);
  border:1px solid rgba(7,95,91,.18);
  box-shadow:none;
}

.panel{
  background:var(--soft);
  padding:24px;
  border-top:1px solid rgba(7,95,91,.12);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.box{
  background:var(--card);
  border:1px solid rgba(7,95,91,.10);
  border-radius:18px;
  padding:18px;
  text-align:left;
  min-height:120px;
}

.box strong{
  display:block;
  color:var(--teal);
  font-size:18px;
  margin-bottom:8px;
}

.box span{
  color:var(--muted);
  font-size:15px;
  line-height:1.4;
}

.note{
  padding:20px 28px 28px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.note b{color:var(--teal)}

/* ==================================================
   DEMO
   ================================================== */

body.demo{
  min-height:100vh;
}

.top{
  padding:20px;
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:5;
  backdrop-filter:blur(10px);
}

.top-inner{
  width:min(1120px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.mini-logo{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.mini-logo img{
  width:72px;
  height:auto;
  border-radius:14px;
}

.mini-logo strong{
  display:block;
  color:var(--teal);
  font-size:20px;
  line-height:1.05;
}

.mini-logo span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:3px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  font-size:14px;
  border:1px solid var(--line);
  background:white;
  color:var(--teal);
}

.btn.primary{
  background:var(--teal);
  color:white;
  border-color:var(--teal);
}

.demo-hero{
  width:min(1120px,100%);
  margin:0 auto;
  padding:42px 20px 24px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
}

.demo-hero h1{
  font-size:clamp(36px,6vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.lead{
  margin:18px 0 0;
  color:var(--muted);
  font-size:clamp(18px,2.3vw,23px);
  line-height:1.45;
  max-width:760px;
}

.hero-card{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:30px;
  padding:22px;
  box-shadow:0 18px 55px rgba(0,0,0,.08);
  text-align:center;
}

.hero-card img{
  width:min(360px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.section{
  width:min(1120px,100%);
  margin:0 auto;
  padding:14px 20px 42px;
}

.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin:18px 0 14px;
}

.section-title h2{
  margin:0;
  color:var(--teal);
  font-size:clamp(26px,3vw,36px);
  letter-spacing:-.035em;
}

.date{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

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

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  min-height:166px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
}

.card .icon{
  width:42px;
  height:42px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft2);
  font-size:22px;
  margin-bottom:12px;
}

.card h3{
  margin:0 0 8px;
  color:var(--teal);
  font-size:20px;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.42;
  font-size:15.5px;
}

.wide{
  grid-column:span 2;
  background:linear-gradient(135deg,rgba(7,95,91,.96),rgba(13,122,115,.92));
  color:white;
}

.wide h3,
.wide p{color:white}

.wide .icon{background:rgba(255,255,255,.16)}

.links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:16px;
}

.linkbox{
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  text-decoration:none;
  font-weight:900;
  color:var(--teal);
  text-align:center;
}

.footer{
  width:min(1120px,100%);
  margin:0 auto;
  padding:0 20px 34px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  text-align:center;
}

.footer b{color:var(--teal)}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media(max-width:860px){
  .top-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .nav{justify-content:flex-start}

  .demo-hero{
    grid-template-columns:1fr;
    padding-top:28px;
  }

  .hero-card{order:-1}

  .grid{grid-template-columns:1fr}

  .wide{grid-column:auto}

  .links{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  body.landing{padding:14px}

  .hero{padding:30px 18px 24px}

  .panel{
    grid-template-columns:1fr;
    padding:16px;
  }

  .box{min-height:auto}
}

@media(max-width:480px){
  .links{grid-template-columns:1fr}

  .mini-logo img{width:58px}
}

/* ==================================================
   HOME DEMO V2
   ================================================== */

.v2-hero{
  width:min(1180px,100%);
  margin:0 auto;
  padding:34px 20px 18px;
}

.v2-hero-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 85% 18%, rgba(217,121,58,.16), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,244,.96));
  box-shadow:0 20px 58px rgba(0,0,0,.075);
  padding:28px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:center;
}

.v2-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(7,95,91,.10);
  color:var(--teal);
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.v2-hero h1{
  margin:0;
  color:var(--teal);
  font-size:clamp(38px,6vw,72px);
  line-height:.96;
  letter-spacing:-.06em;
}

.v2-hero p{
  margin:18px 0 0;
  color:var(--muted);
  line-height:1.48;
  font-size:clamp(18px,2.2vw,23px);
  max-width:760px;
}

.v2-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.v2-hero-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:13px 17px;
  font-weight:900;
  background:var(--teal);
  color:#fff;
  box-shadow:0 10px 26px rgba(7,95,91,.16);
}

.v2-hero-actions a.secondary{
  background:#fff;
  color:var(--teal);
  border:1px solid var(--line);
  box-shadow:none;
}

.v2-logo-panel{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(7,95,91,.12);
  border-radius:28px;
  padding:20px;
  text-align:center;
}

.v2-logo-panel img{
  width:min(360px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.v2-section{
  width:min(1180px,100%);
  margin:0 auto;
  padding:16px 20px;
}

.v2-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 16px;
}

.v2-section-head h2{
  margin:0;
  color:var(--teal);
  font-size:clamp(26px,3.4vw,40px);
  letter-spacing:-.045em;
}

.v2-section-head p{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.4;
}

.v2-date{
  white-space:nowrap;
  color:var(--muted);
  font-weight:900;
  font-size:14px;
  background:white;
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 12px;
}

.v2-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.v2-card{
  grid-column:span 4;
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  min-height:172px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
}

.v2-card.big{
  grid-column:span 8;
  min-height:220px;
  background:
    radial-gradient(circle at 90% 20%, rgba(217,121,58,.18), transparent 30%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.v2-card.big h3,
.v2-card.big p,
.v2-card.big .v2-mini{
  color:white;
}

.v2-card.medium{
  grid-column:span 6;
}

.v2-icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft2);
  font-size:23px;
  margin-bottom:12px;
}

.v2-card.big .v2-icon{
  background:rgba(255,255,255,.16);
}

.v2-card h3{
  margin:0 0 8px;
  color:var(--teal);
  font-size:22px;
  letter-spacing:-.02em;
}

.v2-card p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
  font-size:15.5px;
}

.v2-mini{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.v2-tag{
  display:inline-flex;
  margin-top:14px;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(217,121,58,.12);
  color:#935027;
  font-size:13px;
  font-weight:900;
}

.v2-card.big .v2-tag{
  background:rgba(255,255,255,.16);
  color:#fff;
}

.v2-linkgrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.v2-link{
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.04);
}

.v2-link strong{
  display:block;
  color:var(--teal);
  font-size:18px;
  margin-bottom:8px;
}

.v2-link span{
  color:var(--muted);
  line-height:1.35;
  font-size:14px;
}

.v2-notice{
  width:min(1180px,100%);
  margin:18px auto 34px;
  padding:0 20px;
}

.v2-notice-inner{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
}

.v2-notice-inner b{
  color:var(--teal);
}

@media(max-width:920px){
  .v2-hero-card{
    grid-template-columns:1fr;
  }

  .v2-logo-panel{
    order:-1;
  }

  .v2-card,
  .v2-card.big,
  .v2-card.medium{
    grid-column:span 12;
  }

  .v2-linkgrid{
    grid-template-columns:1fr 1fr;
  }

  .v2-section-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .v2-date{
    white-space:normal;
  }
}

@media(max-width:560px){
  .v2-hero{
    padding:20px 12px 10px;
  }

  .v2-hero-card{
    border-radius:24px;
    padding:18px;
  }

  .v2-section{
    padding:12px;
  }

  .v2-linkgrid{
    grid-template-columns:1fr;
  }

  .v2-card{
    border-radius:20px;
    padding:18px;
  }
}

/* ==================================================
   STEP 8 HERO COMPATTA
   ================================================== */

.v2-hero{
  padding:24px 20px 10px;
}

.v2-hero-card{
  min-height:auto;
  padding:24px 28px;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:center;
}

.v2-eyebrow{
  margin-bottom:12px;
}

.v2-hero h1{
  font-size:clamp(42px,5.2vw,64px);
  line-height:.98;
  max-width:680px;
}

.v2-hero p{
  margin-top:14px;
  max-width:640px;
  font-size:clamp(17px,1.8vw,21px);
}

.v2-hero-actions{
  margin-top:18px;
}

.v2-logo-panel{
  padding:16px;
  border-radius:24px;
}

.v2-logo-panel img{
  width:min(280px,100%);
}

.v2-section{
  padding-top:12px;
}

.v2-section-head{
  margin-top:8px;
}

@media(min-width:921px){
  .v2-hero-card{
    max-height:430px;
  }
}

@media(max-width:920px){
  .v2-hero-card{
    grid-template-columns:1fr;
  }

  .v2-logo-panel{
    order:-1;
  }

  .v2-logo-panel img{
    width:min(240px,100%);
  }

  .v2-hero h1{
    font-size:clamp(36px,9vw,54px);
  }
}

@media(max-width:560px){
  .v2-hero{
    padding:14px 12px 8px;
  }

  .v2-hero-card{
    padding:16px;
  }

  .v2-logo-panel img{
    width:min(210px,100%);
  }

  .v2-hero-actions a{
    width:100%;
  }
}

/* ==================================================
   STEP 9 CARD OGGI V2
   ================================================== */

.v2-card{
  position:relative;
  overflow:hidden;
}

.v2-card::after{
  content:"";
  position:absolute;
  right:-34px;
  top:-34px;
  width:92px;
  height:92px;
  border-radius:999px;
  background:rgba(7,95,91,.045);
  pointer-events:none;
}

.v2-card.big::after{
  background:rgba(255,255,255,.08);
}

.v2-card h3{
  display:flex;
  align-items:center;
  gap:8px;
}

.v2-card p{
  font-size:16px;
}

.v2-service-note{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(7,95,91,.10);
  color:var(--muted);
  font-size:13.5px;
  line-height:1.35;
  font-weight:750;
}

.v2-card.big .v2-service-note{
  border-top-color:rgba(255,255,255,.20);
  color:rgba(255,255,255,.88);
}

.v2-card.big{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.v2-card.big .v2-tag{
  align-self:flex-start;
}

.v2-card.big .v2-card-main{
  max-width:760px;
}

.v2-card.big h3{
  font-size:28px;
}

.v2-card.big p{
  font-size:17px;
  line-height:1.5;
}

.v2-card-soft{
  background:
    radial-gradient(circle at 95% 8%, rgba(217,121,58,.11), transparent 32%),
    #ffffff;
}

.v2-card-green{
  background:
    radial-gradient(circle at 95% 8%, rgba(92,143,77,.12), transparent 32%),
    #ffffff;
}

.v2-card-blue{
  background:
    radial-gradient(circle at 95% 8%, rgba(13,122,115,.10), transparent 32%),
    #ffffff;
}

.v2-card-orange{
  background:
    radial-gradient(circle at 95% 8%, rgba(217,121,58,.13), transparent 32%),
    #ffffff;
}

.v2-card .v2-icon{
  position:relative;
  z-index:1;
}

.v2-card h3,
.v2-card p,
.v2-card .v2-service-note,
.v2-card .v2-tag{
  position:relative;
  z-index:1;
}

.v2-updated{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  border-radius:999px;
  padding:6px 9px;
  background:rgba(7,95,91,.08);
  color:var(--teal);
  font-size:12.5px;
  font-weight:900;
}

.v2-card.big .v2-updated{
  background:rgba(255,255,255,.16);
  color:white;
}

@media(max-width:920px){
  .v2-card.big h3{
    font-size:24px;
  }

  .v2-card.big p{
    font-size:16px;
  }
}

/* ==================================================
   STEP 10 CANALI V2
   ================================================== */

.v2-why{
  width:min(1180px,100%);
  margin:10px auto 0;
  padding:0 20px 10px;
}

.v2-why-inner{
  background:
    radial-gradient(circle at 90% 10%, rgba(217,121,58,.12), transparent 28%),
    rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  box-shadow:0 12px 34px rgba(0,0,0,.045);
}

.v2-why-item{
  padding:16px;
  border-radius:20px;
  background:rgba(238,246,244,.64);
}

.v2-why-item strong{
  display:block;
  color:var(--teal);
  font-size:18px;
  margin-bottom:8px;
}

.v2-why-item span{
  color:var(--muted);
  line-height:1.42;
  font-size:15px;
}

.v2-channel-hero{
  grid-column:span 2;
  min-height:160px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.v2-channel-hero strong,
.v2-channel-hero span{
  color:white;
}

.v2-channel-hero .v2-link-arrow{
  color:white;
  background:rgba(255,255,255,.16);
}

.v2-link{
  position:relative;
  overflow:hidden;
}

.v2-link::after{
  content:"";
  position:absolute;
  right:-30px;
  top:-30px;
  width:84px;
  height:84px;
  border-radius:999px;
  background:rgba(7,95,91,.045);
  pointer-events:none;
}

.v2-link strong,
.v2-link span,
.v2-link .v2-link-arrow{
  position:relative;
  z-index:1;
}

.v2-link-arrow{
  margin-top:14px;
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(7,95,91,.08);
  color:var(--teal);
  font-size:13px;
  font-weight:900;
}

.v2-final{
  width:min(1180px,100%);
  margin:18px auto 36px;
  padding:0 20px;
}

.v2-final-inner{
  border-radius:28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(217,121,58,.13), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef6f4);
  border:1px solid var(--line);
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.v2-final-text strong{
  display:block;
  color:var(--teal);
  font-size:22px;
  margin-bottom:6px;
}

.v2-final-text span{
  color:var(--muted);
  line-height:1.45;
}

.v2-final-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.v2-final-actions a{
  text-decoration:none;
  border-radius:999px;
  padding:12px 15px;
  font-weight:900;
  background:var(--teal);
  color:white;
}

.v2-final-actions a.secondary{
  background:white;
  color:var(--teal);
  border:1px solid var(--line);
}

@media(max-width:920px){
  .v2-why-inner{
    grid-template-columns:1fr;
  }

  .v2-channel-hero{
    grid-column:auto;
  }

  .v2-final-inner{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* ==================================================
   STEP 12 LANDING PORTA
   ================================================== */

.landing-door{
  width:min(1060px,100%);
  background:rgba(255,255,255,.90);
  border:1px solid rgba(7,95,91,.12);
  border-radius:32px;
  box-shadow:0 22px 68px rgba(0,0,0,.09);
  overflow:hidden;
}

.landing-door-main{
  padding:34px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:26px;
  align-items:center;
}

.landing-door-logo{
  background:
    radial-gradient(circle at 85% 18%, rgba(217,121,58,.13), transparent 30%),
    linear-gradient(135deg,#ffffff,#eef6f4);
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  text-align:center;
}

.landing-door-logo img{
  width:min(360px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.landing-door-content h1{
  font-size:clamp(34px,5.4vw,62px);
  line-height:.98;
  letter-spacing:-.055em;
}

.landing-door-content .subtitle{
  margin-left:0;
  margin-right:0;
  max-width:650px;
}

.landing-door-actions{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.landing-door-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:14px 18px;
  font-weight:900;
  background:var(--teal);
  color:white;
  box-shadow:0 10px 25px rgba(7,95,91,.17);
}

.landing-door-actions a.secondary{
  background:white;
  color:var(--teal);
  border:1px solid var(--line);
  box-shadow:none;
}

.landing-door-strip{
  background:var(--soft);
  border-top:1px solid var(--line);
  padding:22px 26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.landing-door-box{
  background:white;
  border:1px solid rgba(7,95,91,.10);
  border-radius:20px;
  padding:18px;
}

.landing-door-box strong{
  display:block;
  color:var(--teal);
  font-size:18px;
  margin-bottom:8px;
}

.landing-door-box span{
  color:var(--muted);
  line-height:1.4;
  font-size:15px;
}

.landing-door-note{
  padding:18px 28px 26px;
  text-align:center;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}

.landing-door-note b{
  color:var(--teal);
}

@media(max-width:820px){
  .landing-door-main{
    grid-template-columns:1fr;
    padding:22px;
  }

  .landing-door-logo{
    order:-1;
  }

  .landing-door-logo img{
    width:min(280px,100%);
  }

  .landing-door-strip{
    grid-template-columns:1fr;
    padding:16px;
  }

  .landing-door-actions a{
    width:100%;
  }
}

/* ==================================================
   STEP 14 PAGINA CANALI
   ================================================== */

.channels-page{
  min-height:100vh;
}

.channel-hero{
  width:min(1180px,100%);
  margin:0 auto;
  padding:34px 20px 18px;
}

.channel-hero-inner{
  border-radius:34px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(217,121,58,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,244,.96));
  box-shadow:0 20px 58px rgba(0,0,0,.075);
  padding:30px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.channel-hero h1{
  margin:0;
  color:var(--teal);
  font-size:clamp(38px,5.4vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.channel-hero p{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.48;
  font-size:clamp(18px,2vw,22px);
  max-width:720px;
}

.channel-logo-box{
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  text-align:center;
}

.channel-logo-box img{
  width:min(300px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.channel-section{
  width:min(1180px,100%);
  margin:0 auto;
  padding:16px 20px 36px;
}

.channel-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.channel-card{
  grid-column:span 4;
  position:relative;
  overflow:hidden;
  min-height:210px;
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
}

.channel-card::after{
  content:"";
  position:absolute;
  right:-36px;
  top:-36px;
  width:100px;
  height:100px;
  border-radius:999px;
  background:rgba(7,95,91,.045);
  pointer-events:none;
}

.channel-card.primary{
  grid-column:span 8;
  min-height:250px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.channel-card.primary::after{
  background:rgba(255,255,255,.10);
}

.channel-icon{
  width:50px;
  height:50px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft2);
  font-size:26px;
  margin-bottom:14px;
  position:relative;
  z-index:1;
}

.channel-card.primary .channel-icon{
  background:rgba(255,255,255,.16);
}

.channel-card strong{
  display:block;
  color:var(--teal);
  font-size:25px;
  letter-spacing:-.03em;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}

.channel-card.primary strong{
  color:white;
  font-size:32px;
}

.channel-card span{
  display:block;
  color:var(--muted);
  line-height:1.45;
  font-size:15.5px;
  position:relative;
  z-index:1;
}

.channel-card.primary span{
  color:white;
  font-size:17px;
}

.channel-action{
  margin-top:18px;
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:10px 13px;
  background:rgba(7,95,91,.08);
  color:var(--teal);
  font-size:14px;
  font-weight:900;
  position:relative;
  z-index:1;
}

.channel-card.primary .channel-action{
  background:rgba(255,255,255,.16);
  color:white;
}

.channel-note{
  width:min(1180px,100%);
  margin:0 auto 34px;
  padding:0 20px;
}

.channel-note-inner{
  background:rgba(255,255,255,.80);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
}

.channel-note-inner b{
  color:var(--teal);
}

@media(max-width:920px){
  .channel-hero-inner{
    grid-template-columns:1fr;
    padding:22px;
  }

  .channel-logo-box{
    order:-1;
  }

  .channel-card,
  .channel-card.primary{
    grid-column:span 12;
  }

  .channel-card.primary strong{
    font-size:27px;
  }
}

@media(max-width:560px){
  .channel-hero{
    padding:18px 12px 10px;
  }

  .channel-section{
    padding:12px;
  }

  .channel-hero-inner{
    border-radius:24px;
    padding:18px;
  }

  .channel-card{
    border-radius:22px;
    padding:18px;
    min-height:auto;
  }
}

/* ==================================================
   STEP 14 PAGINA CANALI REALE
   ================================================== */

.channels-page{
  min-height:100vh;
}

.channel-hero{
  width:min(1180px,100%);
  margin:0 auto;
  padding:34px 20px 18px;
}

.channel-hero-inner{
  border-radius:34px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(217,121,58,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,244,.96));
  box-shadow:0 20px 58px rgba(0,0,0,.075);
  padding:30px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.channel-hero h1{
  margin:0;
  color:var(--teal);
  font-size:clamp(38px,5.4vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.channel-hero p{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.48;
  font-size:clamp(18px,2vw,22px);
  max-width:720px;
}

.channel-logo-box{
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  text-align:center;
}

.channel-logo-box img{
  width:min(300px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.channel-section{
  width:min(1180px,100%);
  margin:0 auto;
  padding:16px 20px 36px;
}

.channel-section-head{
  margin:4px 0 16px;
}

.channel-section-head h2{
  margin:0;
  color:var(--teal);
  font-size:clamp(28px,3.5vw,42px);
  letter-spacing:-.045em;
}

.channel-section-head p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.45;
  font-size:16px;
}

.channel-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.channel-card{
  grid-column:span 4;
  position:relative;
  overflow:hidden;
  min-height:225px;
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
}

.channel-card::after{
  content:"";
  position:absolute;
  right:-36px;
  top:-36px;
  width:100px;
  height:100px;
  border-radius:999px;
  background:rgba(7,95,91,.045);
  pointer-events:none;
}

.channel-card.primary{
  grid-column:span 8;
  min-height:255px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.channel-card.primary::after{
  background:rgba(255,255,255,.10);
}

.channel-card.warning{
  background:
    radial-gradient(circle at 92% 10%, rgba(217,121,58,.13), transparent 32%),
    #ffffff;
}

.channel-icon{
  width:50px;
  height:50px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft2);
  font-size:26px;
  margin-bottom:14px;
  position:relative;
  z-index:1;
}

.channel-card.primary .channel-icon{
  background:rgba(255,255,255,.16);
}

.channel-card strong{
  display:block;
  color:var(--teal);
  font-size:24px;
  letter-spacing:-.03em;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}

.channel-card.primary strong{
  color:white;
  font-size:32px;
}

.channel-card span{
  display:block;
  color:var(--muted);
  line-height:1.45;
  font-size:15.5px;
  position:relative;
  z-index:1;
}

.channel-card.primary span{
  color:white;
  font-size:17px;
}

.channel-action{
  margin-top:18px;
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:10px 13px;
  background:rgba(7,95,91,.08);
  color:var(--teal);
  font-size:14px;
  font-weight:900;
  position:relative;
  z-index:1;
}

.channel-card.primary .channel-action{
  background:rgba(255,255,255,.16);
  color:white;
}

.channel-pill{
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(217,121,58,.12);
  color:#985127;
  font-size:13px;
  font-weight:900;
  margin-bottom:12px;
  position:relative;
  z-index:1;
}

.channel-card.primary .channel-pill{
  background:rgba(255,255,255,.16);
  color:white;
}

.channel-note{
  width:min(1180px,100%);
  margin:0 auto 34px;
  padding:0 20px;
}

.channel-note-inner{
  background:rgba(255,255,255,.80);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
}

.channel-note-inner b{
  color:var(--teal);
}

@media(max-width:920px){
  .channel-hero-inner{
    grid-template-columns:1fr;
    padding:22px;
  }

  .channel-logo-box{
    order:-1;
  }

  .channel-card,
  .channel-card.primary{
    grid-column:span 12;
  }

  .channel-card.primary strong{
    font-size:27px;
  }
}

@media(max-width:560px){
  .channel-hero{
    padding:18px 12px 10px;
  }

  .channel-section{
    padding:12px;
  }

  .channel-hero-inner{
    border-radius:24px;
    padding:18px;
  }

  .channel-card{
    border-radius:22px;
    padding:18px;
    min-height:auto;
  }
}

/* ==================================================
   STEP 16 PAGINA SERVIZI
   ================================================== */

.services-page{
  min-height:100vh;
}

.services-hero{
  width:min(1180px,100%);
  margin:0 auto;
  padding:34px 20px 18px;
}

.services-hero-inner{
  border-radius:34px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 92% 10%, rgba(217,121,58,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,244,.96));
  box-shadow:0 20px 58px rgba(0,0,0,.075);
  padding:30px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:center;
}

.services-hero h1{
  margin:0;
  color:var(--teal);
  font-size:clamp(38px,5.4vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.services-hero p{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.48;
  font-size:clamp(18px,2vw,22px);
  max-width:760px;
}

.services-logo-box{
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  text-align:center;
}

.services-logo-box img{
  width:min(290px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.services-section{
  width:min(1180px,100%);
  margin:0 auto;
  padding:16px 20px 36px;
}

.services-section-head{
  margin:4px 0 16px;
}

.services-section-head h2{
  margin:0;
  color:var(--teal);
  font-size:clamp(28px,3.5vw,42px);
  letter-spacing:-.045em;
}

.services-section-head p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.45;
  font-size:16px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.service-card{
  grid-column:span 4;
  position:relative;
  overflow:hidden;
  min-height:230px;
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
}

.service-card::after{
  content:"";
  position:absolute;
  right:-36px;
  top:-36px;
  width:100px;
  height:100px;
  border-radius:999px;
  background:rgba(7,95,91,.045);
  pointer-events:none;
}

.service-card.primary{
  grid-column:span 8;
  min-height:260px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.service-card.primary::after{
  background:rgba(255,255,255,.10);
}

.service-icon{
  width:50px;
  height:50px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft2);
  font-size:26px;
  margin-bottom:14px;
  position:relative;
  z-index:1;
}

.service-card.primary .service-icon{
  background:rgba(255,255,255,.16);
}

.service-card strong{
  display:block;
  color:var(--teal);
  font-size:24px;
  letter-spacing:-.03em;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}

.service-card.primary strong{
  color:white;
  font-size:32px;
}

.service-card span{
  display:block;
  color:var(--muted);
  line-height:1.45;
  font-size:15.5px;
  position:relative;
  z-index:1;
}

.service-card.primary span{
  color:white;
  font-size:17px;
}

.service-live{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(7,95,91,.10);
  color:var(--muted);
  line-height:1.4;
  font-size:14px;
  font-weight:750;
  position:relative;
  z-index:1;
}

.service-card.primary .service-live{
  border-top-color:rgba(255,255,255,.20);
  color:rgba(255,255,255,.92);
}

.service-action{
  margin-top:18px;
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:10px 13px;
  background:rgba(7,95,91,.08);
  color:var(--teal);
  font-size:14px;
  font-weight:900;
  position:relative;
  z-index:1;
}

.service-card.primary .service-action{
  background:rgba(255,255,255,.16);
  color:white;
}

.service-pill{
  display:inline-flex;
  align-self:flex-start;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(217,121,58,.12);
  color:#985127;
  font-size:13px;
  font-weight:900;
  margin-bottom:12px;
  position:relative;
  z-index:1;
}

.service-card.primary .service-pill{
  background:rgba(255,255,255,.16);
  color:white;
}

.services-note{
  width:min(1180px,100%);
  margin:0 auto 34px;
  padding:0 20px;
}

.services-note-inner{
  background:rgba(255,255,255,.80);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
}

.services-note-inner b{
  color:var(--teal);
}

@media(max-width:920px){
  .services-hero-inner{
    grid-template-columns:1fr;
    padding:22px;
  }

  .services-logo-box{
    order:-1;
  }

  .service-card,
  .service-card.primary{
    grid-column:span 12;
  }

  .service-card.primary strong{
    font-size:27px;
  }
}

@media(max-width:560px){
  .services-hero{
    padding:18px 12px 10px;
  }

  .services-section{
    padding:12px;
  }

  .services-hero-inner{
    border-radius:24px;
    padding:18px;
  }

  .service-card{
    border-radius:22px;
    padding:18px;
    min-height:auto;
  }
}

/* ==================================================
   STEP 17 PAGINA GIORNALINO
   ================================================== */

.journal-page{
  min-height:100vh;
}

.journal-hero{
  width:min(1180px,100%);
  margin:0 auto;
  padding:34px 20px 18px;
}

.journal-hero-inner{
  border-radius:34px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 92% 10%, rgba(217,121,58,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,244,.96));
  box-shadow:0 20px 58px rgba(0,0,0,.075);
  padding:30px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.journal-hero h1{
  margin:0;
  color:var(--teal);
  font-size:clamp(38px,5.4vw,68px);
  line-height:.98;
  letter-spacing:-.055em;
}

.journal-hero p{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.48;
  font-size:clamp(18px,2vw,22px);
  max-width:760px;
}

.journal-logo-box{
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  text-align:center;
}

.journal-logo-box img{
  width:min(290px,100%);
  height:auto;
  display:block;
  margin:0 auto;
}

.journal-section{
  width:min(1180px,100%);
  margin:0 auto;
  padding:16px 20px 36px;
}

.journal-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.journal-card{
  grid-column:span 4;
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.045);
  min-height:190px;
}

.journal-card.big{
  grid-column:span 8;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(7,95,91,.98), rgba(13,122,115,.92));
  color:white;
}

.journal-card strong{
  display:block;
  color:var(--teal);
  font-size:24px;
  letter-spacing:-.03em;
  margin-bottom:10px;
}

.journal-card.big strong{
  color:white;
  font-size:32px;
}

.journal-card span{
  display:block;
  color:var(--muted);
  line-height:1.48;
  font-size:15.5px;
}

.journal-card.big span{
  color:white;
  font-size:17px;
}

.journal-pill{
  display:inline-flex;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(217,121,58,.12);
  color:#985127;
  font-size:13px;
  font-weight:900;
  margin-bottom:14px;
}

.journal-card.big .journal-pill{
  background:rgba(255,255,255,.16);
  color:white;
}

.journal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.journal-actions a{
  display:inline-flex;
  text-decoration:none;
  border-radius:999px;
  padding:11px 14px;
  font-weight:900;
  background:var(--teal);
  color:white;
}

.journal-actions a.secondary{
  background:white;
  color:var(--teal);
  border:1px solid var(--line);
}

.journal-card.big .journal-actions a{
  background:rgba(255,255,255,.16);
  color:white;
}

.journal-note{
  width:min(1180px,100%);
  margin:0 auto 34px;
  padding:0 20px;
}

.journal-note-inner{
  background:rgba(255,255,255,.80);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
}

.journal-note-inner b{
  color:var(--teal);
}

@media(max-width:920px){
  .journal-hero-inner{
    grid-template-columns:1fr;
    padding:22px;
  }

  .journal-logo-box{
    order:-1;
  }

  .journal-card,
  .journal-card.big{
    grid-column:span 12;
  }

  .journal-card.big strong{
    font-size:27px;
  }
}

@media(max-width:560px){
  .journal-hero{
    padding:18px 12px 10px;
  }

  .journal-section{
    padding:12px;
  }

  .journal-hero-inner{
    border-radius:24px;
    padding:18px;
  }

  .journal-card{
    border-radius:22px;
    padding:18px;
    min-height:auto;
  }
}

/* ==================================================
   METEO CARD V1
   ================================================== */

.service-card-meteo{
  background:
    radial-gradient(circle at 92% 10%, rgba(13,122,115,.13), transparent 32%),
    linear-gradient(180deg,#ffffff,#f4fbfa);
}

.service-extra{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(7,95,91,.10);
  color:var(--muted);
  line-height:1.35;
  font-size:13.5px;
  font-weight:700;
  position:relative;
  z-index:1;
}

/* ==================================================
   FARMACIE CARD V1
   ================================================== */

.service-card-farmacie{
  background:
    radial-gradient(circle at 92% 10%, rgba(217,121,58,.13), transparent 32%),
    linear-gradient(180deg,#ffffff,#fff8f3);
}

/* ==================================================
   FARMACIE CARD V2
   ================================================== */

.service-subblock{
  margin-top:12px;
  padding:12px 0 0;
  border-top:1px solid rgba(7,95,91,.10);
  position:relative;
  z-index:1;
}

.service-subblock:first-of-type{
  margin-top:10px;
}

.service-subblock-local{
  margin-top:14px;
}

.service-subtitle{
  color:var(--teal);
  font-size:13px;
  font-weight:900;
  letter-spacing:.01em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.service-live-no-border{
  border-top:none !important;
  margin-top:0 !important;
  padding-top:0 !important;
}

.service-extra-compact{
  margin-top:6px;
  padding-top:0;
  border-top:none;
  font-size:13.5px;
  font-weight:750;
}

.service-extra-note{
  margin-top:8px;
  font-size:13px;
  font-weight:700;
}

/* ==================================================
   FARMACIE CARD V1B
   ================================================== */

.service-mini-note{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
  font-weight:750;
  position:relative;
  z-index:1;
}

/* ==================================================
   RIFIUTI CARD V1
   ================================================== */

.service-card-rifiuti{
  background:
    radial-gradient(circle at 92% 10%, rgba(7,95,91,.10), transparent 32%),
    linear-gradient(180deg,#ffffff,#f5fbf8);
}

.service-rifiuti-row{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid rgba(7,95,91,.10);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  position:relative;
  z-index:1;
}

.service-rifiuti-row b{
  display:block;
  color:var(--teal);
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.02em;
  margin-bottom:4px;
}

.service-rifiuti-row em{
  display:block;
  color:var(--text);
  font-style:normal;
  font-size:14px;
  line-height:1.35;
  font-weight:800;
}
