/* Rimosso override Header & Footer per rispettare il design originale di Scopri Gaeta */

:root {
    --bu-font-serif: 'Playfair Display', serif;
    --bu-font-sans: 'Inter', sans-serif;
}
.sg-pp-page {
    font-family: var(--bu-font-sans);
    color: var(--pp-brand-text-soft);
    overflow-x: hidden;
}

/* ═════════ ANIMAZIONI ═════════ */
.sg-pp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sg-pp-reveal.sg-pp-animate {
    opacity: 1;
    transform: translateY(0) !important;
}
.sg-pp-hero-bg {
    transform: scale(1.0);
    transition: transform 3s ease-out;
}
.sg-pp-hero-bg.sg-pp-animate {
    transform: scale(1.03);
}
.sg-delay-1 { transition-delay: 0.15s; }
.sg-delay-2 { transition-delay: 0.3s; }

/* ═════════ UTILS ═════════ */
.sg-premium-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
}
.sg-premium-section-eyebrow::before {
    content: ''; width: 30px; height: 1px; background: currentColor; opacity: 0.5;
}

.bu-section-title {
    font-family: var(--bu-font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--pp-brand-dark);
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 500;
}
.bu-section-title-gradient {
    background: linear-gradient(135deg, var(--pp-brand-dark) 0%, var(--pp-brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Bottoni Premium */
.btn-premium-solid {
    background: #ffffff !important; color: var(--pp-brand-primary) !important; padding: 1rem 2rem !important; border-radius: 0 !important; font-weight: 700 !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.8rem !important; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important; letter-spacing: 1.5px !important; text-transform: uppercase !important; font-size: 0.85rem !important; border: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}
.btn-premium-solid:hover {
    background: var(--pp-brand-dark) !important; color: #fff !important; transform: translateY(-2px) !important; box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}
.btn-premium-solid {
    background: var(--pp-brand-primary) !important; color: #fff !important;
}
.btn-premium-solid:hover {
    background: var(--pp-brand-dark) !important;
}
.btn-premium-outline {
    background: transparent !important; border: 1px solid rgba(255,255,255,0.3) !important; color: #fff !important; padding: 1rem 2rem !important; border-radius: 0 !important; font-weight: 600 !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.8rem !important; transition: all 0.3s ease !important; letter-spacing: 1.5px !important; text-transform: uppercase !important; font-size: 0.85rem !important;
}
.btn-premium-outline:hover {
    background: #fff !important; color: var(--pp-brand-dark) !important; transform: translateY(-2px) !important; border-color: #fff !important;
}
.btn-premium-glass {
    background: transparent; color: #fff; padding: 1.2rem 2.5rem; border-radius: 4px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(5px);
}
.btn-premium-glass:hover {
    background: #fff; color: var(--pp-brand-dark);
}

/* ═════════ 1. HERO ═════════ */
.sg-pp-hero {
    position: relative;
    width: 100vw;
    height: 90vh;
    min-height: 700px;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pp-brand-dark);
    overflow: hidden;
}
@media (max-width: 768px) {
    .sg-pp-hero {
        height: 90vh; /* Aggiornamento mobile come richiesto */
        min-height: 600px;
    }
}
.sg-pp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.sg-pp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12,28,26,0.6) 0%, rgba(12,28,26,0.15) 50%, transparent 100%);
}
@media (max-width: 768px) {
    .sg-pp-hero-overlay {
        background: linear-gradient(0deg, rgba(12,28,26,0.7) 0%, rgba(12,28,26,0.3) 60%, rgba(12,28,26,0.1) 100%);
    }
}
.sg-pp-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.sg-pp-hero-title {
    font-family: var(--bu-font-serif);
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 3.5rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 20%, var(--pp-brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}
.sg-pp-hero-desc {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    max-width: 480px;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4.5rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: 300;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .sg-pp-hero-title, .sg-pp-hero-desc, .sg-pp-hero-label {
        max-width: 65%;
    }
    .sg-pp-hero-label {
        flex-wrap: wrap;
    }
}
.sg-pp-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ═════════ CASCADING PILLARS ═════════ */
.bu-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.bu-pillar {
    background: #ffffff;
    padding: 4.5rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(77, 182, 194, 0.2);
    box-shadow: 0 20px 50px rgba(77, 182, 194, 0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.bu-pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--pp-brand-primary), #A3E4D7);
}
.bu-pillar:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(77, 182, 194, 0.15);
}
.bu-pillar-num {
    font-family: var(--bu-font-serif);
    font-size: 5.5rem;
    color: rgba(77, 182, 194, 0.1);
    -webkit-text-stroke: 1px var(--pp-brand-primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
.bu-pillar-num::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 110%;
    width: 40px;
    height: 2px;
    background: var(--pp-brand-primary);
    border-radius: 2px;
}
.bu-pillar-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pp-brand-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}
.bu-pillar h3 {
    font-family: var(--bu-font-serif);
    font-size: 2.2rem;
    color: var(--pp-brand-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.bu-pillar p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--pp-brand-text-soft);
    font-weight: 300;
}
@media(min-width:1024px){
    .bu-stagger-1 { margin-top: 40px; }
    .bu-stagger-2 { margin-top: 80px; }
}

/* ═════════ EDITORIAL ROOMS ═════════ */
.bu-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}
.bu-room {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media(min-width: 900px) {
    .bu-room { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
    .bu-room-reverse .bu-room-gallery-section { order: 2; }
    .bu-room-reverse .bu-room-info { order: 1; }
}
@media (max-width: 899px) {
    .bu-room-gallery-section { width: 100vw; margin-left: calc(-50vw + 50%); }
    .bu-carousel-controls { padding-right: 1.5rem; }
}
.bu-room-img {
    width: 100%;
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
}
.bu-room-carousel-wrap {
    position: relative;
    width: 100%;
    border-radius: 0 !important;
    overflow: hidden;
}
.bu-room-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.bu-room-carousel::-webkit-scrollbar { display: none; }
.bu-slide-wrapper {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    overflow: hidden;
    position: relative;
    border-radius: 0 !important;
}
.bu-room-carousel img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 899px) {
    .bu-room-carousel img {
        aspect-ratio: 9/16;
        max-height: 75dvh;
    }
}
.bu-carousel-controls {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}
.bu-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    color: var(--pp-brand-dark) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}
.bu-nav-btn:hover, .bu-nav-btn:active {
    background: var(--pp-brand-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(129,216,208,0.4) !important;
    border-color: var(--pp-brand-primary) !important;
}
.bu-room-img:hover img, .bu-slide-wrapper:hover img {
    transform: scale(1.05);
}
.bu-room-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.bu-room-info h3 {
    font-family: var(--bu-font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--pp-brand-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--pp-brand-dark) 0%, var(--pp-brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.bu-room-info p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--pp-brand-text-soft);
    margin-bottom: 2.5rem;
    font-weight: 300;
}
.bu-room-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.bu-room-tag {
    background: #ffffff;
    color: #111111;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* ═════════ INFO STRUTTURA ═════════ */
.bu-practical-info {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: -100px auto 4rem;
    padding: 0 2rem;
}
@media (max-width: 768px) {
    .bu-practical-info {
        margin: 0 auto 4rem;
        padding: 0 1rem;
    }
}
.bu-practical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    background: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(18,99,96,0.08);
}
.bu-prac-box {
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 3.5rem 2rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bu-prac-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}
.bu-prac-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(129,216,208, 0.1);
    color: var(--pp-brand-primary);
    margin-bottom: 2rem;
}
.bu-prac-box h3 {
    font-family: var(--bu-font-serif);
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--pp-brand-dark);
}
.bu-prac-box p {
    font-size: 1.15rem;
    color: var(--pp-brand-text-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* ═════════ FOOTER CTA ═════════ */
.sg-premium-cta-wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--pp-brand-primary);
    padding: 10rem 2rem 8rem;
    text-align: center;
}
.sg-premium-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}
.sg-premium-cta-title {
    font-family: var(--bu-font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.15;
    font-weight: 500;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}
.sg-premium-cta-desc {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.9;
    margin-bottom: 3.5rem;
    font-weight: 300;
}
.sg-premium-cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

    @media(max-width: 1023px) {
        .bu-pillars-sec { padding: 4rem 1.5rem; }
        .bu-stagger-1, .bu-stagger-2 { margin-top: 0; }
        .bu-rooms-list { gap: 4rem; }
        .bu-practical-info { margin-top: 2rem; padding: 0 1.5rem; }
        .bu-practical-grid { padding: 2rem 1.5rem; gap: 2rem; }
    }
    
    /* ═════════ VIDEO GRID ═════════ */
    .bu-usp-grid {
        grid-template-columns: 1fr 1fr;
    }
    @media(max-width: 900px) {
        .bu-usp-grid {
            grid-template-columns: 1fr;
        }
        .bu-usp-text {
            text-align: center !important;
            align-items: center !important;
        }
        .bu-usp-text .sg-premium-section-eyebrow {
            justify-content: center;
        }
    }
    .bu-premium-video-wrapper {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 4/5;
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        transform: translateZ(0); /* Hardware accel for rounded corners */
    }
    .bu-video-placeholder {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.6s ease;
    }
    .bu-premium-video-wrapper:hover .bu-video-placeholder {
        transform: scale(1.04);
    }
    .bu-premium-video-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 40%);
        pointer-events: none;
    }
    .bu-video-play-btn {
        position: relative;
        z-index: 2;
        width: 84px;
        height: 84px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: bu-pulse-glass 3s infinite;
    }
    .bu-play-btn-inner {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #fff;
        color: var(--pp-brand-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    .bu-video-play-btn:hover {
        transform: scale(1.05);
        background: rgba(255,255,255,0.3);
    }
    .bu-video-play-btn:hover .bu-play-btn-inner {
        transform: scale(1.1);
        color: var(--pp-brand-primary);
    }
    @keyframes bu-pulse-glass {
        0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
        70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
        100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    }

    /* -- NINFEO LUXURY RESORT ARCHITECTURE -- */
    .sg-luxury-history-wrap { max-width: 1200px; margin: 6rem auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr; gap: 4rem; align-items:center; }
    @media (min-width: 900px) { .sg-luxury-history-wrap { grid-template-columns: 4fr 7fr; gap: 6rem; } }
    .sg-luxury-history-img-box { position:relative; }
    .sg-luxury-history-img-box img { width: 100%; aspect-ratio: 4/5; object-fit:cover; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
    .sg-luxury-history-img-box::before { content:''; position:absolute; top: -15px; left: 15px; right: -15px; bottom: 15px; background: rgba(183,28,28,0.05); z-index:-1; }
    .sg-luxury-history-text { max-width: 700px; font-size: 1.15rem; line-height: 1.8; color: var(--pp-brand-text-soft); }
    .sg-luxury-history-text p { margin-bottom: 1.5rem !important; }
    .sg-luxury-history-title { font-family:'Playfair Display',serif; font-size:clamp(3rem,5vw,4.5rem); line-height: 1.1; color: var(--pp-brand-dark) !important; margin-bottom: 2rem !important;}
    .sg-luxury-kicker { color: var(--pp-brand-primary); letter-spacing: 3px; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 1rem; display: block; font-weight:700;}

    /* Panoramic Experiences */
    .sg-luxury-panoramic-wrap { width: 100vw; margin-left: calc(-50vw + 50%); position: relative; overflow: hidden; padding: 4rem 0; }
    .sg-luxury-panoramic-item { position: relative; width: 100%; height: 80vh; min-height: 600px; display: flex; align-items: center; justify-content: flex-end; }
    .sg-luxury-panoramic-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); }
    .sg-luxury-panoramic-content { position: relative; z-index: 2; padding: 0 5vw; width: 100%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: flex-end; }
    .sg-luxury-glass-box { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); padding: 4rem 3rem; border-radius: 12px; max-width: 500px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
    .sg-luxury-glass-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--pp-brand-dark); margin-bottom: 1rem; }
    .sg-luxury-glass-desc { font-size: 1.1rem; line-height: 1.8; color: var(--pp-brand-text-soft); margin-bottom: 2rem; }
    @media (max-width: 900px) {
      .sg-luxury-glass-box { padding: 3rem 2rem; max-width: 100%; margin-top: 30vh; }
      .sg-luxury-panoramic-item { align-items: flex-end; padding-bottom: 2rem; }
      .sg-luxury-history-wrap { gap: 3rem; margin: 4rem auto; }
    }

    /* AI Concierge Premium */
    .sg-premium-ai-section { background:var(--pp-brand-dark); color:#fff; padding: 5rem 2rem; border-radius: 16px; margin: 0 2rem 6rem; position:relative; overflow:hidden; display:flex; align-items:center; box-shadow: 0 20px 50px rgba(11,29,53,0.15); }
    .sg-premium-ai-section::after { content:''; position:absolute; right:-5%; top:-10%; width: 50%; height:120%; background:radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%); pointer-events:none; }
    .sg-premium-ai-content { width:60%; position:relative; z-index:2; padding-right: 3rem; }
    .sg-premium-ai-eyebrow { color:var(--pp-brand-primary); text-transform:uppercase; font-size:0.85rem; letter-spacing:2px; font-weight:700; margin-bottom:1rem; display:block; }
    .sg-premium-ai-title { font-family:'Playfair Display',serif; font-size:clamp(2rem, 3vw, 2.5rem); margin-bottom: 1.5rem; line-height: 1.1; color:#fff !important; }
    .sg-premium-ai-desc { color:rgba(255,255,255,0.8); font-size:1.1rem; line-height:1.7; margin-bottom: 2rem; }
    .sg-premium-ai-visual { width:40%; position:relative; z-index:2; display:flex; justify-content:flex-end; }
    @media (max-width:900px) {
        .sg-premium-ai-section { margin: 0 1rem 5rem; flex-direction:column; padding: 4rem 1.5rem; text-align:center; }
        .sg-premium-ai-content { width:100%; padding-right:0; margin-bottom:2.5rem; }
        .sg-premium-ai-visual { width:100%; justify-content:center; }
    }

/* ----- KE EAT SPECIFIC STYLES ----- */
:root {
    --ke-bg: #FCFBF9;
    --ke-text: #181A1F;
    --ke-text-light: #5A5D6B;
    --ke-accent: #B23737; /* Rosso Pompeiano Elegante */
    --ke-gold: #C9A96E;
    --ke-font-serif: 'Playfair Display', 'Times New Roman', serif;
    --ke-font-sans: 'Inter', -apple-system, system-ui, sans-serif;
}

body {
    background-color: var(--ke-bg) !important;
}

.keeat-premium-page {
    font-family: var(--ke-font-sans);
    color: var(--ke-text);
    background: var(--ke-bg);
    overflow-x: hidden;
}

/* ═════════ ANIMAZIONI ═════════ */
.ke-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ke-reveal.ke-animate-in {
    opacity: 1;
    transform: translateY(0);
}
.ke-delay-1 { transition-delay: 0.15s; }
.ke-delay-2 { transition-delay: 0.3s; }

/* ═════════ UTILS ═════════ */
.ke-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--ke-text-light);
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.ke-eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: currentColor;
    margin-right: 15px;
    opacity: 0.4;
}
.ke-section-title {
    font-family: var(--ke-font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ke-text);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

/* ═════════ 1. HERO ═════════ */
.keeat-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    margin-left: calc(-50vw + 50%); /* Full bleeding */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}
.keeat-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%); /* ke-reveal farà scendere di poco senza rompere la centratura visibile */
    pointer-events: none;
}
.keeat-bg-img.ke-animate-in {
    transform: translate(-50%, -50%) scale(1.03); /* Lieve zoom fluido */
    transition: transform 3s ease-out;
}
.keeat-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.15) 0%, rgba(20,20,20,0.85) 100%);
}
.keeat-hero-content {
    position: relative;
    z-index: 2;
    text-align: left; /* Allineato a sinistra come richiesto */
    color: #ffffff;
    width: 100%;
    max-width: 1200px; /* Si allinea con la griglia sotto */
    padding: 0 2rem;
    margin-top: 10vh;
}
.keeat-hero-title {
    font-family: var(--ke-font-serif);
    font-size: clamp(3.5rem, 8vw, 6.5rem); /* Reso ancora più grande */
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-shadow: 0 5px 30px rgba(0,0,0,0.8);
}
.keeat-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    opacity: 1;
    color: #ffffff !important;
    max-width: 600px;
    margin: 0 0 3rem 0; /* Allineato a sinistra, no auto */
    line-height: 1.6;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}


