/* Telegram798-799: centered light finale, Sparkdesign composition. */
html body[data-page="home"] .home-surface .home-finale{background:#f5f0e6;color:#431319;padding:76px 170px 88px;min-height:690px;display:grid;place-items:center;overflow:hidden;isolation:isolate;border-radius:0 0 24px 24px}
html body[data-page="home"] .home-surface .home-finale::before{display:none}
.home-finale .home-finale-copy{width:100%;max-width:660px;text-align:center;position:relative;z-index:2}
.finale-crest-798{display:block;width:64px;height:64px;border-radius:20px;margin:0 auto 30px}
.home-finale h2{color:#431319;font-size:clamp(32px,3.7vw,48px);line-height:1.13;margin:0 auto 24px;text-wrap:balance}
.home-finale h2 em{display:block;color:#6b2531}
.home-finale p{color:#65534b;max-width:540px;margin:0 auto 15px;font-size:14px;line-height:1.65}
.home-finale p.home-finale-intro{color:#4b302d;font-size:17px;margin-bottom:20px}
.home-finale .home-finale-contact{background:#530d19;color:#fff9ed;border-radius:999px;padding:16px 26px;margin-top:17px;min-height:52px;gap:28px}
.home-finale .home-finale-contact:hover{background:#741c2b}
.home-finale .home-finale-contact:focus-visible{outline:3px solid #9b6848;outline-offset:5px}
.finale-photos-798{position:absolute;inset:0;z-index:0;pointer-events:none}
.finale-photos-798 img{position:absolute;width:112px;height:130px;object-fit:cover;border-radius:20px;box-shadow:0 12px 28px #351b1312;animation:finale-float-798 7s ease-in-out infinite alternate}
.finale-photos-798 img:nth-child(1){left:4%;top:10%;--tilt:-7deg}
.finale-photos-798 img:nth-child(2){right:4%;top:14%;--tilt:8deg;animation-delay:-2s}
.finale-photos-798 img:nth-child(3){left:8%;top:49%;width:82px;height:96px;--tilt:4deg;animation-delay:-4s}
.finale-photos-798 img:nth-child(4){right:8%;top:52%;width:82px;height:96px;--tilt:-5deg;animation-delay:-1s}
.finale-photos-798 img:nth-child(5){left:-20px;bottom:-20px;--tilt:6deg;animation-delay:-3s}
.finale-photos-798 img:nth-child(6){right:-16px;bottom:-26px;width:136px;height:138px;--tilt:-6deg;animation-delay:-5s}
@keyframes finale-float-798{from{transform:translateY(0) rotate(var(--tilt))}to{transform:translateY(-10px) rotate(var(--tilt))}}
@media(max-width:900px){html body[data-page="home"] .home-surface .home-finale{padding:70px 90px 90px}.finale-photos-798 img{width:68px;height:84px}.finale-photos-798 img:nth-child(3),.finale-photos-798 img:nth-child(4){display:none}}
@media(max-width:600px){html body[data-page="home"] .home-surface .home-finale{padding:62px 24px 104px;min-height:0}.home-finale h2{font-size:34px}.home-finale p{font-size:14px}.home-finale p.home-finale-intro{font-size:16px}.finale-photos-798 img:nth-child(1),.finale-photos-798 img:nth-child(2){display:none}.finale-photos-798 img:nth-child(5),.finale-photos-798 img:nth-child(6){width:66px;height:76px;bottom:-24px}.finale-crest-798{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.finale-photos-798 img{animation:none;transform:rotate(var(--tilt))}}

/* 802–804: shared paper tone and layered photo motion. */
html body[data-page="home"]{--paper:#f5f0e6;--cream:#f5f0e6}
html body[data-page="home"] .home-surface,
html body[data-page="home"] .home-surface > section{background-color:#f5f0e6;background-image:none}
.finale-photos-798 img{animation:finale-drift-802 9s cubic-bezier(.45,0,.55,1) infinite;animation-play-state:paused;translate:var(--photo-x,0px) var(--photo-y,0px);transition:translate .7s cubic-bezier(.2,.7,.2,1)}
.home-finale.is-in-view-802 .finale-photos-798 img{animation-play-state:running}
.finale-photos-798 img:nth-child(2n){animation-duration:11s}
.finale-photos-798 img:nth-child(3n){animation-duration:13s}
@keyframes finale-drift-802{0%,100%{transform:translate(0,0) rotate(var(--tilt))}35%{transform:translate(5px,-14px) rotate(calc(var(--tilt) + 2deg))}70%{transform:translate(-4px,-6px) rotate(calc(var(--tilt) - 1deg))}}
@media(max-width:600px){.finale-photos-798 img{animation:none;translate:none;transform:rotate(var(--tilt))}}
@media(prefers-reduced-motion:reduce){.finale-photos-798 img{animation:none!important;translate:none!important;transition:none;transform:rotate(var(--tilt))}}

/* 807–808 mobile: six photos, no scroll-driven repaint of the page/footer. */
@media(max-width:900px){
html body[data-page="home"]::before{background:linear-gradient(#2a02076b,#2a02076b),url('/assets/home-destination-map-769.svg') center/cover no-repeat}
html body[data-page="home"] .site-footer{background:#2a0207!important;transform:none!important}
html body[data-page="home"] .guga-map-light-763{display:none}
.guga-word-756{filter:none!important;animation:none!important;opacity:1!important;transform:none!important}
html body[data-page="home"] .home-app-nav{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(max-width:600px){
html body[data-page="home"] .home-surface .home-finale{padding-top:128px;padding-bottom:144px}
.finale-photos-798 img:nth-child(n){display:block;width:68px;height:76px;top:auto;bottom:auto;left:auto;right:auto;border-radius:13px;animation:none;translate:none;box-shadow:none}
.finale-photos-798 img:nth-child(1){top:22px;left:7%}
.finale-photos-798 img:nth-child(2){top:18px;left:calc(50% - 34px)}
.finale-photos-798 img:nth-child(3){top:25px;right:7%}
.finale-photos-798 img:nth-child(4){bottom:30px;left:7%}
.finale-photos-798 img:nth-child(5){bottom:24px;left:calc(50% - 34px)}
.finale-photos-798 img:nth-child(6){bottom:32px;right:7%}
}
/* 811–813: larger desktop photos; completely static mobile background. */
@media(min-width:901px){
.finale-photos-798 img{width:136px;height:158px}
.finale-photos-798 img:nth-child(3),.finale-photos-798 img:nth-child(4){width:102px;height:120px;left:5%}
.finale-photos-798 img:nth-child(4){left:auto;right:5%}
.finale-photos-798 img:nth-child(6){width:160px;height:162px}
}
@media(max-width:900px){
html body[data-page="home"]::before{animation:none!important;transform:none!important;transition:none!important;will-change:auto!important}
html body[data-page="home"] .guga-map-cursor,
html body[data-page="home"] .guga-map-light-763{display:none!important}
}

@media(min-width:901px){html body[data-page="home"] .home-surface > .site-header{transform:translateY(var(--footer-header-exit,0px));transition:none}}
/* 815–816: one clipped rounded surface and original un-tinted mobile map. */
html body[data-page="home"] .home-surface{border-radius:28px;overflow:clip}
@media(max-width:900px){html body[data-page="home"]::before{background:#f7f2e9 url('/assets/home-destination-map-769.svg') center/cover no-repeat}}
/* 819: native mobile footer reveal, no per-frame translation. */
@media(max-width:900px){
html body[data-page="home"] .footer-reveal-slot-783{display:contents}
html body[data-page="home"] .site-footer{position:sticky!important;bottom:min(0px,calc(100svh - var(--footer-height,900px) - 24px))!important;z-index:0;transform:none!important}
}
@media(max-width:900px){html body[data-page="home"] #site-footer{display:contents}}

/* 823–824: keep the footer behind opaque page content, never over the hero. */
@media(max-width:900px){
html:has(body[data-page="home"]){background:#f7f2e9}
html body[data-page="home"]::before{inset:-120px 0;min-height:calc(100lvh + 240px);background-color:#f7f2e9}
html body[data-page="home"] .site-footer{visibility:hidden}
html body[data-page="home"].guga-at-footer .site-footer{visibility:visible}
html body[data-page="home"] main > .hero[aria-hidden="true"]{visibility:hidden}
}
