/* Scopri Cittanova — concept turistico premium, 2026. No build step. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');
:root{--ink:#172b27;--deep:#09231d;--deep2:#12352c;--forest:#1d4c3e;--gold:#bd9560;--paper:#fcfaf5;--cream:#f3eee4;--line:#dfded5;--muted:#66706c;--white:#fff;--radius:16px;--max:1240px;--sans:'DM Sans',sans-serif;--serif:'Playfair Display',Georgia,serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}::selection{background:var(--gold);color:var(--deep)}:focus-visible{outline:3px solid #dcad66;outline-offset:4px}
.container{width:min(calc(100% - 76px),var(--max));margin-inline:auto}.section{padding-block:94px}.section-tight{padding-block:74px}.eyebrow{display:flex;align-items:center;gap:11px;font:700 11px/1.2 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}.eyebrow::before{content:'';width:27px;height:1px;background:currentColor}.eyebrow.dark{color:#9e7b48}.eyebrow.light{color:#e8c58f}.serif{font-family:var(--serif)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:500}h1,h2{font-family:var(--serif);letter-spacing:-.044em;line-height:1.1}h2{font-size:clamp(39px,4.4vw,68px);margin-bottom:18px}h1 em,h2 em{font-weight:400}p{color:var(--muted)}.lead{font-size:17px;max-width:510px}
.skip{position:absolute;left:15px;top:-60px;background:white;padding:12px 18px;z-index:200}.skip:focus{top:10px}
/* Header */
.site-header{position:absolute;z-index:40;inset:0 0 auto;background:linear-gradient(to bottom,rgba(7,22,18,.55),transparent);color:white}.site-header.is-solid,.site-header.on-subpage{background:var(--deep);position:sticky;top:0;box-shadow:0 7px 25px #0001}.header-row{height:88px;display:flex;align-items:center;gap:30px}.logo{display:flex;align-items:center;gap:12px;flex:none;line-height:1.05}.logo-emblem{display:grid;place-items:center;border:1px solid rgba(240,209,155,.65);width:42px;height:46px;color:#e5bc78;font:italic 33px/.9 var(--serif);border-radius:11px 11px 6px 6px}.logo-name{font:500 21px/1 var(--serif);letter-spacing:-.025em}.logo-tag{display:block;font:700 8px/1.5 var(--sans);letter-spacing:.18em;margin-top:5px;color:#e6d6ba}.nav{display:flex;align-items:center;justify-content:center;gap:26px;flex:1}.nav a{font-size:12px;font-weight:700;opacity:.9;transition:opacity .2s}.nav a:hover,.nav a[aria-current=page]{opacity:1;color:#f2c987}.header-cta{flex:none;padding:12px 17px;border-radius:28px;background:var(--forest);border:1px solid #bd9560;color:white;font-size:12px;font-weight:700;transition:background .2s}.header-cta:hover{background:#28674f}.menu-toggle{display:none;color:inherit;background:transparent;border:0;padding:10px;margin-left:auto;align-items:center;justify-content:center;gap:6px;flex-direction:column}.menu-toggle span{width:24px;height:2px;background:currentColor;border-radius:5px}
/* Buttons */
.btn{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid transparent;border-radius:999px;padding:14px 23px;font-size:13px;font-weight:700;line-height:1.2;transition:background .2s,transform .2s,border-color .2s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn.forest{color:white;background:var(--forest);border-color:var(--gold)}.btn.forest:hover{background:#28634f}.btn.outline{border-color:#ffffffbc;background:#fff1;color:white}.btn.outline:hover{background:#ffffff32}.btn.light{background:#f5efe2;border-color:#d9c49f;color:var(--deep)}.circle-arrow{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid currentColor;border-radius:50%;font-size:17px;flex:none}.section-link{display:inline-flex;align-items:center;gap:15px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid var(--gold);padding-bottom:10px}.section-link:hover{color:#876338}
/* Home hero */
.hero{height:min(900px,100svh);min-height:650px;position:relative;background:#1a342d;color:#fff;overflow:hidden}.hero-photo,.banner-photo,.image-cover{width:100%;height:100%;object-fit:cover}.hero-photo{position:absolute;inset:0;object-position:center 45%;filter:saturate(1.02)}.hero::before{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(2,17,13,.85),rgba(2,22,19,.51) 40%,rgba(5,15,15,.12) 77%),linear-gradient(to top,#0619149e,transparent 45%)}.hero-content{position:absolute;z-index:2;left:0;right:0;bottom:clamp(87px,15vh,160px)}.hero .eyebrow{margin-bottom:25px}.hero h1{font-size:clamp(62px,8vw,122px);line-height:.97;margin:0 0 20px;max-width:900px;text-shadow:0 3px 18px #0002}.hero h1 em{display:block;font-size:clamp(35px,4.1vw,66px);letter-spacing:-.038em;margin-top:14px}.hero p{color:#f7f7ee;max-width:480px;font-size:17px;line-height:1.65;margin-bottom:28px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.hero-bottom{position:absolute;z-index:2;bottom:24px;left:0;right:0}.hero-bottom>.container{display:flex;align-items:center;justify-content:space-between;gap:20px}.hero-bottom span{font-size:10px;letter-spacing:.18em;font-weight:700}.scroll-indicator{display:flex;gap:12px;align-items:center}.scroll-icon{border:1px solid #fffb;border-radius:20px;width:20px;height:31px;display:grid;place-items:center;font-size:13px}.hero-rail{position:absolute;right:32px;bottom:120px;z-index:2;display:flex;flex-direction:column;gap:9px;align-items:center}.hero-rail span{font-size:10px;letter-spacing:.2em;writing-mode:vertical-rl}.rail-line{height:54px;width:1px;background:#fff9}
/* Home sections */
.intro{text-align:center}.intro .eyebrow{justify-content:center}.intro h2{max-width:900px;margin:23px auto}.intro p{max-width:670px;margin:0 auto;color:#56615c}.section-top{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:35px}.section-top h2{margin:14px 0 0}.section-top>p{max-width:330px;margin:0 0 8px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.photo-tile{position:relative;display:block;overflow:hidden;min-height:350px;border-radius:var(--radius);isolation:isolate;background:var(--deep)}.photo-tile img{position:absolute;inset:0;transition:transform .5s;width:100%;height:100%;object-fit:cover}.photo-tile:hover img{transform:scale(1.06)}.photo-tile:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#00150fe9)}.photo-tile .tile-content{position:absolute;z-index:1;left:21px;right:21px;bottom:21px;color:white}.tile-content span{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#e9c99c}.tile-content h3{font:500 28px/1.15 var(--serif);margin:7px 0}.tile-content small{font:400 12px/1.4 var(--sans);opacity:.85;display:block;max-width:180px}.tile-arrow{position:absolute;right:0;bottom:0}.spotlight{position:relative;isolation:isolate;min-height:480px;display:flex;align-items:center;overflow:hidden;background:var(--deep);color:white}.spotlight>img,.cinematic>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.spotlight:before,.cinematic:before{position:absolute;inset:0;content:'';z-index:1;background:linear-gradient(90deg,#051d17ec 0%,#0d2b219b 42%,#0a231522 90%)}.spotlight .container,.cinematic .container{position:relative;z-index:2}.spotlight h2{font-size:clamp(42px,4.5vw,70px);margin:18px 0}.spotlight p{max-width:410px;color:#eee7d9;margin-bottom:24px}.spotlight .micro{font-size:11px;letter-spacing:.18em;color:#e0c18b;margin-top:16px}.experiences-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:50px;align-items:center}.feature-photo{overflow:hidden;border-radius:18px;min-height:430px;position:relative}.feature-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.experience-card{background:#fff;padding:30px;border:1px solid #e7e4db;box-shadow:0 9px 40px #102a1c0c;border-radius:18px}.tabs{display:flex;gap:7px;margin:24px 0}.tab{background:#f1f0ea;border:1px solid transparent;color:var(--ink);border-radius:99px;padding:10px 16px;font-weight:700;font-size:12px}.tab[aria-selected=true]{background:var(--deep);color:white}.timeline{display:grid;gap:0}.timeline-item{display:grid;grid-template-columns:90px 1fr;gap:17px;padding:17px 0;border-bottom:1px solid var(--line)}.timeline-item:last-child{border-bottom:0}.timeline-time{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#987849;padding-top:5px}.timeline-item h3{font:500 20px/1.3 var(--serif);margin:0 0 4px}.timeline-item p{font-size:13px;margin:0}.feature-panel{display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden;border-radius:18px;background:#132f28;color:white}.feature-panel .panel-image{position:relative;min-height:430px;overflow:hidden}.panel-image img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.panel-content{padding:clamp(35px,5vw,80px);display:flex;flex-direction:column;align-items:start;justify-content:center}.panel-content h2{font-size:clamp(40px,4vw,63px);margin:17px 0}.panel-content p{color:#e4e7dd;max-width:450px}.tag-row{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 26px}.tag-row span{border:1px solid #e3d7ba7a;border-radius:99px;padding:5px 10px;color:#e5d6b7;font-size:10px;letter-spacing:.04em}.event-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.event-visual,.event-info{min-height:340px;border-radius:16px;position:relative;overflow:hidden}.event-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.event-visual:after{position:absolute;inset:0;content:'';background:linear-gradient(to top,#051910df,transparent 72%)}.event-overlay{position:absolute;z-index:1;color:white;left:30px;bottom:26px;right:30px}.event-overlay .eyebrow{color:#e6c38c}.event-overlay h3{font:500 43px/1.2 var(--serif);margin:8px 0}.event-info{padding:34px;background:#eae7da;display:flex;flex-direction:column;justify-content:space-between}.event-info h3{font:500 31px/1.18 var(--serif);max-width:350px;margin:10px 0}.event-info p{max-width:400px;font-size:14px}.event-note{font-size:11px;margin:16px 0 0;color:#777f79}.cta-banner{background:#0d3027;color:white;padding:75px 0;position:relative;overflow:hidden}.cta-banner:before{content:'C';position:absolute;font:700 400px/1 var(--serif);right:-40px;bottom:-160px;color:#ffffff0a}.cta-banner .container{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-banner h2{margin:14px 0;max-width:700px}.cta-banner p{color:#d6e2da;margin:0}
/* Subpage banners and cards */
.page-banner{position:relative;height:420px;color:#fff;display:flex;align-items:flex-end;background:var(--deep);overflow:hidden}.page-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.page-banner:before{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#061c17da,#062b2355 75%),linear-gradient(to top,#061c17ad,transparent 55%)}.page-banner .container{position:relative;z-index:2;padding-bottom:58px}.page-banner h1{font-size:clamp(52px,6vw,82px);margin:14px 0 8px}.page-banner p{color:#eee;max-width:610px;margin:0}.breadcrumb{font-size:11px;color:#e7d1a8}.breadcrumb a{text-decoration:underline;text-underline-offset:3px}.filter-bar{display:flex;flex-wrap:wrap;gap:9px;margin:28px 0 33px}.filter{border:1px solid #dcded6;border-radius:100px;padding:9px 17px;background:#fff;font-size:12px;font-weight:700;color:var(--deep)}.filter.active,.filter[aria-pressed=true]{background:var(--deep);color:#fff;border-color:var(--deep)}.places-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.place-list-card{border-radius:14px;overflow:hidden;background:white;border:1px solid #e6e7df;transition:transform .3s,box-shadow .3s}.place-list-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px #102a1e14}.place-list-card[hidden]{display:none}.place-list-img{height:242px;overflow:hidden;background:#c1c5b9}.place-list-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.place-list-card:hover img{transform:scale(1.04)}.place-list-body{padding:20px 22px 24px}.place-list-body .cat{font-size:10px;font-weight:800;color:#997547;letter-spacing:.1em;text-transform:uppercase}.place-list-body h3{font:500 26px/1.18 var(--serif);margin:7px 0 10px}.place-list-body p{font-size:13px;line-height:1.6;min-height:64px;margin-bottom:15px}.place-list-body a{font-size:12px;font-weight:800;color:var(--forest);border-bottom:1px solid var(--gold)}.soft-section{background:#f0eee6}.wide-photo{position:relative;overflow:hidden;min-height:350px;border-radius:16px}.wide-photo img{width:100%;height:100%;min-height:350px;object-fit:cover;position:absolute;inset:0}.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.route-card{background:white;border-radius:16px;overflow:hidden;border:1px solid var(--line)}.route-photo{height:220px;position:relative;overflow:hidden}.route-photo img{width:100%;height:100%;object-fit:cover}.route-length{position:absolute;left:17px;bottom:16px;background:#fff;border-radius:100px;padding:6px 11px;font-size:11px;font-weight:800;color:var(--deep)}.route-body{padding:24px}.route-body h3{font:500 27px/1.2 var(--serif);margin:0 0 10px}.route-body p{font-size:13px;min-height:65px}.route-detail{border-top:1px solid var(--line);padding-top:15px;margin-top:14px}.route-detail strong{font-size:11px;text-transform:uppercase;letter-spacing:.1em}.route-detail ol{padding-left:20px;margin:8px 0;color:var(--muted);font-size:12px}.route-detail li{margin:3px 0}.info-columns{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.info-columns h2{margin-top:10px}.info-box{padding:25px 28px;border-radius:15px;background:white;border:1px solid var(--line);margin-bottom:12px}.info-box h3{font:500 25px var(--serif);margin:0 0 7px}.info-box p{font-size:13px;margin:0}.faq{max-width:840px;margin:30px auto 0}.faq details{border-bottom:1px solid #d6d8d0;padding:15px 0}.faq summary{cursor:pointer;font-weight:700;font-size:15px;list-style:none;display:flex;justify-content:space-between;gap:15px}.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:'+';font-size:22px;font-weight:400}.faq details[open] summary::after{content:'−'}.faq p{margin:12px 0 4px;font-size:14px}.map-fallback{background:linear-gradient(125deg,#d0dfd1,#aec4b0);border-radius:16px;padding:35px;min-height:250px;position:relative;overflow:hidden;display:flex;justify-content:center;flex-direction:column}.map-fallback:before{content:'';position:absolute;right:-50px;top:-30px;width:260px;height:260px;border:45px solid #f8f1d499;border-radius:50%}.map-fallback h3{position:relative;font:500 38px var(--serif);margin:0}.map-fallback p{position:relative;color:#2f5344;max-width:360px}.map-fallback .btn{position:relative;align-self:flex-start}
/* Footer */
.footer{background:#061d17;color:#fff;padding:65px 0 25px}.footer .container{display:grid;grid-template-columns:1.4fr 1fr;gap:40px}.footer p{color:#bed1c7;max-width:360px;font-size:13px;margin-top:22px}.footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:25px}.footer-nav strong{display:block;font-size:10px;color:#d7b783;letter-spacing:.16em;margin-bottom:14px}.footer-nav a{display:block;margin-bottom:10px;color:#e4ece3;font-size:13px}.footer-nav a:hover{color:#f1ce98}.footer-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid #ffffff35;padding-top:24px;color:#9fb6a9;font-size:11px}.footer-bottom a{text-decoration:underline;text-underline-offset:3px}
/* Gallery dialog */
.gallery-dialog{max-width:min(900px,calc(100vw - 30px));width:100%;padding:12px;border:0;border-radius:18px;background:#09221b;color:white;box-shadow:0 30px 100px #0008}.gallery-dialog::backdrop{background:#06120ecb}.gallery-top{display:flex;justify-content:space-between;align-items:center;padding:6px 6px 14px 8px;gap:10px}.gallery-top strong{font:500 19px var(--serif)}.gallery-close{color:#fff;font-size:22px;border:1px solid #ffffff65;border-radius:100%;background:transparent;width:40px;height:40px}.gallery-dialog img{width:100%;height:min(60vh,520px);object-fit:cover;border-radius:10px}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px 3px}.gallery-controls button{padding:9px 14px;border:1px solid #ffffff80;border-radius:100px;color:white;background:transparent;font-size:12px}.gallery-controls p{margin:0;color:#d3e4d5;font-size:12px;text-align:center}
/* Responsive */
@media(max-width:1080px){.nav{gap:14px}.nav a{font-size:11px}.header-row{gap:15px}.header-cta{padding:10px 13px}}
@media(max-width:850px){.container{width:min(calc(100% - 36px),var(--max))}.section{padding-block:65px}.header-row{height:72px}.nav{position:absolute;top:72px;left:0;right:0;background:#09231d;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 22px;box-shadow:0 20px 35px #0003;display:none}.nav.is-open{display:flex}.nav a{padding:14px 4px;border-bottom:1px solid #fff2;font-size:14px}.header-cta{margin-left:auto;font-size:11px}.menu-toggle{display:flex;margin-left:0}.hero{height:820px;min-height:670px;max-height:95svh}.hero h1{font-size:clamp(62px,12vw,90px)}.hero h1 em{font-size:clamp(33px,6.5vw,52px)}.hero-rail{display:none}.category-grid{grid-template-columns:repeat(2,1fr)}.experiences-layout,.feature-panel,.info-columns{grid-template-columns:1fr;gap:25px}.experiences-layout .feature-photo{min-height:340px;order:-1}.feature-panel .panel-image{min-height:390px}.event-grid{grid-template-columns:1fr 1fr}.places-list,.route-grid{grid-template-columns:repeat(2,1fr)}.spotlight{min-height:430px}.page-banner{height:350px}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.header-row{height:69px}.nav{top:69px}.logo-emblem{width:37px;height:42px;font-size:29px}.logo-name{font-size:18px}.logo-tag{font-size:7px}.header-cta{display:none}.hero{height:750px;min-height:630px;max-height:100svh}.hero-photo{object-position:54% center}.hero::before{background:linear-gradient(to top,#051a16fa 0%,#061e18bb 34%,#051d1680 69%,#0718105c 100%)}.hero-content{bottom:100px}.hero h1{font-size:clamp(62px,14vw,83px);margin-bottom:15px}.hero h1 em{font-size:clamp(33px,8vw,45px);line-height:1.12}.hero p{font-size:14px;max-width:310px;line-height:1.65;margin-bottom:22px}.hero-bottom{bottom:20px}.hero-bottom span{font-size:9px}.hero-bottom span:first-child{display:none}.btn{font-size:12px;padding:12px 17px;gap:12px}.section{padding-block:57px}.section-tight{padding-block:48px}.intro h2{font-size:clamp(40px,10vw,57px)}.intro p{font-size:14px}.section-top{align-items:start;flex-direction:column;gap:9px;margin-bottom:25px}.section-top>p{font-size:14px}.section-top h2,h2{font-size:clamp(37px,10vw,50px)}.category-grid{grid-template-columns:1fr 1fr;gap:10px}.photo-tile{min-height:235px;border-radius:12px}.tile-content{left:12px!important;right:12px!important;bottom:14px!important}.tile-content h3{font-size:22px}.tile-content small{font-size:10px}.tile-content span{font-size:8px}.tile-arrow{right:0;bottom:0;width:24px;height:24px;font-size:13px}.spotlight{min-height:445px}.spotlight:before{background:linear-gradient(to top,#041c17f5 0%,#0e291fb0 60%,transparent)}.spotlight .container{align-self:flex-end;padding-bottom:50px}.spotlight h2{font-size:46px}.spotlight p{font-size:13px}.experience-card{padding:19px}.feature-photo{min-height:270px!important}.timeline-item{grid-template-columns:73px 1fr;gap:9px}.timeline-item h3{font-size:18px}.timeline-item p{font-size:12px}.panel-content{padding:32px 22px}.panel-image{min-height:260px!important}.event-grid{grid-template-columns:1fr}.event-visual,.event-info{min-height:260px}.event-overlay h3{font-size:33px}.event-info{padding:23px}.cta-banner{padding:53px 0}.cta-banner .container{align-items:start;flex-direction:column}.page-banner{height:360px}.page-banner .container{padding-bottom:40px}.page-banner h1{font-size:54px}.page-banner p{font-size:13px}.places-list,.route-grid{grid-template-columns:1fr}.place-list-img{height:245px}.place-list-body p{min-height:0}.route-body p{min-height:0}.info-box{padding:23px}.footer{padding-top:52px}.footer .container{grid-template-columns:1fr;gap:25px}.footer-bottom{line-height:1.7}.gallery-dialog img{height:40vh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Identità grafica: emblema Scopri Cittanova */
.logo-emblem.logo-mark { border: 0; border-radius: 0; width: 50px; height: 51px; overflow:visible; flex:none; }
.logo-mark img { display:block; width:100%; height:100%; object-fit:contain; }
@media (max-width:700px) { .logo-emblem.logo-mark { width:42px; height:44px; } }


/* Horizontal logo integration */
.logo-horizontal{display:flex;align-items:center;flex:none;line-height:1;padding:6px 10px;border-radius:16px;background:rgba(248,244,236,.97);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.logo-horizontal img{display:block;width:auto;height:54px;max-width:min(44vw,360px);object-fit:contain}
.footer .logo-horizontal{background:rgba(255,255,255,.04);padding:0;box-shadow:none;border-radius:0}
.footer .logo-horizontal img{height:64px;max-width:min(100%,380px);background:#f7f1e7;border-radius:16px;padding:8px 12px;box-shadow:0 8px 26px rgba(0,0,0,.08)}
.site-header.on-subpage .logo-horizontal,.site-header.is-solid .logo-horizontal{background:rgba(248,244,236,.98)}
@media(max-width:1180px){.logo-horizontal img{height:48px;max-width:300px}.header-row{gap:18px}}
@media(max-width:980px){.logo-horizontal img{height:44px;max-width:270px}.nav{gap:16px}.header-row{gap:12px}}
@media(max-width:850px){.logo-horizontal{padding:4px 8px;border-radius:14px}.logo-horizontal img{height:40px;max-width:240px}.header-row{gap:10px}}
@media(max-width:600px){.logo-horizontal{padding:4px 8px;border-radius:12px}.logo-horizontal img{height:34px;max-width:185px}.footer .logo-horizontal img{height:auto;max-width:260px}}

/* Logo trasparente: versione chiara per l'header verde e per il footer */
.logo-horizontal,
.site-header.is-solid .logo-horizontal,
.site-header.on-subpage .logo-horizontal,
.footer .logo-horizontal {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.logo-horizontal img,
.footer .logo-horizontal img {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: 62px;
  max-width: min(38vw, 370px);
  object-fit: contain;
}
.footer .logo-horizontal img { height: 70px; max-width: min(100%, 410px); }
@media (max-width: 1080px) {
  .logo-horizontal img { height: 52px; max-width: 310px; }
}
@media (max-width: 850px) {
  .logo-horizontal img { height: 46px; max-width: 260px; }
}
@media (max-width: 600px) {
  .logo-horizontal img { height: 38px; max-width: 190px; }
  .footer .logo-horizontal img { height: 56px; max-width: 270px; }
}

/* Logo definitivo con testo ingrandito */
.logo-horizontal img{height:66px;max-width:min(39vw,390px)}
@media(max-width:1080px){.logo-horizontal img{height:54px;max-width:310px}}
@media(max-width:850px){.logo-horizontal img{height:48px;max-width:260px}}
@media(max-width:600px){.logo-horizontal img{height:40px;max-width:185px}}
.footer .logo-horizontal img{height:76px;max-width:min(100%,430px)}
@media(max-width:600px){.footer .logo-horizontal img{height:60px;max-width:280px}}

/* Correzione proporzioni: mai impostare contemporaneamente un'altezza
   fissa e un limite di larghezza che possa comprimere il logo. */
.site-header .logo-horizontal,
.footer .logo-horizontal {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.site-header .logo-horizontal img {
    display: block;
    width: 248px;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
}
.footer .logo-horizontal img {
    display: block;
    width: 330px;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
@media(max-width:1080px) {
    .site-header .logo-horizontal img { width: 210px; height: auto; max-width: none; }
}
@media(max-width:850px) {
    .site-header .logo-horizontal img { width: 188px; height: auto; max-width: none; }
}
@media(max-width:600px) {
    .site-header .logo-horizontal img { width: 156px; height: auto; max-width: none; }
    .footer .logo-horizontal img { width: 280px; height: auto; }
}


/* Pagina Guida · aggiornamento novembre 2026 — stili isolati */
.guida-heading{max-width:795px;margin-bottom:38px}.guida-heading h2{margin:14px 0 20px}.guida-heading>p{font-size:17px;line-height:1.8;max-width:760px;margin:0}
.guida-transport-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.guida-transport-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 12px 35px #0d291b07}
.guida-step{color:var(--gold);font:700 13px var(--sans);margin-bottom:20px}.guida-step span{font-size:10px;color:#7a785f;letter-spacing:.16em;margin-left:14px}
.guida-transport-card h3{font:500 30px/1.2 var(--serif);margin:0 0 18px}.guida-transport-card p{font-size:14px;line-height:1.75;margin-bottom:14px}.guida-transport-card .guida-small{font-size:12px;color:#6e746e}.guida-transport-card .section-link{margin-top:auto;padding-top:10px}
.guida-note{margin-top:22px;border-left:3px solid var(--gold);background:var(--cream);padding:21px 26px}.guida-note strong{display:block;font-size:14px}.guida-note p{margin:5px 0 0;font-size:13px}
.guida-map-shell{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);background:white;overflow:hidden;border:1px solid #dce2d9;border-radius:18px;box-shadow:0 18px 44px #122c1e10}
.guida-map-frame{height:500px;min-width:0;background:#d6dfd3}.guida-map-frame iframe{display:block;border:0;width:100%;height:100%}
.guida-map-details{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;padding:36px}.guida-map-details h3{font:500 35px/1.15 var(--serif);margin:18px 0 14px}.guida-map-details p{font-size:14px;line-height:1.75}.guida-coordinates{color:#7d745e!important;font-weight:700;font-size:12px!important}.guida-map-actions{display:flex;align-items:flex-start;flex-direction:column;gap:17px;margin:12px 0 18px}.guida-map-details .btn{white-space:normal;text-align:center}.guida-secondary-link{font-size:13px;font-weight:700;border-bottom:1px solid var(--gold)}.guida-map-details .guida-credit{font-size:11px;color:#777f79;margin:0}.guida-credit a{text-decoration:underline;text-underline-offset:2px}
.guida-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.guida-discovery-grid>a{background:#112f26;color:white;border-radius:16px;padding:32px;min-height:255px;display:flex;flex-direction:column;transition:transform .2s,background .2s}.guida-discovery-grid>a:hover{background:#204e3e;transform:translateY(-3px)}.guida-discovery-num{font-size:12px;letter-spacing:.14em;color:#e8c58f}.guida-discovery-grid h3{font:500 28px/1.2 var(--serif);margin:22px 0 11px}.guida-discovery-grid p{color:#d8e6dc;font-size:13px;line-height:1.6;margin-bottom:20px}.guida-discovery-arrow{color:#ebd19c;font-weight:700;font-size:12px;margin-top:auto}
.guida-faq-heading{text-align:center}.guida-faq-heading .eyebrow{justify-content:center}.guida-faq-heading h2{margin:15px 0 10px}.guida-faq-heading p{max-width:450px;margin:0 auto}.guida-faq .faq{margin-top:35px}.guida-faq .faq a{text-decoration:underline;text-underline-offset:2px;color:#1d4c3e;font-weight:600}.guida-faq .faq summary{font-size:16px}.guida-faq .faq p{font-size:14px;line-height:1.7}
.guida-fonti{padding:25px 0 45px;background:var(--paper)}.guida-fonti h2{font:600 14px var(--sans);letter-spacing:.04em;margin:0 0 7px}.guida-fonti p{font-size:12px;line-height:1.8;max-width:1000px}.guida-fonti a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:1000px){.guida-map-shell{grid-template-columns:1fr}.guida-map-frame{height:420px}.guida-map-details{padding:30px}}
@media(max-width:700px){.guida-heading>p{font-size:15px}.guida-transport-grid,.guida-discovery-grid{grid-template-columns:1fr}.guida-transport-card{padding:25px}.guida-map-frame{height:350px}.guida-map-details{padding:25px}.guida-discovery-grid>a{min-height:210px}.guida-map-details h3{font-size:30px}}

/* Home: scroll affordance is now a clickable anchor. */
.hero-bottom a.scroll-indicator{color:inherit;text-decoration:none;cursor:pointer}
.hero-bottom a.scroll-indicator:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:3px}


/* Galleria fotografica 2026 · interfaccia comune, responsive e accessibile */
:is(.villa-photo,.cat-shot,.fiu-shot,.mk-photo,[data-lightbox],[data-gallery]){cursor:zoom-in}
:is(.villa-photo,.cat-shot,.fiu-shot,.mk-photo,[data-lightbox],[data-gallery]):focus-visible{outline:3px solid #c5a46c;outline-offset:4px}
.cg-viewer{position:fixed;inset:0;z-index:9999;width:100%;max-width:none;max-height:none;height:100%;margin:0;padding:0;border:0;background:#06120ff5;color:#fff;overflow:hidden}
.cg-viewer::backdrop{background:rgba(0,0,0,.92)}
.cg-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:100%;height:100%;padding:env(safe-area-inset-top) max(14px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(14px,env(safe-area-inset-left));gap:8px}
.cg-head,.cg-info{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px}.cg-head{border-bottom:1px solid #fff2}.cg-head-title{font:500 17px/1.35 var(--serif,Georgia,serif);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cg-count{font-size:12px;color:#d5cab6;white-space:nowrap;font-variant-numeric:tabular-nums}.cg-close,.cg-arrow{display:grid;place-items:center;border:1px solid #ffffff55;background:#ffffff12;color:white;border-radius:50%;height:44px;width:44px;font-size:24px;flex:none;transition:background .2s}.cg-close:hover,.cg-arrow:hover{background:#ffffff38}.cg-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;isolation:isolate}.cg-image{max-height:100%;max-width:calc(100% - 112px);width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 14px 60px #0005}.cg-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2}.cg-prev{left:2px}.cg-next{right:2px}.cg-info{display:flex;flex-wrap:wrap;justify-content:center;flex-direction:column;gap:8px;padding:8px 0 14px}.cg-caption{font-size:14px;color:#f4f0e7;text-align:center;margin:0;max-width:760px}.cg-thumbs{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:4px 4px 8px;scrollbar-width:thin;scrollbar-color:#ba9a6d transparent}.cg-thumb{flex:0 0 67px;height:53px;padding:2px;border:2px solid transparent;border-radius:7px;background:transparent;opacity:.62;transition:opacity .2s,border-color .2s}.cg-thumb[aria-current="true"]{border-color:#e7c18b;opacity:1}.cg-thumb:hover{opacity:1}.cg-thumb img{width:100%;height:100%;object-fit:cover;border-radius:4px}.cg-hint{font-size:10px;color:#aab8b0;text-align:center}
@media(max-width:600px){.cg-shell{gap:4px}.cg-head-title{font-size:14px}.cg-image{max-width:100%}.cg-arrow{width:36px;height:36px;background:#06120f9c;top:auto;bottom:8px;transform:none}.cg-prev{left:6px}.cg-next{right:6px}.cg-info{padding-bottom:8px}.cg-thumb{flex-basis:55px;height:45px}.cg-hint{display:none}.cg-caption{font-size:12px;padding:0 25px}}
@media(prefers-reduced-motion:reduce){.cg-viewer *{scroll-behavior:auto!important;transition:none!important}}


/* Cittanova · Stabilizzazione visualizzatore cross-device, novembre 2026 */
html:has(dialog.cg-viewer[open]){overflow:hidden}
dialog.cg-viewer{position:fixed!important;inset:0!important;box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#06120f!important;color:#fff!important;overscroll-behavior:contain}
.cg-viewer,.cg-viewer *{box-sizing:border-box}
.cg-viewer .cg-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(52px,auto) minmax(0,1fr) auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding: max(8px, env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;gap:6px!important}
.cg-viewer .cg-head{min-width:0;min-height:48px;gap:12px;display:flex;align-items:center;justify-content:space-between}
.cg-viewer .cg-head-title{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cg-viewer .cg-stage{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;overflow:hidden!important}
.cg-viewer .cg-image{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important;box-shadow:none!important;border-radius:5px!important}
.cg-viewer .cg-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);background:#06120f9e;backdrop-filter:blur(6px);touch-action:manipulation}
.cg-viewer .cg-prev{left:8px}.cg-viewer .cg-next{right:8px}
.cg-viewer .cg-info{min-width:0;min-height:0;max-height:145px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:4px 0 0;overflow:hidden}
.cg-viewer .cg-caption{max-width:100%;max-height:3em;overflow:hidden;text-align:center;line-height:1.4;margin:0}
.cg-viewer .cg-thumbs{display:flex;width:max-content;max-width:100%;min-width:0;min-height:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-behavior:smooth;padding:3px 5px 8px}
.cg-viewer .cg-thumb{display:block;flex:0 0 62px;min-width:62px;height:52px;overflow:hidden;padding:2px;touch-action:manipulation}
.cg-viewer .cg-thumb img{width:100%;height:100%;object-fit:cover}
.cg-viewer .cg-close{touch-action:manipulation}
.place-list-img a.place-image-link{display:block;width:100%;height:100%;overflow:hidden;cursor:pointer}
.place-list-img a.place-image-link img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.place-list-img a.place-image-link:hover img,.place-list-img a.place-image-link:focus-visible img{transform:scale(1.055)}
.place-list-img a.place-image-link:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}
.related-section{padding:clamp(55px,6vw,90px) 0;background:#f0eee6;border-top:1px solid #e3e0d5}
.related-heading{margin-bottom:25px}.related-heading h2{font-size:clamp(33px,4vw,50px);margin:12px 0}.related-heading p{max-width:620px;font-size:14px;margin:0}
.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.related-card{display:grid;grid-template-columns:minmax(125px,42%) minmax(0,1fr);min-height:205px;background:#fff;border:1px solid #e0ded6;border-radius:17px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.related-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #102a1c17}.related-card:focus-visible{outline:3px solid #bd9560;outline-offset:3px}
.related-card-image{display:block;min-width:0;min-height:0;overflow:hidden;background:#d6dccf}.related-card-image img{display:block;width:100%;height:100%;min-height:205px;object-fit:cover;transition:transform .3s ease}.related-card:hover img{transform:scale(1.04)}
.related-card-body{padding:clamp(18px,2.5vw,30px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;min-width:0}
.related-card-body strong{font:500 clamp(21px,2.3vw,29px)/1.16 var(--serif);color:var(--deep)}.related-card-body>span:not(.related-card-cta){font-size:13px;line-height:1.55;color:var(--muted)}
.related-card-cta{font-size:12px;font-weight:800;letter-spacing:.03em;color:var(--forest);border-bottom:1px solid var(--gold);margin-top:6px}
@media(max-width:850px){.related-grid{grid-template-columns:1fr}.related-card{min-height:180px}.related-card-image img{min-height:180px}}
@media(max-width:600px){.cg-viewer .cg-arrow{top:50%;bottom:auto;transform:translateY(-50%);width:36px;height:36px}.cg-viewer .cg-prev{left:0}.cg-viewer .cg-next{right:0}.cg-viewer .cg-info{max-height:120px}.cg-viewer .cg-hint{display:none}.cg-viewer .cg-thumb{flex-basis:52px;min-width:52px;height:44px}.cg-viewer .cg-caption{font-size:12px}.related-card{grid-template-columns:39% minmax(0,1fr);min-height:165px}.related-card-image img{min-height:165px}.related-card-body{padding:16px;gap:6px}.related-card-body strong{font-size:21px}.related-card-body>span:not(.related-card-cta){font-size:12px}}
@media(max-width:370px){.related-card{grid-template-columns:1fr}.related-card-image{height:155px}.related-card-image img{min-height:0;height:155px}}
@media(prefers-reduced-motion:reduce){.related-card,.related-card img,.place-image-link img{transition:none!important}}
