/* ============================================================
   LASTROOM – style-components.css
   Header · Hero · Steps · Sliders · CTA · Partners · Footer
   ============================================================ */

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    z-index: 20000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    transition: all var(--dur) var(--ease);
}

.site-header.scrolled,
.site-header.is-scrolled {
    height: calc(56px + env(safe-area-inset-top, 0px));
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: var(--fs-xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    position: relative;
    z-index: 1002;
    /* Sempre sopra il menu mobile */
}

.logo span {
    color: var(--c-primary);
}

.logo .logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    border-radius: 50%;
    animation: logoPulse 2s var(--ease) infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.6);
        opacity: .5
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.nav-links a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text);
    position: relative;
    transition: color var(--dur) var(--ease);
}

.nav-link-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.nav-link-with-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.25px;
    transition: transform var(--dur) var(--ease), stroke var(--dur) var(--ease);
}

.nav-link-with-icon:hover svg {
    transform: scale(1.08) translateY(-1px);
}

/* The last link in nav is a .btn — ensure white text on teal pill */
.nav-links a.btn {
    color: var(--c-white) !important;
}

.btn-nav {
    padding: 8px 18px !important;
    border-radius: 99px !important;
    background: var(--c-primary-dark) !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease, box-shadow 0.2s ease !important;
}

.btn-nav:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(14, 86, 98, 0.2) !important;
}

.nav-links a.btn::after {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-primary);
    border-radius: var(--r-full);
    transition: width var(--dur) var(--ease);
}

.nav-links a:hover {
    color: var(--c-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    position: relative;
    z-index: 1005;
    /* Sopra a nav-links (999) */
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--c-text);
    border-radius: var(--r-full);
    transition: all var(--dur) var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-actions-wrapper {
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1005;
}

.mobile-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--c-text);
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    transition: background var(--dur) var(--ease);
    position: relative;
}

.mobile-profile-icon::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 11px;
    height: 11px;
    background-color: #d4111e;
    border: 2px solid #fff;
    border-radius: 50%;
}

.mobile-profile-icon:hover {
    background: rgba(0,0,0,0.1);
}

@media(max-width:768px) {
    .mobile-actions-wrapper {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: -100vh;
        /* Completamente fuori dallo schermo */
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: calc(var(--header-h) + var(--sp-8)) var(--sp-8) var(--sp-8);
        gap: var(--sp-6);
        transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top 0s linear var(--dur);
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 999;
        transform: translateY(0);
    }

    .nav-links.open {
        top: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: var(--shadow-lg);
        transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top 0s linear 0s;
    }

    .nav-links a {
        font-size: var(--fs-lg)
    }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-h);
    overflow: hidden !important; /* Blocca scroll orizzontale video */
    background: var(--c-white);
    z-index: 5;
}

/* Mesh grid overlay for premium texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(0, 191, 207, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 191, 207, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
    animation: blobFloat 8s var(--ease) infinite alternate;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--c-primary);
    top: -10%;
    left: -5%;
    animation-duration: 10s;
}

.hero-blob-2 {
    width: 450px;
    height: 450px;
    background: var(--c-primary-deep);
    bottom: -15%;
    right: -5%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: var(--c-primary-light);
    top: 40%;
    right: 20%;
    animation-duration: 14s;
    animation-delay: 4s;
    opacity: .6;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(30px, -20px) scale(1.05)
    }

    66% {
        transform: translate(-20px, 30px) scale(.95)
    }

    100% {
        transform: translate(10px, -10px) scale(1.02)
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--sp-12) var(--sp-6) var(--sp-8);
    overflow: visible !important;
}

@media(max-width: 768px) {
    .hero-content {
        padding: var(--sp-8) var(--sp-4) var(--sp-4);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(0, 191, 207, .1);
    color: var(--c-primary-deep);
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
    border: 1px solid rgba(0, 191, 207, .2);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    margin-bottom: var(--sp-6);
    color: var(--c-text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Small accent span inside h1 for color pop without full gradient */
.hero h1 em {
    font-style: normal;
    color: var(--c-primary);
    -webkit-text-fill-color: var(--c-primary);
}

.hero p {
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto var(--sp-10);
}

