/*
Theme Name: De Simone Atelier
Author: Simone
Description: Tema editoriale per De Simone Costruzioni, con pagine Elementor native.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: desimone-atelier
*/
/* De Simone — architecture editorial */
:root{--ink:#153e35;--paper:#f5f3ed;--stone:#dfded5;--accent:#b8cda0;--muted:#66736b;--line:#d4d9cf;--white:#fff;--font:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:6px}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400;line-height:1.07;letter-spacing:-.055em}h1{font-size:clamp(48px,6.6vw,100px)}h2{font-size:clamp(36px,4.7vw,66px)}h3{font-size:29px;letter-spacing:-.035em}p{max-width:660px}p+p{margin-top:20px}a:hover{color:#789967}.site-header{height:100px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--paper);position:relative;z-index:20;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px}.brand img{width:140px;height:65px;object-fit:contain}.brand-label{border-left:1px solid #a9b7ab;padding-left:15px;font-size:11px;letter-spacing:.13em;line-height:1.4;max-width:130px}.nav{display:flex;align-items:center;gap:30px;font-size:13px}.nav a{padding:8px 0}.nav a[aria-current=page]{border-bottom:1px solid var(--ink)}.nav .nav-cta{border:1px solid var(--ink);padding:12px 20px}.menu-toggle{display:none;background:none;border:1px solid var(--ink);padding:9px 14px}.ds-content{overflow:hidden}.ds-content .elementor-element{--widgets-spacing:0px;--container-widget-width:100%;--container-widget-flex-grow:0;--flex-wrap:nowrap}.ds-content .e-con{padding:0;gap:0;max-width:none;--container-max-width:100%;}.ds-content .e-con-inner{padding:0;max-width:none}.ds-content .elementor-widget{margin:0}.ds-content .elementor-heading-title{color:inherit;font-family:var(--font);font-weight:400;line-height:1.07;letter-spacing:-.055em}.ds-content .elementor-widget-text-editor{color:inherit;font-family:var(--font)}.ds-content .elementor-button{font-family:var(--font);background:transparent;border:0;border-radius:0;padding:0;color:inherit;font-size:inherit}.ds-content .elementor-button-text{flex-grow:0}.ds-content .elementor-widget-image img{width:100%;height:100%;object-fit:cover}.ds-content .elementor-widget-image a{display:block;height:100%}.ds-content .elementor-widget-image>.elementor-widget-container{height:100%}.ds-section,.ds-content .ds-section{padding:100px 7%;}.ds-row,.ds-content .ds-row{display:flex;flex-direction:row;gap:70px;align-items:center;width:100%}.ds-col,.ds-content .ds-col{display:flex;flex-direction:column;gap:24px;min-width:0;flex:1;width:100%}.eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.17em;display:block}.ds-content .eyebrow p{max-width:none}.hero,.ds-content .hero{position:relative;min-height:660px;height:calc(100svh - 100px);max-height:980px;background:linear-gradient(90deg,rgba(10,28,22,.75),rgba(10,28,22,.1)),url('assets/hero.jpg') center/cover;color:white;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:65px 7%;gap:26px}.hero h1{max-width:850px}.hero p{max-width:430px;color:#e6ece4}.hero .eyebrow{color:#c7d8b5}.hero-actions,.ds-content .hero-actions{display:flex;flex-direction:row;gap:24px;align-items:center;margin-top:12px;width:auto}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;padding:18px 24px;background:var(--ink);color:white;font-size:13px;line-height:1.4;transition:background .2s}.button:hover{background:#285a47;color:white}.ds-content .button>.elementor-widget-container{width:100%}.button .elementor-button{display:block;text-align:left}.button.light{background:var(--paper);color:var(--ink)}.button.line{border-bottom:1px solid currentColor;background:transparent;padding:16px 0}.hero .button.line{color:white}.hero-note{position:absolute;bottom:30px;right:7%;font-size:11px;letter-spacing:.09em}.intro-strip,.ds-content .intro-strip{display:flex;flex-direction:row;padding:24px 7%;border-bottom:1px solid var(--line);justify-content:space-between;gap:25px;font-size:12px;text-transform:uppercase;letter-spacing:.13em}.intro-strip span{color:var(--muted);margin-right:10px}.about-image{height:570px;position:relative;flex:1}.image-caption{font-size:11px;color:var(--muted);letter-spacing:.08em}.lead{font-size:19px;line-height:1.7;color:var(--muted)}.signature{border-top:1px solid var(--line);padding-top:22px;font-size:13px}.heading-row,.ds-content .heading-row{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:45px;margin-bottom:45px}.heading-row>.ds-col{max-width:620px}.heading-row .button{flex-shrink:0}.services,.ds-content .services{background:var(--ink);color:var(--paper)}.services .eyebrow{color:var(--accent)}.service-grid,.ds-content .service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:27px}.service-card,.ds-content .service-card{display:flex;flex-direction:column;gap:18px}.service-card .service-image{height:300px}.service-card h3{font-size:25px}.service-card p{font-size:14px;color:#c5d0c7}.service-number{font-size:11px;color:var(--accent);border-bottom:1px solid #527164;padding-bottom:12px}.project-grid,.ds-content .project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:50px 30px}.project-card,.ds-content .project-card{display:flex;flex-direction:column;gap:16px}.project-image{height:450px;overflow:hidden}.project-image img{transition:transform .6s}.project-image:hover img{transform:scale(1.035)}.project-card:nth-child(even){margin-top:70px}.project-card .eyebrow{color:var(--muted);font-size:10px}.project-card h3{font-size:28px}.method,.ds-content .method{background:#e8ebe0}.steps,.ds-content .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:52px}.step,.ds-content .step{display:flex;flex-direction:column;gap:20px;border-top:1px solid #b5c1b0;padding-top:25px}.step .step-num{font-size:50px;letter-spacing:-.06em;color:#7c9574}.step p{font-size:15px;color:#536451}.banner,.ds-content .banner{min-height:460px;background:linear-gradient(90deg,#123b32e8,#123b3270),url('assets/hero.jpg') center/cover;color:white;display:flex;flex-direction:column;gap:26px;align-items:flex-start;justify-content:center}.banner h2{max-width:740px}.cert-row,.ds-content .cert-row{display:flex;flex-direction:row;gap:35px;align-items:center;justify-content:space-between}.cert-intro{max-width:350px}.cert-label{font-size:20px;letter-spacing:-.03em;border-left:1px solid var(--line);padding-left:35px}.page-top,.ds-content .page-top{padding:70px 7% 75px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:24px}.page-top h1{max-width:1100px}.page-top .lead{max-width:700px}.breadcrumb{font-size:11px;color:var(--muted)}.wide-image{height:560px}.value-grid,.ds-content .value-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:50px 70px}.value,.ds-content .value{display:flex;flex-direction:column;gap:20px;padding-top:28px;border-top:1px solid var(--line)}.value p{color:var(--muted)}.gallery-grid,.ds-content .gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery-image{height:340px;overflow:hidden}.gallery-image img{transition:transform .4s}.gallery-image:hover img{transform:scale(1.04)}.cert-grid,.ds-content .cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.cert-card,.ds-content .cert-card{padding:34px;background:white;display:flex;flex-direction:column;gap:20px}.cert-logo{height:160px}.cert-logo img{object-fit:contain!important}.cert-card p{font-size:14px;color:var(--muted)}.contact-layout,.ds-content .contact-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:90px}.contact-list,.ds-content .contact-list{display:flex;flex-direction:column;gap:30px}.contact-detail{padding-bottom:24px;border-bottom:1px solid var(--line)}.contact-detail .eyebrow{margin-bottom:8px}.contact-detail a{font-size:clamp(17px,2vw,25px);word-break:break-word}.ds-form{background:white;padding:40px}.ds-form h2{font-size:32px;margin-bottom:22px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ds-form label{display:block;font-size:12px;margin-bottom:7px}.ds-form input:not([type=checkbox]),.ds-form textarea{width:100%;border:0;border-bottom:1px solid #9aaa9d;background:transparent;border-radius:0;padding:10px 0;color:var(--ink)}.ds-form .full{grid-column:1/-1}.ds-form textarea{min-height:120px;resize:vertical}.consent{display:flex!important;gap:10px;align-items:flex-start;margin:22px 0!important}.consent a{text-decoration:underline}.form-note{font-size:12px;color:var(--muted);margin-top:15px}.map-panel{padding:30px;background:#e4e9dc;margin-top:30px}.map-panel h3{margin-bottom:16px}.site-footer{background:#102e27;color:#edf1e8;padding:65px 7% 25px}.footer-top{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:65px;padding-bottom:55px}.footer-logo{width:180px;height:90px;object-fit:contain;background:var(--paper);padding:10px;margin-bottom:20px}.footer-top p{font-size:13px;color:#b8cbbd}.footer-top h3{font-size:17px;letter-spacing:0;margin-bottom:20px}.footer-top a{display:block;font-size:13px;margin-bottom:8px}.footer-bottom{border-top:1px solid #365349;padding-top:23px;display:flex;justify-content:space-between;font-size:10px;gap:20px;color:#b8cbbd}.footer-bottom a{display:inline;margin-left:20px}.lightbox{border:0;padding:0;background:#10251ff5;width:100vw;height:100vh;max-width:none;max-height:none;color:white}.lightbox::backdrop{background:#10251f}.lightbox img{height:calc(100% - 90px);object-fit:contain;padding:30px}.lightbox button{position:absolute;top:20px;right:25px;background:white;border:0;padding:8px 18px;color:var(--ink)}.lightbox p{text-align:center;max-width:none;font-size:13px}.skip{position:absolute;left:15px;top:-100px;background:white;padding:10px;z-index:100}.skip:focus{top:10px}.notice{padding:15px;background:#e8ebe0;margin-bottom:20px}.hp{position:absolute;left:-9999px}.ds-content .elementor-widget-heading h1{font-size:clamp(48px,6.6vw,100px)}.ds-content .elementor-widget-heading h2{font-size:clamp(36px,4.7vw,66px)}.ds-content .elementor-widget-heading h3{font-size:29px}.ds-content .service-card h3{font-size:25px}.ds-content .project-card h3{font-size:28px}.ds-content .cert-card h3{font-size:29px}
@media(min-width:1500px){.ds-section,.ds-content .ds-section{padding-left:max(7%,calc((100vw - 1320px)/2));padding-right:max(7%,calc((100vw - 1320px)/2))}}
@media(max-width:1050px){.brand-label{display:none}.nav{gap:18px}.ds-row,.ds-content .ds-row{gap:40px}.service-grid,.ds-content .service-grid{grid-template-columns:repeat(2,1fr);gap:40px 25px}.contact-layout,.ds-content .contact-layout{gap:40px}.cert-card,.ds-content .cert-card{padding:22px}.hero{min-height:600px}.project-image{height:350px}}
@media(max-width:760px){.site-header{height:82px;padding:0 6%}.brand img{width:125px;height:58px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:82px;left:0;right:0;background:var(--paper);padding:25px 6%;flex-direction:column;align-items:stretch;gap:13px;border-bottom:1px solid var(--line)}.nav.open{display:flex}.hero,.ds-content .hero{height:calc(100svh - 82px);min-height:610px;padding:45px 7%;background-position:60% center}.hero h1{font-size:55px}.hero-actions,.ds-content .hero-actions{flex-wrap:wrap;gap:10px 20px}.hero-note{display:none}.ds-section,.ds-content .ds-section{padding:65px 7%}.intro-strip,.ds-content .intro-strip{flex-direction:column;gap:10px;padding:22px 7%}.ds-row,.ds-content .ds-row{flex-direction:column;align-items:stretch;gap:35px}.about-image{height:420px;flex:auto}.heading-row,.ds-content .heading-row{flex-direction:column;align-items:flex-start;gap:25px}.service-grid,.ds-content .service-grid{grid-template-columns:1fr}.service-card .service-image{height:360px}.project-grid,.ds-content .project-grid{grid-template-columns:1fr}.project-card:nth-child(even){margin-top:0}.project-image{height:380px}.steps,.ds-content .steps{grid-template-columns:1fr;gap:30px}.cert-row,.ds-content .cert-row{flex-wrap:wrap;justify-content:flex-start;gap:22px}.cert-intro{flex-basis:100%}.cert-label{padding-left:15px;font-size:17px}.page-top,.ds-content .page-top{padding:45px 7%}.page-top h1{font-size:49px}.wide-image{height:400px}.value-grid,.ds-content .value-grid,.cert-grid,.ds-content .cert-grid,.contact-layout,.ds-content .contact-layout{grid-template-columns:1fr}.gallery-grid,.ds-content .gallery-grid{grid-template-columns:repeat(2,1fr);gap:12px}.gallery-image{height:230px}.ds-form{padding:25px}.fields{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr;gap:35px}.footer-bottom{flex-direction:column}.footer-bottom a{margin-left:0;margin-right:20px}.banner,.ds-content .banner{min-height:400px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.ds-content .elementor-widget-button{width:auto!important;align-self:flex-start}.ds-content .hero-actions .elementor-widget-button{flex-shrink:0}.ds-content .intro-strip .elementor-widget-text-editor{width:auto}.ds-content .hero .elementor-widget-heading{max-width:850px}.ds-content .hero .elementor-widget-text-editor:not(.eyebrow):not(.hero-note){max-width:430px}.ds-content .hero .hero-note{max-width:none}.ds-content .cert-row>.ds-col{max-width:350px}.ds-content .cert-label{width:auto!important}.ds-content .elementor-widget-container p:last-child{margin-bottom:0}.ds-content .gallery-image .elementor-widget-container{height:100%}.ds-content .banner h2{max-width:740px}.ds-content .heading-row>.elementor-widget-text-editor{max-width:420px}.ds-content .elementor-widget-shortcode{width:100%}
