/* ==========================================================================
   DESIGN SYSTEM STANDALONE - LANDING HOTEL (NO CONFLICT PREFIX: lh-)
   ========================================================================== */

:root {
    --lh-accent: #00d084;
    --lh-accent-hover: #05b373;
    --lh-secondary: #ff6900;
    --lh-secondary-hover: #e05c00;
    --lh-text-dark: #0f172a;
    --lh-text-muted: #475569;
    --lh-bg-light: #f8fafc;
    --lh-bg-white: #ffffff;
    --lh-border: #e2e8f0;
    --lh-radius-sm: 8px;
    --lh-radius-md: 16px;
    --lh-radius-lg: 24px;
    --lh-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --lh-font-headings: 'Montserrat', sans-serif;
    --lh-font-body: 'Outfit', sans-serif;
}

/* Reset globale per rimuovere i margini bianchi sui bordi */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--lh-bg-light);
}

/* Reset locale per evitare conflitti */
.lh-wrapper {
    font-family: var(--lh-font-body);
    background-color: var(--lh-bg-light);
    color: var(--lh-text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.lh-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lh-wrapper a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
.lh-header {
    background-color: var(--lh-bg-white);
    border-bottom: 1px solid var(--lh-border);
    position: relative;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.lh-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lh-header-custom-logo {
    max-height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

.lh-logo-wrap {
    display: flex;
    align-items: center;
    font-family: var(--lh-font-headings);
    font-weight: 800;
    font-size: 22px;
    color: var(--lh-text-dark);
}

.lh-logo-badge {
    background-color: var(--lh-accent);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 18px;
}

.lh-logo-wrap span {
    color: var(--lh-accent);
}

.lh-header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lh-header-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--lh-bg-light);
    border: 1px solid var(--lh-border);
    color: var(--lh-text-dark);
    padding: 10px 18px;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lh-header-phone-link:hover {
    background-color: var(--lh-border);
}

.lh-header-cta-btn {
    background-color: var(--lh-accent);
    color: #fff !important;
    padding: 11px 22px;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 208, 130, 0.15);
}

.lh-header-cta-btn:hover {
    background-color: var(--lh-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 208, 130, 0.25);
}

/* HERO */
.lh-hero {
    position: relative;
    background-color: #0f172a;
    color: #fff;
    padding: 90px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

.lh-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 45%, rgba(15, 23, 42, 0.4) 100%), url('assets/images/ebike-hotel-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: 1;
}

/* Fallback per WordPress o percorsi dinamici della Hero */
.wp-theme-hero-bg .lh-hero-bg-overlay {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 45%, rgba(15, 23, 42, 0.4) 100%), var(--hero-bg-image-url);
}

.lh-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.lh-hero-content {
    max-width: 720px;
    text-align: left;
}

.lh-b2b-badge {
    background-color: rgba(0, 208, 130, 0.15);
    color: var(--lh-accent);
    border: 1px solid rgba(0, 208, 130, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.lh-hero-title {
    font-family: var(--lh-font-headings);
    font-weight: 800;
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.lh-hero-title span {
    color: var(--lh-accent);
}

.lh-hero-desc {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.6;
}

.lh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.lh-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--lh-radius-md);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.lh-btn-primary {
    background-color: var(--lh-accent) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px -5px rgba(0, 208, 130, 0.3);
}

.lh-btn-primary:hover {
    background-color: var(--lh-accent-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 208, 130, 0.4);
}

.lh-btn-whatsapp {
    background-color: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.2);
}

.lh-btn-whatsapp:hover {
    background-color: #20ba5a !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.3);
}

/* MOBILE STICKY CTA */
.lh-mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.lh-floating-whatsapp-btn {
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.lh-floating-whatsapp-btn:hover {
    transform: scale(1.1);
}

/* SEZIONI E GRIGLIE */
.lh-section-padding {
    padding: 80px 0;
    width: 100%;
}

.lh-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lh-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.lh-section-subtitle {
    color: var(--lh-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.lh-section-title {
    font-family: var(--lh-font-headings);
    font-weight: 800;
    font-size: 32px;
    color: var(--lh-text-dark);
    line-height: 1.35;
}

/* CARD VANTAGGI */
.lh-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.lh-advantage-card {
    background-color: var(--lh-bg-white);
    border: 1px solid var(--lh-border);
    padding: 35px;
    border-radius: var(--lh-radius-md);
    box-shadow: var(--lh-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lh-advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 208, 130, 0.3);
    box-shadow: 0 20px 30px rgba(0, 208, 130, 0.05);
}

.lh-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--lh-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lh-advantage-card:hover::before {
    opacity: 1;
}

.lh-card-icon {
    font-size: 34px;
    color: var(--lh-accent);
    margin-bottom: 20px;
    display: inline-block;
}

.lh-card-title {
    font-family: var(--lh-font-headings);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--lh-text-dark);
}

.lh-card-desc {
    color: var(--lh-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* COME FUNZIONA (STEPS) */
.lh-bg-grey {
    background-color: var(--lh-bg-white);
    border-top: 1px solid var(--lh-border);
    border-bottom: 1px solid var(--lh-border);
}

.lh-steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.lh-step-item {
    text-align: center;
}

.lh-step-number {
    width: 64px;
    height: 64px;
    background-color: var(--lh-bg-light);
    border: 2px solid var(--lh-accent);
    color: var(--lh-text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.lh-step-item:hover .lh-step-number {
    background-color: var(--lh-accent);
    color: #fff;
    transform: scale(1.1);
}

.lh-step-title {
    font-family: var(--lh-font-headings);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--lh-text-dark);
}

.lh-step-desc {
    color: var(--lh-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* FLOTTA BICI */
.lh-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.lh-fleet-card {
    background-color: var(--lh-bg-white);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.lh-fleet-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 208, 130, 0.2);
    box-shadow: var(--lh-shadow);
}

.lh-fleet-img-wrap {
    height: 220px;
    background-color: #ffffff; /* Sfondo completamente bianco, come sul sito principale */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Badge "E-BIKE" posizionato in alto a sinistra della card, come sul sito principale */
.lh-fleet-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--lh-accent); /* Verde brand #00d084 */
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 208, 130, 0.15);
}

.lh-fleet-img-wrap img {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.lh-fleet-card:hover .lh-fleet-img-wrap img {
    transform: scale(1.06);
}

.lh-fleet-info {
    padding: 20px 24px 28px 24px;
    border-top: none; /* Nessun bordo orizzontale, come da screenshot */
}

.lh-fleet-type {
    color: var(--lh-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.lh-fleet-name {
    font-family: var(--lh-font-headings);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lh-text-dark);
}

.lh-fleet-desc {
    font-size: 14px;
    color: var(--lh-text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.lh-fleet-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--lh-text-dark);
    font-weight: 600;
}

.lh-fleet-meta span {
    background-color: var(--lh-bg-light);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--lh-border);
}

/* CONTATTI E FORM */
.lh-contact-section-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

.lh-contact-info-panel {
    background-color: var(--lh-text-dark);
    color: #fff;
    padding: 50px 50px 280px 50px; /* Aumentato il padding inferiore per distanziare la foto dal testo */
    border-radius: var(--lh-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Testo unito verso l'alto per evitare ampi spazi vuoti */
    position: relative; /* Per allineare la filigrana */
    overflow: hidden; /* Taglia l'immagine che esce dai bordi */
}

.lh-watermark-bike {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px; /* Più alta per lasciare più spazio alla foto panoramica */
    object-fit: cover;
    opacity: 0.32; /* Sfumatura più marcata/visibile */
    pointer-events: none; /* Non ostacola click o scroll */
    filter: grayscale(100%); /* Rende la foto in bianco e nero per integrarsi con il tema scuro */
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); /* Sfuma gradualmente solo in alto */
    z-index: 1;
}

.lh-info-panel-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.lh-info-panel-title {
    font-family: var(--lh-font-headings);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.lh-info-panel-desc {
    color: #94a3b8;
    font-size: 16px;
}

.lh-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.lh-contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.lh-detail-icon {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--lh-accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.lh-detail-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3px;
}

.lh-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
}

.lh-detail-value a {
    color: #f1f5f9;
    transition: color 0.3s ease;
}

.lh-detail-value a:hover {
    color: var(--lh-accent);
}

.lh-info-panel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    position: relative;
    z-index: 2;
}

.lh-info-panel-footer p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.lh-form-panel {
    background-color: var(--lh-bg-white);
    border: 1px solid var(--lh-border);
    padding: 50px;
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow);
}

.lh-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.lh-form-group-full {
    grid-column: span 2;
}

.lh-form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--lh-text-dark);
}

.lh-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--lh-border);
    background-color: var(--lh-bg-light);
    border-radius: var(--lh-radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--lh-text-dark);
    transition: all 0.3s ease;
}

.lh-form-input:focus {
    outline: none;
    border-color: var(--lh-accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 208, 130, 0.1);
}

.lh-form-input::placeholder {
    color: #94a3b8;
}

textarea.lh-form-input {
    resize: vertical;
    min-height: 120px;
}

.lh-form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.lh-form-checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--lh-accent);
}

