/* Home del giro A. Il foglio è caricato solo nella pagina iniziale. */
.home-hero { padding: 64px 0 80px; }
.home-hero .hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(32px,5vw,72px); }
.home-hero .hero-h1 { font-size: clamp(40px,4.7vw,72px); letter-spacing: -.035em; }
.home-hero .hero-sub { max-width: 58ch; }
.dtf-word { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; color: var(--ink); padding: 0 .14em; margin: 0 .02em; }
.dtf-word::before { content: ''; position: absolute; z-index: -1; inset: .1em 0 .04em; background: var(--lime); border-radius: 4px; transform-origin: left center; }
.dtf-js:not(.home-no-motion) .dtf-word::before { transform: scaleX(0); }
.dtf-js:not(.home-no-motion) .home-hero.dtf-label-parte .dtf-word::before { transform: scaleX(1); transition: transform .6s cubic-bezier(.65,0,.35,1) .05s; }
.home-hero .hero-badges { gap: 8px; }
.home-hero .hero-badges span { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; background: var(--fondo-dettaglio); color: var(--ink); font-size: 14px; font-weight: 700; padding: 7px 12px; }
.hero-video { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--ink); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-tag { position: absolute; bottom: 16px; left: 16px; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 4px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.35; }
.home-proof { background: var(--fondo-dettaglio); border-bottom: 4px solid var(--lime); }
.home-proof .proof-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.home-proof .proof-item { padding: 24px 18px; border-left: 1px solid var(--border); display: block; min-width: 0; }
.home-proof .proof-item:first-child { border-left: 0; }
.home-proof strong,.home-proof span { display: block; }
.home-proof strong { color: var(--ink); font-size: 14px; line-height: 1.35; }
.home-proof span { color: var(--slate); font-size: 13px; line-height: 1.45; margin-top: 5px; }
.home-benefits { background: var(--fondo-pagina); }
.home-section-intro { max-width: 800px; margin-bottom: 36px; }
.home-section-intro .section-h2 { margin: 0; }
.home-section-intro p { margin-top: 12px; }
.home-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.4; }
.home-eyebrow::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--lime); border-radius: 4px; }
.home-eyebrow-dark { color: var(--lime); }
.home-eyebrow-filled { background: var(--lime); border-radius: 4px; color: var(--ink); padding: 5px 9px; }
.home-eyebrow-filled::before { background: var(--ink); }
.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
@media (max-width: 1100px) { .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.benefit-card { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--fondo-dettaglio); border: 1px solid var(--border); border-radius: 12px; transition: transform .25s, border-color .25s; }
.benefit-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.benefit-card h3 { font-size: 21px; line-height: 1.25; color: var(--ink); margin: 16px 0 12px; }
.benefit-card p { font-size: 16px; line-height: 1.65; margin-bottom: 25px; }
.benefit-card a { margin-top: auto; font-weight: 700; color: var(--primary); }
.benefit-card .card-rule { width: 34px; height: 4px; background: var(--lime); border-radius: 4px; }
.home-card-pill { width: fit-content; border: 1px solid var(--border); background: var(--fondo-pagina); color: var(--ink); padding: 5px 8px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.benefit-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.benefit-facts > div { border-top: 1px solid var(--border); padding-top: 18px; }
.benefit-facts strong { color: var(--ink); }
.benefit-facts p { font-size: 15px; margin-top: 5px; }
.home-process { background: var(--fondo-dettaglio); }
.process-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.process-grid article { border-top: 1px solid var(--border); padding-top: 18px; min-width: 0; }
.process-grid .step-no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--ink); color: var(--lime); border-radius: 4px; font-size: 13px; font-weight: 800; }
.process-grid .heat-step { background: var(--lime); color: var(--ink); }
.process-grid h3 { color: var(--ink); font-size: 18px; line-height: 1.3; margin: 16px 0 8px; }
.process-grid p { font-size: 15px; line-height: 1.6; }
.process-grid .cf-step-tempo { color: var(--lime-testo); }
.home-gallery { background: var(--ink); }
.home-gallery .home-section-intro p { color: #C8C9CA; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.photo-card { position: relative; aspect-ratio: 1.25; border-radius: 4px; overflow: hidden; background: #303236; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
.photo-card figcaption { position: absolute; inset: auto 0 0; padding: 16px; background: rgba(23,24,26,.88); color: var(--lime); font-size: 16px; font-weight: 700; }
.home-technology { background: var(--fondo-pagina); }
.home-technology .roland-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: 48px; }
.home-technology .section-h2 { margin: 0 0 16px; }
.home-technology .roland-sub { margin-bottom: 22px; }
.spec-list { border-top: 1px solid var(--border); }
.spec-list p { position: relative; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.home-technology .bli-quote { margin-top: 24px; }
.home-technology .roland-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: none; }
.metric-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.metric-row > div { padding: 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--fondo-dettaglio); }
.metric-row strong,.metric-row span { display: block; }
.metric-row strong { color: var(--ink); }
.metric-row span { font-size: 13px; }
.home-press { background: var(--fondo-dettaglio); }
.home-press .cf-press-grid { gap: 14px; }
.home-press .cf-press-card { border-radius: 12px; border-top: 3px solid var(--lime); padding-bottom: 20px; }
.home-press .cf-press-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; box-shadow: none; }
.home-press .cf-press-num { background: var(--lime); color: var(--ink); }
.home-press .cf-press-desc { font-size: 14px; }
.home-faq { background: var(--fondo-pagina); }
.home-faq .faq-inner { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); gap: 48px; }
.home-faq .section-h2 { margin: 0; }
.home-faq .faq-list { min-width: 0; }
.home-faq .faq-item { border-top: 1px solid var(--border); }
.home-faq .faq-item:last-child { border-bottom: 1px solid var(--border); }
.home-faq .faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink); padding: 16px 0; }
.home-faq .faq-plus { font-size: 24px; font-weight: 400; }
.home-faq .faq-answer { font-size: 15px; line-height: 1.65; }
.home-faq .faq-item.is-open .faq-plus { transform: rotate(45deg); }
.home-contact .home-eyebrow { margin-bottom: 14px; }
.home-contact .cf-contact-services li { list-style: none; }
.home-contact .cf-contact-btn { border-radius: 4px; }
.home-contact .cf-contact-btn--wa { color: var(--ink); }
.home-contact .cf-contact-btn--wa:hover { color: var(--ink); }
.home-closing .cta-final-h2::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--lime); margin: 16px auto 0; }
/* Componenti condivisi. Il blu segnala i collegamenti. */
.btn { transition: background-color .2s,border-color .2s,color .2s,transform .2s; }
.btn span[aria-hidden] { display: inline-block; transition: transform .25s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); }
/* Movimento solo quando lo script della home ha attivato la radice. */
:root.home-anim .home-hero .hero-copy > * { opacity: 0; transform: translateY(14px); }
:root.home-anim .home-hero.is-in .hero-copy > * { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1); }
:root.home-anim .home-hero.is-in .hero-copy > :nth-child(1) { transition-delay: .05s; }
:root.home-anim .home-hero.is-in .hero-copy > :nth-child(2) { transition-delay: .18s; }
:root.home-anim .home-hero.is-in .hero-copy > :nth-child(3) { transition-delay: .3s; }
:root.home-anim .home-hero.is-in .hero-copy > :nth-child(4) { transition-delay: .42s; }
:root.home-anim .hero-video { clip-path: inset(100% 0 0 0 round 4px); }
:root.home-anim .home-hero.is-in .hero-video { clip-path: inset(0 0 0 0 round 4px); transition: clip-path .9s cubic-bezier(.65,0,.35,1) .2s; }
:root.home-anim [data-home-reveal] { opacity: 0; transform: translateY(18px); }
:root.home-anim [data-home-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i,0) * 80ms); }
:root.home-anim .process-grid article { border-top-color: transparent; position: relative; }
:root.home-anim .process-grid article::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--border); transform: scaleX(0); transform-origin: left; }
:root.home-anim .process-grid article.is-in::before { transform: scaleX(1); transition: transform .8s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i,0) * 80ms); }
:root.home-anim .spec-list p { border-bottom-color: transparent; }
:root.home-anim .spec-list p::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--border); transform: scaleX(0); transform-origin: left; }
:root.home-anim .spec-list p.is-in::after { transform: scaleX(1); transition: transform .8s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i,0) * 80ms); }
:root { interpolate-size: allow-keywords; }
.home-faq .faq-answer { transition: max-height .35s ease; }
@media (max-width: 900px) { .home-proof .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-proof .proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); } .home-proof .proof-item:nth-child(4) { border-top: 1px solid var(--border); } .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-technology .roland-inner { grid-template-columns: 1fr; } .home-faq .faq-inner { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 600px) { .home-hero { padding: 44px 0 64px; } .home-hero .hero-inner { grid-template-columns: 1fr; gap: 30px; } .home-hero .hero-h1 { font-size: clamp(34px,9vw,48px); } .home-proof .proof-grid,.benefit-grid,.benefit-facts,.process-grid { grid-template-columns: 1fr; } .home-proof .proof-item { border-left: 0; border-top: 1px solid var(--border); padding: 16px 0; } .home-proof .proof-item:first-child { border-top: 0; } .photo-grid { gap: 9px; } .photo-card { aspect-ratio: 1; } .photo-card figcaption { font-size: 13px; padding: 9px; } .home-press .cf-press-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 390px) { .home-press .cf-press-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dtf-js .dtf-word::before { transform: none !important; transition: none !important; } :root.home-anim [data-home-reveal],:root.home-anim .home-hero .hero-copy > * { opacity: 1; transform: none; transition: none; } :root.home-anim .hero-video { clip-path: none; transition: none; } .btn,.benefit-card { transition: none; } .btn:hover,.benefit-card:hover { transform: none; } }
/* L'entrata non lascia ritardi sui pulsanti dopo il completamento. */
:root.home-anim .home-hero.hero-entrata-finita .hero-copy > * { transition: none; }
.home-gallery { padding: 96px 0; }
.home-technology .roland-sub { margin-top: 0; }
.home-technology .roland-img { padding: 0; margin: 0; }
.home-faq .faq-inner { max-width: var(--max-w); }
.home-faq .faq-answer { max-height: none; overflow: visible; padding-bottom: 20px; }
.home-faq-ready .home-faq .faq-answer { max-height: 0; overflow: hidden; padding-bottom: 0; }
.home-faq-ready .home-faq .faq-item.is-open .faq-answer { max-height: 1200px; padding-bottom: 20px; }
@supports (interpolate-size: allow-keywords) { .home-faq-ready .home-faq .faq-answer { height: 0; max-height: none; transition: height .35s ease; } .home-faq-ready .home-faq .faq-item.is-open .faq-answer { height: auto; max-height: none; } }
.home-contact { background: var(--fondo-dettaglio); }
.home-contact .cf-contact-title { color: var(--ink); }
.home-contact .cf-contact-desc,.home-contact .cf-contact-services li { color: var(--slate); }
.home-contact .home-eyebrow-dark { color: var(--ink); }
.home-contact .cf-contact-btn--mail { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.home-contact .cf-contact-btn--mail:hover { color: var(--primary); }
@media (max-width: 600px) { .home-gallery { padding: 64px 0; } }
