.priority-page {
    --primary: var(--blue);
    --primary-dark: var(--blue-dark);
    --accent: var(--teal);
    --text: var(--ink);
    --soft: var(--mist);
    --white: var(--paper);
}

.under36-page {
    --priority-hero: url("/img/consulente-senior-mutuo-sardegna-ufficio.webp");
}

.ltv-page {
    --priority-hero: url("/img/Mattino-al-Bastione-di-Saint-Remy-a-Cagliari–contesto-urbano-per-consulenza-mutuo.webp");
}

.priority-page main .container {
    width: min(960px, calc(100% - 48px));
}

.priority-page main .wide-container {
    width: min(1180px, calc(100% - 48px));
}

.priority-page .site-header .container,
.priority-page .site-footer .container {
    width: min(1180px, calc(100% - 48px));
}

.priority-page .hero {
    position: relative;
    padding: 82px 0 68px;
    border-bottom: 0;
    background-color: var(--ink-strong);
    background-image: var(--priority-hero);
    background-position: center;
    background-size: cover;
    color: var(--paper);
    isolation: isolate;
}

.priority-page .hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(7, 27, 45, 0.8);
    content: "";
}

.priority-page .hero h1 {
    max-width: 900px;
    color: var(--paper);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 3.15rem;
}

.priority-page .hero .eyebrow {
    color: #ffbd4a;
}

.priority-page .hero-copy {
    color: #eef5fa;
}

.priority-page .hero .microcopy {
    color: #cfdae3;
}

.priority-page .hero .button-primary {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--ink-strong);
}

.priority-page .hero .button-secondary {
    border-color: var(--paper);
    background: transparent;
    color: var(--paper);
}

.priority-page .facts,
.priority-page .ltv-strip {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.4);
}

.priority-page .fact,
.priority-page .ltv-item {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
}

.priority-page .section {
    padding: 78px 0;
}

.priority-page .section-soft {
    background: var(--mist);
}

.priority-page main h2,
.priority-page main h3 {
    font-family: "Manrope", Arial, sans-serif;
}

.priority-page .clarity-item,
.priority-page .process-item,
.priority-page .path,
.priority-page .process,
.priority-page .important-band,
.priority-page .source-box,
.priority-page .table-wrap {
    border-radius: 6px;
    box-shadow: none;
}

.priority-page .cta-band {
    background: var(--teal);
}

.priority-page .cta-band .button {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--ink-strong);
}

.priority-page .site-footer {
    text-align: left;
}

@media (max-width: 860px) {
    .priority-page main .container,
    .priority-page main .wide-container,
    .priority-page .site-header .container,
    .priority-page .site-footer .container {
        width: min(100% - 32px, 1180px);
    }

    .priority-page .hero {
        padding: 64px 0 52px;
    }

    .priority-page .hero h1 {
        font-size: 2.35rem;
    }

    .priority-page .section {
        padding: 62px 0;
    }
}

@media (max-width: 640px) {
    .priority-page .hero h1 {
        font-size: 2.08rem;
    }

    .priority-page .table-wrap {
        overflow: visible;
        border: 0;
    }

    .priority-page .table-wrap table,
    .priority-page .table-wrap tbody,
    .priority-page .table-wrap tr,
    .priority-page .table-wrap td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .priority-page .table-wrap thead {
        display: none;
    }

    .priority-page .table-wrap tr {
        margin-bottom: 16px;
        border: 1px solid var(--line);
        border-top: 4px solid var(--teal);
        border-radius: 6px;
        background: var(--paper);
    }

    .priority-page .table-wrap td {
        display: grid;
        gap: 6px;
        padding: 13px 16px;
        border-bottom: 1px solid var(--line);
        grid-template-columns: minmax(105px, 0.42fr) minmax(0, 0.58fr);
    }

    .priority-page .table-wrap td:last-child {
        border-bottom: 0;
    }

    .priority-page .table-wrap td::before {
        color: var(--muted);
        content: attr(data-label);
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
    }
}
