:root{
  --red:#b51f2a;
  --red-dark:#941821;
  --ink:#2e3032;
  --ink-soft:#4d5052;
  --muted:#86898c;
  --paper:#f7f6f3;
  --paper-warm:#f2efe9;
  --warm:#ece8e1;
  --line:#dcd9d3;
  --line-dark:#b9b6b0;
  --max:1380px;
  --content:1180px;
  --serif:Georgia,'Times New Roman',serif;
  --sans:Arial,Helvetica,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.62;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{border-radius:0}
::selection{background:rgba(181,31,42,.16)}

/* HEADER */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(46,48,50,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.header-inner{max-width:var(--max);min-height:104px;margin:0 auto;padding:16px 34px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.brand{display:block;flex:0 1 300px}
.brand img{width:300px;max-width:100%}
.main-nav{display:flex;align-items:center;gap:34px;font-size:14px;letter-spacing:.13em;text-transform:uppercase;font-weight:600}
.main-nav a{position:relative;padding:12px 0;color:#46494b;transition:color .22s ease}
.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:5px;height:1px;background:var(--red);transition:right .22s ease}
.main-nav a:hover,.main-nav a.active{color:var(--red)}
.main-nav a:hover::after,.main-nav a.active::after{right:0}
.menu-toggle{display:none;border:0;background:transparent;width:44px;height:44px;padding:10px;cursor:pointer}
.menu-toggle span{display:block;height:1px;background:var(--ink);margin:8px 0;transition:transform .2s ease}

/* SHARED */
.section-shell,.hero,.section,.page-hero,.project-hero,.contact-layout{max-width:var(--max);margin:0 auto;padding-left:34px;padding-right:34px}
.eyebrow{margin:0 0 14px;color:var(--red);font-size:14px;line-height:1.4;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.small-rule{display:block;width:40px;height:2px;background:var(--red);margin:22px 0 26px}
.text-arrow,.mini-link,.arrow-link{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700;color:var(--red)}
.text-arrow span,.mini-link span{font-size:15px;line-height:1;transition:transform .2s ease}
.text-arrow:hover span,.mini-link:hover span{transform:translateX(4px)}
.arrow-link{border-bottom:1px solid var(--line);padding-bottom:7px;color:var(--ink)}
.arrow-link:hover{border-color:var(--red);color:var(--red)}
.button{display:inline-block;border:1px solid var(--red);background:var(--red);color:#fff;padding:15px 25px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s}
.button:hover{background:var(--red-dark);border-color:var(--red-dark)}
.outline-button{display:inline-block;border:1px solid rgba(255,255,255,.78);padding:14px 24px;color:#fff;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:700;transition:background .2s,color .2s}
.outline-button:hover{background:#fff;color:var(--ink)}
.rich-content{font-size:16px;line-height:1.75}
.rich-content p{margin:0 0 1.1em}
.rich-content p:last-child{margin-bottom:0}
.rich-content h2,.rich-content h3{font-family:var(--serif);font-weight:400;line-height:1.16;margin:2em 0 .7em}
.rich-content h2{font-size:38px}.rich-content h3{font-size:29px}
.rich-content a{text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:3px}
.media-empty{width:100%;height:100%;min-height:220px;background:linear-gradient(135deg,#ece9e3,#f8f7f4);position:relative}
.media-empty::after{content:"";position:absolute;inset:18%;border:1px solid #d3d0ca}
.empty-editorial{padding:56px;background:var(--paper);font-family:var(--serif);font-size:27px;line-height:1.35;color:#5c5f61}


/* Formattazione editoriale controllata da Backoffice */
.cms-accent,.cms-quote-mark{color:var(--red)}
.cms-quote-mark{font-family:var(--serif);font-weight:400}

/* HOME — HERO */
.home-hero-editorial{max-width:100%;margin:0;background:#111}
.home-hero-media{position:relative;min-height:610px;height:calc(100vh - 104px);max-height:760px;overflow:hidden;background:#2e2e2e}
.home-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;transform:scale(1.002)}
.home-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,12,12,.72) 0%,rgba(12,12,12,.5) 31%,rgba(12,12,12,.14) 62%,rgba(12,12,12,.03) 100%)}
.home-hero-copy{position:absolute;z-index:2;left:max(34px,calc((100vw - var(--max))/2 + 34px));top:50%;width:min(520px,calc(100% - 68px));transform:translateY(-50%);color:#fff}
.hero-kicker{margin:0 0 18px;font-size:10px;font-weight:700;letter-spacing:.22em;color:rgba(255,255,255,.82)}
.home-hero-copy h1{margin:0;font-family:var(--serif);font-size:clamp(52px,5.4vw,80px);font-weight:400;line-height:1.02;letter-spacing:-.035em;text-shadow:0 2px 24px rgba(0,0,0,.2)}
.hero-rule{display:block;width:44px;height:2px;background:var(--red);margin:25px 0 20px}
.hero-summary{max-width:360px;margin:0 0 25px;font-size:16px;line-height:1.58;color:rgba(255,255,255,.91)}

/* HOME — ABOUT */
.home-about{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:86px;align-items:center;padding-top:82px;padding-bottom:82px}
.home-about-copy{padding-left:64px;max-width:610px}
.home-about-copy h2{max-width:520px;margin:0;font-family:var(--serif);font-size:clamp(38px,4.3vw,58px);font-weight:400;line-height:1.08;letter-spacing:-.025em}
.home-about-text{max-width:570px;color:#66696b;font-size:15px;line-height:1.68}
.home-about-copy .text-arrow{margin-top:24px}
.home-about-media{min-height:370px;overflow:hidden;background:var(--paper)}
.home-about-media img{width:100%;height:100%;min-height:370px;max-height:470px;object-fit:cover}

/* HOME — PROJECTS */
.home-projects{border-top:1px solid #eeeae5;padding-top:68px;padding-bottom:76px}
.home-section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:30px;padding-left:64px;padding-right:64px}
.home-section-heading h2{margin:0;font-family:var(--serif);font-size:clamp(36px,3.4vw,49px);font-weight:400;line-height:1.08}
.home-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0 64px}
.home-project-card{min-width:0}
.home-project-card a{display:block}
.home-project-media{aspect-ratio:1.32/1;background:var(--paper);overflow:hidden}
.home-project-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}
.home-project-card:hover .home-project-media img{transform:scale(1.025);filter:contrast(1.02)}
.home-project-caption{padding-top:12px;border-bottom:1px solid #e8e5df;min-height:73px}
.home-project-caption h3{margin:0;font-family:var(--serif);font-size:19px;font-weight:400;line-height:1.2}
.home-project-caption p{margin:5px 0 10px;color:var(--muted);font-size:9px;letter-spacing:.1em;text-transform:uppercase}

/* HOME — SERVICES */
.home-services-wrap{border-top:1px solid #eeeae5;border-bottom:1px solid #eeeae5;background:#fff}
.home-services{padding-top:46px;padding-bottom:42px}
.home-services>.eyebrow{padding-left:64px}
.home-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 64px}
.home-service-card{padding:22px 28px 24px;border-left:1px solid #ece9e4;border-top:1px solid transparent}
.home-service-grid .home-service-card:first-child{border-left:0}
.home-service-media{display:block;margin:-22px -28px 18px;aspect-ratio:4/3;overflow:hidden;background:var(--paper)}.home-service-media picture,.home-service-media img{display:block;width:100%;height:100%}.home-service-media img{object-fit:cover}
.service-icon{width:44px;height:44px;margin-bottom:15px;color:#7e8183}
.service-icon svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linejoin:round;stroke-linecap:round}
.home-service-card h3{margin:0 0 8px;font-family:var(--serif);font-size:19px;font-weight:400;line-height:1.25}
.home-service-card p{min-height:62px;margin:0 0 10px;color:#66696b;font-size:16px;line-height:1.55}
.mini-link{font-size:12px}

/* HOME — METHOD */
.home-method{display:grid;grid-template-columns:190px 1fr;gap:28px;align-items:start;padding-top:42px;padding-bottom:48px}
.home-method>.eyebrow{padding-left:64px;margin-top:8px}
.method-grid{display:grid;grid-template-columns:repeat(4,1fr);padding-right:64px}
.method-grid article{position:relative;padding:0 28px;border-left:1px solid #e2dfd9}
.method-grid article:first-child{border-left:0;padding-left:0}
.method-grid span{display:block;margin-bottom:4px;font-family:var(--serif);font-size:30px;line-height:1;color:#66696b}
.method-grid h3{margin:0 0 6px;font-family:var(--serif);font-size:17px;font-weight:400}
.method-grid p{margin:0;color:#66696b;font-size:10px;line-height:1.55;max-width:185px}
.method-grid article:not(:last-child)::after{content:"›";position:absolute;right:-5px;top:18px;color:#b4b1ab;font-family:var(--serif);font-size:30px;font-weight:300;background:#fff;padding:0 5px}

/* HOME — STATEMENT + CTA */
.home-statement{background:linear-gradient(90deg,#f3f0eb,#f8f6f2);border-top:1px solid #ece8e1;border-bottom:1px solid #e7e3dc}
.statement-inner{min-height:126px;display:grid;grid-template-columns:72px 1fr 270px;align-items:center;gap:28px;padding-top:24px;padding-bottom:24px;padding-left:98px;padding-right:98px}
.statement-mark{font-family:var(--serif);font-size:82px;line-height:.8;color:var(--red);transform:translateY(8px)}
.statement-inner p{margin:0;font-family:var(--serif);font-size:clamp(24px,2.7vw,38px);line-height:1.18;color:#5b5e60}
.statement-sign{border-left:1px solid #c9c5be;padding-left:36px;font-family:var(--serif);font-size:21px;font-style:italic;color:#6c6f71}
.home-contact-cta{background:#fff}
.cta-inner{display:grid;grid-template-columns:1.2fr .72fr auto;gap:42px;align-items:center;min-height:116px;padding-top:25px;padding-bottom:25px;padding-left:98px;padding-right:98px}
.cta-inner h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(27px,2.6vw,38px);line-height:1.12}
.cta-inner p{margin:0;color:#66696b;font-size:16px;line-height:1.55}

/* GENERIC ARCHIVE / PAGE */
.section{padding-top:100px;padding-bottom:100px}
.section-head{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:30px;align-items:start;margin-bottom:54px}
.section-head h2{font-family:var(--serif);font-size:clamp(34px,4vw,62px);font-weight:400;line-height:1.08;margin:0;max-width:760px}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:62px 28px}
.project-card a{display:block}
.project-media,.article-image{aspect-ratio:4/3;background:var(--paper);overflow:hidden}
.project-media img,.article-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.project-card:hover img,.article-grid article:hover img{transform:scale(1.02)}
.project-meta{display:flex;justify-content:space-between;gap:20px;padding-top:14px}
.project-meta h2,.project-meta h3{font-family:var(--serif);font-size:25px;font-weight:400;margin:0}
.project-meta p{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.09em;margin:6px 0 0;text-align:right}
.page-hero{padding-top:88px;padding-bottom:65px}
.page-hero h1,.project-hero h1{max-width:1050px;margin:0 0 23px;font-family:var(--serif);font-size:clamp(48px,6vw,84px);font-weight:400;line-height:1.02;letter-spacing:-.035em}
.page-intro{max-width:800px;margin:0;color:#66696b;font-size:clamp(18px,2vw,24px);line-height:1.55}
.page-hero-image,.project-cover{max-width:var(--max);margin:0 auto 85px;padding:0 34px}
.page-hero-image img,.project-cover img{width:100%;max-height:760px;object-fit:cover}
.content-narrow{max-width:900px;margin:0 auto;padding:0 34px 100px}
.content-section{max-width:var(--max);margin:0 auto 110px;padding:0 34px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.content-section.pos-left .section-media{order:-1}
.content-section.pos-full{display:block}
.content-section.pos-full .section-media{margin-bottom:45px}
.section-media img{width:100%}
.section-copy h2{font-family:var(--serif);font-size:48px;font-weight:400;line-height:1.1;margin:0 0 24px}
.project-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:40px}
.project-filters button{border:1px solid var(--line);background:#fff;padding:9px 14px;text-transform:uppercase;font-size:10px;letter-spacing:.1em;cursor:pointer;color:var(--ink)}
.project-filters button.active,.project-filters button:hover{border-color:var(--red);color:var(--red)}
.project-hero{padding-top:88px;padding-bottom:48px;display:grid;grid-template-columns:1fr 310px;gap:80px;align-items:end}
.project-hero dl{margin:0}
.project-hero dl div{display:grid;grid-template-columns:90px 1fr;border-top:1px solid var(--line);padding:12px 0}
.project-hero dt{font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:.09em}
.project-hero dd{margin:0;font-size:14px}
.project-text{padding-top:8px}
.project-gallery{max-width:var(--max);margin:0 auto;padding:0 34px 100px;display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.project-gallery figure{margin:0}
.project-gallery figure:nth-child(3n){grid-column:1/-1}
.project-gallery img{width:100%}
.project-gallery figcaption{font-size:11px;color:var(--muted);padding-top:8px}
.project-next{max-width:900px;margin:0 auto;padding:0 34px 95px}
.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.service-cards article{background:#fff;padding:40px;min-height:340px}
.service-cards span{color:var(--red);font-size:11px}
.service-cards h2{font-family:var(--serif);font-size:31px;font-weight:400;line-height:1.15}
.service-cards p{color:#66696b;font-size:14px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 25px}
.article-grid h2{font-family:var(--serif);font-size:29px;font-weight:400;line-height:1.15;margin:10px 0}
.article-grid .eyebrow{margin-top:15px;margin-bottom:0}
.article-grid p:last-child{color:#666}

/* CONTACT */
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:88px;padding-bottom:100px}
.contact-layout address{font-style:normal;margin-top:36px}
.contact-form{background:var(--paper);padding:38px}
.contact-form label{display:block;font-size:12px;letter-spacing:.03em;margin-bottom:18px}
.contact-form input,.contact-form textarea{width:100%;border:0;border-bottom:1px solid #bbb;background:transparent;padding:10px 0;outline:none}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--red)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.privacy-check{display:flex!important;gap:12px;align-items:flex-start}.privacy-check input{width:16px!important;height:16px;flex:0 0 16px;margin:3px 0 0}.privacy-check .privacy-copy{display:block;min-width:0;flex:1 1 auto;line-height:1.6;overflow-wrap:anywhere}.privacy-check .privacy-copy a{display:inline;text-decoration:underline;text-underline-offset:2px}
.hp{position:absolute!important;left:-9999px!important}.form-status{font-size:13px}

/* FLEXIBLE PAGE SECTIONS */
.page-full-image{max-width:var(--max);margin:0 auto 100px;padding:0 34px}.page-full-image img{width:100%;max-height:900px;object-fit:cover}
.page-gallery{max-width:var(--max);margin:0 auto 100px;padding:0 34px;display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.page-gallery figure{margin:0}.page-gallery img{width:100%;height:100%;object-fit:cover}.page-gallery figure:nth-child(3n){grid-column:1/-1}
.quote-section{max-width:1050px;margin:0 auto 100px;padding:30px 34px}
.quote-section blockquote{margin:0;font-family:var(--serif);font-size:clamp(32px,4vw,56px);line-height:1.25;font-weight:400}
.quote-section cite{display:block;font-family:var(--sans);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--red);font-style:normal;margin-top:25px}
.contact-band{background:var(--ink);color:#fff;padding:90px max(34px,calc((100vw - var(--max))/2 + 34px))}
.contact-band .eyebrow{color:#e78087}.contact-band h2{max-width:900px;margin:0 0 28px;font-family:var(--serif);font-size:clamp(40px,6vw,76px);font-weight:400;line-height:1.04}

/* FOOTER */
.site-footer{background:#2d2f30;color:#e8e8e6;padding:48px max(34px,calc((100vw - var(--max))/2 + 34px)) 18px}
.footer-grid{display:grid;grid-template-columns:1.4fr .9fr 1fr 1fr;gap:56px}
.footer-logo{width:min(260px,100%);opacity:.96;margin-bottom:17px}
.site-footer h2{margin:0 0 15px;font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#fff}
.site-footer p{margin:0 0 12px;font-size:14px;line-height:1.7;color:#d0d0ce}
.site-footer a:hover{color:#fff}
.footer-muted{color:#969897!important}
.cookie-link{border:0;background:none;padding:0;color:inherit;cursor:pointer;font-size:inherit}
.footer-bottom{border-top:1px solid rgba(255,255,255,.13);margin-top:35px;padding-top:15px;display:flex;justify-content:space-between;gap:20px;color:#a3a5a5;font-size:10px}
.footer-bottom-right{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.footer-credit{color:#a3a5a5;text-decoration:none;transition:color .2s ease}.footer-credit:hover,.footer-credit:focus-visible{color:#fff}.footer-credit-separator{opacity:.55}

/* COOKIE CONSENT */
.cookie-banner{position:fixed;inset:0;z-index:100;background:rgba(25,25,25,.48);display:grid;place-items:end center;padding:20px}
.cookie-banner[hidden]{display:none}
.cookie-card{width:min(820px,100%);background:#fff;padding:30px 32px;box-shadow:0 20px 70px rgba(0,0,0,.2);position:relative}
.cookie-card .eyebrow{margin-bottom:8px}.cookie-card h2{font-family:var(--serif);font-size:31px;font-weight:400;margin:0 0 10px}.cookie-card>p:not(.eyebrow){margin:0 40px 20px 0;color:#66696b;font-size:13px}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie-actions button,.cookie-custom button{border:0;background:var(--red);color:#fff;padding:11px 16px;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:700;cursor:pointer}
.cookie-actions .secondary{background:var(--ink)}.cookie-actions .text-button{background:#fff;color:var(--ink);border:1px solid var(--line)}
.cookie-close{position:absolute;right:10px;top:6px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;background:none;font-size:26px;cursor:pointer;color:#555}
.cookie-custom{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.cookie-custom label{display:flex;gap:10px;margin:10px 0;font-size:13px}.cookie-custom small{color:var(--muted)}

/* TABLET */

/* Home gallery: editorial composition controlled from Backoffice > Modifica pagina */
.home-gallery{border-top:1px solid #eeeae5;padding-top:68px;padding-bottom:82px}
.home-gallery-heading{display:grid;grid-template-columns:minmax(0,.82fr) minmax(280px,.58fr);gap:72px;align-items:end;margin-bottom:30px;padding:0 64px}
.home-gallery-heading h2{margin:0;font-family:var(--serif);font-size:clamp(36px,3.4vw,49px);font-weight:400;line-height:1.08;letter-spacing:-.02em}
.home-gallery-intro{max-width:520px;color:#707375;font-size:13px;line-height:1.65}
.home-gallery-intro p:first-child{margin-top:0}.home-gallery-intro p:last-child{margin-bottom:0}
.home-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(190px,17vw);gap:12px;padding:0 64px}
.home-gallery-item{position:relative;margin:0;overflow:hidden;background:var(--paper)}
.home-gallery-item:first-child{grid-column:span 2;grid-row:span 2}
.home-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s ease,filter .55s ease}
.home-gallery-item:hover img{transform:scale(1.018);filter:contrast(1.015)}
.home-gallery-grid.count-1 .home-gallery-item:first-child{grid-column:1/-1;grid-row:span 2}
.home-gallery-grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(270px,26vw)}
.home-gallery-grid.count-2 .home-gallery-item:first-child{grid-column:auto;grid-row:auto}
.home-gallery-grid.count-3 .home-gallery-item:first-child{grid-column:span 2;grid-row:span 2}

@media(max-width:1100px){
  .header-inner{min-height:88px}
  .brand{flex-basis:265px}.brand img{width:265px}
  .main-nav{gap:22px;font-size:11px}
  .home-hero-media{height:650px;min-height:580px;max-height:none}
  .home-about{grid-template-columns:1fr 1fr;gap:52px}.home-about-copy{padding-left:25px}
  .home-section-heading,.home-project-grid,.home-services>.eyebrow,.home-service-grid{padding-left:25px;padding-right:25px}
  .home-gallery-heading,.home-gallery-grid{padding-left:25px;padding-right:25px}.home-gallery-heading{gap:45px}
  .home-service-card{padding-left:20px;padding-right:20px}
  .home-method{grid-template-columns:150px 1fr}.home-method>.eyebrow{padding-left:25px}.method-grid{padding-right:25px}.method-grid article{padding:0 20px}
  .statement-inner,.cta-inner{padding-left:55px;padding-right:55px}
  .statement-inner{grid-template-columns:62px 1fr 215px}
}
@media(max-width:920px){
  .menu-toggle{display:block;position:relative;z-index:2}
  .main-nav{position:fixed;top:88px;left:0;right:0;display:none;flex-direction:column;align-items:flex-start;gap:6px;background:#fff;border-bottom:1px solid var(--line);padding:24px 34px 30px;box-shadow:0 14px 30px rgba(0,0,0,.06)}
  .main-nav.open{display:flex}.main-nav a{width:100%;padding:11px 0}.main-nav a::after{bottom:7px}
  .home-hero-copy{left:48px;width:min(490px,calc(100% - 96px))}
  .home-about{grid-template-columns:1fr;gap:34px;padding-top:65px;padding-bottom:65px}.home-about-copy{padding-left:34px;padding-right:34px}.home-about-media{margin:0 34px;min-height:330px}.home-about-media img{min-height:330px}
  .home-project-grid{grid-template-columns:repeat(2,1fr);gap:28px 18px}.home-project-caption{min-height:65px}
  .home-gallery{padding-top:60px;padding-bottom:68px}.home-gallery-heading{grid-template-columns:1fr;gap:16px;padding-left:34px;padding-right:34px}.home-gallery-intro{max-width:680px}.home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(210px,30vw);padding-left:34px;padding-right:34px}.home-gallery-item:first-child{grid-column:span 2;grid-row:span 1}
  .home-service-grid{grid-template-columns:repeat(2,1fr);gap:0}.home-service-card{border-left:0;border-top:1px solid #ece9e4;padding:28px 24px}.home-service-card:nth-child(odd){border-right:1px solid #ece9e4}.home-service-card:nth-child(-n+2){border-top:0}
  .home-service-card:first-child{padding:28px 24px}.home-service-card:last-child{padding:28px 24px}
  .home-method{grid-template-columns:1fr;padding-top:45px}.home-method>.eyebrow{padding-left:34px}.method-grid{padding:0 34px}.method-grid article{padding:0 16px}.method-grid article:first-child{padding-left:0}
  .statement-inner{grid-template-columns:55px 1fr;padding-left:48px;padding-right:48px}.statement-sign{grid-column:2;border-left:0;border-top:1px solid #c9c5be;padding:13px 0 0;margin-top:-5px}
  .cta-inner{grid-template-columns:1fr auto;padding-left:48px;padding-right:48px}.cta-inner>div:nth-child(2){grid-column:1}
  .project-grid{grid-template-columns:repeat(2,1fr)}.service-cards,.article-grid{grid-template-columns:repeat(2,1fr)}
  .project-hero,.contact-layout{grid-template-columns:1fr;gap:35px}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}.footer-grid>div:last-child{grid-column:2/4}
}

/* MOBILE */
@media(max-width:680px){
  .header-inner{min-height:72px;padding:12px 18px;gap:18px}.brand{flex-basis:230px}.brand img{width:230px;max-width:72vw}.main-nav{top:72px;padding:20px 20px 25px}
  .section-shell,.hero,.section,.page-hero,.project-hero,.contact-layout,.page-hero-image,.project-cover,.content-narrow,.content-section,.project-gallery,.project-next{padding-left:20px;padding-right:20px}
  .home-hero-media{height:590px;min-height:590px}.home-hero-image{object-position:52% 48%}.home-hero-shade{background:linear-gradient(90deg,rgba(12,12,12,.78),rgba(12,12,12,.48) 66%,rgba(12,12,12,.2))}.home-hero-copy{left:24px;width:calc(100% - 48px)}.home-hero-copy h1{font-size:47px}.hero-kicker{font-size:9px}.hero-summary{max-width:290px;font-size:14px}
  .home-about{padding:55px 20px;gap:30px}.home-about-copy{padding:0}.home-about-copy h2{font-size:41px}.home-about-media{margin:0;min-height:270px}.home-about-media img{min-height:270px;max-height:350px}
  .home-projects{padding-top:54px;padding-bottom:58px}.home-section-heading{display:block;padding:0}.home-section-heading .text-arrow{margin-top:18px}.home-project-grid{grid-template-columns:1fr;padding:0;gap:30px}.home-project-media{aspect-ratio:4/3}.home-project-caption{min-height:0;padding-bottom:8px}
  .home-gallery{padding:52px 20px 58px}.home-gallery-heading{display:block;padding:0;margin-bottom:24px}.home-gallery-intro{margin-top:16px}.home-gallery-grid,.home-gallery-grid.count-2{grid-template-columns:1fr;grid-auto-rows:auto;padding:0;gap:10px}.home-gallery-item,.home-gallery-item:first-child,.home-gallery-grid.count-1 .home-gallery-item:first-child,.home-gallery-grid.count-2 .home-gallery-item:first-child,.home-gallery-grid.count-3 .home-gallery-item:first-child{grid-column:auto;grid-row:auto}.home-gallery-item img{height:auto;aspect-ratio:4/3;object-fit:cover}
  .home-services{padding-top:42px;padding-bottom:38px}.home-services>.eyebrow{padding:0}.home-service-grid{grid-template-columns:1fr;padding:0}.home-service-card,.home-service-card:first-child,.home-service-card:last-child{padding:26px 0;border:0;border-top:1px solid #ece9e4}.home-service-card:first-child{border-top:0}.home-service-card:nth-child(odd){border-right:0}.home-service-card p{min-height:0}
  .home-method{display:block;padding-top:42px;padding-bottom:42px}.home-method>.eyebrow{padding:0}.method-grid{grid-template-columns:1fr;padding:0}.method-grid article,.method-grid article:first-child{padding:20px 0;border-left:0;border-top:1px solid #e2dfd9}.method-grid article:first-child{border-top:0}.method-grid article::after{display:none}.method-grid p{max-width:none;font-size:11px}
  .statement-inner{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:30px 20px}.statement-mark{font-size:60px}.statement-inner p{font-size:27px}.statement-sign{grid-column:2;font-size:17px;padding-top:12px}
  .cta-inner{display:block;min-height:0;padding:38px 20px}.cta-inner h2{font-size:31px}.cta-inner p{margin:18px 0 24px}.cta-inner .button{width:100%;text-align:center}
  .section{padding-top:70px;padding-bottom:70px}.section-head{grid-template-columns:1fr}.page-hero{padding-top:60px;padding-bottom:45px}.page-hero h1,.project-hero h1{font-size:47px}.project-grid,.project-gallery,.service-cards,.article-grid{grid-template-columns:1fr}.project-gallery figure:nth-child(3n){grid-column:auto}.project-meta{display:block}.project-meta p{text-align:left}.service-cards article{min-height:0;padding:28px}.content-section{display:block;margin-bottom:75px}.section-media{margin-bottom:28px}.section-copy h2{font-size:38px}
  .form-row{grid-template-columns:1fr;gap:0}.contact-form{padding:24px}.privacy-check{gap:10px}.privacy-check .privacy-copy{font-size:12px;line-height:1.55}.page-full-image,.page-gallery,.quote-section{padding-left:20px;padding-right:20px}.page-gallery{grid-template-columns:1fr}.page-gallery figure:nth-child(3n){grid-column:auto}.contact-band{padding:65px 20px}
  .site-footer{padding:42px 20px 18px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-grid>div:last-child{grid-column:auto}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:5px}
  .cookie-banner{padding:8px}.cookie-card{padding:25px 18px}.cookie-card>p:not(.eyebrow){margin-right:22px}.cookie-actions{display:grid}.cookie-actions button{width:100%}
}

/* ========================================================================
   VISUAL BUILDER V3 - FRONT END
   ======================================================================== */
.builder-block{border-top:1px solid #eeeae5}.builder-inner{width:min(var(--max),100%);margin:0 auto}.builder-spacing-compact{padding-top:34px;padding-bottom:34px}.builder-spacing-standard{padding-top:68px;padding-bottom:68px}.builder-spacing-large{padding-top:104px;padding-bottom:104px}.builder-tone-white{background:#fff}.builder-tone-soft{background:#f6f5f2}.builder-tone-warm{background:#f4f0ea}.builder-width-narrow .builder-inner{max-width:900px}.builder-width-standard .builder-inner{max-width:var(--max)}.builder-width-wide .builder-inner{max-width:1440px}.builder-text-center .builder-copy-block{text-align:center;margin-left:auto;margin-right:auto}.builder-text-center .builder-copy-block .eyebrow{justify-content:center}.builder-content-section{display:grid;gap:clamp(36px,6vw,82px);align-items:center;padding-left:64px;padding-right:64px}.builder-content-section.pos-left{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.builder-content-section.pos-left .section-media{order:0}.builder-content-section.pos-left .section-copy{order:1}.builder-content-section.pos-right{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.builder-content-section.pos-right .section-copy{order:0}.builder-content-section.pos-right .section-media{order:1}.builder-content-section.pos-full{grid-template-columns:1fr}.builder-content-section.pos-full .section-media,.builder-content-section.pos-full .section-copy{order:initial}.builder-media-small .builder-content-section.pos-left{grid-template-columns:minmax(280px,.62fr) minmax(0,1fr)}.builder-media-small .builder-content-section.pos-right{grid-template-columns:minmax(0,1fr) minmax(280px,.62fr)}.builder-media-large .builder-content-section.pos-left{grid-template-columns:minmax(0,1.62fr) minmax(300px,1fr)}.builder-media-large .builder-content-section.pos-right{grid-template-columns:minmax(300px,1fr) minmax(0,1.62fr)}.builder-valign-top .builder-content-section{align-items:start}.builder-valign-center .builder-content-section{align-items:center}.builder-valign-bottom .builder-content-section{align-items:end}.builder-copy-block h2,.builder-content-section h2{font-family:var(--serif);font-weight:400;line-height:1.08;letter-spacing:-.02em}.builder-copy-block{max-width:760px}.builder-image-frame{overflow:hidden;background:var(--paper)}.builder-image-frame img{display:block;width:100%;height:100%;object-fit:cover}.builder-ratio-landscape .builder-image-frame{aspect-ratio:4/3}.builder-ratio-wide .builder-image-frame{aspect-ratio:16/9}.builder-ratio-square .builder-image-frame{aspect-ratio:1/1}.builder-ratio-portrait .builder-image-frame{aspect-ratio:3/4}.builder-ratio-auto .builder-image-frame img{height:auto}.builder-gallery-grid{display:grid;gap:18px;padding-left:64px;padding-right:64px;margin-top:30px}.builder-gallery-2 .builder-gallery-grid,.builder-gallery-2 .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-gallery-3 .builder-gallery-grid,.builder-gallery-3 .home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-gallery-4 .builder-gallery-grid,.builder-gallery-4 .home-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.builder-full-image>.page-full-image{width:100%;max-width:none}.builder-full-image>.content-narrow{margin-top:38px}.builder-block .quote-section,.builder-block .contact-band{margin-top:0;margin-bottom:0}.builder-block .contact-band{max-width:960px;margin-left:auto;margin-right:auto}

/* The special Home Studio block also obeys builder layout controls. */
.home-about.builder-spacing-compact{padding-top:40px;padding-bottom:40px}.home-about.builder-spacing-standard{padding-top:82px;padding-bottom:82px}.home-about.builder-spacing-large{padding-top:116px;padding-bottom:116px}.home-about.builder-tone-soft{background:#f6f5f2}.home-about.builder-tone-warm{background:#f4f0ea}.home-about.pos-left .home-about-media{order:0}.home-about.pos-left .home-about-copy{order:1}.home-about.pos-right .home-about-copy{order:0}.home-about.pos-right .home-about-media{order:1}.home-about.builder-media-small{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.home-about.builder-media-large{grid-template-columns:minmax(320px,.7fr) minmax(0,1.3fr)}.home-about.builder-valign-top{align-items:start}.home-about.builder-valign-bottom{align-items:end}.home-about.builder-text-center .home-about-copy{text-align:center}.home-about.builder-text-center .small-rule{margin-left:auto;margin-right:auto}.home-about.builder-ratio-landscape .home-about-media{aspect-ratio:4/3;min-height:0}.home-about.builder-ratio-wide .home-about-media{aspect-ratio:16/9;min-height:0}.home-about.builder-ratio-square .home-about-media{aspect-ratio:1/1;min-height:0}.home-about.builder-ratio-portrait .home-about-media{aspect-ratio:3/4;min-height:0}.home-about.builder-ratio-landscape .home-about-media img,.home-about.builder-ratio-wide .home-about-media img,.home-about.builder-ratio-square .home-about-media img,.home-about.builder-ratio-portrait .home-about-media img{min-height:0;max-height:none;height:100%}

/* Home grid controls from visual builder */
.home-projects.home-project-cols-2 .home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-projects.home-project-cols-3 .home-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-projects.home-project-cols-4 .home-project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-services-wrap.home-service-cols-2 .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-services-wrap.home-service-cols-3 .home-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-services-wrap.home-service-cols-4 .home-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-services-wrap.home-service-cols-5 .home-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home-services-wrap.home-service-cols-6 .home-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.home-services-wrap.home-service-cols-2 .home-service-card:nth-child(2n+1),.home-services-wrap.home-service-cols-3 .home-service-card:nth-child(3n+1),.home-services-wrap.home-service-cols-4 .home-service-card:nth-child(4n+1),.home-services-wrap.home-service-cols-5 .home-service-card:nth-child(5n+1),.home-services-wrap.home-service-cols-6 .home-service-card:nth-child(6n+1){border-left:0}
.home-services-wrap.home-service-cols-2 .home-service-card:nth-child(n+3),.home-services-wrap.home-service-cols-3 .home-service-card:nth-child(n+4),.home-services-wrap.home-service-cols-4 .home-service-card:nth-child(n+5),.home-services-wrap.home-service-cols-5 .home-service-card:nth-child(n+6),.home-services-wrap.home-service-cols-6 .home-service-card:nth-child(n+7){border-top-color:#ece9e4}
@media(max-width:980px){.builder-content-section,.home-about{grid-template-columns:1fr!important;gap:36px}.builder-content-section.pos-left .section-media,.builder-content-section.pos-right .section-media,.home-about.pos-left .home-about-media,.home-about.pos-right .home-about-media{order:0}.builder-content-section.pos-left .section-copy,.builder-content-section.pos-right .section-copy,.home-about.pos-left .home-about-copy,.home-about.pos-right .home-about-copy{order:1}.builder-content-section,.builder-gallery-grid{padding-left:34px;padding-right:34px}.builder-gallery-4 .builder-gallery-grid,.builder-gallery-4 .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-projects.home-project-cols-3 .home-project-grid,.home-projects.home-project-cols-4 .home-project-grid,.home-services-wrap.home-service-cols-2 .home-service-grid,.home-services-wrap.home-service-cols-3 .home-service-grid,.home-services-wrap.home-service-cols-4 .home-service-grid,.home-services-wrap.home-service-cols-5 .home-service-grid,.home-services-wrap.home-service-cols-6 .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-services-wrap .home-service-card{border-left:0;border-top:1px solid #ece9e4}.home-services-wrap .home-service-card:nth-child(odd){border-right:1px solid #ece9e4}.home-services-wrap .home-service-card:nth-child(-n+2){border-top:0}}
@media(max-width:640px){.builder-spacing-compact{padding-top:28px;padding-bottom:28px}.builder-spacing-standard{padding-top:48px;padding-bottom:48px}.builder-spacing-large{padding-top:70px;padding-bottom:70px}.builder-content-section,.builder-gallery-grid{padding-left:20px;padding-right:20px}.builder-gallery-2 .builder-gallery-grid,.builder-gallery-3 .builder-gallery-grid,.builder-gallery-4 .builder-gallery-grid,.builder-gallery-2 .home-gallery-grid,.builder-gallery-3 .home-gallery-grid,.builder-gallery-4 .home-gallery-grid{grid-template-columns:1fr}.home-projects.home-project-cols-2 .home-project-grid,.home-projects.home-project-cols-3 .home-project-grid,.home-projects.home-project-cols-4 .home-project-grid,.home-services-wrap.home-service-cols-2 .home-service-grid,.home-services-wrap.home-service-cols-3 .home-service-grid,.home-services-wrap.home-service-cols-4 .home-service-grid,.home-services-wrap.home-service-cols-5 .home-service-grid,.home-services-wrap.home-service-cols-6 .home-service-grid{grid-template-columns:1fr}.home-services-wrap .home-service-card,.home-services-wrap .home-service-card:nth-child(odd){border-right:0;border-left:0;border-top:1px solid #ece9e4}.home-services-wrap .home-service-card:first-child{border-top:0}}

/* V3.2 - percentuale immagine personalizzata per singola sezione */
.builder-has-media-percent .builder-content-section.pos-left,.builder-has-media-percent .builder-content-section.pos-right{display:flex;grid-template-columns:none}
.builder-has-media-percent .builder-content-section .section-media{flex:0 1 var(--builder-media-percent,50%);width:var(--builder-media-percent,50%);min-width:0}
.builder-has-media-percent .builder-content-section .section-copy{flex:0 1 calc(100% - var(--builder-media-percent,50%));min-width:0}
.home-about.builder-has-media-percent{display:flex;grid-template-columns:none}
.home-about.builder-has-media-percent .home-about-media{flex:0 1 var(--builder-media-percent,50%);width:var(--builder-media-percent,50%);min-width:0}
.home-about.builder-has-media-percent .home-about-copy{flex:0 1 calc(100% - var(--builder-media-percent,50%));min-width:0}
.builder-media-percent-zero .builder-content-section .section-media,.home-about.builder-media-percent-zero .home-about-media{display:none}
.builder-media-percent-zero .builder-content-section .section-copy,.home-about.builder-media-percent-zero .home-about-copy{flex:1 1 100%;width:100%;max-width:none}
.builder-media-percent-full .builder-content-section.pos-left,.builder-media-percent-full .builder-content-section.pos-right,.home-about.builder-media-percent-full{display:grid;grid-template-columns:1fr}
.builder-media-percent-full .builder-content-section .section-media,.builder-media-percent-full .builder-content-section .section-copy,.home-about.builder-media-percent-full .home-about-media,.home-about.builder-media-percent-full .home-about-copy{width:100%;max-width:none;flex:none}
.builder-media-percent-full .builder-content-section .section-media,.home-about.builder-media-percent-full .home-about-media{order:0}
.builder-media-percent-full .builder-content-section .section-copy,.home-about.builder-media-percent-full .home-about-copy{order:1}
@media(max-width:980px){.builder-has-media-percent .builder-content-section.pos-left,.builder-has-media-percent .builder-content-section.pos-right,.home-about.builder-has-media-percent{display:grid;grid-template-columns:1fr!important}.builder-has-media-percent .builder-content-section .section-media,.builder-has-media-percent .builder-content-section .section-copy,.home-about.builder-has-media-percent .home-about-media,.home-about.builder-has-media-percent .home-about-copy{width:auto;max-width:none;flex:none}.builder-media-percent-zero .builder-content-section .section-media,.home-about.builder-media-percent-zero .home-about-media{display:none}}


/* Form semplice inseribile nelle sezioni pagina */
.quick-form-section{max-width:1080px;margin:0 auto;padding-left:64px;padding-right:64px}
.quick-form-intro{max-width:760px;margin-bottom:26px}
.quick-page-form{margin-top:26px;padding-top:28px;border-top:1px solid #d8d4ce}
.quick-form-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:24px;align-items:end}
.quick-form-fields label{display:block;font-size:16px;letter-spacing:.03em}
.quick-form-fields label span{display:block;margin-bottom:6px}
.quick-form-fields input,.quick-form-fields textarea{width:100%;border:0;border-bottom:1px solid #aaa;background:transparent;padding:10px 0;outline:none}
.quick-form-fields textarea{min-height:58px;line-height:1.5;resize:vertical}
.quick-form-fields input:focus,.quick-form-fields textarea:focus{border-color:var(--red)}
.quick-form-message{grid-column:1/3;grid-row:2}
.quick-form-fields .button{grid-column:3;grid-row:1;white-space:nowrap;min-height:42px}
.quick-form-privacy{margin-top:18px!important;margin-bottom:0!important;font-size:12px}
.quick-page-form .form-status{min-height:20px;margin:12px 0 0}
@media(max-width:900px){.quick-form-section{padding-left:20px;padding-right:20px}.quick-form-fields{grid-template-columns:1fr 1fr}.quick-form-message{grid-column:1/-1;grid-row:auto}.quick-form-fields .button{grid-column:1/-1;grid-row:auto;justify-self:start}}
@media(max-width:650px){.quick-form-fields{grid-template-columns:1fr}.quick-form-message{grid-column:auto}.quick-form-fields .button{grid-column:auto;width:100%}}

/* V3.14 - page builder modulare */
.builder-tone-custom{background:var(--builder-bg)!important;color:var(--builder-fg)!important}.builder-tone-custom h1,.builder-tone-custom h2,.builder-tone-custom h3,.builder-tone-custom p,.builder-tone-custom .rich-content,.builder-tone-custom .statement-sign{color:inherit}.builder-tone-custom .eyebrow,.builder-tone-custom .mini-link,.builder-tone-custom .text-arrow{color:var(--red)}
.builder-section-heading,.builder-process-heading{padding-left:64px;padding-right:64px;margin-bottom:30px}.builder-section-heading h2,.builder-process-heading h2,.builder-section-title{font-family:var(--serif);font-size:clamp(34px,3.4vw,50px);font-weight:400;line-height:1.08;margin:0 0 14px}.builder-section-intro{max-width:760px;margin-top:14px;color:#66696b}
.builder-process-shell{display:grid;grid-template-columns:minmax(150px,.3fr) minmax(0,1fr);gap:34px}.builder-process-heading{padding:0 0 0 64px}.builder-process-grid{display:grid;padding-right:64px}.builder-process-grid.builder-cols-2{grid-template-columns:repeat(2,1fr)}.builder-process-grid.builder-cols-3{grid-template-columns:repeat(3,1fr)}.builder-process-grid.builder-cols-4{grid-template-columns:repeat(4,1fr)}.builder-process-grid.builder-cols-5{grid-template-columns:repeat(5,1fr)}.builder-process-grid.builder-cols-6{grid-template-columns:repeat(6,1fr)}.builder-process-item{position:relative;padding:0 24px;border-left:1px solid rgba(120,120,120,.22)}.builder-process-item:first-child{border-left:0}.builder-process-number{display:block;margin-bottom:6px;font-family:var(--serif);font-size:30px;line-height:1;color:#66696b}.builder-process-item h3{margin:0 0 7px;font-family:var(--serif);font-size:19px;font-weight:400}.builder-process-item p{margin:0;color:#6e7173;font-size:16px;line-height:1.6}.builder-process-item:not(:last-child)::after{content:"›";position:absolute;right:-5px;top:20px;color:#b4b1ab;font-family:var(--serif);font-size:28px;background:inherit;padding:0 4px}.builder-item-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;color:#777}.builder-item-icon svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.builder-icon-grid{display:grid;padding:0 64px;border-top:1px solid rgba(120,120,120,.18);border-left:1px solid rgba(120,120,120,.18)}.builder-icon-grid.builder-cols-2{grid-template-columns:repeat(2,1fr)}.builder-icon-grid.builder-cols-3{grid-template-columns:repeat(3,1fr)}.builder-icon-grid.builder-cols-4{grid-template-columns:repeat(4,1fr)}.builder-icon-grid.builder-cols-5{grid-template-columns:repeat(5,1fr)}.builder-icon-grid.builder-cols-6{grid-template-columns:repeat(6,1fr)}.builder-icon-card{padding:34px 28px;border-right:1px solid rgba(120,120,120,.18);border-bottom:1px solid rgba(120,120,120,.18)}.builder-icon-card h3{margin:0 0 10px;font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.15}.builder-icon-card p{margin:0 0 20px;color:#66696b;font-size:12px;line-height:1.65}.builder-icon-card .mini-link{margin-top:auto}
.builder-projects-section .home-projects{border-top:0}.builder-block.home-services-wrap{border-top:0}.builder-tone-custom .home-service-card{background:transparent;color:inherit}.builder-tone-custom .home-service-card p,.builder-tone-custom .home-project-caption p{color:inherit;opacity:.78}.builder-tone-custom.home-statement{background:var(--builder-bg)!important}.builder-tone-custom.home-contact-cta{background:var(--builder-bg)!important}
@media(max-width:980px){.builder-process-shell{grid-template-columns:1fr}.builder-process-heading{padding:0 34px}.builder-process-grid{grid-template-columns:repeat(2,1fr)!important;padding:0 34px}.builder-icon-grid{grid-template-columns:repeat(2,1fr)!important;padding:0 34px}.builder-section-heading{padding-left:34px;padding-right:34px}.builder-process-item:nth-child(odd){border-left:0}.builder-process-item::after{display:none}}
@media(max-width:640px){.home-service-media{margin:-26px 0 18px}.builder-process-heading,.builder-section-heading{padding-left:20px;padding-right:20px}.builder-process-grid,.builder-icon-grid{grid-template-columns:1fr!important;padding:0 20px;border-left:0}.builder-process-item,.builder-process-item:first-child{padding:22px 0;border-left:0;border-top:1px solid rgba(120,120,120,.22)}.builder-process-item:first-child{border-top:0}.builder-icon-card{padding:26px 0;border-right:0}.builder-icon-grid{border-top:0}.builder-icon-card:first-child{border-top:1px solid rgba(120,120,120,.18)}}


/* V3.15 - sezioni Home realmente uniformi + titoli piu adatti a testi lunghi */
.builder-block .section-copy h2,
.builder-block .builder-copy-block h2,
.builder-section-heading h2,
.builder-process-heading h2,
.builder-section-title,
.home-section-heading h2{
  font-size:clamp(30px,2.65vw,42px);
  line-height:1.08;
  text-wrap:balance;
}
@media(max-width:640px){
  .builder-block .section-copy h2,
  .builder-block .builder-copy-block h2,
  .builder-section-heading h2,
  .builder-process-heading h2,
  .builder-section-title,
  .home-section-heading h2{font-size:clamp(29px,9vw,36px);}
}

/* V3.17 - Larghezza contenuto realmente applicata a tutti i tipi di sezione */
.builder-width-narrow{--builder-content-max:980px;--builder-copy-max:760px}
.builder-width-standard{--builder-content-max:1380px;--builder-copy-max:980px}
.builder-width-wide{--builder-content-max:1640px;--builder-copy-max:1180px}

/* Wrapper modulari normali */
.builder-block.builder-width-narrow .builder-inner,
.builder-block.builder-width-standard .builder-inner,
.builder-block.builder-width-wide .builder-inner{
  width:min(var(--builder-content-max),100%);
  max-width:var(--builder-content-max);
  margin-left:auto;
  margin-right:auto;
}

/* Blocchi dinamici/legacy convertiti: Progetti, Servizi, Fasi, icone, Statement, CTA */
.builder-block.builder-width-narrow > .section-shell,
.builder-block.builder-width-standard > .section-shell,
.builder-block.builder-width-wide > .section-shell,
.builder-block.section-shell.builder-width-narrow,
.builder-block.section-shell.builder-width-standard,
.builder-block.section-shell.builder-width-wide{
  width:min(var(--builder-content-max),100%);
  max-width:var(--builder-content-max);
  margin-left:auto;
  margin-right:auto;
}

/* Sezioni prevalentemente testuali: la scelta Stretta/Normale/Ampia deve essere visibile,
   senza creare righe di testo eccessivamente lunghe. */
.builder-width-narrow .content-narrow.builder-copy-block,
.builder-width-narrow .quick-form-section.builder-copy-block,
.builder-width-narrow .quote-section.builder-copy-block,
.builder-width-narrow .contact-band.builder-copy-block{
  max-width:var(--builder-copy-max);
}
.builder-width-standard .content-narrow.builder-copy-block,
.builder-width-standard .quick-form-section.builder-copy-block,
.builder-width-standard .quote-section.builder-copy-block,
.builder-width-standard .contact-band.builder-copy-block{
  max-width:var(--builder-copy-max);
}
.builder-width-wide .content-narrow.builder-copy-block,
.builder-width-wide .quick-form-section.builder-copy-block,
.builder-width-wide .quote-section.builder-copy-block,
.builder-width-wide .contact-band.builder-copy-block{
  max-width:var(--builder-copy-max);
}

/* Il vecchio limite fisso non deve annullare la scelta di larghezza. */
.builder-width-standard .content-narrow.builder-copy-block,
.builder-width-wide .content-narrow.builder-copy-block{
  width:100%;
}

@media(max-width:980px){
  .builder-width-narrow,
  .builder-width-standard,
  .builder-width-wide{
    --builder-content-max:100%;
    --builder-copy-max:100%;
  }
}


/* V3.18 - larghezza sfondo indipendente dal contenuto */
.builder-block.builder-bg-content{
  width:min(var(--builder-content-max,1380px),100%);
  max-width:var(--builder-content-max,1380px);
  margin-left:auto;
  margin-right:auto;
}
.builder-block.builder-bg-full{
  width:100%;
  max-width:none;
}
@media(max-width:980px){
  .builder-block.builder-bg-content{width:100%;max-width:100%;}
}

/* V3.24 - griglia archivio Progetti nel Page Builder */
.builder-projects-archive .builder-section-heading{max-width:900px;margin-bottom:38px}
.builder-projects-archive .builder-section-heading h2{margin:0 0 18px;font-family:var(--serif);font-size:clamp(36px,4vw,58px);font-weight:400;line-height:1.08}
.builder-project-cols-2 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.builder-project-cols-3 .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.builder-project-cols-4 .project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:980px){.builder-project-cols-3 .project-grid,.builder-project-cols-4 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.builder-project-cols-2 .project-grid,.builder-project-cols-3 .project-grid,.builder-project-cols-4 .project-grid{grid-template-columns:1fr}}
.builder-projects-intro .page-hero{padding-top:0;padding-bottom:0}
.builder-projects-intro .page-intro.rich-content p{margin:0}
.builder-projects-intro,.builder-projects-archive-section{border-top:0}


/* ACCESSIBILITY 2026-09-24 — touch targets mobile, senza alterare il layout desktop */
@media(max-width:680px){
  .site-footer a,.cookie-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
  .cookie-actions button,.cookie-custom button{min-height:48px}
}

/* V3.25 - Gallery fotografica avanzata */
.photo-gallery-section{overflow:hidden}
.photo-gallery-section>.builder-inner{padding-left:64px;padding-right:64px}
.photo-gallery-section-heading{max-width:920px;margin-bottom:48px}.photo-gallery-section-heading h2{margin:0;font-family:var(--serif);font-size:clamp(34px,3.4vw,50px);font-weight:400;line-height:1.08;letter-spacing:-.02em}.photo-gallery-section-heading .builder-section-intro{margin-top:16px}
.photo-gallery-groups{display:grid;gap:76px}.photo-gallery-group{min-width:0}.photo-gallery-group-head{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid #e5e1da}.photo-gallery-group-head>div{max-width:980px}.photo-gallery-group-head h3{margin:0;font-family:var(--serif);font-size:clamp(25px,2.4vw,36px);font-weight:400;line-height:1.14;letter-spacing:-.015em}.photo-gallery-group-head p{max-width:900px;margin:9px 0 0;color:#66696b;font-size:13px;line-height:1.65}.photo-gallery-group-head>span{flex:0 0 auto;color:#777a7c;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.photo-gallery-grid{column-gap:12px}.photo-gallery-cols-2{column-count:2}.photo-gallery-cols-3{column-count:3}.photo-gallery-cols-4{column-count:4}.photo-gallery-item{break-inside:avoid;margin:0 0 12px;position:relative}.photo-gallery-link{position:relative;display:block;overflow:hidden;background:var(--paper);cursor:zoom-in}.photo-gallery-link img{display:block;width:100%;height:auto;transition:transform .35s ease,filter .35s ease}.photo-gallery-link:hover img{transform:scale(1.012);filter:contrast(1.015)}.photo-gallery-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.68);background:rgba(30,30,30,.48);color:#fff;font-size:22px;line-height:1;opacity:0;transition:opacity .2s ease}.photo-gallery-link:hover .photo-gallery-zoom,.photo-gallery-link:focus-visible .photo-gallery-zoom{opacity:1}.photo-gallery-item figcaption{padding:7px 2px 2px;color:#686b6d;font-size:11px;line-height:1.5}

/* Lightbox Gallery */
.photo-lightbox{position:fixed;inset:0;z-index:9999;display:none;background:rgba(16,17,18,.96);color:#fff}.photo-lightbox.is-open{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.photo-lightbox-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 18px;border-bottom:1px solid rgba(255,255,255,.12)}.photo-lightbox-meta{min-width:0;display:flex;gap:12px;align-items:center}.photo-lightbox-group{max-width:min(70vw,850px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.photo-lightbox-count{flex:0 0 auto;color:#c9c9c9;font-size:11px}.photo-lightbox-actions{display:flex;gap:8px}.photo-lightbox-button{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;cursor:pointer;font:inherit}.photo-lightbox-button:hover,.photo-lightbox-button:focus-visible{background:#fff;color:#222;outline:none}.photo-lightbox-stage{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;padding:16px 76px}.photo-lightbox-image{display:block;max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;object-fit:contain;cursor:zoom-in;transform-origin:center center}.photo-lightbox.is-zoomed .photo-lightbox-stage{display:block;overflow:auto;text-align:center}.photo-lightbox.is-zoomed .photo-lightbox-image{max-width:none;max-height:none;width:min(160vw,1920px);height:auto;margin:0 auto;cursor:zoom-out}.photo-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:58px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.28);color:#fff;font-size:28px;cursor:pointer}.photo-lightbox-prev{left:14px}.photo-lightbox-next{right:14px}.photo-lightbox-caption{min-height:48px;padding:11px 20px 16px;text-align:center;color:#e1e1e1;font-size:12px;line-height:1.5}.photo-lightbox-caption:empty{min-height:16px;padding-top:0}.photo-lightbox-open{overflow:hidden}
@media(max-width:980px){.photo-gallery-section>.builder-inner{padding-left:34px;padding-right:34px}.photo-gallery-cols-4,.photo-gallery-cols-3{column-count:2}.photo-gallery-groups{gap:60px}.photo-lightbox-stage{padding-left:62px;padding-right:62px}}
@media(max-width:680px){.photo-gallery-section>.builder-inner{padding-left:20px;padding-right:20px}.photo-gallery-section-heading{margin-bottom:34px}.photo-gallery-groups{gap:48px}.photo-gallery-group-head{display:block;margin-bottom:16px}.photo-gallery-group-head>span{display:block;margin-top:9px}.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{column-count:2;column-gap:8px}.photo-gallery-item{margin-bottom:8px}.photo-gallery-zoom{width:30px;height:30px;right:7px;bottom:7px;opacity:1}.photo-gallery-item figcaption{font-size:10px}.photo-lightbox-head{padding:8px}.photo-lightbox-group{max-width:52vw;font-size:9px}.photo-lightbox-stage{padding:10px 0 58px}.photo-lightbox-image{max-height:calc(100vh - 170px)}.photo-lightbox-nav{top:auto;bottom:8px;transform:none;width:48px;height:44px}.photo-lightbox-prev{left:calc(50% - 54px)}.photo-lightbox-next{right:calc(50% - 54px)}.photo-lightbox-caption{padding:10px 14px 14px}}
@media(max-width:430px){.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{column-count:1}}
@media(prefers-reduced-motion:reduce){.photo-gallery-link img{transition:none}}
.builder-tone-custom.photo-gallery-section .photo-gallery-group-head{border-bottom-color:rgba(127,127,127,.28)}.builder-tone-custom.photo-gallery-section .photo-gallery-group-head p,.builder-tone-custom.photo-gallery-section .photo-gallery-group-head>span,.builder-tone-custom.photo-gallery-section .photo-gallery-item figcaption{color:inherit;opacity:.78}


/* V3.26 - Gallery ordinata: 3 quadrati per riga + filtri amaranto */
.photo-gallery-section{--gallery-amaranto:#7b1f2b}
.photo-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 34px;padding:0 0 16px;border-bottom:1px solid #e7e2dc}
.photo-gallery-filter{appearance:none;border:1px solid #d9d4ce;background:#fff;color:#555;padding:9px 13px;min-height:40px;font:inherit;font-size:10px;font-weight:700;line-height:1.2;letter-spacing:.075em;text-transform:uppercase;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.photo-gallery-filter:hover,.photo-gallery-filter:focus-visible{border-color:var(--gallery-amaranto);color:var(--gallery-amaranto);outline:none}
.photo-gallery-filter.is-active{background:var(--gallery-amaranto);border-color:var(--gallery-amaranto);color:#fff}
.photo-gallery-group[hidden]{display:none!important}
.photo-gallery-groups{gap:54px}
.photo-gallery-group-head{margin-bottom:16px;padding-bottom:10px}
.photo-gallery-group-head h3{font-size:clamp(17px,1.65vw,22px);line-height:1.2;letter-spacing:.015em;text-transform:uppercase}
.photo-gallery-group-head p{font-size:12px}
.photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;column-count:initial!important;column-gap:initial!important}
.photo-gallery-item{break-inside:auto;margin:0;min-width:0}
.photo-gallery-link{aspect-ratio:1/1}
.photo-gallery-link img{width:100%;height:100%!important;object-fit:cover;object-position:center}
.photo-gallery-item figcaption{padding:7px 2px 0;font-size:10px}
@media(max-width:980px){.photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-gallery-filters{margin-bottom:28px}.photo-gallery-groups{gap:44px}}
@media(max-width:680px){.photo-gallery-filters{gap:6px;margin-bottom:24px;padding-bottom:12px}.photo-gallery-filter{padding:8px 10px;min-height:40px;font-size:9px}.photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-gallery-group-head h3{font-size:16px}.photo-gallery-groups{gap:38px}}
@media(max-width:420px){.photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{grid-template-columns:1fr}}


/* V3.27 - Gallery client piu compatta: 3 quadrati, spazi uniformi, menu tipologie sempre visibile */
.photo-gallery-section>.builder-inner{
  padding-left:64px;
  padding-right:64px;
}
.photo-gallery-filters{
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 26px;
  padding:0 0 13px;
  border-bottom:1px solid #e7e2dc;
}
.photo-gallery-filter{
  padding:7px 10px;
  min-height:34px;
  font-size:9px;
  letter-spacing:.065em;
}
.photo-gallery-groups{
  gap:46px;
}
.photo-gallery-group-head{
  max-width:840px;
  margin-bottom:12px;
  padding-bottom:8px;
}
.photo-gallery-group-head h3{
  font-size:clamp(14px,1.25vw,18px);
  letter-spacing:.02em;
}
.photo-gallery-group-head>span{
  font-size:9px;
}
.photo-gallery-grid,
.photo-gallery-cols-2,
.photo-gallery-cols-3,
.photo-gallery-cols-4{
  width:100%;
  max-width:840px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px 12px!important;
  row-gap:12px!important;
  column-gap:12px!important;
}
.photo-gallery-item{
  min-width:0;
  overflow:hidden;
}
.photo-gallery-link{
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
}
.photo-gallery-link picture{
  display:block;
  width:100%;
  height:100%;
}
.photo-gallery-link img{
  display:block;
  width:100%;
  height:100%!important;
  object-fit:cover;
  object-position:center;
}
@media(max-width:980px){
  .photo-gallery-section>.builder-inner{padding-left:34px;padding-right:34px}
  .photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{max-width:680px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
  .photo-gallery-group-head{max-width:680px}
}
@media(max-width:680px){
  .photo-gallery-section>.builder-inner{padding-left:20px;padding-right:20px}
  .photo-gallery-filters{gap:5px;margin-bottom:20px;padding-bottom:10px}
  .photo-gallery-filter{min-height:34px;padding:7px 9px;font-size:8.5px}
  .photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
}
@media(max-width:420px){
  .photo-gallery-grid,.photo-gallery-cols-2,.photo-gallery-cols-3,.photo-gallery-cols-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}
}

/* V3.30 - Gallery centrata: max 80% viewport sopra tablet.
   Selettore volutamente piu specifico delle regole generiche del Page Builder. */
@media(min-width:769px){
  .builder-block.photo-gallery-section>.builder-inner{
    width:min(80vw,1440px);
    max-width:1440px;
    margin-left:auto;
    margin-right:auto;
    padding-left:0;
    padding-right:0;
  }

  .photo-gallery-section-heading,
  .photo-gallery-filters,
  .photo-gallery-group-head,
  .photo-gallery-grid,
  .photo-gallery-cols-2,
  .photo-gallery-cols-3,
  .photo-gallery-cols-4{
    margin-left:auto;
    margin-right:auto;
  }

  .photo-gallery-group-head{
    width:100%;
    max-width:none;
  }

  .photo-gallery-group-head h3{
    font-size:clamp(14px,1vw,18px);
    letter-spacing:.02em;
    color:#7b1f2b;
  }

  .photo-gallery-grid,
  .photo-gallery-cols-2,
  .photo-gallery-cols-3,
  .photo-gallery-cols-4{
    width:100%;
    max-width:none;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px!important;
    row-gap:12px!important;
    column-gap:12px!important;
  }
}

/* V3.31 - Titoli formattati, statement Home completo, Contatti builder e video MP4 */
.statement-copy{margin:0;font-family:var(--serif);font-size:clamp(24px,2.7vw,38px);line-height:1.18;color:#5b5e60}
.statement-copy.rich-content{font-size:clamp(24px,2.7vw,38px);line-height:1.18}
.statement-copy p{display:inline;margin:0;font:inherit;line-height:inherit;color:inherit}
.statement-close{display:inline-block;margin-left:.08em;font-family:var(--serif);font-size:1.18em;line-height:.8;vertical-align:-.04em;color:var(--red)}
.statement-mark-placeholder{visibility:hidden}
.builder-tone-custom .statement-copy{color:inherit}

.builder-image-frame video,.page-full-image video,.page-hero-image video,.section-media video{display:block;width:100%;max-width:100%;height:auto;background:#111}
.builder-image-frame video.builder-section-media{width:100%;height:100%;object-fit:cover}
.builder-ratio-landscape .builder-image-frame video{height:100%;aspect-ratio:4/3;object-fit:cover}
.builder-ratio-wide .builder-image-frame video{height:100%;aspect-ratio:16/9;object-fit:cover}
.builder-ratio-square .builder-image-frame video{height:100%;aspect-ratio:1/1;object-fit:cover}
.builder-ratio-portrait .builder-image-frame video{height:100%;aspect-ratio:3/4;object-fit:cover}
.builder-ratio-auto .builder-image-frame video{height:auto;object-fit:contain}
.builder-video-section .builder-inner{padding-left:64px;padding-right:64px}
.builder-video-copy,.builder-video-cta{padding-left:0;padding-right:0;padding-bottom:32px}
.builder-video-cta{padding-top:24px;padding-bottom:0}
.builder-video-frame{width:100%;overflow:hidden;background:#111}
.builder-video-player{display:block;width:100%;height:auto;max-height:min(78vh,900px);object-fit:contain;background:#111}
.home-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;transform:scale(1.002);background:#111}

.builder-contact-section .builder-inner{padding-left:34px;padding-right:34px}
.builder-contact-layout{padding-left:0;padding-right:0;padding-top:72px;padding-bottom:92px}
.builder-contact-title{margin:0 0 22px;font-family:var(--serif);font-size:clamp(38px,4vw,58px);font-weight:400;line-height:1.08;letter-spacing:-.02em}
.builder-contact-copy address{font-style:normal;margin-top:34px;line-height:1.7}
.builder-contact-copy address a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(181,31,42,.45)}

@media(max-width:980px){
  .builder-video-section .builder-inner{padding-left:34px;padding-right:34px}
  .builder-contact-layout{padding-top:55px;padding-bottom:70px}
}
@media(max-width:680px){
  .statement-copy,.statement-copy.rich-content{font-size:27px}
  .builder-video-section .builder-inner{padding-left:20px;padding-right:20px}
  .builder-video-copy{padding-bottom:22px}
  .builder-video-cta{padding-top:18px}
  .builder-video-player{max-height:70vh}
  .builder-contact-section .builder-inner{padding-left:20px;padding-right:20px}
  .builder-contact-layout{padding-top:42px;padding-bottom:58px}
  .builder-contact-title{font-size:38px}
}


/* V3.32 - Gallery foto/video integrata */
.photo-gallery-filters{position:sticky;top:104px;z-index:18;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding-top:12px}
.photo-gallery-filter-video::before{content:'▶';display:inline-block;margin-right:6px;font-size:.82em}
.photo-gallery-video-group{min-width:0}
.photo-gallery-video-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.photo-gallery-video-card{margin:0;min-width:0}
.photo-gallery-video-frame{position:relative;width:100%;background:#111;overflow:hidden}
.photo-gallery-video-player{display:block;width:100%;height:auto;max-height:min(78vh,900px);background:#111;object-fit:contain}
@media(max-width:1100px){.photo-gallery-filters{top:88px}}
@media(max-width:680px){.photo-gallery-filters{top:72px;padding-top:8px}.photo-gallery-video-player{max-height:65vh}}

/* V2.4.8 - Video frontend: dimensioni piu' equilibrate e responsive */
.builder-video-frame{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
.builder-video-player{
  width:100%;
  height:auto;
  max-height:78vh;
  object-fit:contain;
}
.photo-gallery-video-frame{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
.photo-gallery-video-player{
  width:100%;
  height:auto;
  max-height:78vh;
  object-fit:contain;
}
@media (max-width:980px){
  .builder-video-frame,
  .photo-gallery-video-frame{max-width:100%;}
}
@media (max-width:680px){
  .builder-video-player,
  .photo-gallery-video-player{max-height:70vh;}
}
