/* SINERTY: clearer service paths and direct contact, preserving the original identity. */
header{gap:28px}
header .brand{width:245px;height:82px}
nav{gap:22px}
.header-phone{display:flex;flex-direction:column;align-items:flex-end;border-left:1px solid var(--line);padding-left:24px;white-space:nowrap}
.header-phone span{font-size:11px;color:var(--muted)}
.header-phone strong{font-size:18px;letter-spacing:.02em}
.header-phone:hover strong{color:var(--yellow)}
.hero{gap:42px;padding-block:64px 52px;grid-template-columns:1.25fr 1fr}
.hero h1{font-size:clamp(35px,4.3vw,63px);line-height:1.12;letter-spacing:-.05em}
.hero .intro{max-width:520px;font-size:23px;font-weight:600;margin-top:0}
.hero-text{max-width:510px}
.actions{gap:12px;margin-top:28px}
.actions .button{font-size:14px;padding:16px 19px;gap:14px}
.button.outline{background:transparent;border:1px solid #707174;color:var(--text)}
.button.outline:hover{background:#252629;border-color:var(--yellow)}
.hero-help{font-size:13px;color:var(--muted);margin:17px 0 0}
.hero-help a{color:var(--text);text-decoration:underline;text-underline-offset:4px}
.brand-claim{font-size:13px;color:var(--muted);margin:30px 0 0}
.hero-visual{min-width:0}
.image-label{font-size:10px;padding:22px 25px}
.visual-bottom{font-size:15px;padding:22px 25px;gap:15px}
.visual-bottom a{flex-shrink:0}
.values{border-bottom:1px solid var(--line);padding:23px 0;font-size:14px}
.section{padding-block:80px}
.services-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.services-three article{padding:30px;min-width:0;background:linear-gradient(160deg,#1c1e21,#101113);border-top:3px solid var(--yellow)}
.service-icon{display:grid;place-items:center;border:1px solid #55502e;color:var(--yellow);width:45px;height:45px;border-radius:9px;font-size:14px;font-weight:750;margin-bottom:30px}
.services-three h3{font-size:23px;min-height:60px}
.services-three ul{margin:0 0 26px;padding:0;list-style:none;color:#d6d7d9;font-size:13px}
.services-three li{padding:8px 0;border-bottom:1px solid #2b2c30;line-height:1.5}
.services-three li:before{content:'✓';color:var(--yellow);margin-right:8px}
.services-three .text-link{border-top:1px solid var(--line);padding-top:20px;line-height:1.6;color:var(--yellow)}
.config-grid{gap:70px;align-items:center}
.config-section .config-note{font-size:13px}
.about{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:70px;align-items:center}
.about-photo{margin:0;position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#151719}
.about-photo img{display:block;width:100%;height:560px;object-fit:cover;object-position:center 42%}
.about-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:50px 25px 23px;background:linear-gradient(transparent,#08090bef);font-size:14px;color:#fff}
.about-copy>p:not(.eyebrow){color:var(--muted);font-size:16px;max-width:540px}
.about-copy h2{margin-bottom:28px}
.person{display:flex;align-items:center;gap:16px;margin:0 0 24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.person h3{font-size:21px;margin:0 0 3px}
.person p{margin:0;color:var(--muted);font-size:13px}
.person-monogram{display:grid;place-items:center;width:55px;height:55px;flex-shrink:0;border-radius:50%;border:1px solid #615426;background:#26220f;color:var(--yellow);font-weight:800}
.area-note{border-left:2px solid var(--yellow);padding-left:17px;margin:24px 0}
.area-note strong{display:block;color:var(--text);margin-bottom:4px}
.about-copy .text-link{color:var(--yellow)}
.method-section{padding-top:10px}
.support-section{padding:65px 0;background:#151719;border-block:1px solid #33363b}
.support-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}
.support-grid h2{margin-bottom:25px}
.support-grid>div>p:not(.eyebrow){max-width:570px;color:#c7c8cb}
.support-grid strong{color:white}
.support-grid .actions{align-items:flex-start;flex-direction:column;gap:18px}
.support-card{padding:35px;border:1px solid #4d4832;background:#101113;border-radius:14px}
.support-card p{font-size:15px;line-height:1.7}
.support-card p:last-child{margin-bottom:0}
.support-symbol{display:grid;place-items:center;width:45px;height:45px;margin-bottom:22px;background:var(--yellow);color:#101112;font-weight:bold;font-size:25px;border-radius:50%}
.faq-list{border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{position:relative;cursor:pointer;padding:23px 50px 23px 0;font-weight:650;font-size:18px;list-style:none;line-height:1.4}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:'+';position:absolute;right:10px;top:17px;color:var(--yellow);font-size:30px;font-weight:400}
.faq-list details[open] summary:after{content:'−'}
.faq-list summary:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.faq-list p{max-width:900px;padding-bottom:18px;margin:0;color:var(--muted);font-size:16px}
.faq-list p a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.contact{background:#141619;min-height:0;padding:55px 42px;grid-template-columns:1.4fr 1fr;gap:40px}
.contact .actions{gap:12px}
.contact h2{font-size:clamp(30px,3.1vw,43px)}
.contact address{padding-left:30px}
.contact address a{overflow-wrap:anywhere}
.mobile-contact{display:none}
@media(max-width:1100px){header{flex-wrap:wrap;gap:14px}header .brand{width:230px;height:77px}header nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line);padding-top:14px}.hero{gap:28px}.hero .intro{font-size:20px}.hero-visual .products{height:250px}.services-three article{padding:23px}.services-three h3{font-size:21px}.about{gap:40px}.about-photo img{height:520px}}
@media(max-width:850px){.services-three{grid-template-columns:1fr}.services-three article{padding:28px}.services-three h3{min-height:0}.service-icon{margin-bottom:20px}.hero .actions{flex-direction:column;align-items:stretch}.hero .actions .button{width:100%}.hero h1{font-size:35px}.about{gap:30px}.support-grid{gap:30px}.contact{grid-template-columns:1fr}.contact address{padding:25px 0 0;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:760px){body{padding-bottom:calc(75px + env(safe-area-inset-bottom))}html{scroll-padding-top:20px}header{padding:16px 5%}header .brand{width:180px;height:60px;margin:0}.header-phone{padding-left:12px;border:0}.header-phone strong{font-size:15px}.header-phone span{font-size:10px}header nav{gap:24px;justify-content:space-between;font-size:12px}.hero{padding-block:36px;gap:28px}.hero h1{font-size:clamp(31px,8.6vw,48px)}.hero .intro{font-size:20px}.hero .actions{gap:10px;margin-top:23px}.hero-help{font-size:13px}.brand-claim{margin-top:22px}.hero-visual{min-height:0}.hero-visual .products{height:220px}.values{font-size:13px;gap:8px}.section{padding-block:55px}.services-three h3{font-size:24px}.config-grid{gap:32px}.config-section h2{font-size:36px}.about{grid-template-columns:1fr;gap:32px}.about-photo img{height:380px;object-position:center 35%}.about-copy h2{font-size:34px}.method-section{padding-top:0}.support-section{padding-block:45px}.support-grid{grid-template-columns:1fr;gap:30px}.support-card{padding:25px}.faq-list summary{font-size:16px;padding-block:21px}.faq-list p{font-size:15px}.contact{padding:33px 25px}.contact .actions{flex-direction:column;align-items:stretch}.contact .button{width:100%}.mobile-contact{position:fixed;z-index:50;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 5% calc(10px + env(safe-area-inset-bottom));background:#0a0b0cf5;border-top:1px solid #4e4624;backdrop-filter:blur(12px)}.mobile-contact a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:47px;border:1px solid #7e6b1e;border-radius:7px;font-size:15px;font-weight:800}.mobile-contact a:last-child{background:var(--yellow);color:#111;border-color:var(--yellow)}.mobile-contact a span{font-size:20px}}
@media(max-width:380px){header .brand{width:150px;height:50px}.header-phone strong{font-size:14px}header nav{gap:12px}.hero h1{font-size:30px}.config-section h2{font-size:31px}}
/* Keep the mobile hero in one column after the desktop overrides above. */
@media(max-width:760px){
  .hero{grid-template-columns:minmax(0,1fr)}
  .hero-copy{min-width:0}
  .hero-visual{width:100%;min-width:0;min-height:0}
  .hero-visual .products{display:block;width:100%;height:auto;object-fit:contain}
  .hero-visual .image-label{padding:20px;line-height:1.6}
  .hero-visual .visual-bottom{padding:20px;font-size:14px}
}

/* Ritratto limitato al riquadro dei recapiti. */
.contact address.contact-portrait{position:relative;isolation:isolate;overflow:hidden;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-height:590px;padding:320px 28px 30px;border:1px solid #454545;border-radius:12px;background:#242527 url('assets/fabio-piva-contatti.jpg') center 24% / cover no-repeat;color:#fff}
.contact address.contact-portrait::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 22%,rgba(0,0,0,.18) 42%,rgba(0,0,0,.89) 70%,rgba(0,0,0,.96) 100%)}
.contact address.contact-portrait strong,.contact address.contact-portrait a,.contact address.contact-portrait span{color:#fff;text-shadow:0 1px 3px #000;margin:0}.contact address.contact-portrait a:hover{color:var(--yellow)}
@media(max-width:850px){.contact address.contact-portrait{min-height:580px;padding:320px 24px 28px;background-position:center 25%;margin-top:12px}}
@media(max-width:400px){.contact address.contact-portrait{padding-inline:18px;min-height:530px;padding-top:285px}}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.work-photo {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.work-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work-photo span, #work-viewer form { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.work-photo b { color: var(--yellow); font-size: 1.4rem; }
.work-photo:hover { border-color: var(--yellow); }
#work-viewer { width: min(90vw,900px); max-height:90dvh; padding:0; background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:12px; }
#work-viewer::backdrop { background:rgba(0,0,0,.88); }
#work-viewer img { display:block; width:100%; height:min(70dvh,720px); object-fit:contain; background:#090909; }
#work-viewer button { min-height:44px; padding:8px 14px; border:0; border-radius:6px; background:var(--yellow); color:#111; cursor:pointer; font:inherit; font-weight:700; }
@media(max-width:850px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:520px){.work-grid{grid-template-columns:1fr}header nav{flex-wrap:wrap;column-gap:12px;row-gap:8px}}

/* Compact gallery: six initial works, remaining photographs on request. */
.work-grid{max-width:960px;margin-inline:auto;gap:16px}
.work-photo[hidden],.work-actions button[hidden]{display:none}
.work-photo img{height:180px;aspect-ratio:auto;object-fit:contain;background:#111315}
.work-photo span{padding:10px 12px;font-size:13px;line-height:1.4;min-height:58px}
.work-photo:focus-visible,.work-actions button:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}
.work-actions{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:24px}
.work-actions button{cursor:pointer;font:inherit;min-height:48px}
.work-actions p{font-size:13px;color:var(--muted);margin:0}
@media(max-width:520px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.work-photo img{height:145px}.work-photo span{padding:9px;font-size:12px;min-height:64px}.work-photo b{font-size:18px}}
