@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600&display=swap');

*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fffaf6;color:#201a17;font:16px Arial,sans-serif}a{color:inherit;text-decoration:none}.site-header{height:90px;background:#fffaf7;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:6px 2.2%;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:14px;min-width:300px}.chalet-logo{width:125px;max-height:96px;object-fit:contain}.pars-logo{width:190px;max-height:55px;object-fit:contain}.brand-rule{height:35px;border-left:1px solid #7d1427}.nav ul{display:flex;flex-wrap:wrap;list-style:none;gap:20px;padding:0;margin:0}.nav a{font-size:14px;font-weight:700}.btn{display:inline-block;border:0;border-radius:7px;padding:14px 20px;font-size:15px;cursor:pointer}.btn-primary{color:white;background:linear-gradient(#ae5625,#622707)}.btn-outline{border:1px solid #fff;color:white;background:#15151580}.hero{height:350px;background-size:cover;background-position:center 48%;color:white}.hero-inner{max-width:1250px;margin:auto;padding:43px 22px}.eyebrow{font-size:14px;letter-spacing:.5px}.hero h1{font:700 clamp(32px,4vw,53px)/1.05 Georgia,serif;max-width:510px;margin:10px 0}.hero p{max-width:425px;line-height:1.5}.hero-actions{display:flex;gap:16px;margin-top:14px}.booking{max-width:1140px;margin:-45px auto 0;position:relative;background:#fffaf6;border-radius:13px;padding:16px 24px;box-shadow:0 5px 14px #0003}.booking h2{font-size:21px;margin:0 0 14px}.booking-fields{display:grid;grid-template-columns:1.4fr 1.4fr .8fr .8fr 1.4fr;gap:14px;align-items:end}.booking-fields label{font-size:12px;font-weight:bold}.booking-fields input,.booking-fields select{display:block;width:100%;border:1px solid #eee;border-radius:7px;padding:12px 10px;background:white;margin-top:5px;font-size:14px}.booking-fields button{white-space:nowrap}.booking small{display:block;color:#6e645c;margin-top:9px}.features{max-width:1140px;margin:22px auto;display:grid;grid-template-columns:repeat(4,1fr);text-align:center}.features>div{border-right:1px solid #d5cfc8;font-weight:bold}.features>div:last-child{border:0}.features span{display:block;color:#9d1715;font-size:29px;margin-bottom:7px}.cards{max-width:1200px;margin:20px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.photo-card{min-height:180px;background:#b38a64;background-size:cover;background-position:center;display:flex;align-items:end;justify-content:space-between;padding:22px;color:white;border-radius:10px}.photo-card strong{font:24px Georgia,serif}.why{max-width:1180px;margin:15px auto;display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:16px;align-items:center;text-align:center}.why h2{font:30px Georgia,serif;color:#82182a;text-align:left}.why div{border-left:1px solid #ddd;font-size:27px;color:#a21e16}.why b,.why small{display:block;color:#161616;font-size:15px}.why small{font-size:12px;margin-top:5px}.partner-cards{max-width:1140px;margin:15px auto 20px}.partner-cards h2{text-align:center;font-size:24px}.partner-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.partner-list>div{background:#f2ebe4;border-radius:8px;padding:18px}.partner-list p{font-size:14px}.joomla-content{max-width:1140px;margin:auto}.joomla-content:empty{display:none}footer{color:white;background:#3d1e0c}.footer-main{max-width:1200px;margin:auto;display:grid;grid-template-columns:190px 300px 1fr;gap:24px;align-items:center;padding:18px 20px}.footer-chalet img{width:165px;max-height:140px;object-fit:contain;filter:brightness(0) invert(1)}address{font-style:normal;display:flex;flex-direction:column;gap:14px;font-size:14px;border-left:1px solid #aa8a72;padding-left:24px}.footer-partners{border-left:1px solid #aa8a72;padding-left:25px}.footer-partners h3{margin:0 0 9px;font:23px Georgia,serif}.partner-logos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.logo-tile{height:86px;background:white;border-radius:9px;color:#5b4639;display:flex;align-items:center;justify-content:center;padding:8px;text-align:center;font-size:13px;font-weight:bold}.logo-tile img{width:100%;height:100%;object-fit:contain}.tourism-logos{background:#fff;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:20px;padding:12px max(3%,calc((100vw - 1180px)/2));min-height:105px}.tourism-logos>div{text-align:center;color:#735b4b;font-weight:bold}.tourism-logos img{max-width:100%;height:75px;object-fit:contain}.footer-bottom{padding:20px 4%;display:flex;justify-content:space-between;gap:18px;font-size:12px}.joomla-content:not(:empty){padding:15px 20px}@media(max-width:1000px){.site-header{height:auto;flex-wrap:wrap}.nav{order:3;width:100%}.booking{margin:-20px 15px 0}.booking-fields{grid-template-columns:repeat(2,1fr)}.booking-fields button{grid-column:span 2}.cards,.why,.partner-cards{margin-left:15px;margin-right:15px}.footer-main{grid-template-columns:1fr 2fr}.footer-partners{grid-column:1/-1}}@media(max-width:650px){.brand{min-width:0}.chalet-logo{width:85px}.pars-logo{width:110px}.top-cta{font-size:12px}.hero{height:400px}.hero-inner{padding:25px 20px}.hero h1{font-size:36px}.booking-fields{grid-template-columns:1fr}.booking-fields button{grid-column:1}.features{grid-template-columns:repeat(2,1fr);gap:18px}.cards{grid-template-columns:1fr}.why{grid-template-columns:repeat(2,1fr)}.why h2{grid-column:1/-1;text-align:center}.partner-list{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}.footer-partners{grid-column:auto;padding:0;border:0}address{border:0;padding:0}.tourism-logos{grid-template-columns:repeat(2,1fr)}.footer-bottom{flex-direction:column}}
.partner-card-entry{display:flex;align-items:center;gap:12px;min-width:0}.partner-card-photo{width:120px;height:90px;object-fit:cover;border-radius:10px}.partner-card-entry .btn{font-size:12px;padding:7px 10px}.footer-bottom a{color:inherit;text-decoration:none}.footer-bottom a:hover{text-decoration:underline}

