/* PROPOSTA B - "Marea": blu navy e sabbia (il colore del pelo del koala).
   Struttura: hero con logo sul globo, dichiarazione, settori a scorrimento continuo, linea del tempo. */
:root {
    --ice: #d8c6b0;                       /* qui l'accento e' la sabbia del koala, al posto dell'azzurro */
    --page-bg: #0a1630; --alt-bg: #112247; --footer-bg: #070f24; --header-rgb: 10, 22, 48;
    --sec-head: #f4f8fc; --sec-text: #cdd5e4; --sec-accent: #d8c6b0; --sec-line: rgba(216, 198, 176, .3);
    --line: rgba(216, 198, 176, .3); --card-bg: #16305e; --veil-rgb: 7, 16, 40;
    --btn-bg: #d8c6b0; --btn-fg: #0a1630; --btn-hover: #f4f8fc; --btn-hover-fg: #0a1630;
}
.panel, .approach, .site-header, .site-footer, .dock, .slide {
    --sec-accent: #d8c6b0; --sec-line: rgba(216, 198, 176, .3); --sec-text: #cdd5e4;
}
.site-nav .nav-cta:hover { color: #0a1630; }
.form input:focus, .form select:focus, .form textarea:focus { outline-color: #d8c6b0; border-color: #d8c6b0; }
.form { background: rgba(10, 22, 48, .76); }

.hero-logo { filter: drop-shadow(0 8px 36px rgba(0, 0, 0, .7)); }
.scroll-cue { margin-top: 2.25rem; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ice); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.scroll-cue::after { content: ''; width: 1px; height: 46px; background: linear-gradient(180deg, var(--ice), transparent); }

/* Dichiarazione */
.statement { background: var(--page-bg); padding: clamp(4.5rem, 12vh, 9rem) 0; }
.statement-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.statement h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.statement p { color: var(--sec-text); margin-bottom: 1.25rem; }
.statement .actions { margin-top: 1.5rem; }
.statement .btn-line { color: var(--sec-head); border-color: var(--sec-accent); }
.statement .btn-line:hover { background: var(--sec-accent); color: #0a1630; }

/* Settori a scorrimento continuo, come su Galene e Penelope */
.carousel { background: var(--alt-bg); padding: clamp(4rem, 10vh, 7rem) 0; overflow: hidden; }
.car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.car-hint { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sec-accent); white-space: nowrap; padding-bottom: .6rem; }
.mq-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.mq-viewport.dragging { cursor: grabbing; }
.mq-track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; will-change: transform; padding-bottom: .5rem; }
.mq-track a, .mq-track img { -webkit-user-drag: none; user-drag: none; }

.slide {
    position: relative; overflow: hidden; isolation: isolate; flex: 0 0 clamp(300px, 30vw, 620px);
    aspect-ratio: 5 / 6.2; border-radius: 4px; border: 1px solid var(--line); background: var(--navy-deep);
    display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem, 2.4vw, 2rem);
}
.slide .bg { z-index: -2; }
.veil-slide { background: linear-gradient(0deg, rgba(var(--veil-rgb), .92) 0%, rgba(var(--veil-rgb), .45) 45%, rgba(var(--veil-rgb), .12) 100%); }
.slide-num { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--sec-accent); font-variation-settings: 'opsz' 96; }
.slide h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .7rem; }
.slide p { color: #dfe4ee; font-size: 1rem; }
.slide .link-arrow { margin-top: 1rem; }

/* Quinta scheda: invito a contattarci, senza video */
.slide-cta { background: #d8c6b0; border-color: #d8c6b0; }
.slide-cta .slide-num { -webkit-text-stroke: 1px #0a1630; }
.slide-cta h3 { color: #0a1630; }
.slide-cta p { color: #1c2b4d; }
.slide-cta .link-arrow { color: #0a1630; border-color: #0a1630; }
.slide-cta .link-arrow:hover { color: #0a1630; border-color: #0a1630; opacity: .7; }

.tail.band { min-height: 62vh; min-height: 62svh; }

/* Linea del tempo del metodo */
.timeline-sec { background: var(--page-bg); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); position: relative; padding-top: 2.5rem; }
.timeline::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--sec-line); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; top: -2.5rem; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--page-bg); border: 2px solid var(--sec-accent); }
.timeline .step-num { color: var(--sec-accent); }
.timeline h3 { margin-bottom: .5rem; }
.timeline p { color: var(--sec-text); font-size: 1rem; }

@media (max-width: 1000px) {
    .statement-grid { grid-template-columns: 1fr; align-items: start; }
    .slide { flex-basis: min(56vw, 480px); }
    .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
}
@media (max-width: 560px) {
    .car-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .slide { flex-basis: 78vw; aspect-ratio: 4 / 5.6; }
    .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.5rem; row-gap: 2.25rem; }
    .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; width: 1px; height: auto; }
    .timeline li::before { top: .35rem; left: -2.5rem; }
}