.lh-checkbox-label {
    font-size: 13px;
    color: var(--lh-text-muted);
    line-height: 1.4;
}

.lh-checkbox-label a {
    color: var(--lh-text-dark);
    text-decoration: underline;
}

.lh-submit-btn-wrap {
    margin-top: 30px;
}

.lh-btn-submit {
    background-color: var(--lh-accent);
    color: #fff;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: var(--lh-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 208, 130, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lh-btn-submit:hover {
    background-color: var(--lh-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 208, 130, 0.3);
}

.lh-btn-submit:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* NOTIFICHE FORM */
.lh-notification-msg {
    padding: 20px;
    border-radius: var(--lh-radius-sm);
    margin-bottom: 30px;
    font-weight: 500;
    display: none;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.lh-notification-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.lh-notification-success i {
    color: #059669;
    font-size: 20px;
}

.lh-notification-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.lh-notification-error i {
    color: #dc2626;
    font-size: 20px;
}

/* FOOTER */
.lh-footer {
    background-color: #0f172a;
    color: #64748b;
    padding: 40px 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
    width: 100%;
}

.lh-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lh-footer-logo {
    font-family: var(--lh-font-headings);
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.lh-footer-links {
    display: flex;
    gap: 20px;
}

.lh-footer-links a {
    color: #64748b;
    transition: color 0.3s ease;
}

.lh-footer-links a:hover {
    color: #fff;
}

/* RESPONSIVITÀ */
@media (max-width: 991px) {
    .lh-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .lh-hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .lh-hero-actions {
        justify-content: center;
    }
    .lh-contact-section-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lh-fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lh-header-custom-logo {
        max-height: 48px;
    }
    .lh-header {
        padding: 12px 0;
    }
    .lh-logo-wrap {
        font-size: 18px;
    }
    .lh-logo-badge {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 8px;
    }
    .lh-header-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .lh-header-phone-link {
        display: none;
    }
    .lh-hero {
        padding: 60px 0;
    }
    .lh-hero-title {
        font-size: 30px;
        line-height: 1.3;
    }
    .lh-hero-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .lh-section-padding {
        padding: 50px 0;
    }
    .lh-section-title {
        font-size: 24px;
    }
    .lh-advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .lh-advantage-card {
        padding: 25px;
    }
    .lh-form-grid {
        grid-template-columns: 1fr;
    }
    .lh-form-group-full {
        grid-column: span 1;
    }
    .lh-contact-info-panel {
        padding: 35px 20px 180px 20px !important; /* Meno spazio sul fondo per lo schermo piccolo */
    }
    .lh-watermark-bike {
        height: 140px; /* Foto più bassa su mobile */
    }
    .lh-form-panel {
        padding: 35px 20px;
    }
    .lh-mobile-sticky-cta {
        display: block;
    }
    .lh-footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .lh-footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lh-hero-title {
        font-size: 26px;
    }
    .lh-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .lh-btn-large {
        width: 100% !important;
        padding: 14px 20px;
        font-size: 15px;
    .lh-section-title {
        font-size: 22px;
    }
    .lh-fleet-grid {
        grid-template-columns: 1fr;
    }
}