/* Chat Bar */
.chat-bar {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.chat-bar-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(0, 191, 207, .25);
    border-radius: var(--r-xl);
    padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-6);
    box-shadow: var(--shadow-md), 0 0 60px rgba(0, 191, 207, .08);
    transition: all var(--dur) var(--ease);
}

.chat-bar-inner:focus-within {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.chat-bar input {
    flex: 1;
    padding: var(--sp-3) 0;
    font-size: var(--fs-md);
    color: var(--c-text);
}

.chat-bar input::placeholder {
    color: var(--c-text-sec);
    opacity: .7;
}

.chat-bar .chat-send {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--dur) var(--ease-spring);
    box-shadow: 0 4px 16px var(--c-primary-glow);
    position: relative;
    overflow: hidden;
}

.chat-bar .chat-send::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .3), transparent 60%);
}

.chat-bar .chat-send:hover {
    transform: scale(1.12) rotate(12deg);
    box-shadow: 0 8px 32px var(--c-primary-glow);
}

.chat-bar .chat-send:active {
    transform: scale(.95) rotate(0deg);
}

.chat-bar .chat-send svg {
    width: 20px;
    height: 20px;
}

.chat-bar-hints {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
}

.chat-hint {
    font-size: var(--fs-xs);
    color: var(--c-text-sec);
    background: rgba(255, 255, 255, .6);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
    border: 1px solid var(--c-border);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}

.chat-hint:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: var(--c-primary-light);
}

/* AI Response Overlay */
.ai-response-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
}

.ai-response-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.ai-response-card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: var(--sp-10);
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(.96);
    transition: transform .4s var(--ease);
}

.ai-response-overlay.active .ai-response-card {
    transform: translateY(0) scale(1);
}

.ai-response-card .ai-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-6);
    background: var(--c-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-response-card .ai-icon svg {
    width: 28px;
    height: 28px;
    color: var(--c-primary);
}

.ai-response-card h3 {
    margin-bottom: var(--sp-4);
}

.ai-response-card p {
    margin-bottom: var(--sp-6);
}

.ai-typing-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: var(--sp-6);
}

.ai-typing-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-primary);
    animation: dotBounce .6s var(--ease) infinite alternate;
}

.ai-typing-dots span:nth-child(2) {
    animation-delay: .15s;
}

.ai-typing-dots span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes dotBounce {
    to {
        opacity: .3;
        transform: translateY(-6px)
    }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    margin-top: var(--sp-12);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    transform: none;
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.hero-slider .slider-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.hero-slider .slider-wrapper:active {
    cursor: grabbing;
}

.hero-slider .slider-wrapper::-webkit-scrollbar {
    display: none;
}

.items-holder {
    display: flex;
    width: max-content;
    will-change: scroll-position;
}

.items {
    display: flex;
    gap: 1.5rem;
    padding: 0 0.75rem;
    flex: 0 0 auto;
    /* Non forzare il widget al 50% dello schermo per non rompere il flex */
}

.item {
    flex: 0 0 auto;
    width: clamp(220px, 13vw, 280px);
}

.item .frame {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--r-xl);
    overflow: hidden;
    isolation: isolate;
    background: #000;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.item .frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.72) 100%);
}

.item .frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 191, 207, 0.4);
    z-index: 2;
}

.item .frame video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1; /* Forzato a 1 per evitare trasparenze sul testo */
    transition: opacity 0.4s var(--ease);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.item .frame:hover video {
    opacity: 1;
}

.city-name-overlay {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: 3;
    display: block;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1vw + 0.7rem, 1.2rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}



@media (max-width: 768px) {
    .item {
        width: 140px;
    }

    .items {
        gap: 1rem;
    }
}


/* ========== HOW IT WORKS — IMMERSIVE REDESIGN ========== */
.how-it-works {
    background: var(--c-white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(0, 191, 207, .05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-16);
}

.section-header p {
    max-width: 560px;
    margin: var(--sp-4) auto 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--c-primary);
    margin-bottom: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    background: rgba(0, 191, 207, .06);
    border-radius: var(--r-full);
    border: 1px solid rgba(0, 191, 207, .15);
}

/* ---- Steps Timeline ---- */
.steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--c-primary) 15%, var(--c-primary) 85%, transparent 100%);
    opacity: .2;
    z-index: 0;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    min-height: 360px;
    position: relative;
}

