/* Schermate a misura di finestra: nessun ridimensionamento globale dei testi. */
html.screen-flow{scroll-behavior:auto;scroll-snap-type:none;scroll-padding-top:var(--screen-top,64px)}
.screen-mode{--screen-top:64px;--screen-height:calc(100dvh - 108px);padding-bottom:44px}
.screen-mode .masthead{position:sticky;top:0;z-index:30;background:#142018}
.screen-mode .masthead .header{min-height:64px;height:64px;padding:4px 0;gap:24px;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}
.screen-mode .masthead .header .brand{flex:0 1 260px;justify-content:start}
.screen-mode .masthead .brand img{width:260px;max-height:58px;object-fit:contain}
.screen-mode .masthead .header nav{margin:0;padding:0;flex-basis:auto;gap:24px;flex-wrap:nowrap}
.screen-mode .masthead .header .compact{margin:0;min-height:40px;padding:8px 15px}
.screen-mode .wrap{width:min(1360px,calc(100% - 56px))}
.screen-mode .home-section-nav{position:sticky;top:64px;z-index:29;min-height:38px;padding:2px 8px;gap:12px;flex-wrap:nowrap;background:#142219}
.screen-mode .home-section-nav a{font-size:12px;padding:6px 12px;line-height:20px;white-space:nowrap}
.screen-mode .screen-panel{box-sizing:border-box;min-height:var(--screen-height);scroll-margin-top:0;display:flex;flex-direction:column;justify-content:center;padding-block:18px;border-top:1px solid #56624c50}
.screen-mode .screen-panel:focus{outline:none}
.screen-mode .inner-page{padding-bottom:0;min-height:0}
.screen-mode .screen-panel>.page-intro{padding:24px 0;max-width:1000px}
.screen-mode .screen-panel>.page-intro h1{font-size:clamp(36px,4.5vw,62px)}
.screen-mode .screen-panel>.page-intro .intro-lead{font-size:18px;line-height:1.6;margin-top:20px}
.screen-mode .screen-panel .info-grid,.screen-mode .screen-panel .solution-grid{margin:0;gap:20px}
.screen-mode .screen-panel .info-card,.screen-mode .screen-panel .solution-card{padding:24px}
.screen-mode .screen-panel .solution-card h2{font-size:28px}
.screen-mode .screen-panel .editorial-content{margin:0;max-width:950px}
.screen-mode .screen-panel .editorial-content h2:first-child{margin-top:0}
.screen-mode .screen-panel .editorial-content p,.screen-mode .screen-panel .editorial-content li{font-size:17px;line-height:1.7}
.screen-mode .screen-panel .closing{margin:0;padding:30px}
.screen-mode .screen-panel .full-footer{margin-block:0;margin-inline:auto;padding-top:0;padding-bottom:0}
@media (max-width:599px),(max-height:599px) and (pointer:coarse){.screen-mode .screen-panel .full-footer{margin-inline:auto}}
.screen-mode .screen-panel .catalog-grid{margin:0}
.screen-mode .screen-panel .model-visual>img{height:150px}
.screen-mode .screen-panel .model-card-body{padding:16px}
.screen-mode .screen-panel .model-card-body>p:not(.eyebrow){font-size:14px;line-height:1.45;margin-top:8px}
.screen-mode .screen-panel .model-card-body .eyebrow{font-size:10px;margin-bottom:8px}
.screen-mode .screen-panel .model-card-body h2{font-size:24px}
.screen-mode .screen-panel .model-actions{margin-top:12px}
.screen-mode .screen-panel .model-actions .button{padding:9px 12px;min-height:40px}
.screen-mode .screen-panel .tags{margin-top:8px}
.screen-mode .screen-panel .check-row{margin-top:10px}
.screen-mode .screen-catalog-start>.page-intro{padding:10px 0 14px}
.screen-mode .screen-directory-start>.page-intro{padding:16px 0}.screen-mode .screen-directory-start .directory-search{margin:8px 0}.screen-mode .screen-directory-start #directory-count{margin:8px 0;font-size:14px;color:#bfcbb9}
.screen-mode .screen-catalog-start>.page-intro h1{font-size:34px;line-height:1.15}
.screen-mode .screen-catalog-start>.page-intro h1 br{display:none}
.screen-mode .screen-catalog-start>.page-intro .eyebrow{display:none}
.screen-mode .screen-catalog-start>.page-intro .intro-lead{font-size:14px;margin-top:10px;max-width:950px;line-height:1.5}
.screen-mode .screen-catalog-start .catalog-controls{margin:0;padding:16px}
.screen-mode .screen-catalog-start .catalog-controls label{margin-top:0}
.screen-mode .screen-catalog-start .catalog-controls .search-row{margin:0}
.screen-mode .screen-catalog-start .catalog-controls .filter-row{margin-top:12px}
.screen-mode .catalog-result-tools{padding:12px 0;margin:0}
.screen-mode #catalog-pager{margin:0;padding:6px 0 0;flex-wrap:wrap;flex-shrink:0;gap:4px}
.screen-mode #catalog-pager:empty{display:none}
.screen-mode #catalog-pager button{width:28px;min-width:28px;min-height:28px;height:28px;padding:2px;font-size:12px;line-height:1;flex-shrink:0}
@media(pointer:coarse){.screen-mode #catalog-pager button{width:34px;min-width:34px;min-height:34px;height:34px}}
.screen-mode .screen-panel .section-actions{margin:20px 0 0}
.screen-mode .screen-controls{background:#142018}
@media(min-width:900px) and (max-height:720px){.screen-mode .screen-panel .model-visual>img{height:105px}.screen-mode .screen-panel .model-card-body{padding:14px}.screen-mode .screen-panel .model-card-body>p:not(.eyebrow){line-height:1.4}.screen-mode .screen-panel .model-card-body h2{font-size:22px}.screen-mode .screen-catalog-start>.crumb{margin:0;font-size:11px}.screen-mode .screen-catalog-start>.page-intro{padding:8px 0 10px}.screen-mode .screen-catalog-start .catalog-controls .small-copy{margin:8px 0 0}}
.screen-controls{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;align-items:center;justify-content:center;gap:16px;height:44px;padding:4px 20px;background:#142018f5;border-top:1px solid #66775b;color:#e8e7df}
.screen-controls button{background:transparent;border:1px solid #718368;border-radius:5px;color:inherit;min-height:32px;padding:4px 12px;font-size:12px}
.screen-controls output{font-size:12px;min-width:180px;text-align:center}
.screen-controls .screen-reading{margin-left:auto}
.screen-controls .screen-hint{margin-right:auto;font-size:11px;color:#bdc8b8}
.screen-mode main>.screen-panel#inizio{padding:12px 0}
.screen-mode .hero-stage .hero{padding-block:0;gap:5%;grid-template-columns:1fr 1fr;align-items:center}
.screen-mode .hero-stage h1{font-size:clamp(40px,4.4vw,64px);line-height:1.08;letter-spacing:-2px}
.screen-mode .hero-stage .eyebrow{margin-bottom:18px;font-size:11px}
.screen-mode .hero-stage .lead{margin-top:20px;font-size:18px;line-height:1.55;max-width:530px}
.screen-mode .hero-stage .hero-actions{margin-top:22px;gap:20px}
.screen-mode .hero-stage .hero-actions .button{padding:13px 18px;min-height:46px;font-size:14px}
.screen-mode .hero-stage .hero-route{margin-top:22px}
.screen-mode .hero-stage .reassurance{margin-top:12px}
.screen-mode .hero-stage .preview-top{margin-bottom:8px}
.screen-mode .hero-stage .preview-tabs button{padding:6px;min-height:34px}
.screen-mode .hero-stage .preview-panel{height:290px}
.screen-mode .hero-stage .restaurant-nav{height:45px;padding-inline:20px}
.screen-mode .hero-stage .restaurant-nav b{font-size:23px}
.screen-mode .hero-stage .restaurant-photo{height:200px}
.screen-mode .hero-stage .restaurant-bottom{height:45px}
.screen-mode .hero-stage .restaurant-text{top:22px;left:24px}
.screen-mode .hero-stage .restaurant-text h2{font-size:32px;margin-top:8px}
.screen-mode .hero-stage .example-cta{margin-top:14px;padding:8px 12px}
.screen-mode .hero-stage .appointments,.screen-mode .hero-stage .workflow{padding:16px 22px}
.screen-mode .hero-stage .app-nav{margin-bottom:10px}
.screen-mode .hero-stage .appointments h2,.screen-mode .hero-stage .workflow h2{font-size:23px}
.screen-mode .hero-stage .appointment-box{margin-top:12px;padding:12px}
.screen-mode .hero-stage .app-note{margin-top:8px}
.screen-mode .hero-stage .flow-list{margin:8px 0}
.screen-mode .hero-stage .flow-list li{padding:5px 0}
.screen-mode .hero-stage .home-color-options>summary{min-height:38px;padding:8px 12px;font-size:12px}
.screen-mode .hero-stage .home-color-options{margin-top:8px}
.screen-mode .hero-stage .preview-disclaimer{margin-top:5px}
.home-filter-bar{display:grid;grid-template-columns:1.2fr .85fr 1fr 1fr auto;align-items:end;gap:12px;margin:0;padding:12px 16px;border:1px solid #68765b;border-radius:8px;background:var(--gradient-card)}
.home-filter-bar label{font-size:11px;font-weight:600;display:block;min-width:0;margin:0;line-height:1.4}
.home-filter-bar input,.home-filter-bar select{width:100%;margin-top:5px;padding:8px 10px;min-height:37px;border:1px solid #75816d;border-radius:4px;background:#18271d;color:#e8e7df;font-size:13px;min-width:0}
.home-reset{border:0;background:none;color:#e6c693;font-size:12px;padding:8px;min-height:37px;text-decoration:underline;text-underline-offset:4px}
.home-gallery-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;padding:18px 0 14px}
.home-gallery-heading h2{font-size:32px;letter-spacing:-1px}
.home-gallery-heading p{font-size:12px;color:var(--muted);margin-top:4px}
.home-gallery-heading .text-link{font-size:12px;flex-shrink:0}
.home-gallery-frame{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:12px;align-items:center}
.gallery-arrow{border:1px solid #a28d63;background:#263b2a;border-radius:50%;height:36px;min-height:36px;width:36px;padding:0;font-size:21px;color:#f3d59b}
.gallery-arrow:hover:not(:disabled){background:#d2b27c;color:#19231c}
.home-models{display:grid;grid-template-columns:repeat(var(--home-card-count,3),minmax(0,1fr));gap:16px;min-width:0}
.home-model{border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0;background:var(--gradient-card)}
.home-model-image{display:block;background:#243127}
.home-model-image img{display:block;width:100%;height:clamp(100px,23vh,225px);object-fit:cover}
.home-model-copy{padding:14px 16px}
.home-model-kind{font-size:10px;color:#c5ceb8;line-height:1.3}
.home-model h3{font-size:23px;letter-spacing:-.4px;line-height:1.25;margin-top:5px;text-wrap:initial}
.home-model-style{font-size:12px;color:var(--muted);margin-top:5px}
.home-model-open{display:flex;justify-content:space-between;align-items:center;min-height:38px;margin-top:8px;border-top:1px solid #68745b;font-size:13px;color:#eed2a3;font-weight:600}
.home-model-abstract{height:clamp(100px,23vh,225px);display:flex;align-items:center;justify-content:center;gap:20px;background:linear-gradient(130deg,#293f36,#504527);font-size:18px}
.home-model-abstract span{font-size:65px;color:#d2b27c}
.home-gallery-foot{display:flex;justify-content:space-between;gap:18px;font-size:11px;color:#c2cbb8;margin:10px 48px 0}
.home-empty{grid-column:1/-1;padding:25px;background:var(--gradient-card);border-radius:8px}
.home-empty h3{font-size:23px}.home-empty p{font-size:15px;margin:12px 0}.home-empty .text-link{margin-left:18px}
.home-next-heading{margin-bottom:20px}.home-next-heading .eyebrow{margin-bottom:8px}
.home-next-heading h2{font-size:36px;letter-spacing:-1px}
.home-next-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:50px;align-items:start}
.home-steps{list-style:none;padding:0;margin:0;display:grid;gap:15px}
.home-steps li{display:flex;gap:17px;align-items:baseline}.home-steps li>span{color:#d2b27c;font-size:12px}
.home-steps h3{font-size:20px;letter-spacing:-.3px}.home-steps p{font-size:14px;line-height:1.5;color:#bbc8b6;margin-top:5px}
.home-questions summary{font-size:14px;padding:13px 0;min-height:46px;gap:12px}
.home-questions p{font-size:14px;padding:0 0 12px;line-height:1.5}
.home-next-cta{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #68745b;margin-top:20px;padding-top:17px}
.home-next-cta h3{font-size:21px;font-weight:500;letter-spacing:-.4px}.home-next-cta p{font-size:13px;color:#c7ceb8;margin-top:5px}
.home-next-cta .button{min-height:44px;padding:11px 20px}
@media(min-width:900px) and (max-height:720px){.screen-mode .hero-stage h1{font-size:46px}.screen-mode .hero-stage .lead{font-size:16px;margin-top:16px}.screen-mode .hero-stage .preview-panel{height:245px}.screen-mode .hero-stage .restaurant-photo{height:160px}.screen-mode .hero-stage .restaurant-bottom{height:40px}.screen-mode .hero-stage .restaurant-text h2{font-size:27px}.screen-mode .hero-stage .restaurant-text{top:15px}.screen-mode .hero-stage .workflow h2,.screen-mode .hero-stage .appointments h2{font-size:20px}.screen-mode .hero-stage .appointments .app-note{display:none}.screen-mode .hero-stage .flow-list li{padding:3px 0}.screen-mode .hero-stage .workflow .quiet{display:none}.screen-mode .hero-stage .hero-route{margin-top:18px}.screen-mode .home-catalog .home-model-image img,.screen-mode .home-model-abstract{height:clamp(85px,20vh,135px)}.home-filter-bar{padding:8px 12px}.home-gallery-heading{padding:12px 0 10px}.home-gallery-heading h2{font-size:29px}.home-model-copy{padding:10px 14px}.home-model h3{font-size:21px}.home-model-open{margin-top:5px;min-height:35px}.home-next-heading{margin-bottom:14px}.home-next-heading h2{font-size:31px}.home-next-heading h2 br{display:none}.home-next-grid{gap:38px}.home-steps{gap:11px}.home-next-cta{margin-top:14px;padding-top:12px}.home-questions summary{padding:10px 0;min-height:43px}}
@media(max-width:999px){.home-filter-bar{grid-template-columns:1.2fr 1fr 1fr;gap:8px}.home-filter-bar label:first-child{grid-column:1/3}.home-filter-bar label:nth-child(2){grid-column:3;grid-row:1}.home-filter-bar label:nth-child(3){grid-column:1}.home-filter-bar label:nth-child(4){grid-column:2}.home-filter-bar .home-reset{grid-column:3}.screen-mode .masthead .header{gap:14px}.screen-mode .masthead .header .brand{flex-basis:205px}.screen-mode .masthead .brand img{width:205px}.screen-mode .hero-stage .hero{gap:28px}.screen-mode .hero-stage h1{font-size:43px}.screen-mode .hero-stage .lead{font-size:16px}.home-next-grid{gap:25px}.screen-controls .screen-hint{display:none}.screen-controls{gap:8px}.screen-controls .screen-reading{margin-left:12px}.home-gallery-heading h2{font-size:28px}}
@media(max-width:850px){.screen-mode .masthead .header nav{display:none}.screen-mode .hero-stage .hero{grid-template-columns:1fr;max-width:650px;gap:24px}.screen-mode main>.screen-panel#inizio{padding-block:24px}.screen-mode .hero-stage .hero-copy{max-width:none}.screen-mode .hero-stage .hero-route{margin-top:16px}.screen-mode .hero-stage .lead{max-width:none}.home-next-grid{grid-template-columns:1fr}.home-steps{grid-template-columns:repeat(3,1fr);gap:20px}.home-steps li{display:block}.home-steps h3{font-size:18px;margin-top:8px}.home-steps p{font-size:14px}.home-next-cta h3{font-size:20px}.home-next-heading h2{font-size:31px}.home-questions summary{min-height:44px}.screen-mode .screen-panel .info-grid{grid-template-columns:1fr}.screen-mode .screen-panel .model-visual>img{height:170px}}
@media(max-width:619px){.screen-mode .wrap{width:calc(100% - 28px)}.screen-mode .masthead .header .brand{flex-basis:175px}.screen-mode .masthead .brand img{width:175px}.screen-mode .masthead .header .compact{font-size:11px;padding:8px 10px;gap:8px}.screen-mode .home-section-nav{gap:2px;justify-content:space-around}.screen-mode .home-section-nav a{font-size:11px;padding-inline:5px}.screen-mode .hero-stage h1{font-size:38px}.screen-mode .hero-stage .hero-actions{gap:10px}.screen-mode .hero-stage .eyebrow{font-size:10px}.home-filter-bar{grid-template-columns:1fr 1fr;padding:10px}.home-filter-bar label:first-child{grid-column:1/-1}.home-filter-bar label:nth-child(2){grid-column:1;grid-row:2}.home-filter-bar label:nth-child(3){grid-column:2;grid-row:2}.home-filter-bar label:nth-child(4){grid-column:1}.home-filter-bar .home-reset{grid-column:2}.home-filter-bar input,.home-filter-bar select{font-size:16px;min-height:40px;padding:7px}.home-gallery-heading{align-items:start;gap:10px}.home-gallery-heading h2{font-size:25px}.home-gallery-heading .text-link{max-width:95px;font-size:11px}.home-gallery-frame{grid-template-columns:30px minmax(0,1fr) 30px;gap:7px}.gallery-arrow{width:30px;min-height:44px;height:44px;border-radius:6px}.home-models{gap:0}.home-model-image img{height:150px}.home-model h3{font-size:22px}.home-model-open{min-height:44px}.home-gallery-foot{margin-inline:37px;flex-direction:column;gap:3px;font-size:11px}.home-next-grid{gap:22px}.home-steps{grid-template-columns:1fr;gap:14px}.home-steps li{display:flex}.home-steps h3{margin-top:0}.home-next-cta{flex-direction:column;align-items:stretch}.home-next-cta .button{align-self:start}.screen-controls{padding-inline:8px;gap:7px}.screen-controls output{min-width:0;flex:1;font-size:11px}.screen-controls .screen-reading{margin-left:0;font-size:11px;padding-inline:8px}.screen-controls button{min-height:36px;padding-inline:9px}.screen-mode .screen-panel .info-card{padding:20px}.screen-mode .screen-panel .full-footer{grid-template-columns:1fr 1fr;gap:20px}.screen-mode .screen-panel .full-footer .brand img{width:200px}}
.screen-reading-mode .screen-panel{min-height:0!important}.screen-reading-mode .screen-controls output,.screen-reading-mode .screen-controls [data-screen-step]{display:none}
@media(prefers-reduced-motion:no-preference){.home-model{animation:home-model-in .22s ease-out both}@keyframes home-model-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}}

.screen-collection{display:block!important}.screen-collection>.screen-panel>[data-screen-grid]{display:grid;gap:20px}.screen-mode .screen-panel>.crumb{margin:0 0 12px}
.screen-mode .screen-panel .model-visual{min-height:150px}
.screen-mode .screen-panel .model-card-body>p:not(.eyebrow){margin-bottom:8px}
.screen-mode .catalog-result-tools #result-count{margin:5px 0;font-size:12px}
.screen-mode .catalog-result-tools h2{font-size:24px}
.screen-mode .catalog-result-tools label{margin:0;font-size:11px}
.screen-mode .catalog-result-tools select{font-size:13px;padding:7px;min-height:35px}
.screen-mode .catalog-result-tools .small-copy{margin:3px 0;font-size:11px}
.screen-mode .catalog-result-tools{display:flex;align-items:center;justify-content:space-between;gap:20px}
@media(min-width:900px) and (max-height:720px){.screen-mode .screen-panel .model-visual{min-height:105px}.screen-mode .screen-panel .tags{padding-bottom:5px}.screen-mode .screen-panel .tags span{padding:4px 7px}}
.screen-mode .hero-stage .home-color-options summary>span,.home-questions summary>span{font-size:20px;line-height:1}
.screen-mode .screen-panel .section-actions+.questions{margin-top:20px}
.home-questions summary{line-height:1.4}
.home-next-heading h2 br::after{content:' '}
@media(min-width:900px) and (max-height:720px){
 .screen-mode main>.screen-panel#inizio{padding-block:8px}
 .screen-mode .home-catalog{padding-block:10px}
 .home-gallery-heading{padding-block:5px}
 .home-gallery-heading h2{font-size:27px}
 .screen-mode .home-catalog .home-model-image img,.screen-mode .home-model-abstract{height:clamp(80px,15vh,115px)}
 .screen-mode .hero-stage .preview-panel{height:215px}
 .screen-mode .hero-stage .restaurant-photo{height:135px}
 .screen-mode .hero-stage .restaurant-nav{height:40px}
 .screen-mode .hero-stage .restaurant-text{top:10px}
 .screen-mode .hero-stage .restaurant-text h2{font-size:25px}
 .screen-mode .hero-stage .example-cta{padding:5px 10px;margin-top:8px}
 .screen-mode .hero-stage .app-nav{margin-bottom:6px}
 .screen-mode .hero-stage .appointment-box{margin-top:8px;padding:8px}
 .screen-mode .hero-stage .appointment-box>p{margin-top:5px}
 .screen-mode .hero-stage .slots{margin-top:5px}
 .screen-mode .hero-stage .slots button{min-height:30px;padding:6px 12px}
 .screen-mode .hero-stage .workflow .flow-list{margin:5px 0}
 .screen-mode .hero-stage .workflow .flow-icon{width:22px;height:22px}
 .screen-mode .hero-stage .flow-run{padding:7px 10px;min-height:32px}
 .screen-mode .hero-stage .workflow #flow-status{margin-top:3px}
}
@media(max-width:619px){.screen-mode .home-catalog{padding-block:12px}.home-model-image img{height:135px}}
.mobile-home-demo{display:none}
@media(max-width:619px){
 .screen-mode .hero-stage .playground>.preview-top,.screen-mode .hero-stage .playground>.preview-tabs,.screen-mode .hero-stage .playground>.browser-preview,.screen-mode .hero-stage .playground>.home-color-options,.screen-mode .hero-stage .playground>.preview-disclaimer{display:none}
 .mobile-home-demo{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:start;gap:5px;min-height:100px;width:100%;padding:18px 40px 18px 18px;border:1px solid #a58e63;background:linear-gradient(100deg,#1b2b21f7,#1b2b21cc),url('/assets/catalogo/ristorante-lusso-20261012.webp') center/cover;border-radius:8px;color:#e8e7df;text-align:left}
 .mobile-home-demo span{font-size:16px;font-weight:600}.mobile-home-demo small{font-size:12px;color:#d3c7b1}.mobile-home-demo b{position:absolute;right:18px;font-size:22px;color:#e2c594}
 .home-next-heading{margin-bottom:14px}.home-next-heading .eyebrow{margin-bottom:6px}.home-next-heading h2{font-size:27px}
 .home-next-grid{gap:16px}.home-steps{gap:11px}.home-steps p{font-size:14px;line-height:1.45}.home-steps h3{font-size:18px}
 .home-next-cta{flex-direction:row;gap:12px;margin-top:14px;padding-top:12px}.home-next-cta h3{font-size:18px}.home-next-cta p{font-size:12px;line-height:1.45}.home-next-cta .button{flex-shrink:0;padding:10px 12px;font-size:13px;gap:8px;align-self:center}
}

/* Una sola testata Home: identita, percorso e progetto. */
.home-menu-toggle{display:none}
.screen-mode .home-masthead .header{border-bottom:0}
.screen-mode .home-masthead{border-bottom:1px solid var(--line)}
.screen-mode .home-masthead .header .home-section-nav{position:static;display:flex;min-height:0;border:0;background:transparent;gap:8px;flex:1;justify-content:center}
.screen-mode .home-masthead .home-section-nav a{font-size:14px;line-height:20px;padding:10px 12px;border-radius:5px}
.screen-mode .home-masthead .home-section-nav a[aria-current=true]{color:var(--text);background:#d2b27c17;box-shadow:inset 0 -2px var(--accent)}
.screen-mode .home-masthead .home-section-nav a:after{display:none}
.screen-mode .home-masthead .home-section-nav a:hover{background:#d2b27c24}
@media(max-width:1099px){
 .screen-mode .home-masthead .header{gap:12px}
 .screen-mode .home-masthead .header .brand{flex-basis:190px}
 .screen-mode .home-masthead .brand img{width:190px}
 .screen-mode .home-masthead .home-section-nav a{font-size:13px;padding-inline:8px}
 .screen-mode .home-masthead .header .home-section-nav{gap:2px}
}
@media(max-width:850px){
 .screen-mode .home-masthead .header .brand{flex:1;min-width:0}
 .screen-mode .home-masthead .brand img{width:175px;max-width:100%}
 .home-menu-toggle{display:block;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--text);font:inherit;font-size:14px;order:3}
 .screen-mode .home-masthead .header .home-section-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:12px 20px;background:#142018;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #0004;gap:4px;flex-direction:column;align-items:stretch}
 .screen-mode .home-masthead.menu-open .header .home-section-nav{display:flex}
 .screen-mode .home-masthead .home-section-nav a{font-size:16px;min-height:44px;padding:12px}
 .screen-mode .home-masthead .header .compact{margin-left:auto}
}

/* Anteprima iniziale piu ampia, con altezza legata allo spazio disponibile. */
.home-personalization-note{font-size:15px;line-height:1.55;margin-top:14px;max-width:530px;color:var(--text)}
.home-personalization-note strong{color:var(--accent)}
@media(min-width:851px){
 .screen-mode .hero-stage .hero{grid-template-columns:.94fr 1.06fr;gap:3.5%}
 .screen-mode .hero-stage .playground>.browser-preview{--hero-preview-height:clamp(245px,calc(100dvh - 310px),430px)}
 .screen-mode .hero-stage .playground>.browser-preview .preview-panel{height:var(--hero-preview-height)}
 .screen-mode .hero-stage .playground>.browser-preview .restaurant-nav{height:45px}
 .screen-mode .hero-stage .playground>.browser-preview .restaurant-bottom{height:45px}
 .screen-mode .hero-stage .playground>.browser-preview .restaurant-photo{height:calc(var(--hero-preview-height) - 90px)}
 .screen-mode .hero-stage .playground>.browser-preview .restaurant-text{top:clamp(18px,4vh,38px)}
}
@media(min-width:851px) and (max-height:570px){
 .screen-mode .hero-stage .hero-actions{margin-top:14px}
 .screen-mode .hero-stage .hero-route{margin-top:12px}
 .home-personalization-note{font-size:14px;line-height:1.45;margin-top:10px}
}
@media(max-width:619px){.home-personalization-note{font-size:14px;line-height:1.5}}
@media(min-width:620px) and (max-width:850px){
 .screen-mode main>.screen-panel#inizio{padding-block:16px}
 .screen-mode .hero-stage .hero{gap:16px}
}

/* Il laboratorio colori usa lo spazio della finestra, non le misure ridotte della Home. */
.screen-mode .hero-stage .home-color-dialog{width:min(1600px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:16px}
.home-color-dialog[open]{display:flex;flex-direction:column}
.home-color-dialog>header{flex:0 0 auto}
.screen-mode .hero-stage .home-color-layout{flex:1;min-height:0;height:auto;grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:minmax(0,1fr)}
.screen-mode .hero-stage .home-color-stage{display:flex;flex-direction:column;min-width:0}
.home-color-stage>.preview-tabs{flex:0 0 auto}
.screen-mode .hero-stage .home-color-stage>.browser-preview{display:flex;flex-direction:column;flex:1;min-height:0;box-shadow:none}
.home-color-stage .browser-bar{flex:0 0 29px}
.screen-mode .hero-stage .home-color-stage .preview-panel{height:auto;flex:1;min-height:0;overflow:auto}
.screen-mode .hero-stage .home-color-stage .restaurant:not([hidden]){display:flex;flex-direction:column;overflow:auto}
.screen-mode .hero-stage .home-color-stage .restaurant-nav,.screen-mode .hero-stage .home-color-stage .restaurant-bottom{flex:0 0 48px;height:auto}
.screen-mode .hero-stage .home-color-stage .restaurant-photo{height:auto;flex:1;min-height:170px}
.screen-mode .hero-stage .home-color-stage .restaurant-text{top:clamp(20px,5vh,50px)}
.screen-mode .hero-stage .home-color-stage .restaurant-text h2{font-size:clamp(28px,3vw,44px);line-height:1.12}
.screen-mode .hero-stage .home-color-stage .example-cta{margin-top:14px;padding:8px 12px}
@media(max-width:850px){
 .screen-mode .hero-stage .home-color-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:12px}
 .screen-mode .hero-stage .home-color-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(260px,52%) minmax(0,1fr);gap:12px}
 .screen-mode .hero-stage .home-color-stage .restaurant-nav,.screen-mode .hero-stage .home-color-stage .restaurant-bottom{flex-basis:40px}
 .screen-mode .hero-stage .home-color-stage .restaurant-text{top:16px;left:16px}
 .screen-mode .hero-stage .home-color-stage .restaurant-text h2{font-size:27px}
 .screen-mode .hero-stage .home-color-stage .restaurant-photo{min-height:160px}
}
@media(max-width:850px) and (max-height:500px){
 .screen-mode .hero-stage .home-color-layout{grid-template-columns:minmax(0,1fr) 245px;grid-template-rows:minmax(0,1fr)}
 .home-color-tools{border-top:0;padding-top:0}
}

/* Presentazione illustrativa del configuratore: nessun controllo fittizio attivo. */
.personalization-example{margin:0;min-width:0;color:#e8e7df}
.example-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px}
.example-heading>span{font-size:11px;color:#adb3a8}
.example-editor{display:grid;grid-template-columns:minmax(0,1fr) 170px;grid-template-rows:auto minmax(0,1fr);height:clamp(280px,calc(100dvh - 255px),480px);border:1px solid #68765b;border-radius:9px;background:#18271d;overflow:clip}
.example-types{grid-column:1/-1;display:flex;gap:16px;padding:12px 16px;border-bottom:1px solid #68765b;font-size:12px;color:#d8d4c7}
.example-types>span:first-child{color:#e6c693;font-weight:600}
.example-site{min-width:0;display:flex;flex-direction:column;background:#30231c;color:#f8efdd}
.example-browser{font-size:8px;padding:8px 12px;background:#232b25;color:#b7bdae;display:flex;justify-content:space-between}
.example-site-brand{font-family:Georgia,serif;font-size:21px;line-height:1.15;padding:13px 16px}
.example-site-photo{position:relative;flex:1;min-height:0;background:#221a13}
.example-site-photo>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.example-site-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0009,transparent)}
.example-site-photo>div{position:relative;z-index:1;padding:22px 18px}
.example-site-photo small{font-size:8px;letter-spacing:1px}
.screen-mode .hero-stage .example-site-photo h2{font-family:Georgia,serif;font-size:clamp(25px,2.5vw,38px);line-height:1.05;letter-spacing:-1px;margin:12px 0 16px;color:#fff}
.example-site-action{font-size:10px;display:inline-block;padding:8px 12px;border:1px solid #ded4c1;color:#fff}
.example-site-footer{padding:12px 16px;font-size:10px}
.example-tools{min-width:0;padding:15px 12px;border-left:1px solid #68765b;display:flex;flex-direction:column;gap:16px;background:#1e3023}
.example-tools h3{font:600 14px/1.3 inherit;font-size:14px;margin:0;color:#e6c693}
.example-tool>b{font-size:12px;display:block;margin-bottom:7px}
.example-tool>span{font-size:10px;display:block;color:#b9c5b5;margin-bottom:10px}
.example-color-plane{height:65px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,#60ad7e);border-radius:5px;position:relative}
.example-color-plane i{position:absolute;left:64%;top:25%;width:13px;height:13px;border:2px solid white;border-radius:50%;box-shadow:0 1px 3px #0008}
.example-hue{height:9px;border-radius:5px;margin-top:10px;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);position:relative}
.example-hue i{position:absolute;left:34%;top:-3px;width:14px;height:14px;border:2px solid #fff;border-radius:50%}
.example-text-field{font-size:10px;padding:8px;border:1px solid #73826a;border-radius:4px;line-height:1.4;color:#c7d0bf}
.example-text-lines{padding-top:8px;display:grid;gap:5px}.example-text-lines i{height:3px;background:#82917a;border-radius:3px}.example-text-lines i:last-child{width:70%}
.example-palette>div{display:flex;gap:5px}.example-palette i{height:17px;flex:1;border-radius:3px;background:#d2b27c}.example-palette i:nth-child(2){background:#6b9178}.example-palette i:nth-child(3){background:#edebdd}.example-palette i:nth-child(4){background:#111a15;border:1px solid #82917a}
.personalization-example figcaption{font-size:12px;line-height:1.5;color:#cbd2c3;margin-top:10px}
.home-filter-actions{display:flex;align-items:center;gap:8px}
.home-filter-actions .button{white-space:nowrap;min-height:40px;padding:9px 12px;font-size:12px}
.home-filter-bar{grid-template-columns:1.1fr .8fr 1fr 1fr auto}
@media(min-width:851px) and (max-height:570px){.example-editor{height:285px}.example-tools{padding:12px 10px;gap:10px}.example-color-plane{height:47px}.example-site-photo>div{padding:14px}.screen-mode .hero-stage .example-site-photo h2{font-size:27px;margin:8px 0 12px}}
@media(max-width:1099px){.home-filter-bar{grid-template-columns:1fr 1fr 1fr}.home-filter-bar label:first-child{grid-column:1/3}.home-filter-bar label:nth-child(2){grid-column:3;grid-row:1}.home-filter-bar label:nth-child(3){grid-column:1;grid-row:2}.home-filter-bar label:nth-child(4){grid-column:2;grid-row:2}.home-filter-actions{grid-column:3;grid-row:2;justify-content:flex-end}}
@media(min-width:620px) and (max-width:850px){.example-editor{height:310px}}
@media(max-width:619px){
 .example-heading{font-size:12px;margin-bottom:7px}.example-heading>span{font-size:10px}
 .example-editor{height:210px;grid-template-columns:minmax(0,1fr) 114px}
 .example-types{font-size:10px;padding:7px 10px;gap:14px}
 .example-browser{padding:5px 8px;font-size:7px}.example-site-brand{font-size:17px;padding:8px 10px}.example-site-footer{padding:7px 10px;font-size:8px}
 .example-site-photo>div{padding:12px 10px}.example-site-photo small{font-size:7px}.screen-mode .hero-stage .example-site-photo h2{font-size:23px;margin:7px 0 10px}.example-site-action{font-size:8px;padding:5px 8px}
 .example-tools{padding:10px 8px;gap:10px}.example-tools h3{font-size:12px}.example-tool>b{font-size:10px;margin-bottom:5px}.example-tool>span{font-size:8px;margin-bottom:6px}.example-color-plane{height:33px}.example-hue{margin-top:7px;height:7px}.example-text-field{font-size:8px;padding:5px}.example-text-lines,.example-palette{display:none}
 .personalization-example figcaption{font-size:11px;line-height:1.4;margin-top:7px}
 .home-filter-bar{grid-template-columns:1fr 1fr}.home-filter-bar label:first-child{grid-column:1/-1;grid-row:1}.home-filter-bar label:nth-child(2){grid-column:1;grid-row:2}.home-filter-bar label:nth-child(3){grid-column:2;grid-row:2}.home-filter-bar label:nth-child(4){grid-column:1;grid-row:3}.home-filter-actions{grid-column:2;grid-row:3;gap:4px;flex-wrap:wrap;justify-content:start}.home-filter-actions .button{padding:7px 9px;font-size:11px;min-height:36px}.home-filter-actions .home-reset{padding:4px;font-size:11px;min-height:28px}
 .screen-mode .hero-stage .hero{gap:16px}.screen-mode .hero-stage .hero-route{margin-top:12px}.screen-mode .hero-stage .lead{margin-top:14px}.screen-mode .hero-stage .hero-actions{margin-top:16px}
}
.example-tools h3{font-family:inherit;font-weight:600;line-height:1.3}
@media(min-width:620px) and (max-height:750px){.example-tools{gap:10px;padding:12px 10px}.example-color-plane{height:47px}.example-text-lines{display:none}}
@media(min-width:620px) and (max-width:850px){.example-tools{gap:8px;padding:10px}.example-color-plane{height:38px}.example-text-lines{display:none}}
@media(min-width:851px) and (max-height:570px){.example-editor{height:335px}.example-text-lines{display:none}}
@media(max-width:619px){.example-site-action,.example-site-footer{display:none}.example-tools{gap:7px}}
/* Anche le anteprime astratte partono dalla stessa misura minima delle foto su telefono. */
@media(max-width:619px){.screen-mode .home-catalog .home-model-abstract{height:135px}}

.example-editor[href]{color:inherit;text-decoration:none;cursor:pointer;animation:none!important}.example-editor[href]:focus-visible{outline:3px solid #d2b27c;outline-offset:4px}

/* Un solo finale del catalogo, con spazio naturale per i confronti selezionati. */
.screen-mode .catalog-closing{position:relative;isolation:isolate;gap:22px;padding-block:24px;background:#142018}
.catalog-closing-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.catalog-closing-backdrop img{display:block;width:100%;height:100%;object-fit:cover;opacity:.55;filter:saturate(.5) blur(2px);transform:scale(1.02)}
.catalog-closing-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#0a1810bd,#0a18108a 50%,#0a1810a3)}
.catalog-closing-content{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.screen-mode .catalog-closing #compare-panel{margin:0;padding:22px;background:#19291fe0;min-width:0}
.catalog-closing h2{font-size:26px;line-height:1.2}
.catalog-closing #compare-panel>p,.catalog-closing .quiet-block p{font-size:14px;line-height:1.55;margin:12px 0}
.catalog-closing .quiet-block{max-width:none;margin:0;min-width:0}
.catalog-closing .quiet-block p:last-child{margin-bottom:0}
.catalog-closing #comparison:empty{display:none}
.catalog-closing-content:has(#comparison article){grid-template-columns:1fr}
.catalog-closing-content:has(#comparison article) .quiet-block{max-width:850px}
.screen-mode .catalog-closing .full-footer{width:min(1360px,calc(100% - 56px));margin-inline:auto;background:transparent;gap:18px 28px;padding-top:18px;border-top:1px solid #91a08766}
.catalog-closing .full-footer>div{gap:10px}
.catalog-closing .full-footer .footer-legal{padding:15px 0 0;gap:16px}
@media(max-width:700px){
 .catalog-closing-content{grid-template-columns:1fr;gap:24px}
 .screen-mode .catalog-closing{padding-block:24px;gap:26px}
 .screen-mode .catalog-closing #compare-panel{padding:20px}
 .catalog-closing h2{font-size:25px}
 .catalog-closing #comparison{grid-template-columns:1fr}
}

@media(min-width:1000px) and (max-height:600px){.screen-mode .catalog-closing{padding-block:14px;gap:18px}.catalog-closing .full-footer{row-gap:14px}.catalog-closing .full-footer .footer-legal{padding-top:12px}}

/* Il catalogo completo si apre dal centro della galleria. */
.home-gallery-heading{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end}
.home-gallery-heading>.text-link{grid-column:2;justify-self:center;text-align:center}
@media(max-width:999px){.home-gallery-heading{grid-template-columns:1fr}.home-gallery-heading>.text-link{grid-column:1;max-width:none;justify-self:center}}