/* v0.6: approved layout, one right-aligned hero CTA, no booking bar */
.site-header{height:85px;overflow:visible;z-index:10;padding:0 6.8%;gap:18px}.brand{min-width:300px;align-self:stretch;position:relative}.brand a{align-self:flex-start}.chalet-logo{width:114px;height:118px;max-height:none;object-fit:contain;object-position:center top;position:relative;top:4px;z-index:12}.pars-logo{width:135px;max-height:55px}.brand-rule{height:38px}.nav{margin-left:auto}.nav ul{gap:25px;align-items:center}.nav a{font-size:14px}.hero{height:325px;background-position:var(--hero-x,52%) var(--hero-y,34%);position:relative}.hero-inner{max-width:1420px;padding:58px 40px}.hero h1{max-width:460px;font-size:clamp(36px,3.65vw,58px);line-height:1.02;margin-top:14px}.hero p{display:none}.hero-cta{position:absolute;right:5.5%;bottom:18px;background:linear-gradient(125deg,#b6003e,#84002b);border:2px solid #fff;color:white;border-radius:12px;padding:16px 19px;font-size:19px;font-weight:700;display:flex;align-items:center;gap:14px;box-shadow:0 5px 18px #0004;z-index:2}.hero-cta:hover,.hero-cta:focus-visible{background:#720026}.cta-arrow{border:2px solid white;border-radius:50%;height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center}.features{max-width:1060px;margin:13px auto 18px;padding:0 15px}.features>div{font-size:14px}.features span{font-size:29px;color:#a60037}.cards{max-width:1270px;gap:14px;margin:15px auto}.photo-card{min-height:140px;padding:16px 22px}.photo-card strong{font-size:21px}.why{max-width:1230px;margin:16px auto}.why h2{font-size:28px;color:#a00034}.partner-cards{max-width:1230px;margin:20px auto 24px}.partner-cards h2{font:700 26px Georgia,serif}.partner-list>div{background:transparent;padding:6px}.partner-card-photo{width:170px;height:84px}.partner-card-entry .btn{display:none}.footer-chalet img{filter:none}.footer-main{max-width:1280px}.tourism-logos{min-height:100px}.joomla-content:empty{display:none}
@media(max-width:1100px){.site-header{padding:0 3%}.nav ul{gap:13px}.brand{min-width:260px}.hero-inner{padding-left:5%}.cards,.why,.partner-cards{margin-left:3%;margin-right:3%}}
@media(max-width:780px){.site-header{height:auto;min-height:90px;padding:0 16px 12px}.brand{min-width:0;height:95px}.chalet-logo{width:100px;height:112px}.pars-logo{width:105px}.nav{order:3;width:100%;overflow:auto}.nav ul{flex-wrap:nowrap;white-space:nowrap}.hero{height:380px;background-position:var(--hero-x,52%) var(--hero-y,34%)}.hero-inner{padding:52px 22px}.hero h1{max-width:320px;font-size:39px}.hero-cta{right:15px;bottom:15px;padding:12px;font-size:15px}.features{grid-template-columns:repeat(2,1fr);gap:15px}.features>div:nth-child(2){border:0}.cards{grid-template-columns:1fr}.why{grid-template-columns:repeat(2,1fr)}.why h2{grid-column:1/-1}.partner-list{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}.footer-partners{grid-column:auto}.tourism-logos{grid-template-columns:repeat(2,1fr)}}

/* v0.7 – rendering approvato: logo grande, nessun breadcrumb, schede alte, nessuna sezione partner nel corpo */
.site-header{background:#fffaf7}
.chalet-logo{width:145px;height:145px;top:0;object-fit:contain;filter:drop-shadow(0 0 2px #fffaf7)}
.brand a{position:relative;z-index:15}
.hero-inner{padding-top:72px}
.cards{max-width:1270px}
.photo-card{min-height:320px;background-position:center;background-size:cover}
.why{margin-top:22px;margin-bottom:30px}
@media(max-width:780px){.chalet-logo{width:110px;height:120px}.hero-inner{padding-top:55px}.photo-card{min-height:290px}}

/* v0.8: chalet interamente visibile, con ritaglio verticale regolabile */
.hero{height:390px;background-position:var(--hero-x,52%) var(--hero-y,70%)}
@media(max-width:780px){.hero{height:420px;background-position:var(--hero-x,52%) var(--hero-y,70%)}}

/* v0.9: hero crop centered on entire chalet */
.hero{background-position:var(--hero-x,52%) var(--hero-y,50%)}
@media(max-width:780px){.hero{background-position:52% 50%}}

/* v1.0: updated panoramic hero image; keep the chalet in view */
.hero{background-position:var(--hero-x,52%) var(--hero-y,50%)}

/* v1.1: panoramic photo fitted without cutting the chalet; all other layout unchanged */
.hero{background-size:cover;background-position:center center}
@media(max-width:780px){.hero{background-position:center center}}

/* v1.2: hero more compact; authentic photo, no lateral blur. Other sections unchanged. */
.hero{height:340px;background-size:100% 100%;background-position:center center}
@media(max-width:780px){.hero{height:360px;background-size:cover;background-position:center center}}

/* v14: solo logo Chalet ingrandito e spostato leggermente a sinistra */
@media(min-width:781px){.brand{transform:translateX(-24px)}.chalet-logo{width:165px;height:165px;max-height:none;top:0}.brand-rule{margin-left:0}}

/* v15: ONLY reduce photographic banner height; preserve header and all other sections */
.hero{height:250px;background-size:cover;background-position:center center}
@media(max-width:780px){.hero{height:260px;background-size:cover;background-position:center center}}

/* v17: header 5% shorter, Residence PARS logo 5% larger; keep original chalet photo */
@media(min-width:781px){.site-header{height:89px}.pars-logo{width:142px;max-height:58px}.hero{height:250px;background-position:center center}.hero-inner{padding-top:39px}}
@media(max-width:780px){.pars-logo{width:110px}.site-header{min-height:86px}}

/* v19: barra bianca desktop ridotta realmente da 89px a 80px (-10%); nessun altro cambiamento */
@media(min-width:781px){.site-header{height:80px}}

/* v20: solo contorno bianco piu visibile al logo Chalet La Para */
.chalet-logo{filter:drop-shadow(2px 0 1px #fffaf7) drop-shadow(-2px 0 1px #fffaf7) drop-shadow(0 2px 1px #fffaf7) drop-shadow(0 -2px 1px #fffaf7) drop-shadow(0 3px 2px rgba(255,250,247,.8));}

/* v23: solo loghi: Chalet +15%, piu in basso; Residence PARS ridimensionato nella barra da 80px. Nessuna modifica a foto, hero o altre sezioni. */
@media(min-width:781px){.chalet-logo{width:190px;height:190px;top:12px}.pars-logo{width:125px;max-height:58px}}

/* v24: logo Residence PARS piu leggibile, nessun altro cambiamento */
@media(min-width:781px){.pars-logo{width:140px;max-height:58px}}

/* v26: Only hero heading typography and Alta Badia divider; all other layout preserved. */

.hero-inner h1 {
    font-family: 'Dancing Script', 'URW Chancery L', 'Brush Script MT', cursive;
    font-weight: 700;
    font-style: normal;
    line-height: 1.05;
    text-align: center;
    max-width: 540px;
    font-size: clamp(32px, 3.5vw, 58px);
    margin: 0 0 8px;
}
.hero-location{width:min(100%,540px);display:flex;align-items:center;flex-direction:column;gap:9px;color:#fff;font:400 12px/1.3 Arial,sans-serif;letter-spacing:5px;text-align:center;}
.hero-location-rule{display:block;width:180px;max-width:60%;height:1px;background:rgba(255,255,255,.85);}
@media(max-width:780px){.hero-inner h1{max-width:320px;font-size:clamp(32px,8vw,43px)}.hero-location{max-width:320px;font-size:10px;letter-spacing:3px}}

/* v27: icone lineari bordeaux nelle due sezioni; nessun altro cambiamento */
.features .chalet-line-icon,.why .chalet-line-icon{display:block;width:30px;height:30px;margin:0 auto 7px;color:#a60037;stroke:currentColor;flex-shrink:0}
.why .chalet-line-icon{margin-bottom:7px}

/* v29: fascia marrone superiore del footer circa 15% piu bassa su desktop; resto invariato. */
@media(min-width:1001px){
.footer-main{padding-top:12px;padding-bottom:12px;}
.footer-chalet img{width:140px;max-height:119px;}
.logo-tile{height:73px;}
.footer-partners h3{font-size:20px;margin-bottom:7px;}
address{gap:11px;}
}

/* v30: sezione Perche scegliere piu compatta (~15%), solo spazi verticali. */
@media(min-width:781px){.why{margin-top:15px;margin-bottom:23px}.why h2{margin-top:0;margin-bottom:0}.why .chalet-line-icon{margin-bottom:5px}.why small{margin-top:3px}}

/* v31: sezione Perche scegliere ancora leggermente piu compatta; nessun altro elemento modificato. */
@media(min-width:781px){.why{margin-top:10px;margin-bottom:16px}.why .chalet-line-icon{margin-bottom:3px}.why small{margin-top:2px}}

/* v34: dalla v31, esclusivamente contorno BIANCO esterno del logo.
   Nessuna variazione di dimensione o immagine del logo. */
.chalet-logo {
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
          drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
          drop-shadow(2px 2px 1px #fff) drop-shadow(-2px -2px 1px #fff)
          drop-shadow(0 3px 3px rgba(255,255,255,.65));
}

/* v35: footer partner, senza alterare le altre sezioni */
.partner-logos .partner-v35 {height:104px;min-width:0;display:flex;flex-direction:column;gap:5px;padding:7px 5px;text-decoration:none;overflow:hidden}
.partner-logos .partner-v35 img {height:67px;max-height:67px;width:100%;object-fit:contain;flex:1;min-height:0}
.partner-v35-desc {display:block;font-size:9px;line-height:1.2;font-weight:600;color:#573b2d;text-align:center;white-space:normal}
.partner-logos .partner-v35:hover {box-shadow:0 0 0 2px #ad1d4c inset}

/* v37: loghi partner integrati nella fascia marrone, senza riquadri */
.partner-logos{gap:0;align-items:stretch}
.partner-logos .logo-tile.partner-v35{background:transparent;border-radius:0;box-shadow:none;color:#f8ede2;height:103px;padding:4px 8px 3px;gap:4px;overflow:visible;position:relative;transition:opacity .2s ease}
.partner-logos .logo-tile.partner-v35 + .logo-tile.partner-v35{border-left:1px solid rgba(250,231,210,.46)}
.partner-logos .logo-tile.partner-v35 img{height:74px;max-height:74px;width:100%;object-fit:contain;flex:1;min-height:0}
.partner-logos .partner-v35-desc{color:#f7e9dc;font-size:9px;line-height:1.25;font-weight:500;letter-spacing:.02em;text-shadow:0 1px 1px #281205}
.partner-logos .partner-v35:hover{box-shadow:none;opacity:.78}
.footer-partners h3{color:#fff4e7}
@media(max-width:780px){.partner-logos .logo-tile.partner-v35{height:104px;padding:7px 5px}.partner-logos .logo-tile.partner-v35:nth-child(3){border-left:0}}

/* v39: fascia turistica ~15% piu compatta rispetto alla v38 */
.tourism-logos{min-height:89px;padding-top:9px;padding-bottom:9px;gap:17px}
.tourism-logos img{height:64px}
@media(max-width:780px){.tourism-logos{min-height:85px;padding-top:9px;padding-bottom:9px}.tourism-logos img{height:64px}}

/* v40 - Native Joomla multilingual selector in header */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
.language-switch{display:flex;align-items:center;flex-shrink:0;font-size:12px;font-weight:700;letter-spacing:.08em;color:#6a2332}
.language-switch .mod-languages ul{display:flex;list-style:none;gap:7px;margin:0;padding:0;align-items:center}
.language-switch .mod-languages li{display:inline-flex;align-items:center}
.language-switch .mod-languages li+li:before{content:'|';color:#b6a49d;margin-right:7px;font-weight:400}
.language-switch .mod-languages a,.language-switch .mod-languages span{color:#6a2332;text-decoration:none}
.language-switch .mod-languages .lang-active a,.language-switch .mod-languages .lang-active span{font-weight:900;color:#a5093b}
.language-switch .mod-languages img{max-width:22px;height:auto}
@media(max-width:850px){.site-header{gap:8px}.header-actions{gap:10px}.language-switch{font-size:11px}.brand{min-width:0}}
@media(max-width:600px){.site-header{flex-wrap:wrap;height:auto;min-height:90px}.header-actions{width:100%;justify-content:flex-end;padding-bottom:5px}}

/* v41 - compact header language labels; no layout changes */
.site-header .language-switch .chalet-languages .lang-inline{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;white-space:nowrap}
.site-header .language-switch .chalet-languages .lang-inline li{display:inline-flex;align-items:center}
.site-header .language-switch .chalet-languages .lang-inline li+li::before{content:"|";margin-right:8px;color:#b7a49d;font-weight:400}
.site-header .language-switch .chalet-languages .lang-inline a,.site-header .language-switch .chalet-languages .lang-inline span{font-size:12px;letter-spacing:.06em;color:#58352f;font-weight:700;text-decoration:none}
.site-header .language-switch .chalet-languages .lang-inline .lang-active span{color:#ae0a40;font-weight:900}
.site-header .language-switch .chalet-languages .lang-inline a:hover,.site-header .language-switch .chalet-languages .lang-inline a:focus-visible{color:#ae0a40;text-decoration:underline}
/* v43 - titoli articolo: stessa tipografia del titolo hero, senza cambiare la homepage */
body .chalet-gallery-page .chalet-gallery-article .com-content-article__body h1.chalet-script-title,
body .chalet-gallery-page .chalet-gallery-article .com-content-article__body h2.chalet-script-subtitle {
    font-family: 'Dancing Script', 'URW Chancery L', 'Brush Script MT', cursive !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-synthesis: none;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.05 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
}
body .chalet-gallery-page .chalet-gallery-article .com-content-article__body h1.chalet-script-title {
    font-size: clamp(30px, 2.8vw, 43px) !important;
    margin: 0 0 16px !important;
}
body .chalet-gallery-page .chalet-gallery-article .com-content-article__body h2.chalet-script-subtitle {
    font-size: clamp(24px, 2.1vw, 32px) !important;
    margin: 0 0 19px !important;
}
/* Ripristina lo spessore originale del titolo nell'header */
.hero-inner h1 {
    font-family: 'Dancing Script', 'URW Chancery L', 'Brush Script MT', cursive !important;
    font-weight: 700 !important;
}
/* Grassetto del titolo principale Lo Chalet */
.chalet-gallery-page h1.chalet-script-title,
.chalet-gallery-page h1.chalet-script-title strong {
    font-weight: 700 !important;
}
/* Centra soltanto i due titoli dell'articolo Lo Chalet */
.chalet-gallery-page .chalet-script-title,
.chalet-gallery-page .chalet-script-subtitle {
    text-align: center !important;
    width: 100%;
    max-width: none !important;
}
/* Centra i due titoli nella pagina Lo Chalet */
.chalet-gallery-page .chalet-gallery-article h1.chalet-script-title,
.chalet-gallery-page .chalet-gallery-article h2.chalet-script-subtitle {
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