/* ═════════ 2. L'ANIMA ═════════ */
.keeat-editorial-split {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media(min-width: 1024px) {
    .keeat-editorial-split {
        grid-template-columns: 5fr 6fr;
        gap: 8rem;
    }
}
.ke-editorial-left {
    position: relative;
}
.ke-sticky-wrap {
    position: sticky;
    top: 20vh;
}
.ke-text-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ke-text-light);
    margin-bottom: 1.5rem;
}
.ke-editorial-right {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.ke-img-wrapper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}
.ke-parallax-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}
.ke-img-wrapper:hover .ke-parallax-img {
    transform: scale(1.05);
}

/* ═════════ 2.5 INTERMEZZO PARALLAX ═════════ */
.keeat-parallax-divider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 70vh;
    min-height: 500px;
    margin-bottom: 6rem;
    position: relative;
}
.ke-parallax-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ke-parallax-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.3);
}
.ke-parallax-quote {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: var(--ke-font-serif);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    text-align: center;
    line-height: 1.2;
    padding: 0 2rem;
    max-width: 1000px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
@media (max-width: 900px) {
    .ke-parallax-inner {
        background-attachment: scroll; /* Performance e bug fix su mobile */
    }
}

/* ═════════ 3. LA CUCINA ═════════ */
.keeat-cuisine {
    background: #fff;
    padding: 8rem 2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.ke-cuisine-intro {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
}
.ke-cuisine-intro .ke-eyebrow::before {
    display: none;
}

.ke-cuisine-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}
.ke-dish-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media(min-width: 900px) {
    .ke-dish-card {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
    .ke-dish-mare .ke-dish-img-wrap {
        order: 2;
    }
    .ke-dish-mare .ke-dish-content {
        order: 1;
    }
}
.ke-dish-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.ke-dish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ke-dish-img-wrap:hover img {
    transform: scale(1.04);
}
.ke-dish-content h3 {
    font-family: var(--ke-font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--ke-text);
}
.ke-dish-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ke-text-light);
}

