/*
Theme Name: Bessi Giardini — Blocchi separati
Author: Bessi Giardini
Description: Tema originale con parallasse, comparsa dei servizi e sezione Chi siamo.
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bessi-blocchi
*/
:root{--green:#193d2c;--cream:#f7f6ef;--lime:#d5dfac;--ink:#172b21}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.7 Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c59324;outline-offset:5px}.skip{position:fixed;top:-100px;background:white;padding:10px;z-index:100}.skip:focus{top:5px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;position:sticky;top:0;z-index:20;background:var(--cream);transition:box-shadow .3s}.header.scrolled{box-shadow:0 2px 15px #0001}.brand{font-size:30px;font-weight:700;letter-spacing:.09em;line-height:1}.brand span{display:block;font-size:12px;letter-spacing:.37em;margin-top:8px}.nav-contact{border-bottom:1px solid;padding-bottom:6px}.menu-toggle{display:none}.hero{min-height:700px;height:calc(100svh - 100px);max-height:1000px;position:relative;overflow:hidden;color:white;background:#203b26}.hero-image{position:absolute;inset:-10% 0;background:linear-gradient(90deg,#0d211fd9,#10291835),url(assets/giardino.webp) center/cover;will-change:transform}.hero-content{position:relative;padding:110px 8% 100px;max-width:1250px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.2em;margin:0 0 24px}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.08;margin:0 0 28px;letter-spacing:-.035em}h1{font-size:clamp(48px,6.7vw,94px)}h2{font-size:clamp(38px,4.8vw,65px)}h3{font-size:30px;line-height:1.2;letter-spacing:-.02em}em{font-weight:400;color:inherit}h1 em{color:var(--lime)}.hero-content>p:not(.eyebrow){font-size:18px;margin-bottom:36px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;background:var(--green);color:white;padding:17px 25px;font-size:14px;border:1px solid transparent;transition:background .25s,transform .25s}.button:hover{background:#2f5940;transform:translateY(-3px)}.button.light{background:var(--cream);color:var(--green)}.button.light:hover{background:var(--lime)}.scroll{position:absolute;bottom:32px;left:8%;right:8%;display:flex;justify-content:space-between;border-top:1px solid #ffffff50;padding-top:18px;font-size:11px;letter-spacing:.18em}.scroll span{font-size:24px}.section{padding:110px 8%}.section-heading{max-width:760px}.section-heading>p:last-child{max-width:530px;color:#526257}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:65px}.service-grid article{border-top:1px solid #819280;padding-top:25px}.service-tag{font-size:11px;letter-spacing:.15em;display:block;margin-bottom:28px;color:#526257}.service-grid p{font-size:15px;color:#526257}.about{display:grid;grid-template-columns:1fr 1.05fr;gap:9%;background:#e9eddf;align-items:center}.portrait img{width:100%;height:600px;object-fit:cover;object-position:center;display:block}.portrait span{display:block;font:italic 18px Georgia,serif;padding-top:20px}.about-copy p:not(.eyebrow){font-size:16px}.about-copy ul{padding-left:20px;font-size:14px;margin:25px 0 32px}.about-copy li{padding:5px 0}.contact{background:var(--green);color:var(--cream);text-align:center}.contact h2{font-size:clamp(42px,5.7vw,78px)}.contact h2 em{color:var(--lime)}.contact p{opacity:.9}#contact-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.contact-note{font-size:14px}footer{display:flex;gap:35px;align-items:center;justify-content:space-between;padding:55px 8%;font-size:13px}footer>p{font:italic 20px Georgia,serif}footer>div{text-align:right}#business-details:empty{display:none}[hidden]{display:none!important}.motion .reveal{opacity:0;transition:opacity 1.3s ease-in-out}.motion .reveal.visible{opacity:1}.page-content{min-height:65vh;padding:80px 8%;max-width:1100px;margin:auto}.page-content img{max-width:100%;height:auto}@media(min-width:783px){.admin-bar .header{top:32px}}@media(max-width:900px){.service-grid{grid-template-columns:repeat(2,1fr)}.about{gap:6%}.portrait img{height:520px}.header{padding:0 5%}}@media(max-width:650px){html{scroll-padding-top:80px}.header{height:80px}.brand{font-size:25px}.brand span{font-size:10px}.menu-toggle{display:flex;gap:15px;border:0;background:none;color:var(--green);padding:10px}.hero{min-height:650px;height:calc(100svh - 80px)}.hero-content{padding:100px 7% 100px}.hero-content>p:not(.eyebrow){font-size:16px}.hero-image{background-position:35% center}.section{padding:75px 7%}.service-grid{gap:30px 20px;margin-top:40px}h3{font-size:25px}.about{grid-template-columns:1fr;gap:45px}.portrait img{height:460px;object-position:50% 35%}.eyebrow{font-size:11px}footer{align-items:flex-start;flex-direction:column;padding:40px 7%;gap:24px}footer>div{text-align:left}.contact .button{width:100%;max-width:320px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.motion .reveal{opacity:1}.hero-image{transform:none!important}}
/* Native editable blocks */
.wp-site-blocks{padding:0}.wp-block-template-part{margin:0}.wp-block-template-part:has(.header){position:sticky;top:0;z-index:30}.header{position:relative}.header .brand{font-size:23px;letter-spacing:.1em}.header .brand a{line-height:1.2;display:block}.header .wp-block-navigation{font-size:15px}.wp-block-navigation__responsive-container.is-menu-open{padding:35px;background:var(--cream);color:var(--green)}.wp-block-navigation__responsive-container-close{padding:10px}.bessi-hero{overflow:hidden;color:white;padding:0}.bessi-hero .wp-block-cover__image-background{height:120%;top:-10%;will-change:transform}.bessi-hero .hero-content{padding:100px 8%;max-width:1250px}.bessi-hero .wp-block-cover__inner-container{width:100%;z-index:2}.bessi-hero h1{color:white}.bessi-hero .wp-block-buttons{margin-top:32px}.bessi-hero .wp-block-button__link{background:var(--cream);color:var(--green);border:0}.wp-block-button__link{transition:transform .25s,background .25s;font-size:14px}.wp-block-button__link:hover{transform:translateY(-3px)}.section-heading>p:last-child{margin-top:24px}.about-copy p{margin-bottom:20px}.portrait figure{margin:0}.portrait figcaption{font:italic 18px Georgia,serif;padding-top:20px;color:var(--ink)}.service-grid h3{margin-top:24px}.bessi-footer{padding:55px 8%;display:flex;gap:35px;align-items:center;justify-content:space-between;font-size:14px}.editor-styles-wrapper .reveal{opacity:1!important}.editor-styles-wrapper .header{position:relative}.editor-styles-wrapper .bessi-hero .wp-block-cover__image-background{transform:none!important}.contact p{margin:20px 0}.wp-site-blocks .wp-block-group{margin-block-start:0}.header .wp-block-navigation a{padding:8px}.wp-site-blocks .wp-block-heading{margin-bottom:28px}@media(max-width:650px){.bessi-footer{flex-direction:column;align-items:flex-start}.bessi-hero .hero-content{padding:80px 7%}.bessi-hero{min-height:650px!important}.header .wp-block-navigation{display:flex}}@media(prefers-reduced-motion:reduce){.bessi-hero .wp-block-cover__image-background{transform:none!important}}

/* 2.1: independent sections and editor-safe layout */
.header>.wp-block-image{margin:0;max-width:260px;flex-shrink:1}.header>.wp-block-image img{max-width:100%;width:auto;max-height:72px;object-fit:contain}.bessi-footer>.wp-block-image{margin:0;max-width:240px}.bessi-footer>.wp-block-image img{max-width:100%;height:auto}.header .wp-block-navigation{margin-left:auto}.editor-styles-wrapper .wp-block-template-part{position:relative!important;z-index:auto!important}.editor-styles-wrapper .header{height:auto;min-height:100px}.editor-styles-wrapper .reveal{opacity:1!important}.editor-styles-wrapper .service-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.editor-styles-wrapper .about>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:1fr 1.05fr;gap:6%}.editor-styles-wrapper .service-grid:has(>.block-editor-inner-blocks),.editor-styles-wrapper .about:has(>.block-editor-inner-blocks){display:block}.editor-styles-wrapper .wp-block{max-width:100%}.wp-block-navigation__responsive-container.is-menu-open{z-index:100000}.section img{max-width:100%}@media(max-width:650px){.header>.wp-block-image{max-width:200px}.editor-styles-wrapper .service-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,.editor-styles-wrapper .about>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr}}
