/* RoomUpItalia v25.16.80 - pagine editoriali SEO */
.seo-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 64px;
}

.seo-hero {
    display: grid;
    gap: 20px;
    padding: 28px;
    border: 1px solid #dbe3ef;
    border-radius: 28px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.seo-hero--compact {
    grid-template-columns: 1fr;
}

.seo-kicker {
    margin: 0 0 10px;
    color: #365078;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seo-hero h1 {
    margin: 0;
    max-width: 860px;
    color: #071b3d;
    font-size: clamp(2rem, 8vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.seo-hero__intro {
    max-width: 760px;
    margin: 18px 0 0;
    color: #42526e;
    font-size: 1.05rem;
    line-height: 1.7;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.seo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.seo-button--primary {
    color: #fff;
    background: #071b3d;
    box-shadow: 0 12px 26px rgba(7, 27, 61, 0.22);
}

.seo-button--secondary {
    color: #071b3d;
    background: #fff;
    border: 1px solid #cfd9e8;
}

.seo-hero__panel {
    display: grid;
    gap: 12px;
}

.seo-stat,
.seo-card,
.seo-sections article,
.seo-faq details,
.seo-band {
    border: 1px solid #dbe3ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.seo-stat {
    padding: 18px;
}

.seo-stat strong {
    display: block;
    margin-bottom: 6px;
    color: #071b3d;
    font-size: 1.05rem;
}

.seo-stat span {
    color: #52637d;
    line-height: 1.55;
}

.seo-grid {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.seo-card {
    padding: 20px;
}

.seo-card h2,
.seo-sections h2,
.seo-band h2,
.seo-faq h2 {
    margin: 0 0 10px;
    color: #071b3d;
    letter-spacing: -0.03em;
}

.seo-card p,
.seo-sections p,
.seo-band p,
.seo-faq p {
    margin: 0;
    color: #4b5d76;
    line-height: 1.65;
}

.seo-card a {
    display: inline-flex;
    margin-top: 14px;
    color: #0f3f8f;
    font-weight: 800;
    text-decoration: none;
}

.seo-band {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 24px;
    background: #071b3d;
}

.seo-band .seo-kicker,
.seo-band h2,
.seo-band p {
    color: #fff;
}

.seo-band p {
    opacity: 0.88;
}

.seo-sections {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.seo-sections article {
    padding: 20px;
}

.seo-faq {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #dbe3ef;
    border-radius: 26px;
    background: #f8fbff;
}

.seo-faq details {
    margin-top: 12px;
    padding: 16px 18px;
}

.seo-faq summary {
    cursor: pointer;
    color: #071b3d;
    font-weight: 800;
}

.seo-faq details p {
    margin-top: 10px;
}

.seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    color: #62708a;
    font-size: 0.9rem;
}

.seo-breadcrumb a {
    color: #0f3f8f;
    font-weight: 800;
    text-decoration: none;
}

@media (min-width: 760px) {
    .seo-hero {
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.6fr);
        padding: 42px;
    }

    .seo-hero--compact {
        grid-template-columns: 1fr;
    }

    .seo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seo-band {
        grid-template-columns: 0.85fr 1fr;
        align-items: center;
        padding: 34px;
    }

    .seo-sections {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Home produzione: ricerca annunci come azione principale. */
.seo-page--home-search {
    max-width: 1180px;
}

.seo-search-hero {
    display: grid;
    gap: 22px;
    padding: 24px;
    border: 1px solid #d8e3f2;
    border-radius: 28px;
    background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 56%, #edf5ff 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.seo-search-hero__copy h1 {
    max-width: 820px;
}

.seo-search-hero__form {
    border: 1px solid #dbe7f6;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.seo-search-form-label {
    margin: 0;
    padding: 18px 20px 0;
    color: #0f3f8f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seo-search-hero__form .ru-search {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.seo-search-hero__form .ru-search__form {
    padding: 18px;
}

.seo-actions--home {
    margin-top: 22px;
}

.seo-button--ghost {
    color: #0f3f8f;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #bed1ea;
}

.seo-grid--home,
.seo-sections--home {
    margin-top: 22px;
}

.page-home-search .ru-search__advanced {
    background: #f8fbff;
}

@media (min-width: 920px) {
    .seo-search-hero {
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
        align-items: center;
        padding: 42px;
    }

    .seo-search-hero__form .ru-search__primary-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .seo-search-hero__form .ru-search__submit,
    .seo-search-hero__form .ru-search__filters-wrapper {
        min-height: 54px;
    }
}

@media (max-width: 759px) {
    .seo-search-hero {
        padding: 18px;
        border-radius: 22px;
    }

    .seo-search-hero__form {
        border-radius: 20px;
    }

    .seo-search-hero__form .ru-search__form {
        padding: 14px;
    }
}


/* Home PR-062: posizionamento sicurezza, servizi e supporto. */
.seo-page--home-search {
    width: min(1180px, calc(100% - 28px));
    padding-top: 22px;
}

.seo-home-hero {
    display: grid;
    gap: 18px;
}

.seo-home-hero__copy,
.seo-home-hero__visual {
    min-width: 0;
}

.seo-home-hero__copy {
    padding: 28px 24px 8px;
}

.seo-home-kicker,
.seo-home-section__kicker,
.seo-home-search__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    color: #08794f;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-home-kicker,
.seo-home-section__kicker {
    padding: 7px 11px;
    border: 1px solid #b9e8d2;
    border-radius: 999px;
    background: #effaf4;
}

.seo-home-hero h1 {
    max-width: 760px;
    margin: 16px 0 0;
    color: #071b3d;
    font-size: clamp(2.2rem, 7vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.seo-home-hero__intro {
    max-width: 760px;
    margin: 18px 0 0;
    color: #42526e;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.65;
}

.seo-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.seo-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.seo-home-button:hover {
    transform: translateY(-1px);
}

.seo-home-button--primary {
    color: #fff;
    background: #0b3b7e;
    box-shadow: 0 10px 24px rgba(11, 59, 126, 0.2);
}

.seo-home-button--secondary {
    color: #0b3b7e;
    border-color: #b9cce8;
    background: #fff;
}

.seo-home-trust {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.seo-home-trust__item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #213b63;
    font-size: 0.9rem;
    font-weight: 750;
}

.seo-home-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #eaf3ff;
}

.seo-home-icon--small {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef9f3;
}

.seo-home-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.seo-home-icon--small img {
    width: 18px;
    height: 18px;
}

.seo-home-hero__visual {
    display: grid;
    align-items: stretch;
    padding: 8px;
}

.seo-home-safety-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: 28px;
    border: 1px solid #c7d8ec;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 12%, rgba(36, 153, 103, 0.19), transparent 32%),
        radial-gradient(circle at 16% 88%, rgba(37, 99, 235, 0.18), transparent 34%),
        linear-gradient(145deg, #f8fbff 0%, #edf5ff 54%, #f3fbf6 100%);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.seo-home-safety-panel::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -64px;
    width: 210px;
    height: 210px;
    border: 28px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.seo-home-safety-panel__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 8px 11px;
    border: 1px solid #b9e8d2;
    border-radius: 999px;
    color: #08794f;
    background: rgba(255, 255, 255, 0.84);
    font-size: 0.79rem;
    font-weight: 850;
}

.seo-home-safety-panel h2 {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    color: #071b3d;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    letter-spacing: -0.045em;
}

.seo-home-safety-panel > p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 12px 0 0;
    color: #42526e;
    line-height: 1.6;
}

.seo-home-safety-panel__checks {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.seo-home-safety-panel__checks span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #17375f;
    font-size: 0.92rem;
    font-weight: 750;
}

.seo-home-search {
    grid-column: 1 / -1;
    overflow: hidden;
    border: 1px solid #c9d9ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.seo-home-search__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 0;
    color: #53657e;
    font-size: 0.86rem;
}

.seo-home-search__heading > div {
    display: grid;
    gap: 3px;
}

.seo-home-search__heading strong {
    color: #071b3d;
    font-size: 1rem;
}

.seo-home-search .ru-search {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.seo-home-search .ru-search__form {
    padding: 16px;
}

.seo-home-section {
    margin-top: 30px;
    padding: 28px 22px;
    border-radius: 26px;
}

.seo-home-section--why {
    border: 1px solid #d8e5f4;
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.seo-home-section--services {
    border: 1px solid #d9eadf;
    background: linear-gradient(180deg, #f7fcf9 0%, #eff9f3 100%);
}

.seo-home-section__heading {
    max-width: 800px;
    margin: 0 auto 22px;
    text-align: center;
}

.seo-home-section__heading .seo-home-section__kicker {
    margin-inline: auto;
}

.seo-home-section__heading h2 {
    margin: 14px 0 0;
    color: #071b3d;
    font-size: clamp(1.75rem, 4vw, 2.55rem);
    letter-spacing: -0.045em;
}

.seo-home-section__heading p {
    margin: 11px auto 0;
    color: #52637d;
    line-height: 1.65;
}

.seo-home-benefits,
.seo-home-services {
    display: grid;
    gap: 14px;
}

.seo-home-benefit,
.seo-home-service {
    min-width: 0;
    padding: 20px;
    border: 1px solid #d7e2f1;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.seo-home-benefit h3,
.seo-home-service h3 {
    margin: 14px 0 0;
    color: #071b3d;
    font-size: 1.05rem;
}

.seo-home-benefit p,
.seo-home-service p {
    margin: 8px 0 0;
    color: #53657e;
    line-height: 1.6;
}

.seo-home-service {
    display: flex;
    flex-direction: column;
}

.seo-home-service__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.seo-home-service__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #c8d9ed;
    border-radius: 999px;
    color: #31547e;
    background: #f7fbff;
    font-size: 0.72rem;
    font-weight: 800;
}

.seo-home-service__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 18px;
    color: #0b3b7e;
    font-weight: 850;
    text-decoration: none;
}

.seo-home-owner-cta {
    display: grid;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    padding: 24px;
    border: 1px solid #bfe2ce;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 18%, rgba(37, 99, 235, 0.1), transparent 26%),
        linear-gradient(135deg, #f2fbf6 0%, #f9fcff 100%);
}

.seo-home-owner-cta__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    background: #e4f6ec;
}

.seo-home-owner-cta__copy > span {
    color: #08794f;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-home-owner-cta h2 {
    margin: 5px 0 0;
    color: #071b3d;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.035em;
}

.seo-home-owner-cta p {
    margin: 7px 0 0;
    color: #52637d;
    line-height: 1.55;
}

.seo-home-proof {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #d9e3ef;
    border-radius: 18px;
    background: #fff;
}

.seo-home-proof__item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.seo-home-proof__item img {
    flex: 0 0 auto;
}

.seo-home-proof__item div {
    display: grid;
    gap: 2px;
}

.seo-home-proof__item strong {
    color: #071b3d;
    font-size: 0.9rem;
}

.seo-home-proof__item span {
    color: #65748b;
    font-size: 0.78rem;
}

.page-home-search .helpdesk-hours {
    margin-top: 22px;
}

@media (min-width: 620px) {
    .seo-home-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seo-home-benefits,
    .seo-home-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-home-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .seo-home-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
        align-items: stretch;
    }

    .seo-home-hero__copy {
        padding: 42px 28px 20px;
    }

    .seo-home-hero__visual {
        padding: 12px 0 12px 12px;
    }

    .seo-home-search__heading {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .seo-home-benefits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .seo-home-owner-cta {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 28px;
    }

    .seo-home-proof {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 619px) {
    .seo-page--home-search {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .seo-home-hero__copy {
        padding: 20px 10px 4px;
    }

    .seo-home-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.15rem);
    }

    .seo-home-actions .seo-home-button {
        flex: 1 1 100%;
    }

    .seo-home-safety-panel,
    .seo-home-section,
    .seo-home-owner-cta {
        border-radius: 20px;
    }

    .seo-home-safety-panel {
        padding: 22px;
    }

    .seo-home-section {
        padding: 22px 16px;
    }

    .seo-home-owner-cta .seo-home-button {
        width: 100%;
    }
}


/* Come funziona: percorso in tre colonne verticali. */
.seo-journey {
    margin-top: 22px;
}

.seo-journey__grid {
    display: grid;
    gap: 16px;
}

.seo-journey__column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.seo-journey__heading {
    padding: 22px;
    border-bottom: 1px solid #dbe3ef;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
}

.seo-journey__heading h2,
.seo-journey__item h3,
.seo-journey__conclusion h2 {
    margin: 0;
    color: #071b3d;
    letter-spacing: -0.03em;
}

.seo-journey__heading h2 {
    font-size: 1.18rem;
}

.seo-journey__heading p,
.seo-journey__item p,
.seo-journey__conclusion p {
    margin: 10px 0 0;
    color: #4b5d76;
    line-height: 1.65;
}

.seo-journey__heading a {
    display: inline-flex;
    margin-top: 16px;
    color: #0f3f8f;
    font-weight: 800;
    text-decoration: none;
}

.seo-journey__items {
    display: grid;
    flex: 1;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.seo-journey__item {
    padding: 20px 22px;
}

.seo-journey__item + .seo-journey__item {
    border-top: 1px solid #e4eaf2;
}

.seo-journey__item h3 {
    font-size: 1rem;
}

.seo-journey__conclusion {
    margin-top: 16px;
    padding: 22px 24px;
    border: 1px solid #cfdced;
    border-radius: 22px;
    background: #f8fbff;
    text-align: center;
}

.seo-journey__conclusion p {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 900px) {
    .seo-journey__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

@media (max-width: 899px) {
    .seo-journey__column {
        border-radius: 20px;
    }
}

@media (max-width: 619px) {
    .seo-journey__heading,
    .seo-journey__item {
        padding: 18px;
    }

    .seo-journey__conclusion {
        padding: 20px 18px;
        text-align: left;
    }
}
