/* Homepage: composizione autonoma, senza effetti sui contenuti delle altre pagine. */
.brand-home{--home-navy:#14283f;--home-orange:#f28c28;--home-ink:#202b36;--home-grey:#607080;--home-bg:#f4f6f8;--home-line:#d9e0e6;background:#fff}
.home-main{font-family:"Manrope","Inter",sans-serif;color:var(--home-ink);background:#fff;line-height:1.65}
.home-main :is(h1,h2,h3){font-family:"Manrope","Inter",sans-serif;color:var(--home-navy);font-weight:600;letter-spacing:-.055em;line-height:1.08;margin:0}
.home-main h2{font-size:clamp(34px,4.1vw,58px)}
.home-main em{font-style:normal;font-weight:400}
.home-main a{text-decoration:none}.home-main figure{margin:0}.home-main p{margin:0}
.home-section{padding-block:112px}.home-main [id]{scroll-margin-top:110px}
.home-eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--home-navy);display:flex;align-items:center;gap:10px;margin-bottom:24px!important}
.home-eyebrow>span{display:inline-block;flex-shrink:0;width:7px;height:7px;background:var(--home-orange)}
.home-hero{padding-top:36px;background:linear-gradient(90deg,#fff 65%,#f4f6f8 65%)}
.home-hero__grid{display:grid;grid-template-columns:1.04fr 1fr;gap:54px;align-items:center}
.home-hero__copy{padding:34px 0 30px;min-width:0}
.home-main .home-hero h1{font-size:clamp(54px,5.7vw,84px);line-height:1.045;letter-spacing:-.065em;font-weight:650;margin:0 0 28px}
.home-hero h1 em{font-weight:400}
.home-hero__lead{font-size:clamp(17px,1.5vw,21px);line-height:1.55;color:var(--home-navy);letter-spacing:-.02em;margin-bottom:18px!important}
.home-hero__description{max-width:440px;font-size:15px;color:var(--home-grey);line-height:1.8}
.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:30px}
.home-button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:52px;padding:14px 22px;border:1px solid transparent;border-radius:3px;font-size:12px;font-weight:700;line-height:1.5;transition:background .2s,color .2s}
.home-button--orange{background:var(--home-orange);color:var(--home-navy)}.home-button--orange:hover{background:#ffac5a}
.home-button--navy{background:var(--home-navy);color:#fff}.home-button--navy:hover{background:#294b6d}
.home-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;font-size:12px;font-weight:700;color:var(--home-navy)}
.home-text-link span{font-size:19px;transition:transform .2s}.home-text-link:hover span{transform:translateX(4px)}
.home-hero__contact{display:flex;align-items:center;gap:15px;margin-top:32px}.home-hero__contact-line{width:2px;height:34px;background:var(--home-orange)}.home-hero__contact p{font-size:10px;line-height:1.8;color:var(--home-grey)}.home-hero__contact a{font-size:11px;color:var(--home-navy);font-weight:700}
.home-hero__visual{position:relative;min-width:0;padding-left:32px;padding-bottom:40px;isolation:isolate}
.home-hero__visual picture{display:block}.home-hero__visual img{width:100%;height:550px;object-fit:cover;object-position:40% 50%;border-radius:3px}
.home-hero__ruler{position:absolute;left:0;top:0;bottom:80px;width:14px;display:flex;align-items:center;gap:20px;writing-mode:vertical-rl;color:#607080;font-size:8px;font-weight:700;letter-spacing:.2em}.home-hero__ruler i{flex:1;width:1px;background:var(--home-line)}
.home-hero__visual figcaption{position:absolute;left:32px;right:0;bottom:0;height:40px;display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:600;color:var(--home-grey);gap:16px}.home-hero__visual figcaption a{display:grid;place-items:center;min-width:40px;height:40px;font-size:20px;color:var(--home-navy)}
.home-hero__corner{position:absolute;right:-12px;bottom:28px;width:52px;height:52px;border-right:4px solid var(--home-orange);border-bottom:4px solid var(--home-orange);pointer-events:none}
.home-hero__index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:36px}
.home-hero__index>a{display:flex;align-items:center;gap:18px;padding:24px 0;border-top:1px solid var(--home-line);color:var(--home-navy);font-size:12px;font-weight:600}.home-hero__index>a+a{padding-left:32px}.home-hero__index>a>span{font-size:9px;font-weight:700;color:#73818e}.home-hero__index b{margin-left:auto;margin-right:32px;font-size:19px;font-weight:400}.home-hero__index>a:hover b{color:#9a4b00}
.home-company__grid{display:grid;grid-template-columns:1fr 1fr;gap:104px;align-items:center}
.home-company__photo{position:relative;padding-left:52px}.home-company__photo::before{content:"";position:absolute;left:0;top:42px;width:95px;bottom:54px;background:var(--home-bg);z-index:0}.home-company__photo img{position:relative;width:100%;height:430px;object-fit:cover;object-position:center;border-radius:3px}.home-company__photo figcaption{position:relative;font-size:9px;letter-spacing:.03em;margin-top:14px;color:var(--home-grey)}
.home-company__copy h2{margin-bottom:26px}.home-company__copy>p:not(.home-eyebrow){font-size:15px;color:var(--home-grey);line-height:1.85;max-width:460px}.home-company__copy>p+p{margin-top:15px}.home-company__note{display:flex;align-items:center;gap:20px;padding-block:22px;border-top:1px solid var(--home-line);margin-top:26px}.home-company__note>span{font-size:30px;color:#9a4b00;line-height:1}.home-company__note p{font-size:12px;font-weight:600;color:var(--home-navy)}
.home-services{background:var(--home-bg)}
.home-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:44px}
.home-section-heading__aside{position:relative;max-width:330px;padding-left:86px;min-height:106px}.home-section-heading__aside>p{font-size:12px;color:var(--home-grey);line-height:1.8}.home-section-heading__aside .home-text-link{margin-top:9px}
.home-rope-scene{position:absolute;left:0;top:0;width:60px;color:var(--home-navy)}.home-rope-scene svg{display:block;width:60px;height:106px;overflow:visible}
.home-service-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:36px 24px}
.home-service{grid-column:span 4;min-width:0}.home-service:first-child{grid-column:span 4}.home-service:nth-last-child(-n+2){grid-column:span 6}
.home-service>a{display:block;color:var(--home-navy)}
.home-service__media{position:relative;overflow:hidden;border-radius:3px;background:#e0e6eb}.home-service img{width:100%;height:240px;object-fit:cover;transition:transform .45s ease}.home-service:nth-child(-n+3) img{height:310px}
.home-service__tag{position:absolute;left:14px;top:14px;background:#14283feb;color:white;font-size:8px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;padding:6px 9px;border-radius:2px}
.home-service__body{padding:20px 0 0}.home-service__title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.home-main .home-service h3{font-size:22px;line-height:1.2;letter-spacing:-.04em}.home-service:first-child h3{font-size:30px}.home-service__title>span{font-size:24px;line-height:1;transition:transform .2s}.home-service__body p{max-width:440px;color:var(--home-grey);font-size:14px;line-height:1.8;margin-top:10px}
.home-service>a:hover img{transform:scale(1.035)}.home-service>a:hover .home-service__title>span{transform:translate(2px,-2px)}
.home-image-note{font-size:9px;color:var(--home-grey);margin-top:30px!important}
.home-method{background:var(--home-navy);color:white;position:relative;isolation:isolate;overflow:hidden}.home-method::after{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#ffffff06 calc(25% - 1px),#ffffff06 25%);pointer-events:none}
.home-method__grid{display:grid;grid-template-columns:1fr 1.1fr;gap:110px}.home-method .home-eyebrow{color:#c0cdd8}.home-method h2{color:#fff}.home-method__intro>p:not(.home-eyebrow){font-size:15px;line-height:1.9;color:#c0cdd8;max-width:350px;margin-top:24px}.home-method__intro .home-method__small{font-size:11px;line-height:1.8;margin-top:24px}
.home-method__line{height:1px;background:#ffffff26;width:100%;max-width:350px;margin-top:32px}.home-method__line span{display:block;width:54px;height:2px;background:var(--home-orange)}
.home-method__items{display:grid;gap:32px}.home-method__items article{display:flex;align-items:flex-start;gap:24px;padding-bottom:26px;border-bottom:1px solid #ffffff20}.home-method__items article:last-child{padding-bottom:0;border-bottom:0}.home-method__items svg{width:32px;height:32px;flex-shrink:0;fill:none;stroke:var(--home-orange);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.home-method__items svg circle{fill:var(--home-navy)}.home-main .home-method__items h3{font-size:20px;line-height:1.4;letter-spacing:-.025em;color:#fff;margin-bottom:8px}.home-method__items p{font-size:14px;line-height:1.8;color:#c0cdd8;max-width:400px}





.home-territory{background:var(--home-bg)}.home-territory__grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:start}.home-territory h2{margin-bottom:26px}.home-territory__grid>div>p:not(.home-eyebrow){font-size:15px;color:var(--home-grey);max-width:340px;line-height:1.85}.home-territory .home-text-link{margin-top:24px}.home-territory__list{border-top:1px solid var(--home-line)}.home-territory__list a{display:flex;align-items:center;gap:20px;min-height:75px;padding:18px 0;border-bottom:1px solid var(--home-line);color:var(--home-navy)}.home-territory__list a>span{font-size:9px;color:#798795}.home-territory__list strong{font-size:24px;font-weight:500;letter-spacing:-.04em}.home-territory__list small{font-size:10px;color:var(--home-grey)}.home-territory__list b{font-size:24px;font-weight:400;margin-left:auto}.home-territory__list a:hover b{color:#9a4b00}
.home-questions__grid{display:grid;grid-template-columns:1fr 1.35fr;gap:100px}.home-questions .home-text-link{margin-top:28px}.home-questions__list{border-top:1px solid var(--home-line)}.home-question{border-bottom:1px solid var(--home-line)}.home-question summary{position:relative;padding:23px 40px 23px 0;list-style:none;font-size:14px;font-weight:600;color:var(--home-navy);cursor:pointer;line-height:1.5}.home-question summary::-webkit-details-marker{display:none}.home-question summary::after{content:"+";position:absolute;right:0;top:18px;font-size:24px;font-weight:400}.home-question[open] summary::after{content:"−";color:#9a4b00}.home-question__answer{padding:0 24px 24px 0;color:var(--home-grey);font-size:14px;line-height:1.9}.home-question__answer a{text-decoration:underline;text-underline-offset:3px;color:var(--home-navy)}
.home-cta{background:#fff0df;padding:74px 0}.home-cta__grid{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center}.home-main .home-cta h2{font-size:clamp(38px,4.8vw,68px)}.home-cta__grid>div>p:not(.home-eyebrow){font-size:14px;color:#52616f;line-height:1.85;max-width:370px;margin-bottom:26px}.home-cta__contact{display:block;width:fit-content;color:var(--home-navy);font-size:11px;font-weight:600;padding-block:12px;margin-top:8px}
.home-main :focus-visible{outline:3px solid var(--home-orange);outline-offset:5px;border-radius:2px}
.brand-home.motion-ready [data-home-reveal]{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}.brand-home.motion-ready [data-home-reveal].is-visible{opacity:1;transform:none}
@media(min-width:1500px){.home-hero{padding-top:48px}.home-hero__visual img{height:610px}.home-hero__copy{padding-block:44px}}
@media(max-width:1100px){.home-hero__grid{gap:30px}.home-main .home-hero h1{font-size:64px}.home-hero__visual img{height:540px}.home-company__grid{gap:58px}.home-company__photo{padding-left:24px}.home-method__grid{gap:65px}.home-territory__grid,.home-questions__grid,.home-cta__grid{gap:60px}.home-main h2{font-size:46px}.home-hero__description{font-size:12px}.home-actions{gap:16px}.home-button{padding-inline:18px;gap:20px}}
@media(max-width:980px){.home-section{padding-block:80px}.home-hero{padding-top:20px}.home-main .home-hero h1{font-size:54px}.home-hero__grid{gap:20px}.home-hero__visual{padding-left:22px}.home-hero__visual img{height:540px}.home-hero__visual figcaption{left:22px;font-size:8px}.home-hero__ruler{font-size:7px}.home-hero__lead{font-size:17px}.home-actions{align-items:flex-start;gap:10px;flex-direction:column}.home-hero__contact{margin-top:20px}.home-company__grid{gap:40px}.home-company__photo{padding-left:0}.home-company__photo::before{display:none}.home-company__photo img{height:430px}.home-main h2{font-size:40px}.home-section-heading{gap:28px}.home-section-heading__aside{max-width:290px;padding-left:70px}.home-service-grid{gap:30px 20px}.home-service img{height:190px}.home-service:nth-child(-n+3) img{height:240px}.home-main .home-service h3{font-size:19px}.home-service:first-child h3{font-size:26px}.home-method__grid{gap:44px}.home-territory__grid,.home-questions__grid,.home-cta__grid{gap:40px}.home-territory__list a{gap:14px}.home-territory__list strong{font-size:22px}}
@media(max-width:760px){.home-hero{background:#fff;padding-top:16px}.home-hero__grid{grid-template-columns:1fr;gap:24px}.home-hero__copy{padding:20px 0 8px}.home-main .home-hero h1{font-size:clamp(52px,10vw,76px);margin-bottom:24px}.home-eyebrow{margin-bottom:20px!important;font-size:9px}.home-hero__lead{font-size:19px}.home-hero__description{font-size:13px;max-width:520px}.home-actions{flex-direction:row;align-items:center;gap:22px;margin-top:26px}.home-hero__contact{margin-top:22px}.home-hero__visual{padding-left:20px;max-width:650px;width:100%;justify-self:center}.home-hero__visual img{height:380px;object-position:40% 46%}.home-hero__visual figcaption{left:20px;font-size:8px}.home-hero__ruler{font-size:7px;gap:14px}.home-hero__corner{right:-5px;width:40px;height:40px;border-width:3px}.home-hero__index{margin-top:22px}.home-hero__index>a{font-size:10px;gap:10px;padding:18px 0;align-items:flex-start}.home-hero__index>a+a{padding-left:16px}.home-hero__index b{margin-right:0;font-size:16px}.home-hero__index>a>span{font-size:8px;padding-top:2px}.home-section{padding-block:66px}.home-company__grid{grid-template-columns:1fr;gap:34px}.home-company__photo{max-width:550px}.home-company__photo img{height:320px}.home-company__copy h2{font-size:46px}.home-company__copy>p:not(.home-eyebrow){max-width:none}.home-company__note{padding-block:18px}.home-section-heading{align-items:flex-start;gap:24px}.home-main h2{font-size:40px}.home-section-heading__aside{max-width:230px;padding-left:0}.home-rope-scene{position:relative;float:right;margin-left:14px;width:42px}.home-rope-scene svg{width:42px;height:78px}.home-section-heading__aside>p{font-size:11px}.home-section-heading__aside .home-text-link{font-size:11px;gap:12px}.home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.home-service,.home-service:first-child,.home-service:nth-last-child(-n+2){grid-column:span 1}.home-service:nth-child(-n+3){grid-column:1/-1}.home-service img{height:190px}.home-service:nth-child(-n+3) img{height:280px}.home-service:last-child{grid-column:1/-1}.home-service:last-child img{height:260px}.home-main .home-service h3{font-size:20px}.home-service:first-child h3{font-size:26px}.home-service__body p{font-size:13px}.home-method__grid{grid-template-columns:1fr;gap:40px}.home-method__intro>p:not(.home-eyebrow){max-width:500px}.home-method__items{grid-template-columns:1fr 1fr;gap:28px}.home-method__items article{display:block;padding-bottom:20px}.home-method__items svg{margin-bottom:18px}.home-method__items article:last-child{border-bottom:1px solid #ffffff20;padding-bottom:20px}.home-main .home-method__items h3{font-size:18px}.home-territory__grid,.home-questions__grid,.home-cta__grid{grid-template-columns:1fr;gap:34px}.home-territory h2{font-size:44px}.home-territory__grid>div>p:not(.home-eyebrow){max-width:500px}.home-territory__list a{min-height:70px;gap:18px}.home-territory__list strong{font-size:26px}.home-territory__list small{font-size:11px}.home-questions .home-text-link{margin-top:18px}.home-question summary{font-size:14px}.home-question__answer{font-size:14px}.home-cta{padding-block:56px}.home-main .home-cta h2{font-size:52px}.home-cta__grid>div>p:not(.home-eyebrow){max-width:500px;font-size:13px}}
@media(max-width:480px){.home-main .home-hero h1{font-size:55px}.home-hero__lead{font-size:17px}.home-hero__description{font-size:12px}.home-actions{gap:12px 18px}.home-button{font-size:11px;padding-inline:17px;gap:18px}.home-actions .home-text-link{font-size:11px;gap:10px}.home-hero__visual img{height:330px}.home-hero__index{grid-template-columns:1fr}.home-hero__index>a,.home-hero__index>a+a{padding:15px 0;font-size:12px;align-items:center}.home-hero__index b{margin-left:auto}.home-hero__index>a:last-child{border-bottom:1px solid var(--home-line)}.home-company__photo img{height:300px}.home-company__copy h2{font-size:40px}.home-section-heading{display:block;margin-bottom:32px}.home-section-heading__aside{margin-top:22px;max-width:none;min-height:80px;padding-right:64px}.home-rope-scene{position:absolute;right:0;left:auto;float:none;top:0}.home-section-heading__aside>p{font-size:12px}.home-service-grid{grid-template-columns:1fr;gap:30px}.home-service,.home-service:first-child,.home-service:last-child{grid-column:auto}.home-service img,.home-service:nth-child(-n+3) img,.home-service:last-child img{height:235px}.home-main .home-service h3,.home-service:first-child h3{font-size:24px}.home-service__body{padding-top:15px}.home-service__body p{font-size:14px}.home-method__items{grid-template-columns:1fr;gap:24px}.home-method__items article{display:flex;gap:20px}.home-method__items svg{margin:0}.home-method__items article:last-child{border-bottom:0;padding-bottom:0}.home-method__items p{font-size:14px}.home-main .home-method__items h3{font-size:20px}.home-territory__list a{gap:14px}.home-main .home-cta h2{font-size:46px}}
@media(prefers-reduced-motion:reduce){.home-main *,.home-main *::before,.home-main *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.brand-home.motion-ready [data-home-reveal]{opacity:1;transform:none}}

/* Solo smartphone: la foto esistente diventa lo sfondo del blocco introduttivo.
   L’indice dei servizi resta sul fondo chiaro; header e barra fissa sono esterni. */
@media(max-width:760px){
  .home-hero{padding-top:0;background:#fff}
  .home-hero__grid{padding-block:36px 40px;gap:0;background-color:#14283f;background-image:linear-gradient(rgba(10,25,43,.78),rgba(10,25,43,.72)),url("assets/brand/hero-960.webp");background-size:cover;background-position:35% center;background-repeat:no-repeat}
  .home-hero__copy{padding:0}
  .home-hero__visual{display:none}
  .home-main .home-hero h1,.home-hero .home-hero__lead{color:#fff}
  .home-main .home-hero h1{overflow-wrap:break-word}
  .home-hero__copy>.home-eyebrow{color:#ffdaa8}
  .home-hero .home-hero__description{color:#e0e7ee}
  .home-hero__copy .home-text-link,.home-hero__contact a{color:#fff}
  .home-hero__contact p{color:#e0e7ee}
}
