/*
Theme Name: Studio Luciani
Author: Studio Luciani
Description: Identità coordinata verde e antracite per lo studio di ingegneria di Domenico Luciani.
Version: 1.3.3
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: studio-luciani
*/
:root{--sl-green:#548713;--sl-ink:#202b24;--sl-leaf:#3f6f0c;--sl-mist:#f3f6ed}
html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}a{text-underline-offset:5px}a:focus-visible{outline:3px solid #548713;outline-offset:5px}.contact a{color:#fff;overflow-wrap:anywhere}
.site-header{padding:12px max(5vw,24px);border-bottom:3px solid #548713;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-logo{display:block;flex:0 1 410px;margin:0!important;max-width:410px;line-height:0}.brand-logo img{display:block;width:100%;height:auto}.site-header nav{display:flex;gap:22px;flex-wrap:wrap;margin:0!important;align-items:center}.site-header nav a{font-size:14px;text-decoration:none;font-weight:600}.site-header nav a:hover{color:#3f6f0c}.site-header nav a:last-child{border:1px solid #548713;padding:9px 15px}
.hero{position:relative;overflow:hidden;background:#f3f6ed;color:#202b24;padding:86px max(6vw,24px) 80px;margin-top:0!important}.hero h1{font-size:clamp(44px,6.7vw,88px);letter-spacing:-.05em;line-height:1.07;font-weight:600;max-width:950px;margin:25px 0;position:relative;z-index:1}.brand-accent{color:#548713}.hero>p{max-width:640px;margin-left:0!important;position:relative;z-index:1}.hero>p:first-child{font-size:12px;letter-spacing:.18em;color:#3f6f0c;font-weight:700}.hero>p:last-child{font-size:14px;margin-top:35px}.hero a{color:inherit}.hero .wp-block-button__link{background:#3f6f0c;color:#fff}.hero:after{content:"";pointer-events:none;position:absolute;right:-150px;top:140px;width:380px;height:380px;border:20px solid #548713;border-bottom:0;opacity:.09}.hero:before{content:"";pointer-events:none;position:absolute;right:-205px;top:215px;width:380px;height:380px;border:20px solid #202b24;border-top:0;opacity:.07}
.section{padding:80px max(6vw,24px);margin-top:0!important;border-bottom:1px solid #dce3d4}.section h2{font-size:clamp(32px,4vw,51px);letter-spacing:-.035em;line-height:1.14;font-weight:600;margin-bottom:32px}.section h2:before{content:"";display:block;width:34px;height:6px;background:#548713;margin-bottom:22px}.section>p{max-width:820px;margin-left:0!important}.wp-block-columns{gap:38px;margin-top:40px}.wp-block-column{border-top:2px solid #b8c9a5;padding-top:20px}.wp-block-column>p:first-child{color:#526445;font-size:12px;letter-spacing:.1em}.wp-block-column h3{font-size:22px;line-height:1.25;font-weight:600}.wp-block-column p{font-size:16px}.zes{background:#edf3e5}.wp-block-button__link{border-radius:0;padding:16px 25px;font-size:15px;font-weight:600;transition:background .15s}.wp-block-button__link:hover{background:#2e500b!important;color:#fff!important}.contact{background:#202b24;color:#fff}.contact h2:before{background:#a8c976}.site-footer{padding:35px max(6vw,24px);margin-top:0!important;font-size:12px;color:#526445;background:#f3f6ed}.site-footer p{max-width:900px;margin-left:0!important}
@media(min-width:1100px){.section,.hero{padding-left:max(calc((100vw - 1160px)/2),6vw);padding-right:max(calc((100vw - 1160px)/2),6vw)}}
@media(max-width:1099px){.site-header{display:block}.brand-logo{max-width:390px}.site-header nav{margin:6px 0 12px!important;gap:14px 22px}}
@media(max-width:600px){.hero,.section{padding-top:48px;padding-bottom:48px}.hero h1{font-size:clamp(36px,10.6vw,58px)}.site-header nav{gap:12px 16px}.site-header nav a{font-size:13px}.site-header nav a:last-child{padding:5px 10px}.hero:after,.hero:before{display:none}.wp-block-columns{gap:24px}.brand-logo{max-width:100%}.section h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wp-block-button__link{transition:none}}


.sl-form-section{padding-top:0}.sl-request{background:#fff;color:#202b24;padding:clamp(22px,4vw,48px);max-width:900px!important;margin-left:0!important}.sl-request h3{font-size:28px;margin-top:0}.sl-request a{color:#3f6f0c}.sl-request>p{font-size:16px}.sl-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.sl-request label{display:block;font-size:16px;font-weight:600;margin-bottom:7px}.sl-request label span{font-weight:400}.sl-request input:not([type=checkbox]):not([type=hidden]),.sl-request textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #89977e;border-radius:0;background:#fff;color:#202b24;font:inherit;min-width:0}.sl-request textarea{resize:vertical}.sl-request input:focus,.sl-request textarea:focus{outline:2px solid #548713;outline-offset:2px}.sl-help{font-size:14px!important;color:#526445}.sl-privacy-check{display:flex;align-items:flex-start;gap:12px;margin:24px 0}.sl-privacy-check input{flex:0 0 20px;width:20px;height:20px;margin-top:4px;accent-color:#3f6f0c}.sl-privacy-check label{font-weight:400}.sl-request button{border:0;padding:15px 25px;background:#3f6f0c;color:#fff;font:600 16px system-ui;cursor:pointer}.sl-request button:disabled{opacity:.65;cursor:wait}.sl-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sl-privacy{border-top:1px solid #b8c9a5;padding-top:22px;margin-top:30px}.sl-privacy summary{cursor:pointer;font-weight:600;font-size:17px}.sl-privacy-text{padding-top:24px;font-size:15px;overflow-wrap:anywhere}.sl-privacy-text h4{margin:26px 0 10px;font-size:17px}.sl-privacy-text li{margin:8px 0}.sl-privacy-text ol{padding-left:24px}#sl-form-status:not(:empty){border-left:4px solid #548713;padding:12px 16px;background:#edf3e5;font-size:16px}#sl-form-status:empty{display:none}@media(max-width:600px){.sl-form-grid{grid-template-columns:1fr;gap:18px}.sl-request h3{font-size:25px}.sl-request{padding:22px 18px}.sl-request input,.sl-request textarea{font-size:16px!important}}


/* Photographic visual identity */
.site-header{padding-top:5px;padding-bottom:5px}.brand-logo{max-width:350px;flex-basis:350px}.section{padding-top:56px;padding-bottom:56px}.section h2{font-size:clamp(30px,3.6vw,46px);margin-bottom:24px}.wp-block-columns{gap:24px;margin-top:28px}.hero{background:linear-gradient(90deg,rgba(13,29,22,.9) 0%,rgba(13,29,22,.73) 48%,rgba(13,29,22,.2) 100%),url('assets/fotovoltaico.jpg') center 58%/cover no-repeat;color:#fff;padding-top:72px;padding-bottom:65px;min-height:520px;box-sizing:border-box}.hero:before,.hero:after{display:none}.hero h1{font-size:clamp(42px,5.7vw,78px);max-width:960px;line-height:1.05;text-shadow:0 2px 20px #10201933}.hero .brand-accent{color:#c5e294}.hero>p:first-child{color:#d7eeb4}.hero>p{max-width:680px}.hero .wp-block-buttons{position:relative;z-index:1}.hero .wp-block-button__link{background:#c5e294;color:#17291a}.hero>p:last-child{margin-top:24px}.hero a{color:#fff}
#studio{background:linear-gradient(90deg,#fff 0%,#fff 49%,rgba(255,255,255,.94) 57%,rgba(255,255,255,.08) 78%),url('assets/edificio-efficiente.jpg') right center/auto 100% no-repeat;min-height:530px}#studio h2,#studio>p{max-width:56%}
#servizi{background:#f0f3ec}#servizi .wp-block-column{background:#fff;border:0;border-bottom:3px solid #548713;padding:24px;box-shadow:0 6px 20px #1c32120a}#servizi .wp-block-columns:first-of-type>.wp-block-column:before{content:"";display:block;height:170px;margin:-24px -24px 22px;background:center/cover no-repeat}#servizi .wp-block-columns:first-of-type>.wp-block-column:nth-child(1):before{background-image:url('assets/impianti.jpg')}#servizi .wp-block-columns:first-of-type>.wp-block-column:nth-child(2):before{background-image:url('assets/fotovoltaico.jpg')}#servizi .wp-block-columns:first-of-type>.wp-block-column:nth-child(3):before{background-image:url('assets/edificio-efficiente.jpg')}#servizi .wp-block-column h3{margin-top:0}
#zes{background:linear-gradient(100deg,rgba(23,43,25,.96),rgba(23,43,25,.77)),url('assets/fotovoltaico.jpg') center/cover no-repeat;color:#fff}#iperammortamento{background:linear-gradient(100deg,rgba(15,27,23,.95),rgba(15,27,23,.73)),url('assets/impianti.jpg') center/cover no-repeat;color:#fff}#zes a,#iperammortamento a{color:#e1f1c7}#zes h2:before,#iperammortamento h2:before{background:#b7d684}#zes .wp-block-column,#iperammortamento .wp-block-column{border-top:2px solid #b7d684;background:#ffffff0e;padding:22px}#zes .wp-block-column>p:first-child,#iperammortamento .wp-block-column>p:first-child{color:#d9ebc2}#zes .wp-block-button__link,#iperammortamento .wp-block-button__link{background:#c5e294;color:#17291a}
#qualifiche .wp-block-column{border-top:3px solid #548713;background:#f4f6f0;padding:22px}#metodo{background:#e7eddf}#metodo .wp-block-column>p:first-child{font-size:30px;color:#548713;font-weight:700;letter-spacing:-.03em;margin:0}.contact{border-bottom:0}.sl-form-section{padding-top:0}.sl-request{max-width:100%!important;box-sizing:border-box}
@media(max-width:900px){#studio{background:#fff;min-height:0}#studio:before{content:"";display:block;background:url('assets/edificio-efficiente.jpg') center/cover;height:240px;margin-bottom:30px}#studio h2,#studio>p{max-width:100%}.hero{background-position:65% center}.brand-logo{max-width:340px}}
@media(max-width:600px){.site-header{padding-top:3px;padding-bottom:8px}.site-header nav{gap:9px 14px}.hero{padding-top:46px;padding-bottom:42px;min-height:0;background-image:linear-gradient(90deg,rgba(13,29,22,.87),rgba(13,29,22,.66)),url('assets/fotovoltaico.jpg')}.hero h1{font-size:clamp(36px,10.2vw,54px)}.section{padding-top:38px;padding-bottom:38px}#studio:before{height:190px}#servizi .wp-block-columns:first-of-type>.wp-block-column:before{height:180px}.section h2{font-size:30px}.sl-form-section{padding-top:0}.hero>p{font-size:17px}.hero>p:first-child{font-size:11px}}

.sl-contact-cta .wp-block-button__link{background:#c5e294;color:#17291a}.sl-contact-cta{margin:24px 0 32px!important}
