@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.sc-glamping { --k-bg: #0b120e; --k-ink: #eef2ea; --k-muted: #a5b3a8; --k-ac: #ffcf7a; --k-ac-ink: #1a1206; --k-surface: #131c16; --k-line: rgba(238,242,234,.14);
  --k-display: "Outfit", system-ui, sans-serif; --k-body: "Outfit", system-ui, sans-serif; --k-dw: 300; --k-track: -.03em; --k-r: 24px; }

.hero { position: relative; min-height: calc(100vh - 34px); margin-top: -76px; padding: 150px var(--k-pad) 60px; overflow: hidden; color: #fff; isolation: isolate; border: 3px solid rgba(255,255,255,.85); border-radius: 0 0 40px 40px; }
.forest { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.sky-d { opacity: 0; transition: opacity 1.4s; }
.stars circle { fill: #fff; transition: opacity 1.4s; }
.moon { transition: opacity 1.4s, transform 1.4s; }
.ridge { fill: #183a2c; transition: fill 1.4s; }
.pine { transition: fill 1.4s; }
.back .pine { fill: #1d4433; } .front .pine { fill: #0c2018; }
.tent-body { fill: #f5e3b8; transition: fill 1.4s, filter 1.4s; filter: drop-shadow(0 0 30px rgba(255,207,122,.8)); }
.tent-glow { transition: opacity 1.4s; }
.ground { fill: #10261a; transition: fill 1.4s; }
.hero[data-mode="giorno"] .sky-d { opacity: 1; }
.hero[data-mode="giorno"] .stars circle, .hero[data-mode="giorno"] .tent-glow { opacity: 0 !important; }
.hero[data-mode="giorno"] .moon { opacity: 0; transform: translateY(80px); }
.hero[data-mode="giorno"] .ridge { fill: #6f9a6a; } .hero[data-mode="giorno"] .back .pine { fill: #3f6f48; } .hero[data-mode="giorno"] .front .pine { fill: #24482e; }
.hero[data-mode="giorno"] .ground { fill: #2f5a36; } .hero[data-mode="giorno"] .tent-body { fill: #efe6d2; filter: none; }
.hero[data-mode="giorno"] { color: #10231a; }
.hero-copy { position: relative; }
.hero h1 { margin: 0 0 20px; font-size: clamp(56px, 8vw, 132px); font-weight: 200; line-height: .95; }
.mode { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.mode button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 99px; background: transparent; color: inherit; font-weight: 600; }
.mode button[aria-checked="true"] { background: #fff; color: #10231a; }
.hero-note { position: absolute; left: var(--k-pad); bottom: 40px; max-width: 320px; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); color: #fff; font-size: 14px; }
.book-card { position: absolute; right: var(--k-pad); bottom: 40px; width: 280px; padding: 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 22px; background: rgba(20,30,20,.55); backdrop-filter: blur(16px); color: #fff; }
.book-card > b { font-size: 22px; font-weight: 500; }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; } .bc-row span { padding: 10px; border-radius: 12px; background: rgba(0,0,0,.3); font-size: 11px; } .bc-row b { display: block; font-size: 14px; }
.book-card p { margin: 0 0 12px; } .book-card p b { font-size: 26px; }
.book-card .k-btn { width: 100%; background: #fff; color: #10231a; }
.rating { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); padding: 10px 16px; border-radius: 99px; background: rgba(0,0,0,.4); color: #fff; } .rating small { opacity: .8; }

.loader { position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: 20px; background: #03060d; color: #cfd8d0; animation: lOut .9s 1.6s cubic-bezier(.7,0,.2,1) forwards; }
.loader span { font-style: italic; font-size: 13px; }
.moons { display: flex; gap: 6px; }
.moons i { width: 24px; height: 24px; border-radius: 50%; background: #f4efe1; box-shadow: 0 0 16px rgba(244,239,225,.5); animation: moon 1.8s linear infinite; animation-delay: calc(var(--i) * -.2s); }
@keyframes moon { 0%, 100% { transform: scaleX(.15); opacity: .25; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes lOut { to { clip-path: inset(100% 0 0 0); visibility: hidden; } }
.loader.skip { display: none; }

.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.huts { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.hut { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 2px solid var(--k-line); border-radius: 20px; background: var(--k-surface); color: var(--k-ink); text-align: left; transition: border-color .2s; }
.hut[aria-checked="true"] { border-color: var(--k-ac); }
.hut svg { width: 70px; height: 54px; }
.hut b { display: block; font-size: 20px; font-weight: 500; } .hut small { color: var(--k-muted); } .hut em { font-style: normal; color: var(--k-ac); font-weight: 600; }
.guests { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--k-line); border-radius: 99px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; color: var(--k-ink); font-size: 20px; }
.stepper output { min-width: 26px; text-align: center; }
.cal-wrap { padding: 22px; border-radius: var(--k-r); background: var(--k-surface); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head button { width: 40px; height: 40px; border: 1px solid var(--k-line); border-radius: 50%; background: none; color: var(--k-ink); }
.cal-head b { font-weight: 500; font-size: 18px; text-transform: capitalize; }
.cal-dow, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { color: var(--k-muted); font-size: 12px; text-align: center; }
.cal button { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: var(--k-ink); font-weight: 500; transition: background .2s; }
.cal button:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.cal button:disabled { color: #4f5a52; text-decoration: line-through; }
.cal button.in-range { background: rgba(255,207,122,.18); border-radius: 0; }
.cal button.edge { background: var(--k-ac); color: var(--k-ac-ink); }
.st-sum { margin: 14px 0; font-weight: 500; }
.wide { width: 100%; }

@media (max-width: 899px) { .hero { padding-top: 130px; padding-bottom: 330px; } .book-card { left: 20px; right: 20px; width: auto; bottom: 20px; } .hero-note, .rating { display: none; } .st-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* fx · rifacimento */
.sc-glamping { --fx-l-bg: #0b120e; --fx-l-ac: #ffcf7a; }
.gl-ph { position: absolute; inset: -12% 0; z-index: -3; transition: opacity 1.4s; }
.gl-ph img { width: 100%; height: 100%; object-fit: cover; }
.gl-day img { filter: brightness(.85) saturate(1.05); } .gl-night img { filter: brightness(.9) saturate(1.1); }
.hero[data-mode="notte"] .gl-day, .hero[data-mode="giorno"] .gl-night { opacity: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(3,6,13,.35), transparent 40%, rgba(3,6,13,.55)); pointer-events: none; }
.hero[data-mode="giorno"]::before { background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 45%, rgba(0,0,0,.25)); }
.gl-stars { position: absolute; left: 0; right: 0; top: 0; z-index: -2; width: 100%; height: 50%; transition: opacity 1.4s; }
.hero[data-mode="giorno"] .gl-stars, .hero[data-mode="giorno"] .gl-flies { opacity: 0; }
.gl-flies { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; transition: opacity 1.4s; }
.hero h1 span { display: block; } .hero h1 span + span { --fx-delay: 200ms; }
.gl-kick { margin: 0 0 14px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--k-ac); }
.gl-zoom { --fx-zi: 22%; --fx-zx: 30%; }
.gl-zoom .fx-z-media img { filter: brightness(.7); }
.gl-zoom-t { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; color: #fff; font: 200 clamp(44px, 7vw, 120px)/1 "Outfit"; letter-spacing: -.04em; }
.gl-zoom-t span { opacity: clamp(0, calc((var(--p, 0) - .35) * 3), 1); } .gl-zoom-t b { font-weight: 600; color: var(--k-ac); opacity: clamp(0, calc((var(--p, 0) - .6) * 3), 1); }
.gl-exp { padding: 130px var(--k-pad); }
.gl-exp h2 { margin: 0 0 40px; font: 200 clamp(46px, 6vw, 100px)/.95 "Outfit"; letter-spacing: -.04em; } .gl-exp h2 em { font-style: normal; font-weight: 600; color: var(--k-ac); }
.gl-exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gl-e { overflow: hidden; border-radius: 28px; background: var(--k-surface); }
.gl-e .fx-ph { aspect-ratio: 4 / 4.4; } .gl-e > div { padding: 22px 24px 26px; } .gl-e h3 { margin: 0 0 6px; font-size: 28px; font-weight: 500; } .gl-e p { margin: 0 0 12px; color: var(--k-muted); } .gl-e b { color: var(--k-ac); }
@media (max-width: 899px) { .gl-exp-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gl-flies { display: none; } .gl-zoom-t span, .gl-zoom-t b { opacity: 1; } }
