/* Home editoriale 2026. Isolata da style.css e dalle pagine interne.
   Palette e famiglie tipografiche del design system esistente.
   Contenuti sempre visibili: niente reveal bloccanti o animazioni in loop. */
.home-page { --home-sage: #e1e5d6; --home-gutter: clamp(22px,4.5vw,72px); background: var(--bone); color: var(--ink); }
.home-page [hidden] { display: none !important; }
.home-page main { outline: none; }
.home-page :is(section,div)[id] { scroll-margin-top: 112px; }
.home-page .home-shell { width: min(100%,1456px); margin-inline: auto; padding-inline: var(--home-gutter); }
.home-page .home-section { padding-block: clamp(60px,7vw,110px); }
.home-page .home-title { font-family: 'Fraunces',Georgia,serif; font-size: clamp(36px,4.3vw,66px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; margin: 0; font-variation-settings: 'opsz' 96,'SOFT' 65; }
.home-page .home-title em { font-weight: inherit; color: var(--gold-ink); }
.home-page .home-eyebrow { display: flex; align-items: center; gap: 15px; font: 600 12px/1.5 'Inter',sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 20px; }
.home-page .home-eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; flex: none; opacity: .7; }
.home-page .home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-page .home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 16px 26px; border-radius: 100px; border: 1px solid transparent; font: 600 14px/1.45 'Inter',sans-serif; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.home-page .home-button > span { font-size: 22px; line-height: 1; flex: none; }
.home-page .home-button--ivory { background: var(--bone); color: var(--forest-deep); }
.home-page .home-button--forest { background: var(--forest); color: var(--bone); }
.home-page .home-button--outline { color: var(--bone); border-color: var(--gold-light); background: rgba(15,33,24,.5); }
.home-page .home-button--ivory:hover { background: var(--gold-light); }
.home-page .home-button--forest:hover { background: var(--forest-deep); }
.home-page .home-button--outline:hover { background: var(--forest); }
.home-page .home-text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 14px; font-weight: 500; color: inherit; border-bottom: 1px solid var(--gold); width: fit-content; text-decoration: none; }
.home-page .home-text-link span { font-size: 20px; }
.home-page a:focus-visible,.home-page button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 5px; box-shadow: 0 0 0 6px var(--forest); }
.home-page .nav { transition: background .2s; }
.home-page .nav::before { background: linear-gradient(180deg,rgba(15,33,24,.75),rgba(15,33,24,.2)); backdrop-filter: none; border: 0; }
.home-page .nav.scrolled::before { background: var(--forest-deep); }
.home-page .nav-inner { max-width: 1456px; height: 116px; padding-inline: var(--home-gutter); }
.home-page .nav-logo img { display: block; width: 236px; height: auto; border: 0; border-radius: 0; object-fit: contain; }
.home-page .nav-links { gap: clamp(16px,2vw,28px); }
.home-page .nav-links > a,.home-page .nav-dropdown-trigger { color: var(--bone); font-family: 'Inter',sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; padding-block: 10px; }
.home-page .nav-cta { background: transparent; border: 1px solid var(--gold-light); padding: 12px 20px; border-radius: 50px; }
.home-page .nav-cta:hover { background: var(--forest); }
.home-page .nav-dropdown-menu { display: none; opacity: 1; visibility: visible; transform: none; background: var(--forest-deep); padding: 12px; min-width: 240px; border: 1px solid var(--gold-ink); }
.home-page .nav-dropdown[data-open] .nav-dropdown-menu { display: block; }
.home-page .nav-dropdown-menu a { display: block; color: var(--bone); padding: 12px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.home-page .nav-burger { color: white; border: 1px solid rgba(250,245,233,.5); border-radius: 50%; }
.home-page .mobile-menu { justify-content: flex-start; padding: 86px 24px 28px; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; gap: 24px; }
.home-page .mobile-menu .mm-nav { max-width: 640px; }
.home-page .mobile-menu .mm-nav > a { font-size: 25px; line-height: 1.4; padding-block: 7px; min-height: 48px; }
.home-page .mobile-menu .mm-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.home-page .mobile-menu .mm-label { grid-column: 1 / -1; font-size: 12px; color: var(--gold-light); }
.home-page .mobile-menu .mm-group a { font-size: 17px; letter-spacing: 0; min-height: 44px; line-height: 1.4; padding-block: 10px; }
.home-page .mobile-menu .mm-actions { max-width: 640px; width: 100%; }
.home-page .mobile-menu .mm-action { font-size: 13px !important; letter-spacing: .04em !important; min-height: 48px; }
.home-page .mobile-menu-close { background: var(--forest-deep); border: 1px solid var(--gold-ink); border-radius: 50%; color: white; top: 18px; right: 20px; }

/* Hero: overlay direzionale, poster immediato e video opzionale controllabile. */
.home-hero { position: relative; isolation: isolate; color: var(--bone); background: var(--forest-deep); min-height: min(860px,100svh); padding: 175px 0 110px; display: flex; align-items: center; }
.home-hero-poster,.home-hero-video,.home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-poster,.home-hero-video { object-fit: cover; object-position: center 45%; z-index: -3; }
.home-hero-video { z-index: -2; }
.home-hero-shade { z-index: -1; background: linear-gradient(90deg,rgba(15,33,24,.9) 0%,rgba(15,33,24,.68) 37%,rgba(15,33,24,.12) 75%),linear-gradient(0deg,rgba(15,33,24,.45),transparent 40%); }
.home-page .home-hero-content { position: relative; }
.home-page .home-hero .home-eyebrow { color: var(--gold-light); margin-bottom: 24px; }
.home-page .home-hero h1 { font: 400 clamp(62px,7.7vw,112px)/.94 'Fraunces',Georgia,serif; letter-spacing: -.045em; font-variation-settings: 'opsz' 144,'SOFT' 65; max-width: 760px; margin: 0; }
.home-page .home-hero-subtitle { font: italic 400 clamp(24px,3vw,42px)/1.2 'Fraunces',Georgia,serif; color: var(--gold-light); margin: 22px 0 26px; }
.home-page .home-hero-description { max-width: 560px; font-size: 16px; color: var(--bone); line-height: 1.75; margin: 0 0 30px; }
.home-page .home-video-toggle { position: absolute; right: var(--home-gutter); bottom: 30px; color: white; background: rgba(15,33,24,.72); border: 1px solid rgba(255,255,255,.5); border-radius: 30px; padding: 11px 17px; min-height: 44px; font-size: 12px; display: flex; gap: 12px; align-items: center; }
.home-scroll { position: absolute; bottom: 30px; left: var(--home-gutter); display: flex; gap: 20px; align-items: center; color: var(--bone); min-height: 44px; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.home-scroll span { font-size: 22px; }

/* Identità: motivo astratto statico, solo al margine e fuori dal testo. */
.home-intro { position: relative; padding-block: 72px 58px; }
.home-intro::before { content: ''; position: absolute; right: 12px; top: 0; width: 185px; height: 250px; background: url('img/brand/scanalature.svg') center/contain no-repeat; opacity: .5; pointer-events: none; }
.home-intro .home-title { max-width: 760px; }
.home-intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.home-intro-bottom > p { font-size: 17px; line-height: 1.6; color: var(--stone); }
.home-jump-links { display: flex; flex-wrap: wrap; gap: 6px 20px; flex-shrink: 0; }
.home-jump-links a { padding-block: 12px; font-size: 13px; border-bottom: 1px solid var(--sand); }
.home-page .home-forest { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.home-forest-photo { position: relative; margin: 0; min-height: 560px; }
.home-forest-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.home-forest-photo figcaption { position: absolute; bottom: 20px; left: 20px; color: white; background: rgba(15,33,24,.75); padding: 8px 12px; font-size: 12px; }
.home-forest-body { background: var(--forest-deep); color: var(--bone); padding: clamp(32px,4.5vw,68px); margin-top: 22px; margin-bottom: -22px; }
.home-page .home-forest-body .home-eyebrow { color: var(--gold-light); font-size: 11px; }
.home-page .home-forest-body .home-title { font-size: clamp(40px,4.5vw,65px); }
.home-forest-body .home-title em { color: var(--gold-light); }
.home-forest-body > p:not(.home-eyebrow) { color: var(--bone); font-size: 16px; line-height: 1.8; margin: 28px 0 18px; }
.home-forest-detail { font-size: 13px; color: var(--gold-light); display: flex; gap: 15px; align-items: start; padding-block: 0 30px; line-height: 1.6; }
.home-forest-body .home-text-link { display: flex; margin-top: 14px; }
.home-section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.home-section-heading > p { max-width: 400px; font-size: 15px; color: var(--stone); line-height: 1.75; }
.home-story-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; }
.home-photo-link { display: block; position: relative; overflow: hidden; }
.home-story .home-photo-link { aspect-ratio: 1.45; }
.home-story--walk .home-photo-link { aspect-ratio: 1.9; }
.home-photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-photo-tag { position: absolute; top: 20px; left: 20px; padding: 7px 12px; background: var(--bone); color: var(--forest); font-size: 12px; border-radius: 30px; }
.home-story h3 { font: 400 clamp(26px,2.6vw,36px)/1.2 'Fraunces',Georgia,serif; margin-top: 24px; }
.home-story > p { color: var(--stone); font-size: 15px; line-height: 1.7; margin: 14px 0; max-width: 55ch; }
.home-walk-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 20px 0 12px; padding-block: 16px; border-top: 1px solid var(--sand); }
.home-walk-facts dt { color: var(--stone); font-size: 12px; margin-bottom: 4px; }
.home-walk-facts dd { font-size: 14px; font-weight: 500; margin: 0; }
.home-villages { margin-top: 44px; border-top: 1px solid var(--sand); padding-top: 26px; }
.home-villages h3 { font: 400 25px/1.3 'Fraunces',Georgia,serif; margin-bottom: 20px; }
.home-villages nav { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.home-villages a { display: grid; grid-template-columns: 1fr auto; font-size: 15px; gap: 8px; border-bottom: 1px solid var(--gold); padding-bottom: 14px; min-height: 75px; align-content: start; }
.home-villages a span { grid-column: 1/-1; color: var(--gold-ink); font-size: 11px; }
.home-villages b { font-weight: 400; }
.home-page .home-family { width: min(calc(100% - 2 * var(--home-gutter)),1312px); padding: 0; display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 24px; background: var(--home-sage); overflow: hidden; }
.home-family-body { padding: 42px clamp(24px,4vw,60px); align-self: center; }
.home-family-body .home-title { font-size: clamp(38px,4vw,60px); }
.home-family-body > p:not(.home-eyebrow) { max-width: 43ch; font-size: 16px; line-height: 1.75; margin: 20px 0 26px; color: var(--forest); }
.home-family-photo { display: block; min-height: 400px; position: relative; }
.home-family-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.home-stay > p:not(.home-eyebrow) { font-size: 17px; color: var(--stone); margin-top: 22px; }
.home-stay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 30px 15px; }
.home-stay-grid > a { display: flex; align-items: center; gap: 24px; padding: 30px; border: 1px solid var(--sand); border-radius: 14px; transition: border-color .2s,background .2s; }
.home-stay-grid > a:hover { border-color: var(--gold-ink); background: var(--paper); }
.home-stay-icon { color: var(--forest); font-size: 34px; }
.home-stay-grid strong { display: block; font: 400 30px/1.25 'Fraunces',Georgia,serif; }
.home-stay-grid small { display: block; font-size: 13px; color: var(--stone); margin-top: 8px; }
.home-circle-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); margin-left: auto; flex: none; }
.home-events { padding-block: 64px; background: var(--forest); color: var(--bone); }
.home-events .home-eyebrow,.home-events .home-title em { color: var(--gold-light); }
.home-event-status { font-size: 16px; line-height: 1.7; max-width: 58ch; color: var(--bone); }
.home-event-status a { text-decoration: underline; text-underline-offset: 4px; }
.home-events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.home-event { display: block; border-top: 1px solid rgba(255,255,255,.35); padding-top: 20px; }
.home-event img { width: 100%; height: 250px; object-fit: contain; background: var(--forest-deep); margin-bottom: 20px; }
.home-event time { display: block; font-size: 13px; color: var(--gold-light); }
.home-event h3 { font: 400 28px/1.2 'Fraunces',Georgia,serif; margin: 12px 0; }
.home-event p { font-size: 14px; line-height: 1.6; }
.home-discover-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.home-discover-grid img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; margin-bottom: 24px; }
.home-discover-grid .home-eyebrow { font-size: 10px; gap: 8px; margin-bottom: 12px; }
.home-discover-grid h3 { font: 400 27px/1.25 'Fraunces',Georgia,serif; }
.home-discover-grid h3 span { font-family: 'Inter',sans-serif; font-size: 20px; }
.home-discover-grid p { margin-top: 12px; color: var(--stone); font-size: 15px; line-height: 1.7; }
.home-page .home-practical { padding-block: 34px 52px; border-top: 1px solid var(--sand); display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.home-practical h2 { font: 400 clamp(28px,3vw,42px)/1.15 'Fraunces',Georgia,serif; }
.home-page .footer { padding-block: 56px 24px; }
.home-page .footer::before,.home-page .footer::after { display: none; }
.home-page .home-footer-logo { width: 240px; height: auto; }
.home-page .footer h2 { font: 600 13px/1.5 'Inter',sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.home-page .footer-links a { font-size: 14px; overflow-wrap: anywhere; }
.home-page .cookie-banner { max-height: 55svh; overflow-y: auto; z-index: 150; border-radius: 16px; }
.home-page .cookie-banner-btn { border-radius: 30px; font-size: 12px; letter-spacing: .03em; }
@media (hover:hover) { .home-photo-link:hover img { transform: scale(1.025); } }
@media (min-width:1024px) and (max-width:1150px) { .home-page .nav-links { gap: 13px; } .home-page .nav-logo img { width: 205px; } .home-page .nav-links > a,.home-page .nav-dropdown-trigger { font-size: 11px; } }
@media (max-width:1023px) {
  .home-page .nav-links { display: none; }
  .home-page .nav-burger { display: flex; }
  .home-page .nav-inner { height: 94px; }
  .home-page .nav-logo img { width: 210px; }
  .home-hero { min-height: 760px; padding-top: 155px; }
  .home-intro::before { width: 115px; opacity: .3; }
  .home-intro-bottom { align-items: start; flex-direction: column; gap: 10px; }
  .home-section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .home-story-grid { gap: 25px; }
  .home-villages nav { grid-template-columns: repeat(3,1fr); }
  .home-family-photo { min-height: 360px; }
  .home-stay-grid > a { padding: 24px; gap: 16px; }
  .home-stay-icon { display: none; }
  .home-discover-grid { gap: 20px; }
}
@media (max-width:700px) {
  .home-page .home-shell { padding-inline: 24px; }
  .home-page .nav-inner { height: 86px; padding-inline: 20px; }
  .home-page .nav-logo img { width: 184px; }
  .home-hero { min-height: 660px; padding-top: 125px; padding-bottom: 90px; }
  .home-hero-poster,.home-hero-video { object-position: 62% center; }
  .home-hero-shade { background: linear-gradient(90deg,rgba(15,33,24,.8),rgba(15,33,24,.4)),linear-gradient(0deg,rgba(15,33,24,.75),transparent 90%); }
  .home-page .home-hero .home-eyebrow { font-size: 10px; margin-bottom: 24px; letter-spacing: .15em; }
  .home-page .home-hero h1 { font-size: clamp(58px,12.8vw,86px); line-height: .98; letter-spacing: -.035em; }
  .home-page .home-hero-subtitle { font-size: clamp(23px,5.4vw,32px); line-height: 1.3; max-width: 20ch; margin: 18px 0 22px; }
  .home-page .home-hero-description { font-size: 15px; line-height: 1.65; max-width: 38ch; margin-bottom: 24px; }
  .home-hero .home-actions { display: grid; width: min(100%,360px); }
  .home-page .home-button { font-size: 13px; padding: 15px 21px; min-height: 54px; gap: 14px; }
  .home-scroll { bottom: 20px; left: 24px; }
  .home-page .home-video-toggle { right: 24px; bottom: 20px; }
  .home-page .home-intro { padding-block: 48px 32px; }
  .home-intro::before { display: none; }
  .home-page .home-title { font-size: 39px; }
  .home-page .home-eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 16px; }
  .home-intro-bottom > p { font-size: 16px; }
  .home-page .home-forest { grid-template-columns: 1fr; }
  .home-forest-photo { min-height: 0; aspect-ratio: 1.2; }
  .home-forest-body { margin: 0; padding: 34px 26px; }
  .home-page .home-forest-body .home-title { font-size: 42px; }
  .home-forest-body > p:not(.home-eyebrow) { font-size: 15px; margin-top: 24px; }
  .home-story-grid { grid-template-columns: 1fr; gap: 38px; }
  .home-story .home-photo-link { aspect-ratio: 1.45; }
  .home-story h3 { font-size: 28px; margin-top: 19px; }
  .home-photo-tag { top: 12px; left: 12px; }
  .home-villages { margin-top: 34px; }
  .home-villages nav { grid-template-columns: 1fr; gap: 0; }
  .home-villages a { grid-template-columns: 25px 1fr auto; align-items: center; min-height: 58px; padding-block: 12px; }
  .home-villages a span { grid-column: auto; }
  .home-page .home-family { width: calc(100% - 48px); grid-template-columns: 1fr; border-radius: 18px; }
  .home-family-body { padding: 32px 26px; }
  .home-family-body .home-title br { display: none; }
  .home-family-photo { min-height: 0; aspect-ratio: 1.15; }
  .home-family-photo img { object-position: center 43%; }
  .home-stay-grid { grid-template-columns: 1fr; }
  .home-stay-grid > a { padding: 23px 20px; }
  .home-stay-grid strong { font-size: 28px; }
  .home-stay-grid small { font-size: 12px; }
  .home-events { padding-block: 48px; }
  .home-events-grid { grid-template-columns: 1fr; }
  .home-event img { height: auto; max-height: 400px; }
  .home-discover-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-discover-grid img { max-height: 280px; }
  .home-page .home-practical { flex-direction: column; align-items: start; }
  .home-page .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; gap: 12px; }
  .home-page .cookie-banner-text { font-size: 12px; line-height: 1.5; }
}
@media (max-width:370px) {
  .home-page .home-shell { padding-inline: 20px; }
  .home-page .home-hero h1 { font-size: 55px; }
  .home-page .home-title { font-size: 35px; }
  .home-page .home-button { padding-inline: 17px; font-size: 12px; }
  .home-page .mobile-menu .mm-group { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .home-page .home-hero { min-height: 0; padding: 30px 0; color: black; }
  .home-page .home-hero-shade,.home-page .home-hero-video,.home-page .home-hero-poster,.home-page .home-scroll,.home-page .home-video-toggle { display: none; }
  .home-page .home-forest { display: block; }
  .home-page .home-forest-body { margin: 0; }
}
