.cf-page-wrapper {
    min-height: 100vh;
    padding-top: 0px;
}

.cf-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Hero */
.cf-hero {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.cf-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.cf-hero-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* Sections */
.cf-section {
    margin-bottom: 48px;
}

.cf-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px;
}

.cf-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 16px;
}

.cf-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 12px;
}

/* Vantaggi Grid */
.cf-vantaggi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cf-vantaggio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
}

.cf-vantaggio-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.cf-vantaggio-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.cf-vantaggio-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Steps - Timeline verticale */
.cf-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.cf-step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 32px;
    padding: 28px 0 40px;
    position: relative;
}

/* Linea verticale connettrice */
.cf-step::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 92px;
    bottom: -8px;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0 0%, #e2e8f0 90%, transparent 100%);
    z-index: 0;
}

.cf-step:last-child::before {
    display: none;
}

.cf-step-num {
    grid-column: 1;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25), 0 0 0 8px #fff;
    position: relative;
    z-index: 1;
    align-self: start;
}

.cf-step > h3,
.cf-step > p,
.cf-step > .cf-step-list {
    grid-column: 2;
}

.cf-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 18px 0 12px;
    line-height: 1.3;
}

.cf-step p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 12px;
}

.cf-step p:last-child {
    margin-bottom: 0;
}

/* CTA */
.cf-cta-section {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 32px;
}

.cf-cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}

.cf-cta-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 12px;
}

.cf-cta-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 28px 14px 40px;
    background: url('//cdn.noleggiamoauto.it/images/buttonRicerca.svg') no-repeat center / 100% 100%;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
}

.cf-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .cf-hero h1 {
        font-size: 28px;
    }

    .cf-vantaggi-grid {
        grid-template-columns: 1fr;
    }

    .cf-step {
        grid-template-columns: 64px 1fr;
        gap: 20px;
        padding: 20px 0 32px;
    }

    .cf-step-num {
        width: 64px;
        height: 64px;
        font-size: 20px;
        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22), 0 0 0 6px #fff;
    }

    .cf-step::before {
        left: 31px;
        top: 64px;
    }

    .cf-step h3 {
        font-size: 19px;
        margin: 8px 0 10px;
    }

    .cf-step p {
        font-size: 14.5px;
    }

    .cf-step-list {
        padding: 14px 16px;
    }

    .cf-cta-section {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .cf-page-wrapper {
        padding: 24px 0 48px;
    }

    .cf-container {
        padding: 0 16px;
    }

    .cf-hero h1 {
        font-size: 24px;
    }

    .cf-hero-subtitle {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .cf-section-title {
        font-size: 20px;
    }

    .cf-step {
        grid-template-columns: 56px 1fr;
        gap: 18px;
        padding: 18px 0 30px;
    }

    .cf-step-num {
        width: 56px;
        height: 56px;
        font-size: 18px;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22), 0 0 0 5px #fff;
    }

    .cf-step::before {
        left: 27px;
        top: 56px;
    }

    .cf-step h3 {
        font-size: 17px;
        margin: 6px 0 10px;
    }

    .cf-step p {
        font-size: 14px;
        line-height: 1.65;
    }

    .cf-step-list {
        padding: 12px 14px;
    }

    .cf-step-list li {
        font-size: 0.88rem;
        gap: 12px;
    }

    .cf-step-list li i {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .cf-vantaggio-card {
        padding: 22px 20px;
    }

    .cf-cta-section {
        padding: 28px 20px;
    }

    .cf-cta-section h2 {
        font-size: 22px;
    }

    .cf-cta-section p {
        font-size: 14.5px;
    }
}

@media (max-width: 375px) {
    .cf-step {
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }

    .cf-step-num {
        width: 48px;
        height: 48px;
        font-size: 16px;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22), 0 0 0 4px #fff;
    }

    .cf-step::before {
        left: 23px;
        top: 48px;
    }

    .cf-hero h1 {
        font-size: 22px;
    }
}

/* Badge Apophis nel hero */
.cf-apophis-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf-apophis-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.cf-apophis-badge img {
    height: 24px;
    width: auto;
    display: block;
}

.cf-apophis-badge span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
}

/* Lista servizi inclusi nello step */
.cf-step-list {
    list-style: none;
    padding: 16px 20px;
    margin: 16px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: grid;
    gap: 12px;
}

.cf-step-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: #334155;
    text-align: left;
}

.cf-step-list li i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2563eb;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
    .cf-apophis-badge {
        padding: 6px 14px 6px 12px;
    }

    .cf-apophis-badge img {
        height: 20px;
    }

    .cf-apophis-badge span {
        font-size: 0.7rem;
    }
}