.step-row:not(:last-child) {
    margin-bottom: var(--sp-8);
}

/* Visual panel */
.step-visual {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    height: 320px;
    box-shadow: var(--shadow-lg);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.step-visual:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg), 0 24px 64px rgba(0, 0, 0, .18);
}

.step-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
    display: block;
}

.step-visual:hover img {
    transform: scale(1.07);
}

.step-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 64, 72, .5), rgba(0, 151, 167, .15));
}

.step-visual-tag {
    position: absolute;
    bottom: var(--sp-5);
    left: var(--sp-5);
    z-index: 2;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

/* Centre connector */
.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    position: relative;
    z-index: 2;
}

.step-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(0, 191, 207, .12), 0 4px 20px var(--c-primary-glow);
    animation: bubblePulse 3s ease-in-out infinite;
}

@keyframes bubblePulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(0, 191, 207, .12), 0 4px 20px var(--c-primary-glow);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(0, 191, 207, .04), 0 6px 28px var(--c-primary-glow);
    }
}

.step-connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 191, 207, .3);
}

/* Content side */
.step-content {
    padding: var(--sp-6) var(--sp-8);
}

.step-content-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-primary);
    margin-bottom: var(--sp-4);
    background: rgba(0, 191, 207, .07);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
}

.step-content h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-4);
    line-height: 1.2;
    color: var(--c-text);
}

.step-content>p {
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--c-text-sec);
    max-width: 380px;
}

.step-feature-list {
    margin-top: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.step-feature {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--fs-sm);
    color: var(--c-text-sec);
    font-weight: 500;
}

.step-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(0, 191, 207, .1);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-check svg {
    width: 11px;
    height: 11px;
}

/* Reversed row */
.step-row.reverse .step-visual {
    order: 3;
}

.step-row.reverse .step-connector {
    order: 2;
}

.step-row.reverse .step-content {
    order: 1;
    text-align: right;
}

.step-row.reverse .step-content>p {
    margin-left: auto;
}

.step-row.reverse .step-feature-list {
    align-items: flex-end;
}

.step-row.reverse .step-feature {
    flex-direction: row-reverse;
}

/* ---- New Destination Atmosphere Full (Parallax) ---- */
.destination-atmosphere-full {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: var(--sp-16) 0;
}

.destination-strip-bg-parallax {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.destination-atmosphere-full .destination-strip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 31, 36, 0.85) 0%, rgba(0, 31, 36, 0.4) 50%, rgba(0, 31, 36, 0.85) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0;
    padding-top: 20px;
}

/* Maintain old classes for fallback or internal use but cleaned up */
.destination-strip {
    margin-top: var(--sp-20);
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    height: 280px;
}

.destination-strip-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s linear;
}

.destination-strip:hover .destination-strip-bg {
    transform: scale(1.05);
}

.destination-strip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 64, 72, .88) 0%, rgba(0, 0, 0, .3) 50%, rgba(0, 64, 72, .6) 100%);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-12);
    justify-content: space-between;
}

.destination-strip-text h3 {
    font-size: var(--fs-2xl);
    color: #fff;
    font-weight: 700;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}

.destination-strip-text p {
    color: rgba(255, 255, 255, .65);
    font-size: var(--fs-base);
    margin: 0;
    max-width: 380px;
}

.destination-chips {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 300px;
}

.destination-chip {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-xs);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s var(--ease);
}

.destination-chip:hover {
    background: rgba(0, 191, 207, .3);
    border-color: var(--c-primary);
    transform: translateY(-2px);
}

/* ---- Mobile ---- */
@media(max-width: 900px) {
    .steps-timeline::before {
        display: none;
    }

    .step-row {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
        min-height: unset;
    }

    .step-row.reverse .step-visual,
    .step-row.reverse .step-connector,
    .step-row.reverse .step-content {
        order: unset;
    }

    .step-row.reverse .step-content {
        text-align: left;
    }

    .step-row.reverse .step-content>p {
        margin-left: 0;
    }

    .step-row.reverse .step-feature-list {
        align-items: flex-start;
    }

    .step-row.reverse .step-feature {
        flex-direction: row;
    }

    .step-visual {
        height: 220px;
    }

    .step-content {
        padding: 0;
    }

    .step-connector {
        flex-direction: row;
    }

    .destination-strip {
        height: 200px;
    }

    .destination-strip-overlay {
        padding: var(--sp-6);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }

    .destination-chips {
        justify-content: flex-start;
    }
}

