/* Homepage: dimensions and typography of living.leamalfitane.com. */
body.home {
 /* Palette inherits the editable ACF Theme Settings. */
 --font-sans:Jost,ui-sans-serif,system-ui,sans-serif;
 --font-display:'Cormorant Garamond',Georgia,serif;
 --container:1280px; font-weight:400; line-height:1.5;
 color:var(--c-primary); background:var(--c-bg);
}
.home .container{max-width:1280px;padding-left:24px;padding-right:24px;width:100%}
.home .site-header__inner{min-height:104px;justify-content:space-between;gap:16px;padding-top:20px;padding-bottom:20px}
.home .site-logo img{height:112px;max-height:none;margin:-24px 0;width:auto}
.home .site-nav{margin-left:0}
.home .site-nav__list{gap:32px}
.home .site-nav__list a{font-size:14px;letter-spacing:.025em;color:color-mix(in oklch,var(--c-bg) 85%,transparent)}
.home .site-header .btn{padding:8px 20px;font-size:14px;letter-spacing:.025em;font-weight:400;line-height:20px;text-transform:none}
.home .lang-switch{font-size:12px;letter-spacing:0}
.home .lang-switch__item.is-current{color:var(--c-gold);font-weight:400}
.home .hero{min-height:100vh;display:block;color:var(--c-bg)}
.home .hero::after{background:linear-gradient(to right,color-mix(in oklch,var(--c-primary) 85%,transparent),color-mix(in oklch,var(--c-primary) 55%,transparent),transparent)}
.home .hero__inner{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding-top:128px;padding-bottom:128px}
.home .hero__eyebrow{font-size:12px;line-height:16px;letter-spacing:.35em;margin:0 0 24px;color:var(--c-gold)}
.home .hero__title{font-size:96px;line-height:.95;letter-spacing:-.01em;max-width:672px;margin:0;color:var(--c-bg)}
.home .hero__title span{display:block}
.home .hero__intro{max-width:512px;font-size:16px;line-height:24px;margin-top:32px;color:color-mix(in oklch,var(--c-bg) 90%,transparent)}
.home .hero__intro p{margin:0}
.home .hero__intro p+p{margin-top:16px}
.home .hero__actions{margin-top:40px;gap:16px;max-width:672px}
.home .hero__actions .btn{padding:16px 28px;border-radius:6px;font-size:12px;line-height:16px;letter-spacing:.2em;font-weight:500;min-height:48px}
.home .hero__actions .btn--cream{border:0}
.home .hero__actions .icon{width:14px;height:14px}
.home .hero__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;width:100%;max-width:672px;margin:56px 0 0;padding:0;border:0}
.home .hero__stats li{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.home .hero__stat-icon{color:var(--c-gold);margin:0;line-height:22px}
.home .hero__stat-icon .icon{width:22px;height:22px;display:block}
.home .hero__stats strong{font-size:24px;line-height:24px;font-family:var(--font-display);font-weight:400}
.home .hero__stats li>span:last-child{font-size:11px;line-height:16.5px;letter-spacing:.05em;color:color-mix(in oklch,var(--c-bg) 70%,transparent)}
.home .section--units{padding:80px 0}
.home .unit-grid{gap:32px}
.home .unit-card__name{font-size:72px;letter-spacing:.025em;line-height:1}
.home .unit-card__overlay{gap:12px;padding:0 32px}
.home .unit-card__link{margin-top:16px;margin-bottom:2.4px;line-height:16px;gap:8px;align-self:flex-start}
.home .unit-card__link .icon{width:14px;height:14px}
.home #esperienze{padding:96px 0}
.home #esperienze .section-head{margin:0 0 48px;text-align:left;max-width:672px}
.home #esperienze .section-title{font-size:60px;line-height:60px;letter-spacing:.025em;margin:0}
.home #esperienze .section-lede{font-size:16px;line-height:24px;margin:16px 0 0;color:color-mix(in oklch,var(--c-primary) 70%,transparent)}
.home .exp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home .exp-card--tile .exp-card__media{aspect-ratio:1;border-radius:2px}
.home .exp-card--tile .exp-card__overlay{border-radius:2px;padding:24px;background:linear-gradient(to top,rgb(0 0 0 / .75),rgb(0 0 0 / .25),transparent)}
.home .exp-card--tile .exp-card__title{font-size:28px;line-height:1.25;text-transform:uppercase;letter-spacing:-.01em}
.home .exp-card__chevron{position:absolute;top:24px;left:24px;transform:none}
.home #posizione{padding:0 0 64px}
.home .location,.home .booking{padding:48px;border:1px solid color-mix(in oklch,var(--c-primary) 15%,transparent);border-radius:6px;background:color-mix(in oklch,var(--c-bg) 70%,transparent)}
.home .location{gap:40px;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.home .location .section-title{font-size:48px;line-height:1.25;margin:0}
.home .location .section-lede{font-size:14px;line-height:1.625;max-width:448px;margin:24px 0 32px;color:color-mix(in oklch,var(--c-primary) 75%,transparent)}
.home .distance-list{border-radius:6px;border-color:color-mix(in oklch,var(--c-primary) 15%,transparent)}
.home .distance-list li{padding:16px 20px;gap:24px;align-items:center;border-color:color-mix(in oklch,var(--c-primary) 10%,transparent);font-size:14px;line-height:20px}
.home .distance-list__place,.home .distance-list__meta{font-size:14px;line-height:20px}
.home .distance-list__meta{gap:24px}
.home .map-embed{border-radius:6px}
.home .map-embed iframe{height:380px}
.home #prenota{padding:0 0 96px}
.home .booking>.section-head{max-width:672px;margin:0 auto 40px}
.home .booking .section-title{font-size:48px;line-height:1;margin:0}
.home .booking .section-lede{font-size:14px;line-height:20px;margin:16px 0 0;max-width:none;color:color-mix(in oklch,var(--c-primary) 70%,transparent)}
.home .booking__layout{grid-template-columns:282px minmax(0,1fr);gap:32px;align-items:stretch}
.home .booking__calendar{padding:16px;border-radius:16px}
.home .booking__panel{padding:24px;border:1px solid var(--c-border);border-radius:16px;background:white;box-shadow:0 1px 2px #0000000d}
.home .date-picker__summary{margin:12px 0 0;padding:0;border:0;font-size:14px;text-align:center;line-height:20px}
.home .date-picker .flatpickr-calendar{background:var(--c-bg);font-family:var(--font-sans);padding:12px}
.home .date-picker .flatpickr-current-month{font:500 14px/20px var(--font-sans);padding-top:4px}
.home .date-picker .flatpickr-day{height:32px;line-height:32px;border-radius:6px;font-size:14px;max-width:none;flex-basis:14.2857%}
.home .date-picker .flatpickr-weekdays{display:none}
.home .date-picker .flatpickr-day.today{background:var(--c-cream);border-color:transparent}
.home .date-picker .flatpickr-months{margin-bottom:16px}
.home .date-picker .flatpickr-current-month .numInputWrapper{width:5ch}
.home .fluentform form{display:block}
.home .fluentform fieldset{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.home .fluentform fieldset>input[type=hidden],.home .fluentform legend{display:none!important}
.home .fluentform .ff-el-group{margin:0;min-width:0}
.home .fluentform .ff-t-container{grid-column:1/-1;min-width:0}
.home .fluentform .ff-t-cell{min-width:0}
.home .fluentform .ff-el-group:has([name="rate_per_person"]),.home .fluentform .lam-total{grid-column:1/-1}
.home .fluentform .lam-total .ff-el-form-control[readonly]{height:48px;font-size:24px;background:var(--c-cream);border-color:var(--c-gold)}
.home .fluentform .lam-date-row{grid-column:1/-1;display:none}
.home .fluentform .lam-date-row:has(.text-danger){display:block}
.home .fluentform .ff-el-form-hide_label{grid-column:1/-1}
.home .fluentform .ff-el-group:has([name="unit"]),.home .fluentform .ff-el-group:has([name="guest_message"]),.home .fluentform .lam-consent,.home .fluentform .ff_submit_btn_wrapper,.home .fluentform .ff-errors-in-stack{grid-column:1/-1}
.home .fluentform .ff-el-input--label label{display:block;font-size:14px;line-height:20px;text-transform:none;letter-spacing:0;font-weight:400;color:var(--c-primary);margin:0}
.home .fluentform .ff-el-input--label{line-height:20px}
.home .fluentform select.ff-el-form-control{min-height:36px}
.home .fluentform .ff-el-input--label{margin-bottom:6px}
.home .fluentform .ff-el-input--label label:after{display:none}
.home .fluentform .ff-el-form-control{font:400 14px/20px var(--font-sans);padding:4px 12px;height:36px;border-radius:6px;background:transparent;color:var(--c-primary);box-shadow:0 1px 2px #0000000d}
.home .fluentform textarea.ff-el-form-control{height:97.6px;min-height:60px;padding:8px 12px}
.home .fluentform .lam-consent .ff-el-form-check-label{display:flex;font-size:14px;line-height:20px;color:var(--c-muted)}
.home .fluentform .lam-consent .ff-el-form-check{margin:0}
.home .fluentform .ff-btn-submit{background:var(--c-primary);color:var(--c-bg);font-size:14px;line-height:20px;text-transform:none;letter-spacing:0;font-weight:500;padding:8px 16px;border-radius:6px;width:100%;height:36px}
.home .booking__note{font-size:12px;line-height:16px;margin:16px 0 0;text-align:center}
.home .site-footer{padding:64px 0;color:var(--c-bg)}
.home .site-footer__inner{gap:20px}
.home .site-footer__logo{height:192px;max-height:none;width:auto}
.home .site-footer__tagline{font-size:14px;line-height:20px;max-width:448px;color:color-mix(in oklch,var(--c-bg) 70%,transparent)}
.home .site-footer__links{font-size:14px;line-height:20px;gap:16px}
.home .site-footer__links a+a:before{content:'·';margin-right:16px;color:color-mix(in oklch,var(--c-bg) 30%,transparent)}
.home .site-footer__links a:first-child{color:var(--c-gold)}
.home .site-footer__legal{margin:16px 0 0;font-size:12px;line-height:16px;color:color-mix(in oklch,var(--c-bg) 40%,transparent)}
@media(max-width:1023px){
 .home .location{grid-template-columns:1fr}.home .booking__layout{grid-template-columns:1fr}
 .home .booking__calendar{max-width:none}.home .date-picker .flatpickr-calendar{width:248px}
 .home .exp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){.home .unit-grid{grid-template-columns:minmax(0,1fr)}.home .unit-card{min-width:0}.home .hero__title{font-size:72px}.home .site-logo img{height:96px}.home .site-header__inner{min-height:88px}.home .site-footer__logo{height:160px}}
@media(max-width:639px){
 .home .hero__title{font-size:60px}.home .hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .hero__actions .btn{white-space:normal}.home .exp-grid{grid-template-columns:1fr}
 .home #esperienze .section-title{font-size:48px;line-height:48px}
 .home .unit-card__name{font-size:60px}.home .exp-card--tile .exp-card__title{font-size:24px}
 .home .location,.home .booking{padding:32px}
 .home .location .section-title,.home .booking .section-title{font-size:36px}
 .home .distance-list li{flex-direction:row;gap:12px;padding:16px 12px}
 .home .distance-list__meta{gap:12px;white-space:normal}
 .home .fluentform fieldset{grid-template-columns:1fr}.home .site-header__actions .btn{display:none}
}
.home-calendar{padding:12px;width:248px;max-width:100%;background:var(--c-bg)}
.home-calendar__heading{height:32px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;margin-bottom:16px}
.home-calendar button{border:0;background:none;color:var(--c-primary);padding:0;font:inherit;border-radius:6px}
.home-calendar__heading button{width:32px;height:32px;font-size:24px}
.home-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:8px}
.home-calendar__grid button{height:32px;font-size:14px}
.home-calendar button:disabled{opacity:.25;cursor:default}
.home-calendar button.is-outside{color:var(--c-muted)}
.home-calendar button.is-today,.home-calendar button:hover:not(:disabled){background:var(--c-cream)}
.home-calendar button.is-selected{background:var(--c-primary);color:var(--c-bg)}
.home-calendar button.is-range{background:var(--c-cream);border-radius:0}
.home-calendar button:focus-visible{outline:2px solid var(--c-gold);outline-offset:1px}
.home .hero__stat-icon{color:var(--c-gold)}
.home .menu-toggle{position:relative;z-index:601}
.home .fluentform .ff-el-input--label{padding:0;margin-bottom:6px}
.mobile-language{display:none}
@media(max-width:1279px){
 .home .site-nav{position:fixed;top:0;right:-100%;width:min(340px,86vw);height:100vh;background:var(--c-primary);padding:88px 28px 32px;transition:right .25s ease,visibility .25s;overflow-y:auto;z-index:600;visibility:hidden}
 .home .site-nav.is-open{right:0;visibility:visible}
 .home .site-nav__list{flex-direction:column;align-items:flex-start;gap:22px}
 .home .menu-toggle{display:flex}
}
@media(max-width:639px){.home .mobile-language{display:block;margin-top:32px}.home .mobile-language .lang-switch{display:inline-flex}}
@media(min-width:640px) and (max-width:960px){.home .site-header__actions .btn{display:inline-flex}}
@media(max-width:639px){.home .lang-switch{display:none}}

/* A step is a full-width container, not an individual field. */
.home .fluentform .ff-form-has-steps > fieldset{display:block}
.home .fluentform .ff-form-has-steps .fluentform-step{width:100%;min-width:0}
.home .fluentform .ff-form-has-steps .ff-el-group{margin-bottom:16px}