/* ═════════ 3.5 VIDEO LA7 CINEMATICA ═════════ */
.keeat-video-la7 {
    background: var(--ke-bg);
    color: var(--ke-text);
    padding: 8rem 2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.ke-la7-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}
.ke-la7-media {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}
.ke-video-player-custom {
    position: relative; width: 100%; height: 100%;
}
.ke-la7-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1;
}
.ke-video-poster-custom {
    position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 2; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.6s ease;
}
.ke-video-poster-custom::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4)); transition: background 0.3s ease;
}
.ke-video-poster-custom:hover::after { background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.3)); }
.ke-play-btn {
    position: relative; z-index: 3; background: none !important; border: none !important; cursor: pointer; padding: 0; width: 80px; height: 80px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; align-items: center; justify-content: center;
}
.ke-play-btn:hover { transform: scale(1.12); }
.ke-play-btn svg, .ke-play-btn svg * { fill: none !important; stroke: none !important; }
.ke-play-circle {
    position: absolute; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.1) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(201,169,110,0.6) !important; box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.ke-play-triangle {
    position: relative; z-index: 1; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--ke-gold) !important; margin-left: 4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.ke-la7-text {
    text-align: center;
    max-width: 900px;
}
.ke-la7-text .ke-section-title {
    color: var(--ke-text);
}
.ke-la7-text .ke-text-body p {
    color: var(--ke-text-light);
}