/* ========== CARD SLIDER ========== */
.slider-section-rooms {
    background: var(--c-bg);
}

.slider-section-experiences {
    background: var(--c-white);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: var(--sp-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--sp-4) var(--sp-2) var(--sp-8);
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-track:active {
    cursor: grabbing;
}

.slider-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: var(--r-lg);
    background: var(--c-card-bg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--dur) var(--ease);
    border: 1px solid var(--c-border);
}

.slider-card-real {
    flex-basis: 300px;
}

.slider-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 191, 207, .25);
}

.slider-card-img {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.slider-card-real .slider-card-img {
    height: auto;
    aspect-ratio: 9 / 16;
    display: block;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(0, 191, 207, 0.12), rgba(14, 86, 98, 0.14));
}

.slider-card-img img,
.slider-card-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.slider-card:hover .slider-card-img img,
.slider-card:hover .slider-card-img video {
    transform: scale(1.06);
}

.slider-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--c-primary-deep);
    font-family: var(--ff-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
}

.card-badge {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: var(--c-white);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
}

.slider-card-body {
    padding: var(--sp-5);
}

.slider-card-body h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: var(--sp-1);
}

.card-location {
    font-size: var(--fs-xs);
    color: var(--c-text-sec);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    margin-bottom: var(--sp-3);
}

.card-location svg {
    width: 14px;
    height: 14px;
    color: var(--c-primary);
}

.slider-card-body p {
    font-size: var(--fs-sm);
    color: var(--c-text-sec);
    margin-bottom: var(--sp-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price {
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--c-text);
}

.card-price small {
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--c-text-sec);
}

.card-cta {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    transition: gap var(--dur) var(--ease);
    cursor: pointer;
}

.card-cta:hover {
    gap: var(--sp-3);
}

.card-cta svg {
    width: 16px;
    height: 16px;
}

.slider-arrows {
    display: flex;
    gap: var(--sp-3);
    justify-content: flex-end;
    margin-top: var(--sp-4);
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease);
    color: var(--c-text);
}

.slider-arrow:hover {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
    box-shadow: 0 4px 16px var(--c-primary-glow);
}

.slider-arrow svg {
    width: 18px;
    height: 18px;
}

.slider-progress {
    height: 3px;
    background: var(--c-border);
    border-radius: var(--r-full);
    margin-top: var(--sp-6);
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-deep));
    border-radius: var(--r-full);
    width: 20%;
    transition: all .25s var(--ease);
}

@media(max-width:768px) {
    .slider-card {
        flex: 0 0 280px
    }
}

@media(max-width:480px) {
    .slider-card {
        flex: 0 0 260px
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: var(--sp-24) 0;
    margin: var(--sp-12) 0;
    color: var(--c-white);
    text-align: center;
}

.cta-section::before {
    display: none;
}

@media (max-width: 768px) {
    .destination-strip-bg-parallax,
    .cta-section {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        background-color: #0b1f24;
    }
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    margin-bottom: var(--sp-4);
    color: var(--c-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

.cta-content>p {
    margin-bottom: var(--sp-10);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-lg);
}

/* ========== PARTNER SECTION ========== */
.partner-section {
    background: var(--c-white);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
    max-width: 700px;
    margin: 0 auto;
}

.partner-card {
    text-align: center;
    padding: var(--sp-12) var(--sp-8);
    border-radius: var(--r-lg);
    background: var(--c-bg);
    border: 1.5px solid var(--c-border);
    transition: all var(--dur) var(--ease);
}

.partner-card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.partner-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-6);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card-icon.login-icon {
    background: rgba(0, 191, 207, .1);
    color: var(--c-primary);
}

.partner-card-icon.register-icon {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: var(--c-white);
}

.partner-card-icon svg {
    width: 28px;
    height: 28px;
}

.partner-card h3 {
    margin-bottom: var(--sp-3);
}

.partner-card p {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-6);
}

.partner-card-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.partner-card-note {
    margin-top: var(--sp-4);
    margin-bottom: 0;
    font-size: var(--fs-xs);
    color: var(--c-text-sec);
}

