:root{--sand:#f7f4ec;--ink:#233c42;--blue:#356f80;--muted:#677579}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:var(--sand)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.nav{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:var(--sand);gap:25px}.brand{font-family:'Libre Baskerville',serif;font-size:20px;line-height:1.1;white-space:nowrap}.brand span{font-style:italic;color:var(--blue)}.brand small{display:block;font:600 9px 'DM Sans';letter-spacing:3px;margin-top:8px}.nav nav{display:flex;gap:30px;font-size:13px}.navcta{border:1px solid var(--blue);padding:13px 18px;font-size:12px;color:var(--blue)}.hero{height:min(770px,85vh);min-height:550px;position:relative;background:#758b88;color:white}.photo{background:#c6d0ca;position:relative;overflow:hidden;background-size:cover;background-position:center}.photo:before{content:'';position:absolute;inset:0;background:linear-gradient(145deg,#90aaa3,#c6c5ae);opacity:.8}.photo.has-image:before{display:none}.photo-label{position:absolute;left:18px;bottom:18px;padding:9px 12px;background:#f7f4ece6;color:#49616a;font-size:10px;letter-spacing:1.5px;font-weight:700}.has-image .photo-label{display:none}.hero-photo{position:absolute;inset:0}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,48,51,.68),rgba(22,48,51,.05))}.hero-overlay{position:relative;z-index:1;max-width:700px;padding:110px 8% 0}.eyebrow{font-size:11px;letter-spacing:3px;font-weight:700}.blue{color:var(--blue)}h1,h2{font-family:'Libre Baskerville',serif;font-weight:400;letter-spacing:-2px}h1{font-size:clamp(64px,9vw,125px);line-height:1.05;margin:28px 0}h1 span,.footer-brand span{color:#d9cba7}h2{font-size:clamp(37px,4.5vw,65px);line-height:1.24;margin:20px 0 30px}h2 em{font-weight:400;color:var(--blue)}.hero .lead{font-size:24px;margin:0 0 14px}.hero-overlay>p:not(.eyebrow){max-width:460px;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:45px;padding:18px 24px;border:0;font-size:13px;font-weight:700}.light{background:var(--sand);color:var(--ink);margin-top:28px}.hero-bottom{position:absolute;z-index:1;bottom:30px;left:8%;right:8%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px}.section{padding:110px 8%}.intro{display:grid;grid-template-columns:1fr 1fr;gap:12%}.intro-copy,.garden-text,.island-content{font-size:16px;line-height:1.9}.intro-copy p:first-child{font-size:20px}.features{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:35px 0;font-size:13px}.note,.small{font-size:12px!important;color:var(--muted);line-height:1.7!important}.wide-image{height:460px;margin:0 8%}.wide-image .photo{height:100%}.garden{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.garden-img{min-height:550px}.textlink{display:inline-block;margin-top:25px;color:var(--blue);font-weight:700;border-bottom:1px solid var(--blue);font-size:13px}.gallery{background:#fff}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-heading>p{max-width:300px;line-height:1.8;color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gallery-photo{min-height:290px;border:0;text-align:left}.gallery-photo:first-child{grid-column:span 2;min-height:420px}.gallery-photo:nth-child(4){grid-column:span 2}.gallery-photo:hover{filter:brightness(.93)}.island{display:grid;grid-template-columns:1fr 1fr;background:#e5ece9}.island-photo{min-height:600px}.island-content{padding:95px 12%}.outline{border:1px solid var(--ink);margin-top:25px}.contact{display:grid;grid-template-columns:0.85fr 1.15fr;gap:10%;background:#f1eee5}.contact-copy>p:not(.eyebrow){line-height:1.9}.contact-form{display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-form label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:700}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;border:1px solid #c7cecb;background:#fffefa;padding:15px;border-radius:0;color:var(--ink);min-height:48px}.privacy-check{flex-direction:row!important;align-items:flex-start;font-weight:400!important;line-height:1.6}.privacy-check input{margin-top:5px}.privacy-check a{text-decoration:underline}.submit{background:var(--blue);color:white;width:100%;justify-content:space-between}.hidden{position:absolute;left:-9999px}footer{background:#24454d;color:white;padding:70px 8% 30px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}footer>div{display:flex;flex-direction:column;gap:14px}footer a,footer p{font-size:13px;line-height:1.8;color:#e1e8e5}.footer-brand{font:28px 'Libre Baskerville',serif;color:white}.footer-end{grid-column:1/-1;border-top:1px solid #607a7f;padding-top:25px;font-size:11px;color:#c5d2d1}.mobile-cta{display:none}dialog{max-width:95vw;max-height:95vh;background:#182d31;border:0;color:white;padding:18px}dialog::backdrop{background:#000c}dialog img{max-width:85vw;max-height:78vh;display:block;object-fit:contain}dialog button{position:absolute;right:12px;top:12px;background:white;border:0;padding:8px 12px}dialog p{margin-bottom:0}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e0b75a;outline-offset:3px}@media(max-width:800px){.nav{height:72px;padding:0 5%}.nav nav,.navcta{display:none}.hero{height:76vh;min-height:580px}.hero-overlay{padding:100px 7% 0}.hero .lead{font-size:20px}.hero-bottom{font-size:9px;left:7%;right:7%}.section{padding:75px 7%}.intro,.garden,.contact,.island{grid-template-columns:1fr;gap:25px}.wide-image{margin:0 7%;height:320px}.garden-img{min-height:380px}.section-heading{display:block}.gallery-grid{grid-template-columns:1fr 1fr;gap:10px}.gallery-photo,.gallery-photo:first-child,.gallery-photo:nth-child(4){grid-column:auto;min-height:220px}.gallery-photo:first-child{grid-column:span 2;min-height:280px}.island-photo{min-height:340px}.island-content{padding:65px 7%}.contact{gap:15px}footer{grid-template-columns:1fr 1fr;padding-bottom:100px}footer>div:first-child{grid-column:span 2}.mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;z-index:8;text-align:center;background:var(--blue);color:white;padding:17px;font-size:14px;font-weight:700;box-shadow:0 -5px 20px #0002}}@media(max-width:450px){h1{font-size:61px}.form-row{grid-template-columns:1fr}.features{grid-template-columns:1fr}.gallery-photo,.gallery-photo:first-child,.gallery-photo:nth-child(4){min-height:175px}.photo-label{font-size:8px;left:8px;bottom:8px}.hero-bottom span{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ALTERNATIVA: estate italiana, semplice e colorata */
:root{--blue:#167ca7;--ink:#183d4c;--sand:#fff9e9;--sun:#ffd66e}
body{background:#fffdf6;color:#25414a;font-family:'DM Sans',sans-serif}
h1,h2,h3,.brand,.footer-brand{font-family:'Nunito','DM Sans',sans-serif!important;font-weight:900!important;letter-spacing:-.045em}
h2 em{font-family:inherit!important;font-style:normal!important;color:#1388b6}
.nav{background:#fffdf6!important;border-bottom:2px solid #e6ede9!important}
.brand{color:#126b93!important}.brand span{color:#126b93!important}
.navcta,.button.submit,.mobile-cta{background:#087ca8!important;color:white!important;border-radius:100px!important;box-shadow:none!important}
.hero{min-height:690px!important;background:#98d5df!important}
.hero-photo{background-color:#a4d6dc!important;background-image:linear-gradient(125deg,#88c9d6,#c5e5d2)!important}
.hero-overlay{background:linear-gradient(90deg,rgba(6,74,100,.80),rgba(6,74,100,.24))!important}
.hero h1{font-size:clamp(4rem,9vw,9rem)!important;line-height:.92!important;letter-spacing:-.065em!important}
.hero h1 span{color:#ffd363!important;font-size:.65em!important}
.hero .button.light{background:#ffdb73!important;color:#214c59!important;border-radius:100px!important;font-weight:800!important}
.hero-bottom{background:#ffdb73!important;color:#1e4c5b!important;font-weight:800!important}
.eyebrow{font-family:'DM Sans',sans-serif!important;font-weight:800!important;letter-spacing:.12em!important}
.section{padding-top:100px!important;padding-bottom:100px!important}
.intro{background:#fffdf6!important}
.features span{border-radius:14px!important;background:#f1f7f4!important;padding:12px 16px!important;border:0!important}
.wide-image{background:#d5ebe8!important}
.garden{background:#e8f4ed!important}
.garden-img,.gallery-photo,.wide-image .photo{border-radius:18px!important;overflow:hidden}
.gallery{background:#fffdf6!important}
.gallery-grid{gap:15px!important}
.island{background:#137e9f!important}
.island-content{background:#137e9f!important;color:#fff!important}
.island h2 em{color:#ffe08a!important}
.island .button{border-radius:100px!important}
.contact{background:#fff4d8!important}
.contact-form{background:#fffdf8!important;border:2px solid #f4e4c1!important;border-radius:22px!important;padding:clamp(20px,4vw,44px)!important;box-shadow:0 10px 35px rgba(47,77,73,.06)!important}
.contact-form input,.contact-form select,.contact-form textarea{border-radius:12px!important;background:#fff!important}
footer{background:#12627e!important;color:#fff!important}
footer a,footer strong,footer p{color:#fff!important}
.photo:not(.has-image){background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.17) 0 12px,transparent 12px 24px)!important;background-color:#a5d2cb!important}
.photo-label{background:#fff8e4!important;color:#315a62!important;border-radius:12px!important;font-family:'DM Sans',sans-serif!important;font-weight:800!important;font-size:12px!important;letter-spacing:.04em!important;max-width:85%;text-align:center}
@media(max-width:700px){.hero{min-height:670px!important}.section{padding-top:68px!important;padding-bottom:68px!important}.hero h1{font-size:clamp(3.6rem,15vw,5.6rem)!important}.contact-form{padding:22px!important}}

/* Logo ufficiale: versione solo lettering e onda */
.nav .brand{display:flex;align-items:center;flex:0 0 auto;line-height:1}
.nav .brand img{display:block;width:205px;height:auto;max-height:75px;object-fit:contain}
@media(max-width:800px){.nav .brand img{width:174px;max-height:65px}}

/* La foto panoramica originale del giardino è la copertina */
.hero-photo{background-position:center 53%!important}
.hero-photo:after{background:linear-gradient(90deg,rgba(15,43,45,.74) 0%,rgba(15,43,45,.30) 55%,rgba(15,43,45,.05) 100%)!important}
.hero-overlay{background:transparent!important}
.gallery-photo{background-position:center}
@media(max-width:700px){.hero-photo{background-position:center center!important}.hero-photo:after{background:linear-gradient(90deg,rgba(15,43,45,.69),rgba(15,43,45,.22))!important}}

/* Aggiornamento foto originali e polaroid in home */
.hero-polaroid{position:absolute;z-index:4;right:clamp(20px,7vw,110px);top:50%;transform:translateY(-42%) rotate(5deg);width:clamp(190px,25vw,340px);padding:12px 12px 17px;margin:0;background:#fffdf5;box-shadow:0 18px 45px rgba(0,30,35,.26);border-radius:3px;pointer-events:none}
.hero-polaroid img{width:100%;height:clamp(180px,26vw,340px);object-fit:cover;display:block}
.hero-polaroid figcaption{font-family:'Nunito',sans-serif;text-align:center;font-weight:800;font-size:clamp(12px,1.2vw,16px);color:#275d6d;padding-top:12px}
.hero-overlay{position:relative;z-index:5;max-width:60%!important}
.wide-image .photo{background-position:center center!important}
.island-photo{background-position:center center!important}
@media(max-width:800px){.hero-polaroid{top:auto;bottom:66px;right:7%;width:145px;padding:7px 7px 9px;transform:rotate(6deg)}.hero-polaroid img{height:135px}.hero-polaroid figcaption{font-size:10px;padding-top:6px}.hero-overlay{max-width:100%!important;padding-bottom:190px!important}.hero{min-height:780px!important}}
@media(max-width:430px){.hero-polaroid{width:128px;right:7%;bottom:55px}.hero-polaroid img{height:120px}.hero{min-height:790px!important}}


/* Homepage senza polaroid: spazio al panorama */
.hero-overlay{max-width:700px!important}
@media(max-width:800px){.hero-overlay{padding-bottom:0!important}.hero{min-height:650px!important}}

/* FIX: l'immagine hero non deve essere coperta dal gradiente precedente con !important. */
.hero .hero-photo{background-image:url("assets/home-panorama.webp")!important;background-size:cover!important;background-position:center 53%!important;background-repeat:no-repeat!important}
@media(max-width:700px){.hero .hero-photo{background-position:center center!important}}