/* ═════════ GALLERIA EXTRA (MASONRY) ═════════ */
.keeat-gallery-extra {
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}
.ke-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}
.ke-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ke-gallery-grid img:hover {
    transform: scale(1.04);
}
.ke-gallery-grid img:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.ke-gallery-grid img:nth-child(2) { grid-row: span 1; grid-column: span 1; }
.ke-gallery-grid img:nth-child(3) { grid-row: span 2; grid-column: span 1; }
.ke-gallery-grid img:nth-child(4) { grid-row: span 1; grid-column: span 1; }
.ke-gallery-grid img:nth-child(5) { grid-row: span 1; grid-column: span 1; }
.ke-gallery-grid img:nth-child(6) { grid-row: span 1; grid-column: span 2; }

@media(max-width: 900px) {
    .ke-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
        gap: 1rem;
    }
    .ke-gallery-grid img { border-radius: 6px; }
    .ke-gallery-grid img:nth-child(1) { grid-row: span 2; grid-column: span 2; }
    .ke-gallery-grid img:nth-child(n) { grid-row: span 1; grid-column: span 1; }
}

/* ═════════ 3.8 INFO PRATICHE ═════════ */
.keeat-practical-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}
.ke-practical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    background: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.ke-prac-box {
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.ke-prac-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.ke-prac-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.ke-prac-box h3 {
    font-family: var(--ke-font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--ke-text);
}
.ke-prac-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--ke-text-light);
}

