/* =============================================
   COMPRO AUTO — Stili sezione v3
   ============================================= */

/* ---- Sezioni ---- */
.compro-section { padding: 70px 0; }
.compro-section--white { background: #fff; }
.compro-section--gray  { background: #f5f5f5; }
.compro-section--red   { background: #c0392b; }

.compro-section__title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
}
.compro-section__sub {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-bottom: 40px;
}
.compro-section--red .compro-section__title { color: #fff; }

/* ---- HERO ---- */
.compro-hero {
    background: #111 !important;
    background-image: none !important;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
.compro-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #111 !important;
    z-index: 0;
}
.compro-hero .container { position: relative; z-index: 1; }
.compro-hero .container { position: relative; z-index: 1; }

.compro-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 16px;
}

.compro-hero__title {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.compro-hero__title strong {
    color: #c0392b;
    display: block;
}
@media (max-width: 991px) { .compro-hero__title { font-size: 40px; } }
@media (max-width: 767px) { .compro-hero__title { font-size: 30px; } }

.compro-hero__sub {
    color: rgba(255,255,255,.65);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 440px;
}

/* Bottoni hero */
.compro-hero__btn-primary {
    display: inline-block;
    background: #c0392b !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    -webkit-transition: background .2s;
    transition: background .2s;
}
.compro-hero__btn-primary:hover,
.compro-hero__btn-primary:focus {
    background: #a93226 !important;
    color: #fff !important;
    text-decoration: none;
}
.compro-hero__btn-secondary {
    display: inline-block;
    background: transparent !important;
    color: rgba(255,255,255,.85) !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 28px;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 2px;
    text-decoration: none;
    margin-bottom: 10px;
    -webkit-transition: border-color .2s, color .2s;
    transition: border-color .2s, color .2s;
}
.compro-hero__btn-secondary:hover,
.compro-hero__btn-secondary:focus {
    border-color: rgba(255,255,255,.9) !important;
    color: #fff !important;
    text-decoration: none;
}

/* Stats bar */
.compro-hero__stats {
    margin-top: 52px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.compro-hero__stat {
    text-align: center;
    padding: 28px 10px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.compro-hero__stat:last-child { border-right: none; }
.compro-hero__stat-num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1;
    letter-spacing: -1px;
}
.compro-hero__stat-num sup {
    font-size: 18px;
    font-weight: 700;
    vertical-align: super;
    letter-spacing: 0;
}
.compro-hero__stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.6) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}
@media (max-width: 767px) {
    .compro-hero__stat { padding: 20px 8px; }
    .compro-hero__stat-num { font-size: 28px; }
    .compro-hero__stat-label { font-size: 10px; letter-spacing: 0.5px; }
}

/* ---- Why items ---- */
.compro-why-item {
    text-align: center;
    padding: 30px 20px;
}
.compro-why-item__icon {
    width: 64px;
    height: 64px;
    background: rgba(192,57,43,.08);
    border-radius: 50%;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin-bottom: 16px;
    -webkit-transition: background .2s;
    transition: background .2s;
}
.compro-why-item:hover .compro-why-item__icon {
    background: rgba(192,57,43,.15);
}
.compro-why-item__icon .fas {
    font-size: 24px;
    color: #c0392b;
}
.compro-why-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #111;
}
.compro-why-item p { color: #777; font-size: 14px; line-height: 1.65; margin: 0; }

/* ---- Steps ---- */
.compro-step { text-align: center; padding: 0 16px; margin-bottom: 30px; }
.compro-step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #c0392b;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 52px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(192,57,43,.3);
}
.compro-step h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 8px;
    color: #111;
}
.compro-step p { color: #777; font-size: 14px; line-height: 1.65; }

/* ---- Zone cards ---- */
.compro-zone-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 13px 10px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: border-color .2s, box-shadow .2s, -webkit-transform .2s;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.compro-zone-card:hover,
.compro-zone-card:focus {
    border-color: #c0392b;
    box-shadow: 0 3px 12px rgba(192,57,43,.12);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    text-decoration: none;
}
.compro-zone-card__nome {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #222;
    line-height: 1.2;
}
.compro-zone-card__tipo {
    display: block;
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 3px;
}
.compro-zone-card:hover .compro-zone-card__nome { color: #c0392b; }

/* ---- Marca cards ---- */
.compro-marca-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 9px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    letter-spacing: .3px;
    -webkit-transition: background .15s, color .15s, border-color .15s;
    transition: background .15s, color .15s, border-color .15s;
}
.compro-marca-card:hover,
.compro-marca-card:focus {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
    text-decoration: none;
}

/* ---- Bottoni su sfondo rosso ---- */
.compro-btn-white {
    background: #fff;
    color: #c0392b;
    border: 2px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.compro-btn-white:hover { background: #f0f0f0; color: #c0392b; border-color: #f0f0f0; }
.compro-btn-white-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.compro-btn-white-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ---- Content area ---- */
.compro-content { line-height: 1.78; color: #444; font-size: 15px; margin-top: 24px; }
.compro-content p  { margin-bottom: 16px; }
.compro-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; text-transform: uppercase; }
.compro-content h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; color: #111; }
.compro-content ul { padding-left: 20px; margin-bottom: 14px; }
.compro-content li { margin-bottom: 5px; }

/* ---- News ---- */
.compro-news-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 3px solid #c0392b;
    border-radius: 3px;
    padding: 22px 24px;
    margin-bottom: 20px;
    -webkit-transition: box-shadow .2s;
    transition: box-shadow .2s;
}
.compro-news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.compro-news-card__date { font-size: 11px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; }
.compro-news-card__title { font-size: 19px; font-weight: 700; margin: 6px 0 8px; }
.compro-news-card__title a { color: #111; text-decoration: none; }
.compro-news-card__title a:hover { color: #c0392b; }
.compro-news-card__excerpt { color: #666; font-size: 14px; line-height: 1.65; }

/* ---- Form progressivo ---- */
.compro-form-wrap { max-width: 580px; }
.compro-step-block {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 3px solid #c0392b;
    border-radius: 3px;
    margin-bottom: 12px;
}
.compro-step-block > label:first-child {
    display: block;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #333;
    margin-bottom: 10px;
}
.compro-step-block select,
.compro-step-block input[type=text],
.compro-step-block input[type=number],
.compro-step-block input[type=tel] {
    width: 100%;
    height: 46px;
    padding: 8px 14px;
    border: 1.5px solid #d5d5d5;
    border-radius: 2px;
    font-size: 15px;
    background: #fafafa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: border-color .15s;
    transition: border-color .15s;
    box-sizing: border-box;
}
.compro-step-block select:focus,
.compro-step-block input:focus {
    outline: none;
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.compro-step-block .btn { margin-top: 12px; width: 100%; }

.compro-optional-grid {
    display: -webkit-flex; display: flex;
    -webkit-flex-wrap: wrap; flex-wrap: wrap;
    gap: 8px; margin-bottom: 14px;
}
.compro-optional-grid label {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    gap: 7px;
    font-weight: 400 !important; font-size: 13px !important;
    text-transform: none !important; letter-spacing: 0 !important;
    color: #444 !important;
    background: #fafafa; border: 1.5px solid #ddd; border-radius: 2px;
    padding: 8px 12px; cursor: pointer;
    width: calc(50% - 4px); margin-bottom: 0 !important;
    -webkit-transition: border-color .15s; transition: border-color .15s;
}
@media (max-width: 480px) { .compro-optional-grid label { width: 100%; } }
.compro-optional-grid label:hover { border-color: #c0392b; }
.compro-optional-grid input[type=checkbox] { margin: 0; width: auto !important; height: auto !important; flex-shrink: 0; }

.compro-privacy-label {
    display: -webkit-flex !important; display: flex !important;
    -webkit-align-items: flex-start; align-items: flex-start;
    gap: 8px;
    font-weight: 400 !important; font-size: 13px !important;
    text-transform: none !important; letter-spacing: 0 !important;
    color: #666 !important; margin: 12px 0 16px !important; cursor: pointer;
}
.compro-privacy-label input { margin-top: 3px; width: auto !important; height: auto !important; flex-shrink: 0; }

.compro-progress { height: 4px; background: #eee; border-radius: 2px; margin-bottom: 6px; overflow: hidden; }
.compro-progress-bar {
    height: 100%; background: #c0392b; border-radius: 2px; width: 11%;
    -webkit-transition: width .4s ease; transition: width .4s ease;
}
.compro-progress-label { font-size: 11px; color: #bbb; text-align: right; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }

.compro-loading { text-align: center; padding: 14px; color: #999; font-size: 13px; }
.compro-loading i { color: #c0392b; margin-right: 6px; }

.compro-success {
    background: #f6fdf6; border: 1px solid #c8e6c9; border-top: 3px solid #2e7d32;
    border-radius: 3px; padding: 36px 28px; text-align: center;
}
.compro-success h3 { color: #2e7d32; font-size: 24px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.compro-success p { color: #555; font-size: 15px; }