@media(max-width:600px) {
    .partner-grid {
        grid-template-columns: 1fr
    }
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--c-text);
    color: rgba(255, 255, 255, .6);
    padding: var(--sp-12) 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-6);
}

.footer-logo {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-white);
}

.footer-logo span {
    color: var(--c-primary);
}

.footer-links {
    display: flex;
    gap: var(--sp-6);
}

.footer-links a {
    font-size: var(--fs-sm);
    transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
    color: var(--c-primary);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: var(--fs-xs);
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

@media(max-width:600px) {
    .footer-inner {
        flex-direction: column;
        text-align: center
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center
    }
}

/* ========== FLOATING PARTICLES ========== */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--c-primary);
    border-radius: 50%;
    opacity: .25;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0
    }

    10% {
        opacity: .3
    }

    90% {
        opacity: .3
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0
    }
}

/* ========== HERO STATS ========== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: var(--sp-12);
    border-top: 1px solid var(--c-border);
    padding-top: var(--sp-8);
}

.hero-stat {
    text-align: center;
    padding: 0 var(--sp-10);
    position: relative;
}

.hero-stat+.hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: var(--c-border);
}

.hero-stat-value {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1;
    margin-bottom: var(--sp-1);
    letter-spacing: -0.03em;
}

.hero-stat-label {
    font-size: var(--fs-xs);
    color: var(--c-text-sec);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media(max-width:480px) {
    .hero-stats {
        gap: 0;
        padding-top: var(--sp-6);
    }

    .hero-stat {
        padding: 0 var(--sp-5);
    }

    .hero-stat-value {
        font-size: var(--fs-xl);
    }
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: -2px;
    /* Leggermente fuori per evitare strisce bianche */
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-deep), #00E5D6);
    z-index: 9999;
    border-radius: 0 var(--r-full) var(--r-full) 0;
}

.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--c-primary-glow);
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
}

.cursor-ring {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 191, 207, .4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .4s var(--ease-spring), height .4s var(--ease-spring), border-color .3s, background .3s;
}

.cursor-ring.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--c-primary);
    background: rgba(0, 191, 207, .05);
}

@media(hover:none) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* ========== HERO BADGE PULSE ========== */
.hero-badge {
    box-shadow: 0 0 0 0 rgba(0, 191, 207, .3);
    animation: badgePulse 2.5s ease-out infinite;
    padding: var(--sp-2) var(--sp-5);
    border: 1px solid rgba(0, 191, 207, .25);
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 191, 207, .35);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 191, 207, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 191, 207, 0);
    }
}

/* ========== IMAGE LAZY FADE-IN ========== */
.slider-card-img img {
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.slider-card-img img.loaded {
    opacity: 1;
}

/* ========== PARTNER TRUST BADGES ========== */
.partner-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-6);
    margin-top: var(--sp-12);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-text-sec);
}

.trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--c-primary);
}

/* ========== FOOTER ANIMATED TOP BORDER ========== */
.site-footer {
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-deep), var(--c-primary));
    background-size: 200% auto;
    animation: footerGradient 4s linear infinite;
}

@keyframes footerGradient {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

/* ========== TOAST NOTIFICATION ========== */
.toast {
    position: fixed;
    bottom: var(--sp-8);
    right: var(--sp-8);
    background: var(--c-text);
    color: var(--c-white);
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    transition: all .4s var(--ease-spring);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    z-index: 5000;
    max-width: 320px;
    overflow: hidden;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.toast-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--c-primary);
    border-radius: 0 0 var(--r-md) var(--r-md);
    animation: toastProgress 3s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%
    }

    to {
        width: 0%
    }
}

/* ========== CTA FLOATING ICONS ========== */
.cta-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-icon-float {
    position: absolute;
    font-size: 2rem;
    opacity: .1;
    animation: iconDrift 10s ease-in-out infinite alternate;
}

.cta-icon-float:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 8s;
}

.cta-icon-float:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.cta-icon-float:nth-child(3) {
    top: 30%;
    left: 92%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.cta-icon-float:nth-child(4) {
    top: 75%;
    left: 12%;
    animation-duration: 12s;
    animation-delay: 3s;
}

@keyframes iconDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(20px, -20px) rotate(15deg);
    }
}