/* ═════════ 4. FOOTER ═════════ */
.keeat-reservation-footer {
    background: var(--ke-bg);
    color: var(--ke-text);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 8rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.ke-res-inner {
    max-width: 700px;
    margin: 0 auto;
}
.ke-res-title {
    font-family: var(--ke-font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ke-text) !important;
}
.ke-res-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ke-text-light);
    margin-bottom: 3.5rem;
}
.ke-footer-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.ke-btn-gold {
    background: var(--ke-gold);
    color: #000;
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.ke-btn-gold:hover {
    background: #fff;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.ke-btn-outline {
    background: transparent;
    color: var(--ke-text);
    border: 2px solid var(--ke-text);
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.ke-btn-outline:hover {
    background: var(--ke-text);
    color: var(--ke-bg);
    transform: translateY(-4px);
}

/* ═════════ MEDIA QUERIES MOBILE ═════════ */
@media(min-width: 1024px) {
    .ke-offset-2 {
        margin-top: 25vh;
    }
}

@media(max-width: 1023px) {
    .keeat-editorial-split {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .ke-editorial-right {
        gap: 1.5rem;
    }
    .keeat-cuisine {
        padding: 1rem 1.5rem 2rem;
    }
    .ke-cuisine-intro {
        margin: 0 auto 3rem;
    }
    .ke-cuisine-grid {
        gap: 3.5rem;
    }
    .ke-dish-card {
        gap: 1.5rem;
    }
    .keeat-video-la7 {
        padding: 4rem 1.5rem;
    }
    .ke-la7-container {
        gap: 2rem;
    }
    .keeat-gallery-extra {
        padding: 2rem 1.5rem 4rem;
    }
    .keeat-practical-info {
        padding: 0 1.5rem 4rem;
    }
    .ke-practical-grid {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .ke-prac-box {
        padding: 1.5rem;
    }
    .keeat-reservation-footer {
        padding: 4rem 1.5rem;
    }
    .keeat-hero-title {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }
    .ke-section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    .ke-eyebrow {
        margin-bottom: 0.8rem;
    }
    .ke-dish-content h3 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 0.8rem;
    }
    .ke-offset-1, .ke-offset-2 {
        margin-top: 0 !important;
    }
}
/* --------- PREMIUM FAQ OVERRIDE --------- */
.sg-premium-faq-wrap {
    max-width: 900px;
    margin: 6rem auto;
    padding: 0 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
}
.sg-premium-faq-title-wrap {
    text-align: center;
    padding: 3rem 0 2rem;
}
.sg-premium-faq-title {
    font-family: var(--bu-font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--pp-brand-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}
.sg-premium-faq-item {
    border: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}
.sg-premium-faq-item:last-child {
    border-bottom: none !important;
}
.sg-premium-faq-question {
    padding: 2rem 1rem !important;
    font-size: 1.25rem !important;
    font-family: var(--bu-font-serif);
    color: var(--pp-brand-dark) !important;
    font-weight: 500 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    border: none !important;
}
.sg-premium-faq-question:hover {
    color: var(--pp-brand-primary) !important;
}
.sg-premium-faq-answer {
    padding: 0 !important;
}
.sg-premium-faq-answer p {
    padding: 0 1rem 2.5rem !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: var(--pp-brand-text-soft) !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    .sg-premium-faq-wrap {
        margin: 4rem 1rem;
        padding: 0 1.5rem;
    }
    .sg-premium-faq-question {
        font-size: 1.1rem !important;
        padding: 1.5rem 0.5rem !important;
    }
    .sg-premium-faq-answer p {
        padding: 0 0.5rem 2rem !important;
        font-size: 1.05rem !important;
    }
}


/* --------- NINFEO LUXURY REDESIGN v2 --------- */

/* Gold shimmer keyframe */
@keyframes ninfeo-gold-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes ninfeo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes ninfeo-line-grow {
    from { width: 0; }
    to { width: 60px; }
}
@keyframes ninfeo-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered reveal children */
.sg-pp-reveal.sg-pp-animate .ninfeo-stagger-1 { animation: ninfeo-fade-up 0.8s 0.1s both; }
.sg-pp-reveal.sg-pp-animate .ninfeo-stagger-2 { animation: ninfeo-fade-up 0.8s 0.25s both; }
.sg-pp-reveal.sg-pp-animate .ninfeo-stagger-3 { animation: ninfeo-fade-up 0.8s 0.4s both; }
.sg-pp-reveal.sg-pp-animate .ninfeo-stagger-4 { animation: ninfeo-fade-up 0.8s 0.55s both; }

/* Gold decorative line */
.ninfeo-gold-line { display: block; width: 60px; height: 2px; background: linear-gradient(90deg, #D4A853, #E8C97A); margin-bottom: 2rem; border-radius: 2px; }
.ninfeo-gold-line--center { margin-left: auto; margin-right: auto; }

/* Trust bar gold accents */
.sg-pp-page .sg-pp-trust { border-bottom: 1px solid rgba(212,168,83,0.15) !important; }
.sg-pp-page .sg-pp-trust-item { position: relative; }
.sg-pp-page .sg-pp-trust-item::after { content: ""; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(212,168,83,0.2); }
.sg-pp-page .sg-pp-trust-item:last-child::after { display: none; }

/* Section divider ornament */
.ninfeo-ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 5rem auto; max-width: 200px; }
.ninfeo-ornament::before, .ninfeo-ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,168,83,0.4), transparent); }
.ninfeo-ornament-diamond { width: 8px; height: 8px; background: #D4A853; transform: rotate(45deg); flex-shrink: 0; }

/* History section gold frame */
.sg-luxury-history-img-box::before { background: rgba(212,168,83,0.08) !important; }
.sg-luxury-history-img-box::after { content: ""; position: absolute; bottom: -15px; right: 15px; left: -15px; top: 15px; border: 1px solid rgba(212,168,83,0.15); z-index: -1; pointer-events: none; }

/* Carousel dot indicator */
.ninfeo-carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.5rem; }
.ninfeo-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(212,168,83,0.25); transition: all 0.3s ease; cursor: pointer; border: none; padding: 0; }
.ninfeo-carousel-dot.active { background: #D4A853; width: 24px; border-radius: 4px; }

/* Quote block premium */
.ninfeo-quote-block { position: relative; padding: 2.5rem 2rem 2.5rem 3rem; margin: 3rem 0 !important; border-left: 3px solid #D4A853; background: rgba(212,168,83,0.03); }
.ninfeo-quote-block::before { content: "\201C"; position: absolute; top: 0.5rem; left: 0.8rem; font-family: "Playfair Display", serif; font-size: 4rem; color: rgba(212,168,83,0.2); line-height: 1; }

/* Events section overlay gold tint */
.sg-premium-event-overlay { background: linear-gradient(135deg, rgba(11,29,53,0.75) 0%, rgba(212,168,83,0.15) 100%) !important; }

/* CTA section refined */
.page-template-page-partner-ninfeo .sg-premium-cta-wrap { background: linear-gradient(135deg, #0B1D35 0%, #132D4F 50%, #0B1D35 100%) !important; position: relative; overflow: hidden; }
.page-template-page-partner-ninfeo .sg-premium-cta-wrap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #D4A853, transparent); }
.page-template-page-partner-ninfeo .sg-premium-cta-feature { display: inline-block; padding: 0.8rem 2rem; border: 1px solid rgba(212,168,83,0.3); border-radius: 30px; font-size: 0.95rem; margin-bottom: 2.5rem; letter-spacing: 0.5px; }



/* Ripristino colore Header/Footer per Borgo di Ulisse */
body.page-template-page-partner-borgo-ulisse header#masthead, 
body.page-template-page-partner-borgo-ulisse footer#colophon,
body.page-template-page-partner-borgo-ulisse .site-header,
body.page-template-page-partner-borgo-ulisse .site-footer {
    background-color: #4DB6C2 !important;
}
