.dt-home{--ink:#101348;--green:#128318;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.35}
.dt-home .wrap{width:min(1420px,calc(100% - 64px))}
.dt-home header{background:#fff}
.dt-home .top{min-height:65px;gap:22px}
.dt-home .brand-mark{width:42px}
.brand-name{font-size:clamp(.88rem,1.65vw,1.24rem);line-height:1.1;letter-spacing:0}
.brand-name small{display:block;font-size:.66em;margin-top:3px}
.dt-home nav a{font-size:.88rem;letter-spacing:-.02em}
.dt-home nav a[aria-current]{color:#087811;text-underline-offset:.6em;text-decoration-thickness:3px}
.dt-home nav .consult,.dt-home .orange{color:white;background:linear-gradient(155deg,#ff8706,#db5504);border-color:transparent}
.dt-home nav .consult{line-height:1.1;border-radius:12px;padding:.6rem .9rem;text-align:center}
.home-hero{
  background:linear-gradient(90deg,#f7fbffc9 0%,#fff8e3a8 30%,transparent 55%),
    #d5ecfc url('immagini/hero-solare.webp') center 53%/cover no-repeat;
  padding:clamp(24px,4vw,62px) 0 clamp(44px,6vw,86px);
}
.hero-layout{display:grid;grid-template-columns:1.65fr .85fr 1fr;align-items:center;gap:14px}
.hero-copy .eyebrow{color:var(--ink);letter-spacing:.01em;font-size:clamp(.67rem,1.2vw,.88rem);margin-bottom:.7rem}
.hero-copy .eyebrow::after,.dt-home main>section:not(.home-hero,.solution-grid,.benefits,.finance-home,.project-home) h2::after{content:"";display:block;background:#64ba16;border-radius:1em;height:5px;width:2em;margin-top:.18em}
.hero-copy h1{font-size:clamp(1.9rem,3.35vw,3.7rem);max-width:none}
.hero-copy>p:not(.eyebrow){margin-top:.75rem;max-width:42ch;font-weight:600}
.dt-home .actions{margin-top:14px}
.dt-home .outline{border:1px solid #2c9226;background:white}
.dt-home .outline span{color:var(--green);font-size:1.25em}
.solution-bolt{font-size:1.75em;line-height:.8;color:inherit}
.dt-home .orange{gap:.45em}
.energy{grid-column:3;margin:0;background:#fff;border-radius:16px;aspect-ratio:auto;padding:14px;color:var(--ink);box-shadow:0 6px 18px #11294c20}
.energy figcaption{font-size:clamp(.84rem,1.35vw,1.06rem);font-weight:800}
.energy figcaption span{color:var(--green)}
.energy figcaption small{display:block;font-weight:500;color:#4b5770;font-size:.73rem}
.energy-values{display:flex;align-items:center;gap:9px;margin:10px 0}
.ring{flex:0 0 auto;border:clamp(5px,.8vw,11px) solid #158b16;border-right-color:#85cf19;aspect-ratio:1;width:clamp(62px,8vw,113px);border-radius:50%;display:grid;place-content:center;text-align:center;line-height:1.08}
.ring strong{font-size:clamp(1rem,2vw,1.65rem)}
.ring small{font-size:.65rem}
.energy dl{margin:0;flex:1;font-size:clamp(.62rem,.87vw,.95rem);white-space:nowrap}
.energy dl div{display:flex;justify-content:space-between;gap:5px;padding:.35em 0;border-bottom:1px solid #e5e8ec}
.energy dd{margin:0;font-weight:bold}
.chart{display:flex;align-items:end;justify-content:space-between;gap:5px;height:60px;border-bottom:1px solid #b9c7ad;padding:0 3px}
.chart i{display:block;height:var(--h);flex:1;background:linear-gradient(#9fdb1b,#209d1d)}
.chart i:nth-child(-n+2),.chart i:nth-last-child(-n+4){background:linear-gradient(#ffd333,#efa713)}
.chart-labels{display:flex;justify-content:space-between;gap:3px;font-size:.61rem;font-weight:700;margin-top:4px}
.solution-grid{position:relative;margin-top:-19px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;scroll-margin-top:12px}
.solution-grid>a{
  display:grid;grid-template-rows:subgrid;grid-row:span 3;
  justify-items:center;align-items:start;row-gap:5px;padding:10px 12px 14px;text-align:center;
  border:1px solid #e5eada;border-radius:17px;background:linear-gradient(#fff,#f3f4e8);
  box-shadow:0 4px 13px #132d4b21;color:inherit;text-decoration:none;cursor:pointer;
}
.solution-grid>a:is(:hover,:focus-visible){
  border-color:#67b624;background:linear-gradient(#fff,#e5f3d6);
  box-shadow:0 6px 16px #245e302b;
}
.solution-grid>a:active{background:#d9edc4;box-shadow:inset 0 2px 6px #245e302b}
.solution-grid h2{align-self:center;overflow-wrap:anywhere;font-size:clamp(1.05rem,1.9vw,1.58rem);max-width:16ch}
.solution-grid img,.value-grid img{height:52px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.solution-grid .heating-icon{height:52px;width:52px;color:var(--green)}
.solution-grid p{max-width:23ch}
@media(max-width:850px){
  .solution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solution-grid>a:last-child{grid-column:1/-1}
}
.benefits{background:linear-gradient(#f4f8ec,#e7f3d9);border-radius:15px;margin-top:14px;padding:14px 18px;display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:12px;align-items:center}
.benefits h2{display:flex;align-items:center;gap:10px;font-size:clamp(1rem,2vw,1.55rem)}
.benefits h2 img{width:clamp(34px,5vw,54px);height:auto;mix-blend-mode:multiply}
.benefits div{border-left:1px solid #8cb362;padding-left:12px}
.benefits b{font-size:clamp(1rem,1.8vw,1.38rem)}
.benefits p{font-size:.88rem}
.note{font-size:.74rem;color:#4c5662;margin-top:5px;margin-bottom:14px}
.about{display:grid;grid-template-columns:.72fr 1.17fr;gap:24px;align-items:center}
.about img{width:100%;height:auto;border-radius:21px}
.about h2{font-size:clamp(2rem,4.4vw,3.9rem)}
.about p{font-size:clamp(1rem,1.95vw,1.48rem);margin-top:.35rem}
.values,.skills-home,.numbers{padding-block:10px}
.values h2,.skills-home h2,.numbers h2{font-size:clamp(1.6rem,3.15vw,2.75rem);max-width:none}
.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px}
.value-grid article{align-items:center;text-align:center;border:0;background:#edf5e2;gap:4px;padding:10px 9px}
.value-grid article p{color:inherit}
.value-grid article img{height:42px}
.skills-home>div{display:flex;justify-content:space-around;align-items:center;border-top:1px solid #e4eae0;gap:12px}
.skills-home ul{padding-left:0;list-style:none;margin:.45rem 0}
.skills-home li::before{content:"✔";color:#419e1a;margin-right:.55em}
.skills-home img{object-fit:contain;max-width:27%;height:auto}
.finance-home{
  color:#fff;
  background:
    linear-gradient(90deg,#062650 67%,transparent 77%),
    #062650 url('immagini/tramonto-solare.webp') right center/33% 100% no-repeat;
}
.finance-home .wrap{display:flex;align-items:center;gap:clamp(12px,3vw,40px);padding:10px clamp(0px,5vw,70px)}
.finance-home img{object-fit:contain;width:clamp(64px,11vw,121px);height:auto}
.finance-home h2{font-size:clamp(1.64rem,3.8vw,3rem);max-width:none}
.finance-home p{max-width:45ch;font-size:clamp(.92rem,1.65vw,1.2rem)}
.number-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center;padding-top:9px}
.number-grid div{width:clamp(110px,13vw,155px);aspect-ratio:1;border:2px solid #67b624;border-radius:50%;display:grid;place-content:center;justify-items:center;justify-self:center;grid-template-rows: auto auto minmax(2.2em,auto);line-height:1.11}
.number-grid img{width:clamp(28px,3.5vw,44px);height:clamp(24px,3vw,36px);object-fit:contain;mix-blend-mode:multiply}
.number-grid strong{font-size:clamp(1.7rem,3.25vw,2.55rem)}
.number-grid span{font-size:.87rem;padding:3px 5px 0}
.project-home{text-align:center;padding:18px 0;background:#f9e7c9 url('immagini/progetto-tramonto.webp') center 58%/cover no-repeat}
.project-home h2{margin:0 auto 8px;max-width:none;font-size:clamp(1.65rem,3.45vw,3rem)}
.green{background:linear-gradient(#75bc13,#137c14);color:white;min-width:170px;justify-content:center}
.dt-home footer{background:#07264e;padding:11px 0;color:white}
.footer-home{display:flex;justify-content:center;gap:14px;font-size:.87rem}
.copyright-home{text-align:center;margin:7px 0 0;font-size:.82rem}
.footer-home span+span{border-left:1px solid #c4d2e7;padding-left:14px}
@media(max-width:1120px){.dt-home .top{flex-wrap:wrap;padding:9px 0;gap:5px}.dt-home nav{width:100%;justify-content:space-between;flex-wrap:wrap}}
@media(max-width:850px){.hero-layout{grid-template-columns:1.4fr 1fr}.energy{grid-column:2}.benefits{grid-template-columns:repeat(4,1fr)}.benefits h2{grid-column:1/-1}}
@media(max-width:720px){.dt-home .wrap{width:calc(100% - 28px)}.dt-home .brand-mark{width:36px}.dt-home nav{flex-direction:column;align-items:flex-start}.dt-home .top{gap:7px}.about{gap:13px}.finance-home{background-image:linear-gradient(90deg,#062650 28%,#062650e8 68%,#06265088),url('immagini/tramonto-solare.webp');background-size:auto,auto 100%}.finance-home .wrap{padding-inline:0}.project-home{background-image:linear-gradient(#fff4d88c,#fff4d812),url('immagini/progetto-tramonto.webp')}.number-grid div{width:clamp(70px,19vw,125px)}}
@media(max-width:500px){.hero-layout,.about{grid-template-columns:1fr}.home-hero{background-image:linear-gradient(180deg,#f5faffeb 0%,#fff8e3d9 53%,#fbffef29 85%),url('immagini/hero-solare.webp');background-position:64% center}.energy{grid-column:1;width:min(100%,440px);justify-self:center}.benefits{grid-template-columns:repeat(2,1fr);padding:13px 10px}.value-grid{grid-template-columns:1fr}.number-grid{grid-template-columns:repeat(2,1fr)}.number-grid div{width:112px}.energy dl{font-size:.78rem}}

.back-to-top{
  position:fixed;inset:auto max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) auto;
  z-index:5;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:#146b27;color:white;text-decoration:none;font-size:1.55rem;line-height:1;
  box-shadow:0 3px 12px #06265055;
}
.back-to-top:hover{background:#0d4f1d}
