/* ========================================
   LDC SYSTEM - HOME
   ======================================== */

/* HERO */
.ldc-hero {
    background: #151515;
    color: #ffffff;
    padding: 80px 70px;
    border-radius: 8px;
    overflow: hidden;
}

.ldc-hero-content {
    max-width: 760px;
}

.ldc-eyebrow {
    color: #e53935;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.ldc-hero h1 {
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -2px;
    margin: 0 0 28px 0;
}

.ldc-hero-text {
    color: #e5e5e5;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 35px;
}

/* PULSANTE */
.ldc-button {
    display: inline-block;
    background: #e53935;
    color: #ffffff !important;
    padding: 16px 28px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ldc-button:hover {
    background: #ffffff;
    color: #151515 !important;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {

    .ldc-hero {
        padding: 55px 28px;
        border-radius: 0;
    }

    .ldc-hero h1 {
        font-size: 2.7rem;
        letter-spacing: -1px;
    }

    .ldc-hero-text {
        font-size: 1.05rem;
    }
}
/* ========================================
   HEADER LDC
   ======================================== */

.container-header {
    background: #ffffff !important;
    background-image: none !important;
    color: #151515;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.container-header .navbar-brand a {
    color: #151515 !important;
    text-decoration: none;
}

.container-header .site-description {
    color: #666666 !important;
}

.container-header .mod-menu {
    color: #151515;
}

.container-header .mod-menu > li > a {
    color: #151515 !important;
    font-weight: 600;
    text-decoration: none;
}

.container-header .mod-menu > li > a:hover {
    color: #e53935 !important;
}

/* Ricerca */
.container-header .form-control {
    border: 1px solid #dddddd;
}

.container-header .btn {
    background: #151515;
    border-color: #151515;
    color: #ffffff;
}
/* HERO - rimuove il contenitore Joomla */
.container-top-a > * {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.container-top-a {
    margin-top: 0;
    margin-bottom: 2rem;
}
/* ========================================
   COME FUNZIONA LDC
   ======================================== */

.ldc-how {
    padding: 80px 0 90px;
}

.ldc-section-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.ldc-section-heading > span {
    display: block;
    color: #e53935;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ldc-section-heading h2 {
    color: #151515;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    margin: 0 0 18px;
}

.ldc-section-heading p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
}

.ldc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ldc-step {
    position: relative;
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 38px 32px 42px;
    min-height: 260px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ldc-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0,0,0,.08);
}

.ldc-number {
    color: #e53935;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
}

.ldc-step h3 {
    color: #151515;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 14px;
}

.ldc-step p {
    color: #555;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .ldc-how {
        padding: 55px 0 65px;
    }

    .ldc-steps {
        grid-template-columns: 1fr;
    }

    .ldc-step {
        min-height: auto;
    }
}
/* ========================================
   LDC SYSTEM
   ======================================== */

.ldc-system {
    background: #151515;
    color: #fff;
    padding: 80px 70px 85px;
    border-radius: 8px;
}

.ldc-system-heading {
    max-width: 820px;
    margin-bottom: 55px;
}

.ldc-system-heading > span {
    display: block;
    color: #e53935;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.ldc-system-heading h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
}

.ldc-system-heading p {
    color: #cfcfcf;
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 720px;
    margin: 0;
}

.ldc-system-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid #3a3a3a;
    border-left: 1px solid #3a3a3a;
}

.ldc-system-item {
    padding: 38px;
    border-right: 1px solid #3a3a3a;
    border-bottom: 1px solid #3a3a3a;
}

.ldc-system-item > span {
    display: block;
    color: #e53935;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.ldc-system-item h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.ldc-system-item p {
    color: #bdbdbd;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {

    .ldc-system {
        padding: 55px 28px 60px;
        border-radius: 0;
    }

    .ldc-system-grid {
        grid-template-columns: 1fr;
    }

    .ldc-system-item {
        padding: 30px 24px;
    }
}
/* MENU MOBILE */
.container-header .navbar-toggler {
    border-color: #151515 !important;
    color: #151515 !important;
}

.container-header .navbar-toggler-icon {
    filter: brightness(0) !important;
}