/* Ristrutturazioni Page Styles */

.page-hero {
    position: relative;
    min-height: clamp(420px, 70vh, 580px);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

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

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.75);
    transform: scale(1.08);
    transition: transform 12s ease;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 143, 62, 0.85), rgba(2, 107, 47, 0.75));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 640px;
    color: var(--white);
}

.page-title {
    color: var(--white);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Overview */
.renovation-overview {
    background: linear-gradient(180deg, rgba(3, 143, 62, 0.05), transparent 55%);
}

.overview-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overview-content .section-subtitle {
    margin: 0;
    max-width: none;
}

.intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(3, 143, 62, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-secondary);
}

.overview-highlights {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    padding: 0;
    margin: 0;
}

.overview-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.overview-highlights i {
    color: var(--primary);
    margin-top: 0.18rem;
}

.overview-media {
    position: relative;
}

.overview-media img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(3, 143, 62, 0.18);
    object-fit: cover;
}

.overview-badge {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    background: var(--white);
    border-radius: 18px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 18px 45px rgba(3, 143, 62, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 220px;
}

.badge-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.badge-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Systems */
.systems {
    background: var(--white);
}

.systems-grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.system-card {
    background: rgba(3, 143, 62, 0.06);
    border-radius: 26px;
    border: 1px solid rgba(3, 143, 62, 0.12);
    padding: 2.25rem;
    box-shadow: 0 18px 45px rgba(3, 143, 62, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 100%;
}

.system-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    box-shadow: 0 15px 40px rgba(3, 143, 62, 0.25);
}

.system-card p {
    color: var(--text-secondary);
}

.system-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
}

.system-list i {
    color: var(--primary);
    margin-right: 0.6rem;
}

/* Fast Track */
.fast-track {
    position: relative;
    overflow: hidden;
    background: var(--white);
    color: var(--text-dark);
}

.fast-track::before {
    display: none;
}

.fast-track .container {
    position: relative;
    z-index: 1;
}

.fast-track-wrapper {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.fast-track-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fast-track .section-title {
    color: var(--primary);
}

.fast-track .section-subtitle {
    color: var(--text-secondary);
    margin: 0;
    max-width: none;
}

.fast-track-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.metric-card {
    background: rgba(3, 143, 62, 0.08);
    border: 1px solid rgba(3, 143, 62, 0.18);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-steps {
    display: grid;
    gap: 1.35rem;
}

.timeline-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid rgba(3, 143, 62, 0.16);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 18px 40px rgba(3, 143, 62, 0.08);
}

.step-index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(3, 143, 62, 0.12);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--primary);
}

.timeline-step h4 {
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.timeline-step p {
    color: var(--text-secondary);
    margin: 0;
}

/* Value Section */
.value-section {
    background: var(--white);
    color: var(--text-dark);
}

.value-section .section-title {
    color: var(--primary);
}

.value-section .section-subtitle {
    color: var(--text-secondary);
}

.value-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card {
    background: rgba(3, 143, 62, 0.08);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(3, 143, 62, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 18px 40px rgba(3, 143, 62, 0.08);
}

.value-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--white);
    box-shadow: 0 14px 30px rgba(3, 143, 62, 0.25);
}

.value-card h3 {
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1200px) {
    .overview-grid,
    .fast-track-wrapper {
        grid-template-columns: 1fr;
    }

    .overview-media {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 440px;
        padding: 5rem 0 4rem;
    }

    .overview-grid {
        gap: 2.25rem;
    }

    .overview-badge {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: unset;
    }

    .fast-track-metrics {
        flex-direction: column;
    }

    .timeline-step {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .value-grid {
        gap: 1.5rem;
    }

    .overview-highlights li {
        flex-direction: row;
        align-items: flex-start;
    }

    .fast-track-metrics {
        gap: 1rem;
    }
}
