﻿:root {
    --risolvito-primary: #0f766e;
    --risolvito-dark: #17202a;
    --risolvito-muted: #64748b;
    --risolvito-line: #dde7ee;
    --risolvito-soft: #f7fbfa;
    --risolvito-focus: #0ea5a0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f6f8fb;
    color: var(--risolvito-dark);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

.provider-signup-hero {
    position: relative;
    min-height: clamp(620px, 88vh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #142229 var(--provider-hero-image) center / cover no-repeat;
    color: #fff;
}

.provider-signup-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 18, 24, 0.9) 0%, rgba(10, 18, 24, 0.68) 44%, rgba(10, 18, 24, 0.18) 100%),
        linear-gradient(0deg, rgba(8, 15, 19, 0.55), rgba(8, 15, 19, 0.1));
}

.provider-signup-hero .container {
    position: relative;
    z-index: 1;
}

.provider-signup-hero__content {
    max-width: 820px;
    padding: 92px 0 108px;
}

.provider-signup-kicker,
.provider-signup-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #e6fffb;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-signup-hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 5.9rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.provider-signup-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.7;
}

.provider-signup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.provider-signup-actions .btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.provider-signup-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin-top: 36px;
}

.provider-signup-proof span {
    min-height: 88px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.provider-signup-proof strong,
.provider-signup-proof small {
    display: block;
}

.provider-signup-proof strong {
    color: #fff;
    font-size: 1.1rem;
}

.provider-signup-proof small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
}

.provider-signup-band {
    background: #ffffff;
    border-bottom: 1px solid var(--risolvito-line);
}

.provider-signup-band__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--risolvito-line);
}

.provider-signup-band__grid article {
    min-height: 210px;
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
}

.provider-signup-band__grid span {
    color: #0f766e;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.provider-signup-band__grid h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.provider-signup-band__grid p {
    margin: 0;
    color: #526173;
    line-height: 1.65;
}

.provider-signup-paths,
.provider-signup-why,
.provider-signup-final {
    padding: clamp(64px, 8vw, 110px) 0;
}

.provider-signup-paths {
    background: #f6f9fb;
}

.provider-signup-section-head,
.provider-signup-final .container {
    max-width: 820px;
    text-align: center;
}

.provider-signup-section-head {
    margin: 0 auto 34px;
}

.provider-signup-section-head h2,
.provider-signup-why h2,
.provider-signup-final h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.provider-signup-section-head p,
.provider-signup-why p,
.provider-signup-final p {
    color: #5b6b7c;
    font-size: 1.05rem;
    line-height: 1.75;
}

.provider-signup-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.provider-signup-card {
    overflow: hidden;
    border: 1px solid #d9e6eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.provider-signup-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.provider-signup-card > div {
    padding: clamp(24px, 4vw, 36px);
}

.provider-signup-card__label {
    border-color: #bfddd8;
    background: #edf8f6;
    color: #0f766e;
}

.provider-signup-card h3 {
    margin: 16px 0 12px;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.08;
}

.provider-signup-card p {
    color: #5b6b7c;
    line-height: 1.7;
}

.provider-signup-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.provider-signup-card li {
    position: relative;
    padding-left: 28px;
    color: #243447;
    line-height: 1.5;
}

.provider-signup-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: inset 0 0 0 4px #dff6f1;
}

.provider-signup-card--warm .provider-signup-card__label {
    border-color: #d9c7ea;
    background: #f5effb;
    color: #6b3fa0;
}

.provider-signup-card--warm li::before {
    background: #6b3fa0;
    box-shadow: inset 0 0 0 4px #f0e6f8;
}

.provider-signup-why {
    background: #ffffff;
}

.provider-signup-why .container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.provider-signup-why__copy {
    position: sticky;
    top: 104px;
}

.provider-signup-why__list {
    display: grid;
    gap: 14px;
}

.provider-signup-why__list div {
    min-height: 112px;
    padding: 24px;
    border: 1px solid #dce7ec;
    border-radius: 8px;
    background: #fbfdff;
}

.provider-signup-why__list strong,
.provider-signup-why__list span {
    display: block;
}

.provider-signup-why__list strong {
    margin-bottom: 8px;
    color: #142229;
    font-size: 1.12rem;
}

.provider-signup-why__list span {
    color: #5b6b7c;
    line-height: 1.65;
}

.provider-signup-final {
    background: #eaf5f3;
    text-align: center;
}

.provider-signup-final .container {
    margin-inline: auto;
}

.provider-signup-actions--center {
    justify-content: center;
}

@media (max-width: 991.98px) {
    .provider-signup-hero {
        min-height: auto;
        align-items: flex-end;
        background-position: 62% center;
    }

    .provider-signup-hero__shade {
        background: linear-gradient(0deg, rgba(10, 18, 24, 0.92), rgba(10, 18, 24, 0.45));
    }

    .provider-signup-hero__content {
        padding: 120px 0 58px;
    }

    .provider-signup-proof,
    .provider-signup-band__grid,
    .provider-signup-card-grid,
    .provider-signup-why .container {
        grid-template-columns: 1fr;
    }

    .provider-signup-why__copy {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .provider-signup-hero h1 {
        font-size: clamp(2.35rem, 15vw, 3.35rem);
    }

    .provider-signup-actions,
    .provider-signup-actions .btn {
        width: 100%;
    }

    .provider-signup-proof span {
        min-height: 76px;
    }
}

/* Work request moderation keeps decision controls visible at every width. */
.admin-work-requests-page .table-responsive > .admin-table {
    width: 100%;
    min-width: 1080px;
    table-layout: fixed;
}

.admin-work-requests-page .work-request-col-request { width: 25%; }
.admin-work-requests-page .work-request-col-client { width: 18%; }
.admin-work-requests-page .work-request-col-category { width: 12%; }
.admin-work-requests-page .work-request-col-location { width: 12%; }
.admin-work-requests-page .work-request-col-budget { width: 9%; }
.admin-work-requests-page .work-request-col-status { width: 10%; }
.admin-work-requests-page .work-request-col-actions { width: 14%; }

.admin-work-requests-page .admin-table th,
.admin-work-requests-page .admin-table td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-work-requests-page .work-request-actions-heading,
.admin-work-requests-page .work-request-actions-cell {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #ffffff;
    box-shadow: -12px 0 18px -18px rgba(15, 23, 42, 0.55);
}

.admin-work-requests-page .work-request-actions-heading {
    z-index: 3;
}

.admin-work-requests-page .admin-table tbody tr:hover .work-request-actions-cell {
    background: #f8fbfa;
}

.admin-work-requests-page .work-request-actions-cell .admin-row-actions {
    width: 100%;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .admin-work-requests-page .table-responsive > .admin-table {
        min-width: 860px;
    }

    .admin-work-requests-page .work-request-col-request { width: 24%; }
    .admin-work-requests-page .work-request-col-client { width: 18%; }
    .admin-work-requests-page .work-request-col-category { width: 12%; }
    .admin-work-requests-page .work-request-col-location { width: 12%; }
    .admin-work-requests-page .work-request-col-budget { width: 9%; }
    .admin-work-requests-page .work-request-col-status { width: 10%; }
    .admin-work-requests-page .work-request-col-actions { width: 15%; }
}

body.mobile-nav-open {
    overflow: hidden;
}

#pageContent {
    flex: 1 0 auto;
}

a {
    color: var(--risolvito-primary);
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(14, 165, 160, 0.28);
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--risolvito-line);
}

.app-shell {
    min-height: 100vh;
}

.brand-mark {
    color: var(--risolvito-primary);
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-logo-image {
    width: auto;
    height: 52px;
    max-width: 74px;
    border-radius: 0;
}

.site-logo-preview {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.category-admin-row {
    display: flex;
    gap: 14px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdff;
}

.category-admin-preview {
    width: 112px;
    min-width: 112px;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #e9fbf7;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.category-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-navbar {
    min-height: 76px;
    border-bottom: 1px solid rgba(221, 231, 238, 0.86);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
}

.app-navbar .container {
    max-width: 1320px;
}

.app-navbar .nav-link {
    color: #243244;
    font-weight: 650;
}

.main-category-nav .nav-link {
    padding: 9px 12px;
    border-radius: 999px;
    color: #263445;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.main-category-nav .nav-link:hover {
    color: var(--risolvito-primary);
    background: #e9fbf7;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.action-nav .nav-link {
    padding: 9px 10px;
    color: #1f2937;
    font-weight: 850;
    white-space: nowrap;
}

.action-nav {
    flex-shrink: 0;
}

.account-nav-dropdown .dropdown-toggle {
    min-width: 104px;
    justify-content: center;
    white-space: nowrap;
}

.account-nav-dropdown .dropdown-menu {
    min-width: 190px;
    padding: 8px;
    border-color: #dbe7e5;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.account-nav-dropdown .dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
    color: #243244;
    font-weight: 700;
    white-space: nowrap;
}

.account-nav-dropdown .dropdown-item:hover,
.account-nav-dropdown .dropdown-item:focus {
    color: var(--risolvito-primary);
    background: #e9fbf7;
}

.action-nav .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.mobile-quick-actions,
.mobile-quick-login {
    display: none;
}

.mobile-menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.mobile-menu-toggle:focus {
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.16);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--risolvito-dark);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    border-radius: 8px;
    font-weight: 650;
}

.btn-primary {
    background: var(--risolvito-primary);
    border-color: var(--risolvito-primary);
}

.btn-primary:hover {
    filter: brightness(0.94);
}

.breadcrumb {
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    font-size: 0.92rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-weight: 750;
}

.breadcrumb-item a {
    color: var(--risolvito-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
}

.breadcrumb-item.active {
    color: #17202a;
}

.install-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.home-hero,
.hero-section {
    background:
        linear-gradient(rgba(248, 253, 252, 0.48), rgba(248, 253, 252, 0.74)),
        url("../img/risolvito-hero-bg.webp") center / cover no-repeat,
        linear-gradient(135deg, #f8fffd 0%, #ffffff 58%, #eef4f8 100%);
    border-bottom: 1px solid var(--risolvito-line);
}

.home-hero {
    padding: clamp(72px, 10vw, 122px) 0 62px;
}

.hero-copy {
    max-width: 900px;
}

.hero-copy .lead {
    max-width: 720px;
    margin: 18px auto 0;
    color: #475569;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.55;
}

.hero-copy h1,
.hero-section h1 {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(2.4rem, 5.1vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: 0;
    font-weight: 800;
    max-width: 860px;
    margin: 0 auto;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.72);
}

.hero-copy .eyebrow {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 700;
    text-transform: none;
}

.hero-copy .eyebrow,
.hero-copy .lead {
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.78);
}

.home-search,
.search-bar {
    background: #fff;
    border: 1px solid #d7e2ea;
    border-radius: 8px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.12);
}

.home-search {
    max-width: 950px;
    margin: 32px auto 0;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) auto;
    gap: 8px;
    align-items: stretch;
}

.search-field {
    display: grid;
    gap: 3px;
    padding: 8px 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.search-field label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.search-field input {
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.02rem;
    min-width: 0;
}

.home-search .btn {
    min-width: 132px;
}

.search-page-hero {
    padding: clamp(42px, 7vw, 72px) 0 34px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(255, 255, 255, 0.76)),
        #f7fbfa;
    border-bottom: 1px solid var(--risolvito-line);
}

.search-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: end;
}

.search-hero-grid h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 4.35rem);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 850;
}

.search-hero-grid p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
}

.search-hero-note {
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.search-hero-note strong {
    display: block;
    color: var(--risolvito-primary);
    font-size: 2rem;
    line-height: 1;
}

.search-hero-note span,
.search-hero-note small {
    display: block;
    margin-top: 6px;
    color: #475569;
}

.search-pro-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin-top: 30px;
    padding: 16px;
    border: 1px solid rgba(221, 231, 238, 0.96);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 58px rgba(15, 23, 42, 0.10);
}

.search-pro-form-category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-pro-options {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.search-pro-options .form-check {
    margin-bottom: 0;
}

.search-pro-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-pro-actions .search-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
}

.search-reset-btn img {
    flex: 0 0 18px;
}

.search-pro-actions .search-reset-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #17202a;
}

.search-pro-actions .search-reset-btn:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 3px;
}

.search-pro-field {
    min-width: 0;
}

.search-pro-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 0.83rem;
    font-weight: 850;
}

.search-pro-field .form-control,
.search-pro-field .form-select {
    min-height: 52px;
    border-color: #d9e4ea;
    font-weight: 650;
}

.search-pro-form .btn {
    min-height: 52px;
    padding-left: 22px;
    padding-right: 22px;
}

.search-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.search-quick-links span {
    color: #64748b;
    font-weight: 750;
}

.search-quick-links a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--risolvito-primary);
    font-weight: 800;
    text-decoration: none;
}

.search-local-seo {
    margin-top: 24px;
}

.search-local-seo-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: center;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.search-local-seo-card h2 {
    max-width: 780px;
    margin: 6px 0 10px;
    color: var(--risolvito-ink);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: 0;
}

.search-local-seo-card p {
    max-width: 820px;
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.search-local-seo-side {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d9e9e6;
    border-radius: 8px;
    background: #f6fbfa;
}

.search-local-seo-side strong {
    color: var(--risolvito-ink);
    font-size: 0.92rem;
    font-weight: 850;
}

.search-local-seo-side div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-local-seo-side a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--risolvito-primary);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.search-results-section {
    padding-top: 34px;
    padding-bottom: 56px;
}

.search-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.search-filter-panel {
    position: sticky;
    top: 96px;
    padding: 18px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.search-filter-panel h2 {
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 850;
}

.search-check {
    display: flex;
    gap: 9px;
    align-items: center;
}

.search-results-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.search-results-head h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
    font-weight: 850;
}

.search-results-head p {
    max-width: 680px;
    margin: 6px 0 0;
    color: #64748b;
}

.search-page-count {
    min-width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e9fbf7;
    color: var(--risolvito-primary);
    font-size: 0.86rem;
    font-weight: 850;
}

.search-result-grid {
    display: grid;
    gap: 16px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid #dfe9ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.search-result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.10);
}

.search-result-media {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #e9fbf7, #f8fafc);
    color: var(--risolvito-primary);
    font-size: 2.2rem;
    font-weight: 900;
}

.search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.search-result-top h3 {
    margin: 0;
    color: #17202a;
    font-size: 1.25rem;
    font-weight: 850;
}

.search-result-top p {
    margin: 4px 0 0;
    color: var(--risolvito-primary);
    font-weight: 800;
}

.search-badge {
    align-self: start;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
}

.search-badge-ok {
    background: #dcfce7;
    color: #166534;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.search-result-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 750;
}

.search-result-text {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.search-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.search-empty-state {
    padding: 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #fbfdff;
}

.search-empty-state h2 {
    font-size: 1.4rem;
    font-weight: 850;
}

.search-pagination {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.hero-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    color: #64748b;
    font-size: 0.95rem;
}

.hero-suggestions a {
    color: #0f766e;
    font-weight: 750;
    text-decoration: none;
}

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--risolvito-line);
}

.trust-strip .container {
    max-width: 1050px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.trust-strip div {
    padding: 22px 24px;
    text-align: center;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    font-size: 1.25rem;
    color: var(--risolvito-dark);
}

.trust-strip span {
    color: var(--risolvito-muted);
    font-weight: 650;
}

.home-section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero-panel,
.category-tile {
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    padding: 24px;
}

.hero-panel {
    display: grid;
    gap: 12px;
}

.metric-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: var(--risolvito-soft);
}

.metric-row strong {
    color: var(--risolvito-primary);
    font-size: 1.35rem;
}

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
    color: inherit;
    text-decoration: none;
}

.category-tile:hover,
.pro-category-card:hover {
    border-color: var(--risolvito-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.pro-category-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 252, 0.96)),
        #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pro-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 38%),
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    opacity: 0;
    transition: opacity 220ms ease;
}

.category-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9fbf7;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 260ms ease, filter 260ms ease;
}

.category-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.44) 100%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.10), transparent 38%);
    opacity: 0.9;
    pointer-events: none;
}

.category-card-cta {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--risolvito-ink);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    transform: translateY(8px);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.category-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 15px 14px 16px;
}

.category-card-body > strong {
    color: var(--risolvito-ink);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
}

.category-card-body > span {
    color: #334155;
    line-height: 1.45;
}

.category-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 5px 8px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    background: rgba(240, 253, 250, 0.72);
    color: #17202a;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.25;
}

.category-meta span[aria-hidden="true"] {
    width: 16px;
    color: var(--risolvito-primary);
    font-weight: 900;
    text-align: center;
}

.pro-category-card small {
    width: fit-content;
    margin-top: 2px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 900;
}

.pro-category-card:hover::after {
    opacity: 1;
}

.pro-category-card:hover .category-card-img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.pro-category-card:hover .category-card-cta,
.pro-category-card:focus-visible .category-card-cta {
    transform: translateY(0);
    opacity: 1;
}

.category-request-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f6fbfa);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.category-request-strip div {
    display: grid;
    gap: 4px;
}

.category-request-strip strong {
    color: var(--risolvito-ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.category-request-strip span {
    color: var(--risolvito-muted);
    font-weight: 650;
}

.category-request-page {
    padding: 56px 0 82px;
    background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 42%);
}

.category-request-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: 30px;
    align-items: start;
}

.category-request-copy {
    padding: 34px 0;
}

.category-request-copy h1 {
    max-width: 760px;
    margin: 8px 0 14px;
    color: var(--risolvito-ink);
    font-size: clamp(2.25rem, 4.4vw, 4.45rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.category-request-copy p {
    max-width: 640px;
    color: var(--risolvito-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.category-request-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.category-request-points span {
    display: grid;
    gap: 4px;
    min-height: 102px;
    padding: 16px;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    background: #ffffff;
}

.category-request-points strong {
    color: var(--risolvito-primary);
    font-weight: 900;
}

.category-request-points small {
    color: #64748b;
    font-weight: 700;
    line-height: 1.35;
}

.category-request-form {
    display: grid;
    gap: 13px;
    padding: 22px;
    border: 1px solid #d8e5e3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.10);
}

.category-request-form-head {
    display: grid;
    gap: 3px;
    padding-bottom: 4px;
}

.category-request-form-head strong {
    color: var(--risolvito-ink);
    font-size: 1.12rem;
    font-weight: 900;
}

.category-request-form-head span,
.category-request-note {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 700;
}

.category-request-form label {
    color: var(--risolvito-ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.category-request-form .form-control,
.category-request-form .form-select {
    min-height: 48px;
    border-color: #cfdde5;
    border-radius: 8px;
    font-weight: 650;
}

.category-request-form textarea.form-control {
    min-height: 132px;
}

.category-request-form .form-control:focus,
.category-request-form .form-select:focus {
    border-color: var(--risolvito-primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
}

.request-place-autocomplete {
    position: relative;
}

.request-place-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 290px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.request-place-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #111827;
    text-align: left;
}

.request-place-option:hover,
.request-place-option.is-active {
    background: #eefaf7;
}

.request-place-option span,
.request-place-option strong,
.request-place-option small {
    display: block;
}

.request-place-option strong {
    font-size: 0.96rem;
    font-weight: 850;
}

.request-place-option small {
    margin-top: 2px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 650;
}

.request-place-option em {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
}

.request-place-empty {
    padding: 12px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 650;
}

.category-request-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-request-two > div {
    display: grid;
    gap: 8px;
}

.request-hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 991.98px) {
    .category-request-strip,
    .category-request-hero {
        grid-template-columns: 1fr;
    }

    .category-request-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .category-request-strip .btn {
        width: 100%;
    }

    .category-request-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .category-request-page {
        padding: 34px 0 58px;
    }

    .category-request-copy {
        padding: 8px 0 10px;
    }

    .category-request-two {
        grid-template-columns: 1fr;
    }

    .category-request-form {
        padding: 18px;
    }
}

.how-section,
.info-band {
    background: #eaf7f4;
    padding: 76px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--risolvito-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading {
    max-width: 720px;
}

.section-heading p {
    color: var(--risolvito-muted);
    font-size: 1.02rem;
}

.section-heading h2,
.cta-band h2 {
    font-weight: 800;
    letter-spacing: 0;
}

.service-card,
.step-card,
.profile-card,
.content-panel,
.stat-card {
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.tile-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e9fbf7;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.step-card {
    height: 100%;
    padding: 24px;
}

.audience-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.people-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.10), transparent 34%),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 58%, #f6faf9 100%);
    border-top: 1px solid var(--risolvito-line);
}

.people-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
}

.people-section .container {
    position: relative;
    z-index: 1;
}

.people-orbits {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.6vw, 36px);
    margin-top: 48px;
}

.people-orbits::before {
    content: "";
    position: absolute;
    top: 92px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.35), rgba(37, 99, 235, 0.24), rgba(245, 158, 11, 0.32), transparent);
    opacity: 0.75;
}

.people-orbit-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 296px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 28px 22px 26px;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.90)),
        linear-gradient(135deg, rgba(var(--people-accent-rgb), 0.10), transparent 44%);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
    text-align: center;
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.people-orbit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--people-accent-rgb), 0.20), transparent 42%, rgba(15, 23, 42, 0.04));
    opacity: 0;
    transition: opacity 220ms ease;
}

.people-orbit-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgb(var(--people-accent-rgb));
    box-shadow: 0 0 0 6px rgba(var(--people-accent-rgb), 0.13);
}

.people-orbit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--people-accent-rgb), 0.44);
    box-shadow: 0 34px 70px rgba(15, 23, 42, 0.14);
}

.people-orbit-card:hover::before {
    opacity: 1;
}

.people-card-glow {
    position: absolute;
    inset: 18px;
    z-index: -1;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--people-accent-rgb), 0.18), transparent 58%);
    filter: blur(18px);
    opacity: 0;
    transition: opacity 220ms ease;
}

.people-orbit-card:hover .people-card-glow {
    opacity: 1;
}

.people-photo-wrap {
    position: relative;
    width: 142px;
    height: 142px;
}

.people-orbit-card img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 50%;
    background: #f8fafc;
    color: transparent;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.people-photo-wrap::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 160deg, rgba(var(--people-accent-rgb), 0.08), rgba(var(--people-accent-rgb), 0.85), rgba(255, 255, 255, 0.75), rgba(var(--people-accent-rgb), 0.20));
    animation: peopleSpin 12s linear infinite;
}

.people-photo-wrap span {
    position: absolute;
    right: -16px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(var(--people-accent-rgb), 0.24);
    border-radius: 999px;
    background: #fff;
    color: rgb(var(--people-accent-rgb));
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.11);
}

.people-card-copy {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.people-orbit-card h3 {
    margin: 0;
    color: var(--risolvito-dark);
    font-size: 1.12rem;
    font-weight: 900;
}

.people-orbit-card p {
    max-width: 230px;
    margin: 0;
    color: var(--risolvito-muted);
    line-height: 1.55;
}

.people-orbit-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(var(--people-accent-rgb), 0.10);
    color: rgb(var(--people-accent-rgb));
    font-size: 0.78rem;
    font-weight: 900;
}

.people-orbit-teal { --people-accent-rgb: 15, 118, 110; }
.people-orbit-blue { --people-accent-rgb: 37, 99, 235; }
.people-orbit-violet { --people-accent-rgb: 124, 58, 237; }
.people-orbit-amber { --people-accent-rgb: 217, 119, 6; }

@keyframes peopleSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .people-photo-wrap::before {
        animation: none;
    }

    .people-orbit-card,
    .people-orbit-card::before,
    .people-card-glow {
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .people-section {
        padding: 64px 0 70px;
    }

    .people-orbits::before {
        display: none;
    }

    .people-photo-wrap {
        width: 128px;
        height: 128px;
    }

    .people-photo-wrap span {
        right: -10px;
        max-width: 116px;
        white-space: normal;
    }

    .home-feed-preview {
        width: 100%;
        max-width: 260px;
        min-height: 176px;
        justify-self: center;
    }

    .feed-preview-card {
        width: 142px;
        height: 108px;
    }

    .feed-preview-video {
        left: 58px;
    }

    .feed-preview-post {
        left: 112px;
    }

    .home-feed-stats {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.newsletter-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        linear-gradient(180deg, #f8fafc 0%, #eef8f6 100%);
}

.newsletter-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(15, 118, 110, 0.20);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 253, 250, 0.94)),
        #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
}

.newsletter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
}

.newsletter-copy {
    position: relative;
}

.newsletter-card h2 {
    max-width: 620px;
    font-size: clamp(2rem, 3.8vw, 3.05rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.newsletter-card p {
    max-width: 620px;
    color: var(--risolvito-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.newsletter-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.newsletter-points span {
    display: grid;
    gap: 3px;
    min-height: 86px;
    padding: 12px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.newsletter-points strong {
    color: var(--risolvito-ink);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
}

.newsletter-points small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.newsletter-form {
    display: grid;
    gap: 13px;
    padding: 20px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.newsletter-form-head {
    display: grid;
    gap: 3px;
    padding-bottom: 4px;
}

.newsletter-form-head strong {
    color: var(--risolvito-ink);
    font-size: 1.04rem;
    font-weight: 900;
}

.newsletter-form-head span {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.newsletter-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.newsletter-form .form-control,
.newsletter-form .form-select {
    min-height: 48px;
    border-color: #cfdde5;
    border-radius: 8px;
    box-shadow: none;
}

.newsletter-form .form-control:focus,
.newsletter-form .form-select:focus {
    border-color: var(--risolvito-primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
}

.newsletter-input-row .btn {
    min-width: 112px;
    border-radius: 8px;
    font-weight: 900;
}

.newsletter-consent {
    color: var(--risolvito-muted);
    font-size: 0.92rem;
}

.newsletter-consent .form-check-input {
    border-color: #cfdde5;
}

.newsletter-note {
    display: block;
    padding-top: 4px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.audience-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.audience-path-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
    gap: clamp(20px, 3vw, 36px);
    min-height: 430px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.09);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.audience-path-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(120deg, transparent 0%, #000 30%, #000 100%);
}

.audience-path-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 34px 86px rgba(15, 23, 42, 0.13);
}

.audience-path-client {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 252, 0.94)),
        #ffffff;
}

.audience-path-provider {
    color: #ffffff;
    border-color: rgba(143, 242, 223, 0.16);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.26), transparent 38%),
        linear-gradient(180deg, #0d222c 0%, #071821 100%);
}

.audience-path-provider::before {
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
}

.audience-path-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.audience-path-card h2 {
    margin-bottom: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.audience-path-card p {
    max-width: 560px;
    color: #536476;
    font-size: 1.02rem;
}

.audience-path-provider p {
    color: #d9e9ef;
}

.audience-path-provider .eyebrow {
    color: #8ff2df;
}

.audience-path-points {
    display: grid;
    gap: 10px;
    margin: 22px 0 24px;
}

.audience-path-points span {
    display: grid;
    gap: 2px;
    padding: 11px 13px;
    border-left: 3px solid var(--risolvito-primary);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.audience-path-provider .audience-path-points span {
    border-left-color: #8ff2df;
    background: rgba(255, 255, 255, 0.08);
}

.audience-path-points strong {
    color: var(--risolvito-ink);
    font-size: 0.94rem;
    font-weight: 900;
}

.audience-path-provider .audience-path-points strong {
    color: #ffffff;
}

.audience-path-points small {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.audience-path-provider .audience-path-points small {
    color: #c8dbe2;
}

.audience-path-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.audience-text-link {
    color: var(--risolvito-primary);
    font-weight: 850;
    text-decoration: none;
}

.audience-text-link:hover {
    color: var(--risolvito-primary-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.audience-path-provider .audience-text-link {
    color: #8ff2df;
}

.audience-path-visual {
    position: relative;
    align-self: center;
    min-height: 250px;
}

.audience-visual-photo {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    background-color: #dff6f1;
    background-position: center;
    background-size: cover;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.20);
    transition: transform 220ms ease;
}

.audience-visual-photo-main {
    right: 14px;
    top: 18px;
    width: 168px;
    height: 152px;
    transform: rotate(2deg);
}

.audience-visual-photo-side {
    right: 72px;
    top: 108px;
    width: 118px;
    height: 112px;
    transform: rotate(-7deg);
}

.audience-path-client .audience-visual-photo-main {
    background-image: url("../img/home/photo-1585704032915-c3400ca199e7.webp");
}

.audience-path-client .audience-visual-photo-side {
    background-image: url("../img/home/photo-1621905251918-48416bd8575a.webp");
}

.audience-path-provider .audience-visual-photo-main {
    background-image: url("../img/home/photo-1507003211169-0a1dd7228f2d.webp");
}

.audience-path-provider .audience-visual-photo-side {
    background-image: url("../img/home/photo-1516280440614-37939bbacd81.webp");
}

.audience-visual-chip {
    position: absolute;
    z-index: 2;
    max-width: 160px;
    padding: 9px 11px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--risolvito-ink);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.15;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
}

.audience-path-provider .audience-visual-chip {
    border-color: rgba(143, 242, 223, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.audience-visual-chip-top {
    right: 86px;
    top: 0;
}

.audience-visual-chip-bottom {
    right: 0;
    bottom: 12px;
}

.audience-path-card:hover .audience-visual-photo-main {
    transform: translateY(-7px) rotate(4deg);
}

.audience-path-card:hover .audience-visual-photo-side {
    transform: translateY(5px) rotate(-9deg);
}

.step-card span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--risolvito-primary);
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.profile-card {
    height: 100%;
    padding: 20px;
}

.profile-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
}

.profile-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.cta-band {
    background: #0f766e;
    color: #fff;
}

.cta-band .eyebrow {
    color: #c8fff4;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.profile-pro-page {
    padding: 34px 0 84px;
    background:
        radial-gradient(circle at 12% 2%, rgba(20, 184, 166, 0.14), transparent 32%),
        linear-gradient(180deg, #f8fbfc 0, #eef4f6 100%);
}

.profile-pro-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: stretch;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff 0%, #f3fbf8 58%, #eef7ff 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.profile-pro-media {
    display: grid;
    place-items: center;
    min-height: 240px;
    overflow: hidden;
    border: 1px solid rgba(13, 127, 118, 0.16);
    border-radius: 8px;
    background: #e9f7f4;
}

.profile-pro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-pro-media span {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--risolvito-primary);
    color: #fff;
    font-size: 4rem;
    font-weight: 900;
}

.profile-pro-main {
    display: grid;
    align-content: center;
    min-width: 0;
}

.profile-pro-kicker,
.profile-pro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-pro-kicker span,
.profile-pro-kicker strong,
.profile-pro-chips span {
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
}

.profile-pro-kicker span {
    background: #e8f6f3;
    color: var(--risolvito-primary);
}

.profile-pro-kicker strong {
    background: #ecfdf5;
    color: #087f5b;
}

.profile-pro-main h1 {
    margin: 14px 0 12px;
    color: var(--risolvito-ink);
    max-width: 100%;
    font-size: clamp(2.1rem, 4.4vw, 4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.profile-pro-summary {
    max-width: 720px;
    margin: 0;
    color: #4d6378;
    font-size: 1.04rem;
    line-height: 1.75;
}

.profile-pro-chips {
    margin-top: 18px;
}

.profile-pro-chips span {
    border: 1px solid #d7e7e4;
    background: #fff;
    color: #31445a;
}

.profile-contact-panel {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(13, 127, 118, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.profile-rating-box {
    padding: 18px;
    border-radius: 8px;
    background: #10202a;
    color: #fff;
}

.profile-rating-box span,
.profile-rating-box strong,
.profile-rating-box small {
    display: block;
}

.profile-rating-box span {
    font-size: 3.3rem;
    font-weight: 900;
    line-height: 1;
}

.profile-rating-box strong {
    margin-top: 6px;
}

.profile-rating-box small {
    margin-top: 8px;
    color: #cbdde6;
}

.profile-contact-actions {
    display: grid;
    gap: 10px;
}

.profile-notice {
    max-width: 1120px;
    margin: 16px auto 0;
    padding: 15px 18px;
    border-radius: 8px;
    font-weight: 700;
}

.profile-notice-warning {
    border: 1px solid #f2d28c;
    background: #fff7df;
    color: #75520b;
}

.profile-notice-info {
    border: 1px solid #b9d7ff;
    background: #eff6ff;
    color: #1d4f8f;
}

.profile-pro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    max-width: 1120px;
    margin: 24px auto 0;
}

.profile-pro-content,
.profile-side-stack,
.profile-reviews-list,
.profile-report-form {
    display: grid;
    gap: 16px;
}

.profile-section-card {
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.profile-section-card h2 {
    margin: 6px 0 16px;
    color: var(--risolvito-ink);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-info-grid div {
    padding: 16px;
    border-radius: 8px;
    background: #f5faf9;
}

.profile-info-grid small,
.profile-info-grid strong {
    display: block;
}

.profile-info-grid small {
    color: var(--risolvito-muted);
    font-weight: 800;
}

.profile-info-grid strong {
    margin-top: 5px;
    color: var(--risolvito-ink);
}

.profile-description {
    margin-top: 18px;
    color: #40536b;
    line-height: 1.7;
}

.profile-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.profile-review {
    padding: 16px 0;
    border-top: 1px solid var(--risolvito-line);
}

.profile-review:first-child {
    border-top: 0;
}

.profile-review div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.profile-review strong {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e8f6f3;
    color: var(--risolvito-primary);
}

.profile-review span {
    color: var(--risolvito-ink);
    font-weight: 900;
}

.profile-review p {
    margin: 10px 0 0;
    color: #40536b;
}

.profile-review blockquote {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-left: 3px solid var(--risolvito-primary);
    background: #f6faf9;
    color: #31445a;
}

.profile-empty-state {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 8px;
    background: #f5faf9;
}

.profile-empty-state strong {
    color: var(--risolvito-ink);
}

.profile-empty-state span,
.profile-fast-contact p {
    color: var(--risolvito-muted);
}

.profile-fast-contact {
    position: sticky;
    top: 98px;
}

.profile-fast-contact .btn {
    margin-top: 8px;
}

.profile-report-form label {
    color: var(--risolvito-ink);
    font-size: 0.88rem;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .profile-pro-hero,
    .profile-pro-layout {
        grid-template-columns: 1fr;
    }

    .profile-pro-media {
        min-height: 280px;
    }

    .profile-contact-panel,
    .profile-fast-contact {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .profile-pro-page {
        padding-top: 18px;
    }

    .profile-pro-hero {
        padding: 18px;
    }

    .profile-pro-main h1 {
        font-size: 2.25rem;
        line-height: 1.05;
    }

    .profile-pro-media {
        min-height: 220px;
    }

    .profile-info-grid,
    .profile-section-head {
        grid-template-columns: 1fr;
    }

    .profile-section-head {
        display: grid;
    }

    .profile-section-head .btn,
    .profile-contact-actions .btn {
        width: 100%;
    }
}

/* Profile page premium refresh */
.profile-pro-page {
    padding: clamp(22px, 4vw, 46px) 0 92px;
    background:
        linear-gradient(180deg, #f7fafc 0%, #eef6f4 46%, #f8fafc 100%);
}

.profile-pro-page .container {
    max-width: 1180px;
}

.profile-pro-hero {
    position: relative;
    grid-template-columns: 230px minmax(0, 1fr) 330px;
    gap: clamp(18px, 3vw, 30px);
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border-color: rgba(15, 23, 42, 0.1);
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #ffffff 0%, #f4fbf9 62%, #eef6fb 100%);
    background-size: 34px 34px, auto;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.profile-hero-glow {
    position: absolute;
    inset: auto -80px -115px 38%;
    height: 210px;
    transform: rotate(-4deg);
    background: linear-gradient(90deg, rgba(13, 127, 118, 0.15), rgba(245, 158, 11, 0.1), transparent);
    pointer-events: none;
}

.profile-pro-media,
.profile-pro-main,
.profile-contact-panel {
    position: relative;
    z-index: 1;
}

.profile-pro-media {
    min-height: 286px;
    border-color: rgba(13, 127, 118, 0.18);
    background:
        linear-gradient(145deg, #dff4ef, #f8fafc);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 16px 34px rgba(15, 23, 42, 0.08);
}

.profile-pro-media img {
    filter: saturate(1.04) contrast(1.02);
}

.profile-pro-media span {
    width: 142px;
    height: 142px;
    background: linear-gradient(145deg, var(--risolvito-primary), #10202a);
    box-shadow: 0 18px 32px rgba(13, 127, 118, 0.25);
}

.profile-pro-main {
    align-content: center;
    min-width: 0;
}

.profile-pro-kicker span,
.profile-pro-kicker strong,
.profile-pro-chips span {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.profile-pro-kicker span {
    background: #10202a;
    color: #ffffff;
}

.profile-pro-kicker strong {
    background: #ecfdf5;
    color: #087f5b;
}

.profile-pro-main h1 {
    max-width: 100%;
    margin: 16px 0 14px;
    font-size: clamp(2.1rem, 4.2vw, 4rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
}

.profile-pro-summary {
    max-width: 760px;
    color: #40536b;
    font-size: 1.08rem;
}

.profile-pro-chips {
    margin-top: 20px;
}

.profile-pro-chips span {
    background: rgba(255, 255, 255, 0.88);
}

.profile-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 680px;
    margin-top: 22px;
}

.profile-trust-row div {
    padding: 14px 15px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.profile-trust-row strong,
.profile-trust-row span {
    display: block;
}

.profile-trust-row strong {
    color: var(--risolvito-ink);
    font-size: 1.03rem;
    font-weight: 900;
}

.profile-trust-row span {
    margin-top: 3px;
    color: var(--risolvito-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.profile-contact-panel {
    align-content: start;
    padding: 22px;
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.profile-contact-label {
    color: var(--risolvito-primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-contact-panel h2 {
    margin: -6px 0 0;
    color: var(--risolvito-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.profile-rating-box {
    background:
        linear-gradient(135deg, #10202a 0%, #183647 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-rating-box span {
    color: #ffffff;
}

.profile-contact-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.profile-contact-note {
    margin: 0;
    color: var(--risolvito-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.profile-notice {
    max-width: 1180px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.profile-pro-layout {
    max-width: 1180px;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 26px;
}

.profile-section-card {
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.profile-section-card h2 {
    font-size: 1.5rem;
}

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

.profile-info-grid div {
    border: 1px solid rgba(13, 127, 118, 0.09);
    background: linear-gradient(180deg, #f8fbfb, #f2f8f6);
}

.profile-info-grid strong {
    overflow-wrap: anywhere;
}

.profile-description {
    padding-top: 18px;
    border-top: 1px solid var(--risolvito-line);
    font-size: 1rem;
}

.profile-review {
    padding: 18px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdfd;
}

.profile-review:first-child {
    border-top: 1px solid var(--risolvito-line);
}

.profile-empty-state {
    border: 1px dashed rgba(13, 127, 118, 0.3);
}

.profile-fast-contact {
    top: 92px;
    background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.profile-fast-contact .btn,
.profile-report-form .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.profile-report-form .form-control,
.profile-report-form .form-select {
    min-height: 44px;
    border-color: #d8e5e3;
}

@media (max-width: 1199.98px) {
    .profile-pro-hero {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .profile-contact-panel {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .profile-contact-label,
    .profile-contact-panel h2,
    .profile-contact-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .profile-pro-hero,
    .profile-pro-layout {
        grid-template-columns: 1fr;
    }

    .profile-contact-panel {
        grid-template-columns: 1fr;
    }

    .profile-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .profile-pro-page {
        padding-bottom: 62px;
    }

    .profile-pro-hero {
        gap: 16px;
        padding: 16px;
    }

    .profile-pro-media {
        min-height: 230px;
    }

    .profile-pro-main h1 {
        font-size: 2.2rem;
    }

    .profile-trust-row,
    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-section-card,
    .profile-contact-panel {
        padding: 18px;
    }
}

.legal-page {
    max-width: 860px;
}

.seo-page-hero {
    padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 6vw, 76px);
    background: linear-gradient(180deg, #eef8f6 0%, #f8fbfc 100%);
    border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.seo-page-hero .container {
    max-width: 980px;
}

.seo-page-hero h1 {
    max-width: 850px;
    margin: 12px 0 18px;
    color: #111827;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 0.98;
    font-weight: 900;
}

.seo-page-hero p {
    max-width: 760px;
    color: #53647a;
    font-size: clamp(1.04rem, 2vw, 1.24rem);
    line-height: 1.7;
}

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

.seo-page-section {
    padding: clamp(40px, 6vw, 76px) 0;
}

.seo-page-grid,
.seo-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.seo-info-card,
.seo-step-list article {
    min-height: 100%;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.07);
}

.seo-info-card span,
.seo-step-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e5fbf6;
    color: #08756c;
    font-weight: 900;
    font-size: 0.85rem;
}

.seo-info-card h2,
.seo-step-list h2 {
    margin: 18px 0 10px;
    color: #111827;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 900;
}

.seo-info-card p,
.seo-step-list p,
.seo-page-band p {
    color: #53647a;
    line-height: 1.7;
}

.seo-info-card a {
    color: var(--risolvito-primary);
    font-weight: 850;
    text-decoration: none;
}

.seo-page-band {
    padding: clamp(34px, 6vw, 70px) 0;
    background: #0f766e;
    color: #fff;
}

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

.seo-page-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 6vw, 70px);
    align-items: center;
}

.seo-page-split h2 {
    margin: 10px 0 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
}

.seo-page-split p {
    margin: 0;
    font-size: 1.05rem;
}

.legal-hero {
    padding: clamp(44px, 7vw, 86px) 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.2), transparent 28%),
        linear-gradient(135deg, #f8fafc, #e9fbf7);
    border-bottom: 1px solid var(--risolvito-line);
}

.legal-hero .container,
.legal-layout {
    max-width: 1180px;
}

.legal-hero h1 {
    max-width: 800px;
    color: var(--risolvito-dark);
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-hero p {
    max-width: 720px;
    color: var(--risolvito-muted);
    font-size: 1.12rem;
}

.legal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.legal-hero-meta span {
    padding: 8px 11px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #115e59;
    font-size: 0.9rem;
    font-weight: 800;
}

.legal-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 72px;
}

.legal-index {
    position: sticky;
    top: 92px;
    align-self: start;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.legal-index strong {
    margin-bottom: 6px;
    color: var(--risolvito-dark);
}

.legal-index a {
    padding: 9px 10px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
}

.legal-index a:hover {
    background: #e9fbf7;
    color: var(--risolvito-primary);
}

.legal-document {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.legal-document section {
    padding: 22px 0;
    border-bottom: 1px solid var(--risolvito-line);
}

.legal-document section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.legal-document h2 {
    color: var(--risolvito-dark);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.legal-document p {
    color: #475569;
    line-height: 1.75;
}

.legal-notice {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    background: #e9fbf7;
    color: #115e59;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.legal-grid div {
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdff;
}

.legal-grid strong,
.legal-grid span {
    display: block;
}

.legal-grid strong {
    margin-bottom: 6px;
    color: var(--risolvito-dark);
}

.legal-grid span {
    color: var(--risolvito-muted);
}

.cookie-type-grid div {
    min-height: 178px;
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background: linear-gradient(180deg, #0b1f2a 0%, #061922 100%);
    color: #d9e6ea;
}

.site-footer a {
    display: inline-flex;
    width: fit-content;
    color: #d9e6ea;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer a:hover {
    color: #5eead4;
    transform: translateX(3px);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 0.7fr));
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(44px, 7vw, 76px) 0 34px;
}

.footer-brand-block {
    max-width: 520px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0;
}

.footer-brand:hover {
    color: #fff;
    transform: none;
}

.footer-brand img {
    width: 54px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(94, 234, 212, 0.16));
}

.footer-brand-block p {
    max-width: 460px;
    margin: 0;
    color: #afc3ca;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(94, 234, 212, 0.22);
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.08);
    color: #d7fffa;
    font-size: 0.86rem;
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column span {
    color: #8fa8b1;
    line-height: 1.55;
}

.footer-title {
    margin-bottom: 16px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8df5e7;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(217, 230, 234, 0.12);
    color: #8fa8b1;
    font-size: 0.9rem;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.footer-bottom a {
    margin-bottom: 0;
    color: #afc3ca;
}

.site-footer .footer-admin-link {
    display: inline;
    width: auto;
    margin: 0;
    color: inherit;
    text-decoration: none;
    transform: none;
}

.site-footer .footer-admin-link:hover,
.site-footer .footer-admin-link:focus {
    color: inherit;
    transform: none;
}

.site-footer .footer-admin-link:focus-visible {
    outline: 2px solid rgba(94, 234, 212, 0.45);
    outline-offset: 2px;
}

.about-page {
    padding: 34px 0 12px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
    align-items: stretch;
    width: min(100% - 32px, 1320px);
    margin-inline: auto;
    margin-bottom: 28px;
}

.about-hero-copy,
.about-hero-panel,
.about-story-card,
.about-values {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.about-hero-copy {
    padding: clamp(28px, 5vw, 58px);
    background:
        linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.96)),
        repeating-linear-gradient(90deg, rgba(15, 118, 110, 0.05) 0 1px, transparent 1px 64px);
}

.about-hero-copy h1 {
    max-width: 920px;
    margin: 10px 0 18px;
    font-size: clamp(2.15rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.about-hero-copy p {
    max-width: 780px;
    color: #4f637c;
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.about-hero-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    background: #06252e;
}

.about-hero-panel div {
    display: grid;
    align-content: center;
    min-height: 126px;
    padding: 22px;
    border: 1px solid rgba(141, 245, 231, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.about-hero-panel strong {
    color: #8df5e7;
    font-size: 2.4rem;
    line-height: 1;
}

.about-hero-panel span {
    margin-top: 8px;
    color: #d7fffa;
    font-weight: 800;
}

.about-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-story-card {
    padding: 26px;
}

.about-story-main {
    grid-column: 1 / -1;
    padding: clamp(26px, 4vw, 42px);
}

.about-story-card h2,
.about-values h2 {
    margin: 0 0 12px;
    color: #111827;
    line-height: 1.12;
}

.about-story-card p,
.about-values-list span {
    color: #4f637c;
    line-height: 1.75;
}

.about-story-main p {
    max-width: 980px;
}

.about-values {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    margin-top: 18px;
    padding: clamp(26px, 4vw, 42px);
}

.about-values-list {
    display: grid;
    gap: 12px;
}

.about-values-list div {
    padding: 16px 18px;
    border-left: 4px solid var(--risolvito-primary);
    border-radius: 12px;
    background: rgba(240, 253, 250, 0.82);
}

.about-values-list strong,
.about-values-list span {
    display: block;
}

.about-values-list strong {
    margin-bottom: 4px;
    color: #0f766e;
}

@media (max-width: 991.98px) {
    .about-hero,
    .about-values {
        grid-template-columns: 1fr;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .about-page {
        padding-top: 18px;
    }

    .about-hero-copy,
    .about-story-main,
    .about-story-card,
    .about-values {
        padding: 22px;
        border-radius: 14px;
    }

    .about-actions .btn {
        width: 100%;
    }
}

.page-scroll-tools {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(max(22px, env(safe-area-inset-bottom)) + 76px);
    z-index: 1040;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.page-scroll-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--risolvito-primary);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.page-scroll-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.page-scroll-button:hover {
    background: var(--risolvito-primary);
    color: #fff;
}

.page-scroll-button:focus-visible {
    outline: 3px solid rgba(94, 234, 212, 0.45);
    outline-offset: 3px;
}

.site-chat-widget {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1060;
    width: min(318px, calc(100vw - 32px));
    pointer-events: none;
}

.site-chat-details {
    display: grid;
    justify-items: end;
    gap: 10px;
    pointer-events: auto;
}

.site-chat-details[open] .site-chat-button {
    width: 50px;
    height: 50px;
    min-height: 50px;
    justify-content: center;
    gap: 0;
    padding: 0;
    background: #0f766e;
    color: #fff;
    font-size: 0;
}

.site-chat-details[open] .site-chat-button > span {
    display: none;
}

.site-chat-details[open] .site-chat-button::after {
    content: "\00d7";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1;
}

.site-chat-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #134e4a;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.1;
    list-style: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-chat-button::-webkit-details-marker {
    display: none;
}

.site-chat-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
}

.site-chat-button:focus-visible {
    outline: 3px solid rgba(94, 234, 212, 0.45);
    outline-offset: 4px;
}

.site-chat-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #fff;
    border: 1px solid rgba(15, 118, 110, 0.14);
    overflow: hidden;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.site-chat-details[open] .site-chat-icon {
    background: #fff;
}

.site-chat-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.site-chat-icon span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.site-chat-panel {
    width: 100%;
    margin-bottom: 10px;
    padding: 16px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.2);
    color: #0f172a;
}

.site-chat-panel strong {
    display: block;
    margin-bottom: 6px;
    color: #134e4a;
    font-size: 1rem;
}

.site-chat-panel p {
    margin: 0 0 12px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.45;
}

.site-chat-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    color: #0f766e;
    background: #fff;
    font-weight: 800;
    text-decoration: none;
}

.site-chat-action:hover,
.site-chat-action:focus-visible {
    color: #0f766e;
    background: #ecfeff;
}

.site-chat-action-primary {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.site-chat-action-primary:hover,
.site-chat-action-primary:focus-visible {
    background: #115e59;
    color: #fff;
}

.site-problem-page {
    background: linear-gradient(180deg, #f7fafc 0%, #eef8f5 52%, #f8fafc 100%);
}

.site-problem-hero {
    padding: clamp(32px, 6vw, 78px) 0;
}

.site-problem-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: start;
}

.site-problem-copy {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(135deg, #ffffff 0%, #f2fbf8 58%, #eef7ff 100%);
    background-size: 32px 32px, auto;
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.1);
}

.site-problem-copy h1 {
    max-width: 720px;
    margin: 8px 0 14px;
    color: var(--risolvito-ink);
    font-size: clamp(2.45rem, 5vw, 4.7rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.site-problem-copy p {
    max-width: 660px;
    margin: 0;
    color: #40536b;
    font-size: 1.06rem;
    line-height: 1.7;
}

.site-problem-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.site-problem-points span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #0f766e;
    font-size: 0.86rem;
    font-weight: 900;
}

.site-problem-card {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
}

.site-problem-form {
    display: grid;
    gap: 16px;
}

.site-problem-form label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 900;
}

.site-problem-form .form-control,
.site-problem-form .form-select {
    min-height: 48px;
    border-color: #d8e4ea;
}

.site-problem-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.site-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.site-problem-note {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: center;
}

.site-problem-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.site-problem-success {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: clamp(10px, 3vw, 22px);
}

.site-problem-success span {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.9rem;
    font-weight: 950;
}

.site-problem-success h2 {
    margin: 0;
    color: var(--risolvito-ink);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 950;
}

.site-problem-success p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .site-problem-shell {
        grid-template-columns: 1fr;
    }

    .site-problem-copy {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .site-problem-hero {
        padding: 20px 0 72px;
    }

    .site-problem-copy,
    .site-problem-card {
        padding: 18px;
    }

    .site-problem-copy h1 {
        font-size: 2.3rem;
    }

    .site-problem-grid {
        grid-template-columns: 1fr;
    }
}

.risolvito-flying-logo {
    position: fixed;
    left: 0;
    top: var(--fly-top, 32vh);
    z-index: 1045;
    width: clamp(54px, 6vw, 86px);
    height: auto;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.20));
    transform: translate3d(-140px, 0, 0) rotate(-8deg) scaleX(-1);
    animation: risolvitoParrotFly 15.5s cubic-bezier(0.22, 0.72, 0.26, 1) forwards;
}

.risolvito-flying-logo.is-escaping {
    animation: risolvitoParrotEscape 0.82s cubic-bezier(0.18, 0.8, 0.24, 1) forwards;
}

@keyframes risolvitoParrotFly {
    0% {
        opacity: 0;
        transform: translate3d(-140px, 18px, 0) rotate(var(--fly-angle-a, -10deg)) scaleX(-1) scale(0.86);
    }
    8% {
        opacity: 1;
    }
    28% {
        transform: translate3d(var(--fly-mid-x, 32vw), -22px, 0) rotate(var(--fly-angle-b, 5deg)) scaleX(-1) scale(1);
    }
    52% {
        opacity: 1;
        transform: translate3d(var(--fly-land-x, 66vw), var(--fly-land-y, 16px), 0) rotate(var(--fly-angle-c, -5deg)) scaleX(-1) scale(0.94);
    }
    60% {
        transform: translate3d(var(--fly-land-x, 66vw), calc(var(--fly-land-y, 16px) + 7px), 0) rotate(0deg) scaleX(-1) scale(0.9);
    }
    82% {
        opacity: 1;
        transform: translate3d(var(--fly-land-x, 66vw), calc(var(--fly-land-y, 16px) + 7px), 0) rotate(0deg) scaleX(-1) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(100vw + 150px), -14px, 0) rotate(var(--fly-angle-d, 9deg)) scaleX(-1) scale(0.82);
    }
}

@keyframes risolvitoParrotEscape {
    0% {
        opacity: 1;
        transform: translate3d(var(--escape-x, var(--fly-land-x, 62vw)), var(--escape-y, var(--fly-land-y, 0)), 0) rotate(-4deg) scaleX(-1) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(100vw + 160px), -38px, 0) rotate(10deg) scaleX(-1) scale(0.76);
    }
}

@media (prefers-reduced-motion: reduce) {
    .risolvito-flying-logo {
        display: none;
        animation: none;
    }
}

.media-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    background: #eef2f7;
}

.media-file-icon {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #eef2f7;
    font-weight: 700;
}

.content-media {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
}

.home-feed-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.08), transparent 36%),
        linear-gradient(180deg, #f7fbfa 0%, #eef8f6 100%);
}

.home-feed-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) auto;
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.90)),
        radial-gradient(circle at 78% 28%, rgba(20, 184, 166, 0.16), transparent 32%);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
}

.home-feed-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}

.home-feed-glow {
    position: absolute;
    right: 12%;
    top: 24%;
    z-index: -1;
    width: 260px;
    height: 160px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.18);
    filter: blur(36px);
}

.home-feed-copy {
    max-width: 680px;
}

.home-feed-card h2 {
    max-width: 650px;
    margin-bottom: 12px;
    font-weight: 850;
    letter-spacing: 0;
    color: var(--risolvito-ink);
}

.home-feed-card p {
    margin: 0;
    color: var(--risolvito-muted);
}

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

.home-feed-stats span {
    display: grid;
    gap: 2px;
    min-width: 126px;
    padding: 11px 13px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.home-feed-stats strong {
    color: var(--risolvito-dark);
    font-size: 0.95rem;
    font-weight: 900;
}

.home-feed-stats small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
}

.home-feed-preview {
    position: relative;
    min-height: 190px;
    perspective: 900px;
}

.feed-preview-card {
    position: absolute;
    display: grid;
    align-content: end;
    width: 168px;
    height: 122px;
    padding: 13px;
    border-radius: 8px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    background:
        linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.72) 100%),
        linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(59, 130, 246, 0.16)),
        #e7f8f5;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
    transform: translateY(0) rotate(0deg);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.feed-preview-card span {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.feed-preview-card span::before,
.feed-preview-card span::after {
    content: "";
    position: absolute;
    background: var(--risolvito-primary);
}

.feed-preview-card span::before {
    left: 11px;
    top: 11px;
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.feed-preview-card span::after {
    left: 15px;
    top: 8px;
    width: 4px;
    height: 18px;
    border-radius: 999px;
    opacity: 0.65;
}

.feed-preview-card strong,
.feed-preview-card small {
    position: relative;
    z-index: 1;
    color: #fff;
}

.feed-preview-card strong {
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.15;
}

.feed-preview-card small {
    margin-top: 3px;
    font-size: 0.76rem;
    font-weight: 750;
    opacity: 0.84;
}

.feed-preview-photo {
    left: 0;
    top: 36px;
    transform: rotate(-4deg);
    background:
        linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.72) 100%),
        url("../img/home/photo-1585704032915-c3400ca199e7.webp") center / cover no-repeat,
        #dff6f1;
}

.feed-preview-video {
    left: 82px;
    top: 0;
    z-index: 2;
    transform: rotate(2deg);
    background:
        linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.72) 100%),
        url("../img/home/photo-1621905251918-48416bd8575a.webp") center / cover no-repeat,
        #e8f5ff;
}

.feed-preview-video span::before {
    left: 13px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid var(--risolvito-primary);
    border-radius: 0;
    background: transparent;
}

.feed-preview-video span::after {
    display: none;
}

.feed-preview-post {
    left: 154px;
    top: 58px;
    transform: rotate(4deg);
    background:
        linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.70) 100%),
        url("../img/home/photo-1503454537195-1dcabb73ffb9.webp") center / cover no-repeat,
        #edf7f5;
}

.home-feed-card:hover .feed-preview-photo {
    transform: translateY(-5px) rotate(-6deg);
}

.home-feed-card:hover .feed-preview-video {
    transform: translateY(-10px) rotate(1deg);
}

.home-feed-card:hover .feed-preview-post {
    transform: translateY(-4px) rotate(6deg);
}

.home-feed-action {
    position: relative;
    min-width: 168px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.22);
}

.home-feed-action::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: transform 420ms ease;
}

.home-feed-action:hover::after {
    transform: translateX(120%);
}

@media (max-width: 1199.98px) {
    .audience-path-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .audience-path-visual {
        min-height: 190px;
        max-width: 280px;
    }

    .audience-visual-photo-main {
        left: 78px;
        right: auto;
        top: 4px;
    }

    .audience-visual-photo-side {
        left: 8px;
        right: auto;
        top: 72px;
    }

    .audience-visual-chip-top {
        left: 0;
        right: auto;
        top: 0;
    }

    .audience-visual-chip-bottom {
        left: 126px;
        right: auto;
        bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .audience-path-grid {
        grid-template-columns: 1fr;
    }

    .audience-path-card {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
    }
}

@media (max-width: 575.98px) {
    .audience-section {
        padding: 56px 0;
    }

    .audience-path-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .audience-path-card h2 {
        font-size: 1.55rem;
    }

    .audience-path-actions {
        align-items: stretch;
    }

    .audience-path-actions .btn,
    .audience-text-link {
        width: 100%;
        text-align: center;
    }

    .audience-path-visual {
        order: -1;
        min-height: 172px;
        max-width: 248px;
        margin: 0 auto 6px;
    }

    .audience-visual-photo-main {
        left: 78px;
        width: 138px;
        height: 124px;
    }

    .audience-visual-photo-side {
        left: 8px;
        top: 66px;
        width: 100px;
        height: 96px;
    }

    .audience-visual-chip {
        max-width: 136px;
        padding: 8px 9px;
        font-size: 0.72rem;
    }

    .audience-visual-chip-bottom {
        left: 112px;
    }

    .category-card-cta {
        transform: translateY(0);
        opacity: 1;
    }
}

.feed-page {
    padding: 22px 0 82px;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.025) 0 1px, transparent 1px 100%),
        #f0f2f5;
    background-size: 32px 32px, auto;
}

.feed-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 18px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.feed-hero-copy h1 {
    max-width: 780px;
    margin: 6px 0 8px;
    color: var(--risolvito-ink);
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.feed-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #50647a;
    font-size: 1.05rem;
    line-height: 1.75;
}

.feed-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.feed-hero-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: auto;
    padding: 10px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 8px;
    background: #f5fbfa;
}

.feed-hero-panel div {
    min-height: 78px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.feed-hero-panel strong,
.feed-hero-panel span {
    display: block;
}

.feed-hero-panel strong {
    color: var(--risolvito-primary);
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
}

.feed-hero-panel span {
    margin-top: 5px;
    color: var(--risolvito-ink);
    font-size: 0.78rem;
    font-weight: 850;
}

.feed-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 680px) 300px;
    gap: 18px;
    justify-content: center;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.feed-sidebar,
.feed-rightbar {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 14px;
}

.feed-rightbar {
    align-self: start;
}

.feed-side-card,
.feed-composer-card,
.feed-card,
.feed-empty,
.feed-profile-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.feed-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.feed-profile-card img,
.feed-profile-card > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
}

.feed-profile-card img {
    object-fit: cover;
}

.feed-profile-card > span {
    display: grid;
    place-items: center;
    background: #e7f6f3;
    color: var(--risolvito-primary);
    font-weight: 950;
}

.feed-profile-card strong,
.feed-profile-card small {
    display: block;
}

.feed-profile-card strong {
    color: var(--risolvito-ink);
    font-weight: 950;
}

.feed-profile-card small {
    color: #64748b;
}

.feed-side-card {
    padding: 16px;
}

.feed-side-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--risolvito-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.feed-side-card h2 {
    margin: 0 0 10px;
    color: var(--risolvito-ink);
    font-size: 1.1rem;
    font-weight: 900;
}

.feed-nav-link,
.feed-side-stats {
    display: grid;
    gap: 10px;
}

.feed-nav-link {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #24364b;
    text-decoration: none;
    font-weight: 850;
    text-align: left;
}

.feed-nav-link:hover,
.feed-nav-link.is-active {
    background: #e8f6f3;
    color: var(--risolvito-primary);
}

.feed-sort-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.feed-sort-tabs a {
    flex: 1 1 130px;
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.feed-sort-tabs a:hover,
.feed-sort-tabs a.is-active {
    background: var(--risolvito-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18);
}

.feed-side-stats span,
.feed-explore a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #f5faf9;
    color: #31445a;
    text-decoration: none;
}

.feed-side-stats strong {
    color: var(--risolvito-primary);
}

.feed-explore {
    display: grid;
    gap: 9px;
}

.feed-explore a:hover {
    background: #e8f6f3;
    color: var(--risolvito-primary);
}

.feed-side-copy,
.feed-rules p {
    margin: 0;
    color: #53657a;
    line-height: 1.55;
}

.feed-stream {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.feed-composer-card {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.feed-composer-main {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: center;
}

.feed-composer-main img,
.feed-composer-main > span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.feed-composer-main img {
    object-fit: cover;
}

.feed-composer-main > span {
    display: grid;
    place-items: center;
    background: #e7f6f3;
    color: var(--risolvito-primary);
    font-weight: 950;
}

.feed-composer-main a,
.feed-composer-main button {
    min-height: 46px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f0f2f5;
    color: #607086;
    text-decoration: none;
    font-weight: 800;
    text-align: left;
}

.feed-composer-main a:hover,
.feed-composer-main button:hover {
    background: #e4e9ee;
    color: var(--risolvito-ink);
}

.feed-composer-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e6ecef;
}

.feed-composer-tools a,
.feed-composer-tools button {
    min-height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #31445a;
    text-decoration: none;
    font-weight: 900;
}

.feed-composer-tools a:hover,
.feed-composer-tools button:hover {
    background: #eef6f4;
    color: var(--risolvito-primary);
}

.feed-card {
    overflow: hidden;
}

.feed-card-head,
.feed-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-card-head {
    justify-content: space-between;
    padding: 16px 18px 8px;
}

.feed-card-head img,
.feed-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-avatar {
    display: grid;
    place-items: center;
    background: #e7f6f3;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.feed-card-head strong,
.feed-card-head small {
    display: block;
}

.feed-card-head small {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    color: var(--risolvito-muted);
}

.feed-open-link {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    color: #52677c;
    font-weight: 900;
    text-decoration: none;
    font-size: 0.9rem;
}

.feed-open-link:hover {
    background: #eef9f6;
    color: var(--risolvito-primary);
}

.feed-card-body {
    padding: 4px 18px 14px;
}

.feed-card-body h2 {
    margin-bottom: 8px;
    color: var(--risolvito-ink);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
}

.feed-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.feed-card-body h2 a:hover {
    color: var(--risolvito-primary);
}

.feed-card-body p {
    margin-bottom: 0;
    color: #40536b;
    line-height: 1.65;
}

.feed-media-link {
    display: block;
}

.feed-media {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    background: #edf3f2;
}

.feed-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 18px;
    color: var(--risolvito-muted);
    font-size: 0.92rem;
}

.feed-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 18px;
    padding: 4px 0;
    border-top: 1px solid #e5eaee;
    border-bottom: 1px solid #e5eaee;
}

.feed-actions form {
    margin: 0;
}

.feed-actions button,
.feed-actions a {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #53657a;
    font-weight: 900;
    text-decoration: none;
}

.feed-actions form:last-child button {
    border-right: 0;
}

.feed-actions button:hover,
.feed-actions a:hover {
    background: #f0f2f5;
    color: var(--risolvito-primary);
}

.feed-comments {
    padding: 12px 18px 16px;
}

.feed-comment {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 8px 0;
    padding: 9px 12px;
    border-radius: 18px;
    background: #f0f2f5;
    color: #24364b;
}

.feed-comment strong {
    display: block;
    color: var(--risolvito-ink);
    font-size: 0.88rem;
    line-height: 1.2;
}

.feed-comment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 12px;
}

.feed-comment-form input {
    min-height: 44px;
    border: 1px solid #d7e4e2;
    border-radius: 999px;
    padding: 0 16px;
}

.feed-comment-form button {
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: var(--risolvito-primary);
    color: #fff;
    font-weight: 900;
}

.feed-login-link {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 900;
}

.feed-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px;
}

.feed-compose-open {
    overflow: hidden;
}

.feed-compose-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    padding: 18px;
}

.feed-compose-modal[hidden] {
    display: none;
}

.feed-compose-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.feed-compose-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
}

.feed-compose-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5eaee;
    background: rgba(255, 255, 255, 0.96);
}

.feed-compose-head h2 {
    margin: 0;
    color: var(--risolvito-ink);
    font-size: 1.25rem;
    font-weight: 950;
}

.feed-compose-head button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f0f2f5;
    color: #475569;
    font-size: 1.1rem;
    font-weight: 950;
}

.feed-compose-head button:hover {
    background: #e4e9ee;
    color: var(--risolvito-ink);
}

.feed-compose-form {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.feed-compose-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
}

.feed-compose-author img,
.feed-compose-author > span {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
}

.feed-compose-author img {
    object-fit: cover;
}

.feed-compose-author > span {
    display: grid;
    place-items: center;
    background: #e7f6f3;
    color: var(--risolvito-primary);
    font-weight: 950;
}

.feed-compose-author strong,
.feed-compose-author small {
    display: block;
}

.feed-compose-author strong {
    color: var(--risolvito-ink);
    font-weight: 950;
}

.feed-compose-author small {
    color: #64748b;
}

.feed-compose-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 12px;
}

.feed-compose-form .form-label {
    margin-bottom: 2px;
    color: #34465d;
    font-weight: 850;
}

.feed-compose-form .form-control,
.feed-compose-form .form-select {
    min-height: 46px;
    border-color: #d9e4e8;
}

.feed-compose-media {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px dashed rgba(15, 118, 110, 0.32);
    border-radius: 8px;
    background: #f6fbfa;
    color: var(--risolvito-ink);
    font-weight: 900;
    cursor: pointer;
}

.feed-compose-media small {
    color: #64748b;
    font-weight: 750;
}

.feed-compose-media input {
    margin-top: 8px;
}

.feed-compose-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e5eaee;
}

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(6px);
}

.cookie-consent-modal {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
    border: 1px solid rgba(239, 68, 68, 0.55);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.22);
}

.cookie-consent-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--risolvito-primary);
    font-size: 1.45rem;
    font-weight: 900;
}

.cookie-consent-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--risolvito-primary);
    color: #fff;
    font-weight: 900;
}

.cookie-consent-modal h2 {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.cookie-consent-modal p {
    color: #334155;
    line-height: 1.7;
}

.cookie-options {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdff;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option small {
    color: var(--risolvito-muted);
    margin-top: 3px;
}

.cookie-option input {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 8px;
}

.cookie-consent-links a,
.cookie-text-button {
    color: var(--risolvito-dark);
    text-decoration: underline;
    font-weight: 650;
}

.cookie-text-button {
    border: 0;
    background: transparent;
    padding: 0;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.cookie-consent-actions .btn {
    min-height: 52px;
}

.register-landing {
    min-height: calc(100vh - 70px);
    padding: clamp(14px, 2.2vw, 28px) 0 clamp(34px, 4vw, 54px);
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.16) 48%, rgba(15, 118, 110, 0.08)),
        url("../img/risolvito-hero-bg.webp") center / cover no-repeat;
}

.register-brand {
    display: none;
}

.register-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 620px);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.register-story {
    color: #fff;
    max-width: 610px;
    text-shadow: 0 2px 18px rgba(15, 23, 42, 0.34);
}

.register-story .eyebrow {
    color: #bff8ee;
}

.register-story h1 {
    font-size: clamp(2.15rem, 4.1vw, 4.05rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.register-story p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 18px;
}

.register-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.register-stats div {
    border-top: 2px solid rgba(255, 255, 255, 0.42);
    padding-top: 14px;
}

.register-stats strong,
.register-stats span {
    display: block;
}

.register-stats strong {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.register-stats span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.no-commission-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.no-commission-highlight h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.no-commission-highlight p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
}

.register-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 42px);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(14px);
    align-self: start;
    margin-top: 0;
}

.contact-illustration {
    position: relative;
    min-height: 230px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 72px minmax(120px, 1fr);
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 15% 18%, rgba(94, 234, 212, 0.36), transparent 26%),
        radial-gradient(circle at 85% 78%, rgba(20, 184, 166, 0.28), transparent 26%),
        linear-gradient(135deg, rgba(240, 253, 250, 0.94), rgba(255, 255, 255, 0.76));
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
}

.contact-card {
    position: relative;
    z-index: 2;
    min-height: 130px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    color: #14202e;
    text-align: center;
}

.contact-card strong {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.contact-card small {
    color: #567080;
    font-weight: 700;
}

.contact-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 34%, #14b8a6 0 8px, transparent 9px),
        radial-gradient(circle at 50% 76%, #14b8a6 0 18px, transparent 19px),
        #ccfbf1;
}

.contact-line {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.2), rgba(13, 148, 136, 0.9), rgba(20, 184, 166, 0.2));
}

.contact-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0f766e;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(15, 118, 110, 0.28);
}

.login-landing {
    min-height: calc(100vh - 70px);
    display: grid;
    align-items: center;
    padding: clamp(34px, 5vw, 72px) 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.2), transparent 28%),
        linear-gradient(105deg, rgba(15, 23, 42, 0.76), rgba(15, 118, 110, 0.38) 46%, rgba(255, 255, 255, 0.9)),
        url("../img/risolvito-hero-bg.webp") center / cover no-repeat;
}

.login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.login-story {
    max-width: 660px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(15, 23, 42, 0.32);
}

.login-story .eyebrow {
    color: #bff8ee;
}

.login-story h1 {
    max-width: 760px;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.login-story p {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    margin-top: 18px;
}

.login-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.login-benefits div {
    min-height: 108px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
}

.login-benefits strong,
.login-benefits span {
    display: block;
}

.login-benefits strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.login-benefits span {
    color: rgba(255, 255, 255, 0.82);
    margin-top: 6px;
    font-weight: 700;
}

.login-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(14px);
}

.login-card-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.login-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.26);
}

.login-card h1,
.login-card h2 {
    margin: 0;
    color: var(--risolvito-dark);
    font-size: clamp(1.9rem, 4vw, 2.55rem);
    font-weight: 900;
    letter-spacing: 0;
}

.login-card-head p {
    margin: 4px 0 0;
    color: var(--risolvito-muted);
}

.login-form .form-label {
    font-weight: 750;
    color: #1f2937;
}

.login-actions-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--risolvito-muted);
    font-size: 0.92rem;
}

.login-actions-row a,
.login-signup a {
    color: var(--risolvito-primary);
    font-weight: 850;
    text-decoration: none;
}

.login-actions-row a:hover,
.login-signup a:hover {
    text-decoration: underline;
}

.login-signup {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--risolvito-line);
    color: var(--risolvito-muted);
    text-align: center;
    font-weight: 650;
}

.register-card h2 {
    font-weight: 900;
    letter-spacing: 0;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.social-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.social-auth-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dbe5ea;
    border-radius: 8px;
    background: #fff;
    color: #17202a;
    text-decoration: none;
    font-weight: 800;
}

.social-auth-btn:hover {
    border-color: var(--risolvito-primary);
    color: #17202a;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.google-logo,
.facebook-logo,
.social-brand-logo {
    width: 26px;
    height: 26px;
    display: block;
    border-radius: 50%;
}

.google-logo,
.facebook-logo {
    display: grid;
    place-items: center;
    font-weight: 900;
    font-family: Arial, sans-serif;
}

.social-brand-logo {
    flex: 0 0 26px;
    object-fit: contain;
}

.linkedin-logo {
    display: inline-grid;
    place-items: center;
    background: #0a66c2;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    font-family: Arial, sans-serif;
}

.apple-logo {
    display: grid;
    place-items: center;
    background: #111827;
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

.letter-captcha {
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #f8fafc;
}

.captcha-popover-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.34);
}

.captcha-popover-backdrop[hidden] {
    display: none;
}

.captcha-popover {
    width: min(430px, 100%);
    padding: 20px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    position: relative;
}

.captcha-popover::before {
    content: "";
    position: absolute;
    left: 36px;
    top: -12px;
    width: 24px;
    height: 24px;
    background: inherit;
    border-left: 1px solid var(--risolvito-line);
    border-top: 1px solid var(--risolvito-line);
    transform: rotate(45deg);
}

.captcha-popover-title {
    margin-bottom: 12px;
    font-weight: 900;
    color: #17202a;
}

.letter-captcha.is-invalid {
    border-color: #dc3545;
    background: #fff7f7;
}

.letter-captcha-code {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
    border: 1px solid #d6dde3;
    border-radius: 6px;
    background:
        linear-gradient(12deg, rgba(15, 118, 110, 0.08), transparent 42%),
        repeating-linear-gradient(0deg, #fff, #fff 10px, #f2f6f8 11px);
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.letter-captcha-code span {
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
    color: #050505;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.55rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(var(--captcha-rotate)) translateY(var(--captcha-shift));
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.14);
}

.letter-captcha-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 12px;
    justify-content: flex-end;
}

.captcha-tool-button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #17202a;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.captcha-tool-button:hover {
    border-color: var(--risolvito-primary);
    color: var(--risolvito-primary);
}

.admin-row-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 8px;
}

.admin-row-actions form {
    margin: 0;
}

.password-toggle-field {
    position: relative;
}

.password-toggle-field .form-control {
    padding-right: 48px;
}

.password-toggle-button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #17202a;
    font-weight: 900;
    line-height: 1;
}

.moderation-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.moderation-media-item {
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.moderation-media-item img,
.moderation-media-item video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f1f5f9;
}

.moderation-file-preview {
    display: grid;
    place-items: center;
    min-height: 135px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
}

.moderation-media-meta {
    display: grid;
    gap: 2px;
    padding: 10px;
    font-size: 0.88rem;
}

.moderation-media-meta span {
    color: #64748b;
}

.registration-email-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
}

.registration-email-modal {
    width: min(440px, 100%);
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.registration-email-modal h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 900;
}

.account-recovery-alert {
    display: grid;
    gap: 8px;
}

.account-recovery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.google-logo {
    color: #4285f4;
    border: 1px solid #e5e7eb;
    background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.facebook-logo {
    background: #1877f2;
    color: #fff;
    font-size: 1.35rem;
}

.register-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--risolvito-muted);
    font-size: 0.88rem;
    font-weight: 700;
    margin: 20px 0;
}

.register-divider::before,
.register-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--risolvito-line);
}

.quick-register-panel {
    margin-top: 18px;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 8px;
    background: #f5f7fb;
    border: 1px solid #e0e7ef;
}

.quick-register-panel h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 850;
    letter-spacing: 0;
}

.quick-register-fields {
    display: grid;
    gap: 12px;
}

.quick-contact-step {
    margin-top: 16px;
}

.quick-field .form-control,
.quick-field .form-select {
    min-height: 50px;
    border-color: #b8c2cc;
    color: #111827;
    background-color: #fff;
}

.quick-location-row {
    display: grid;
    grid-template-columns: minmax(90px, 0.36fr) minmax(0, 1fr);
}

.quick-location-row .quick-cap-field .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quick-location-row .quick-city-field .form-control {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 750;
}

.quick-location-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: -2px;
}

.quick-location-summary span {
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 8px;
    background: #eefaf7;
}

.quick-location-summary strong,
.quick-location-summary em {
    display: block;
}

.quick-location-summary strong {
    color: #607086;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quick-location-summary em {
    margin-top: 3px;
    color: var(--risolvito-ink);
    font-style: normal;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.quick-register-terms {
    margin: 14px 0 16px;
    color: #1f2937;
    font-size: 0.94rem;
    line-height: 1.45;
}

.quick-register-terms a {
    color: #17202a;
    text-decoration: underline;
}

.quick-register-submit {
    min-height: 48px;
    background: var(--risolvito-primary);
    border-color: var(--risolvito-primary);
    font-weight: 850;
}

.quick-register-submit:hover {
    background: #0b5f59;
    border-color: #0b5f59;
}

.quick-register-submit:active,
.quick-register-submit:focus-visible {
    background: #094f4a;
    border-color: #094f4a;
}

.quick-register-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    color: #991b1b;
    background: #fff1ed;
    border: 1px solid #ff9b8f;
    border-radius: 8px;
    font-weight: 650;
}

.quick-register-alert::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    font-weight: 850;
}

.quick-register-panel.is-complete {
    display: none;
    border-color: rgba(15, 118, 110, 0.22);
}

.manual-register-panel {
    display: none;
    margin-top: 18px;
}

.manual-register-panel.is-visible {
    display: block;
}

.manual-register-panel.is-quick-prefilled > .register-step:first-child {
    display: none;
}

.register-step {
    position: relative;
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdff;
    overflow: visible;
}

.category-autocomplete {
    position: relative;
}

.category-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    display: grid;
    max-height: min(320px, 46vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #cfe0e7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.category-suggestion {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #17202a;
    text-align: left;
}

.category-suggestion strong {
    font-size: 0.96rem;
}

.category-suggestion span {
    color: #5b7180;
    font-size: 0.82rem;
}

.category-suggestion:hover,
.category-suggestion.is-active {
    background: #e9fbf7;
    color: #115e59;
}

.register-details {
    display: none;
    margin-top: 22px;
}

.register-details.is-visible {
    display: block;
}

.register-fields-gate {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.register-summary {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #e9fbf7;
    color: #115e59;
}

.register-section-panel {
    padding: 18px;
    border: 1px solid #d7e4ea;
    border-radius: 8px;
    background: #f8fbfc;
}

.verification-panel {
    background: #fffdf7;
    border-color: #ecd99a;
}

.register-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.register-section-heading h3 {
    margin: 4px 0 0;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: 0;
}

.service-cover-region {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.service-step-panel {
    overflow: hidden;
    animation: servicePanelIn 180ms ease-out;
}

@keyframes servicePanelIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-area-builder {
    display: grid;
    gap: 14px;
}

.service-map-frame {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #cfe0e7;
    border-radius: 8px;
    background: #f8fbfa;
}

.service-map-copy {
    display: grid;
    gap: 2px;
}

.service-map-copy strong {
    color: #111827;
    font-size: 1rem;
}

.service-map-copy span {
    color: #5b7180;
    font-size: 0.88rem;
}

.service-map-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
}

.service-map-canvas {
    min-height: 380px;
    overflow: hidden;
    border: 1px solid #c6d8dc;
    border-radius: 8px;
    background: #dfe5e4;
}

.service-map-canvas .leaflet-control-attribution {
    font-size: 0.7rem;
}

.service-map-canvas .leaflet-popup-content {
    margin: 10px 12px;
    font-weight: 800;
}

.service-map-canvas .leaflet-popup-content button {
    margin-top: 8px;
}

.service-area-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.service-area-actions .btn {
    min-height: 40px;
    border-radius: 8px;
    font-weight: 800;
}

.service-area-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 42px;
    align-items: center;
    padding: 10px;
    border: 1px dashed #c8d7de;
    border-radius: 8px;
    background: #fff;
}

.service-area-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 9px 7px 11px;
    border: 1px solid #b7d8d3;
    border-radius: 8px;
    background: #e9fbf7;
    color: #115e59;
    font-size: 0.9rem;
    font-weight: 800;
}

.service-area-chip button {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #115e59;
    font-weight: 900;
    line-height: 1;
}

.terms-box {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fbfdff;
}

.consent-check-all {
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--risolvito-line);
    font-weight: 900;
}

.admin-layout {
    max-width: 1680px;
    background: #f4f7f9;
}

.admin-sidebar {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: linear-gradient(180deg, #071c27 0%, #0b2a35 100%);
    box-shadow: 0 24px 60px rgba(8, 20, 30, 0.22);
}

.admin-sidebar-brand {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-sidebar-brand strong {
    font-weight: 900;
}

.admin-sidebar-brand span {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-mode-off {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

.admin-mode-on {
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.admin-sidebar-group {
    display: grid;
    gap: 5px;
}

.admin-sidebar-group small {
    padding: 0 10px 4px;
    color: #8fb0bd;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-sidebar a {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 9px;
    color: #d9e9ef;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.admin-sidebar a span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #dff8f4;
    font-size: 0.72rem;
    font-weight: 900;
}

.admin-sidebar a strong {
    font-size: 0.94rem;
    font-weight: 800;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-sidebar a.active span {
    background: #0f766e;
    color: #fff;
}

.admin-sidebar a.has-new {
    background: rgba(220, 38, 38, 0.13);
    box-shadow: inset 3px 0 0 #ef4444;
}

.admin-sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.34);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}

.admin-page-head,
.admin-page-header,
.user-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.admin-page-head h1,
.admin-page-header h1,
.user-hero h1 {
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-dashboard-page {
    padding-bottom: 42px;
}

.admin-dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(135deg, #ffffff 0%, #f3fbf8 58%, #eef7ff 100%);
    background-size: 34px 34px, auto;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.admin-dashboard-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -118px;
    width: 430px;
    height: 220px;
    transform: rotate(-8deg);
    background: linear-gradient(90deg, rgba(13, 127, 118, 0.16), rgba(245, 158, 11, 0.1), transparent);
    pointer-events: none;
}

.admin-dashboard-hero > div,
.admin-hero-actions {
    position: relative;
    z-index: 1;
}

.admin-dashboard-hero h1 {
    margin: 8px 0 10px;
    color: var(--risolvito-ink);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.admin-dashboard-hero p {
    max-width: 720px;
    margin: 0;
    color: #40536b;
    font-size: 1.04rem;
    line-height: 1.65;
}

.admin-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--risolvito-muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.admin-hero-actions .btn,
.admin-toolbar .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.admin-stat-card {
    min-height: 126px;
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.admin-stat-card strong {
    display: block;
    margin-top: 7px;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.admin-dashboard-page .admin-dashboard-hero {
    border-color: rgba(15, 118, 110, 0.16);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 90% 8%, rgba(45, 212, 191, 0.22), transparent 32%),
        linear-gradient(135deg, #0b2630 0%, #0f3d42 46%, #f7fbfa 46.2%, #ffffff 100%);
    background-size: 34px 34px, auto, auto;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.admin-dashboard-page .admin-dashboard-hero h1 {
    max-width: 760px;
    color: #ffffff;
}

.admin-dashboard-page .admin-dashboard-hero p {
    color: #d7f3ef;
}

.admin-dashboard-page .admin-dashboard-hero .eyebrow {
    color: #8df1df;
}

.admin-dashboard-page .admin-hero-meta span {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: #e4fffb;
}

.admin-pending-alerts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0;
    padding: 18px;
    border: 2px solid #dc2626;
    border-radius: 8px;
    background:
        linear-gradient(135deg, #991b1b 0%, #dc2626 48%, #fef2f2 48.2%, #ffffff 100%);
    box-shadow: 0 22px 55px rgba(220, 38, 38, 0.2);
}

.admin-pending-alerts > div:first-child {
    max-width: 520px;
}

.admin-pending-alerts > div:first-child span,
.admin-pending-alerts > div:first-child strong,
.admin-pending-alerts > div:first-child small {
    display: block;
}

.admin-pending-alerts > div:first-child span {
    color: #fecaca;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-pending-alerts > div:first-child strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.05;
}

.admin-pending-alerts > div:first-child small {
    margin-top: 7px;
    color: #fee2e2;
    font-weight: 700;
}

.admin-pending-alert-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.admin-pending-alert-actions a {
    min-width: 170px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #ffffff;
    color: #991b1b;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(153, 27, 27, 0.16);
}

.admin-pending-alert-actions a strong,
.admin-pending-alert-actions a span {
    display: block;
}

.admin-pending-alert-actions a strong {
    font-size: 1.65rem;
    line-height: 1;
}

.admin-pending-alert-actions a span {
    margin-top: 5px;
    color: #7f1d1d;
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-traffic-overview {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.admin-traffic-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.admin-traffic-head h2 {
    margin: 4px 0 0;
    color: var(--risolvito-ink);
    font-size: 1.1rem;
    font-weight: 950;
}

.admin-traffic-head small {
    max-width: 340px;
    color: var(--risolvito-muted);
    font-weight: 750;
    line-height: 1.45;
    text-align: right;
}

.admin-traffic-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-traffic-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    background: #fff;
}

.admin-traffic-card span,
.admin-traffic-card strong,
.admin-traffic-card small {
    display: block;
}

.admin-traffic-card span {
    color: #607086;
    font-size: 0.84rem;
    font-weight: 900;
}

.admin-traffic-card strong {
    margin-top: 8px;
    color: #17202a;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.admin-traffic-card small {
    margin-top: 8px;
    color: #607086;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

.admin-traffic-card-live {
    border-color: rgba(220, 38, 38, 0.35);
    background: #fff7f7;
    box-shadow: inset 4px 0 0 #dc2626;
}

.admin-traffic-card-live span,
.admin-traffic-card-live strong {
    color: #b91c1c;
}

@media (max-width: 768px) {
    .admin-pending-alerts {
        align-items: stretch;
        flex-direction: column;
        background: linear-gradient(180deg, #991b1b, #dc2626);
    }

    .admin-pending-alert-actions {
        justify-content: stretch;
    }

    .admin-pending-alert-actions a {
        flex: 1 1 100%;
        min-width: 0;
    }

    .admin-traffic-head {
        display: block;
    }

    .admin-traffic-head small {
        display: block;
        margin-top: 8px;
        text-align: left;
    }

    .admin-traffic-grid {
        grid-template-columns: 1fr;
    }
}

.admin-stat-card {
    position: relative;
    overflow: hidden;
}

.admin-stat-card.is-alert {
    border: 2px solid #dc2626;
    background:
        linear-gradient(180deg, rgba(254, 242, 242, 0.98), #ffffff 70%),
        #ffffff;
    box-shadow: 0 20px 55px rgba(220, 38, 38, 0.18);
}

.admin-stat-card.is-alert::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #f97316);
}

.admin-stat-card.is-alert i {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-stat-card.is-alert span,
.admin-stat-card.is-alert strong {
    color: #991b1b;
}

.admin-stat-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #e7f8f3;
    color: var(--risolvito-primary);
    font-style: normal;
    font-weight: 950;
}

.admin-stat-card small {
    display: block;
    margin-top: 8px;
    color: var(--risolvito-primary);
    font-weight: 850;
}

.admin-new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.36), 0 0 0 0 rgba(220, 38, 38, 0.42);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
    animation: admin-new-pulse 1.45s ease-in-out infinite;
    z-index: 2;
}

.admin-report-list {
    display: grid;
    gap: 12px;
}

.admin-report-detail {
    margin-top: 10px;
}

.admin-report-detail summary {
    cursor: pointer;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.admin-report-detail pre {
    margin: 12px 0 0;
    padding: 14px;
    max-height: 340px;
    overflow: auto;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    background: #f8fafc;
    color: #1f2937;
    white-space: pre-wrap;
    font-size: 0.86rem;
    line-height: 1.55;
}

@keyframes admin-new-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.42); }
    70% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.admin-stats-detail-card,
.admin-system-link-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-stats-detail-card:hover,
.admin-system-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.admin-system-link-card small {
    color: var(--risolvito-primary);
    font-weight: 850;
}

.admin-moderation-hero,
.admin-media-hero,
.admin-cms-hero {
    border-color: rgba(15, 118, 110, 0.16);
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.055) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 90% 8%, rgba(45, 212, 191, 0.22), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f3fbf9 58%, #e9f6f4 100%);
    background-size: 34px 34px, auto, auto;
}

.admin-moderation-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.admin-moderation-summary div {
    min-height: 94px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f7fbfa);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.admin-moderation-summary span {
    display: block;
    color: var(--risolvito-muted);
    font-weight: 850;
}

.admin-moderation-summary strong {
    display: block;
    margin-top: 8px;
    color: var(--risolvito-ink);
    font-size: 1.55rem;
}

.admin-moderation-filters {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.admin-filter-title strong,
.admin-cms-panel-head h2,
.admin-cms-section-intro h2 {
    display: block;
    margin: 0;
    color: var(--risolvito-ink);
    font-size: 1.15rem;
}

.admin-filter-title span,
.admin-cms-section-intro p {
    display: block;
    margin-top: 4px;
    color: var(--risolvito-muted);
}

.admin-filter-pills {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-filter-pills a {
    min-height: 64px;
    padding: 12px;
    border: 1px solid #d8e5e2;
    border-radius: 8px;
    background: #ffffff;
    color: var(--risolvito-ink);
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-filter-pills a:hover,
.admin-filter-pills a.is-active {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.42);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.admin-filter-pills span {
    display: block;
    color: var(--risolvito-muted);
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-filter-pills strong {
    display: block;
    margin-top: 5px;
    color: var(--risolvito-primary);
    font-size: 1.35rem;
}

.admin-moderation-item {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.admin-moderation-item-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid #e0ebe8;
    background: #fbfdfd;
}

.admin-moderation-item-head h2 {
    margin: 5px 0;
    color: var(--risolvito-ink);
    font-size: 1.25rem;
}

.admin-moderation-item-head p,
.admin-content-id {
    margin: 0;
    color: var(--risolvito-muted);
    font-weight: 800;
}

.admin-content-id,
.admin-section-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.76rem;
}

.admin-type-badge {
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e7f8f3;
    color: var(--risolvito-primary);
    font-size: 0.78rem;
    font-weight: 950;
}

.admin-moderation-body {
    padding: 20px 22px;
    color: #344762;
    line-height: 1.7;
}

.admin-section-label {
    padding: 0 22px 10px;
    color: var(--risolvito-muted);
    font-weight: 950;
}

.admin-moderation-item .moderation-media-grid {
    padding: 0 22px 20px;
}

.admin-soft-note {
    margin: 0 22px 20px;
    padding: 14px;
    border: 1px dashed #cfe0dc;
    border-radius: 8px;
    background: #f8fcfb;
    color: var(--risolvito-muted);
    font-weight: 800;
}

.admin-moderation-action {
    display: grid;
    grid-template-columns: minmax(170px, 0.9fr) minmax(180px, 1fr) minmax(220px, 1.25fr) minmax(150px, 0.7fr);
    gap: 12px;
    align-items: end;
    padding: 18px 22px;
    border-top: 1px solid #e0ebe8;
    background: #f8fbfa;
}

.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-media-card {
    overflow: hidden;
    border: 1px solid #d8e5e2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-media-preview {
    display: block;
    background: #eef5f4;
}

.admin-media-preview img,
.admin-media-preview video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.admin-media-info {
    display: grid;
    gap: 7px;
    padding: 14px;
}

.admin-media-info strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-media-info span,
.admin-media-info small {
    color: var(--risolvito-muted);
    font-weight: 800;
}

.admin-media-info div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.admin-cms-panel {
    padding: 22px;
}

.admin-cms-panel-head,
.admin-cms-section-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-cms-section-card {
    margin-bottom: 14px;
    padding: 18px;
}

.admin-logo-preview {
    display: grid;
    place-items: center;
    min-height: 86px;
    border: 1px solid #d8e5e2;
    border-radius: 8px;
    background: #f8fcfb;
}

.admin-logo-preview img {
    max-width: 150px;
    max-height: 72px;
    object-fit: contain;
}

.admin-logo-preview span {
    color: var(--risolvito-muted);
    font-weight: 850;
}

.admin-sticky-save {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d8e5e2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

.admin-sticky-save span {
    color: var(--risolvito-muted);
    font-weight: 850;
}

.admin-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 18px;
    margin: 22px 0;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-quick-actions a {
    display: grid;
    gap: 7px;
    min-height: 142px;
    padding: 16px;
    border: 1px solid #dce8e6;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f4faf8);
    color: var(--risolvito-ink);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.admin-quick-actions a:hover {
    transform: translateY(-2px);
    border-color: var(--risolvito-primary);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
}

.admin-quick-actions span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
}

.admin-quick-actions strong,
.admin-quick-actions small {
    display: block;
}

.admin-quick-actions small {
    color: #51637a;
    line-height: 1.45;
    font-weight: 700;
}

.admin-activity-list {
    display: grid;
    gap: 10px;
}

.admin-activity-list div:not(.empty-state) {
    padding: 12px 0;
    border-bottom: 1px solid #e4eeeb;
}

.admin-activity-list span,
.admin-activity-list small {
    display: block;
}

.admin-activity-list span {
    color: var(--risolvito-ink);
    font-weight: 900;
}

.admin-activity-list small,
.admin-table-sub {
    color: var(--risolvito-muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.admin-table-sub {
    display: block;
    margin-top: 2px;
}

.admin-email-cell {
    word-break: break-word;
}

.admin-users-panel {
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.admin-users-panel .panel-title-row {
    align-items: flex-start;
}

.admin-users-panel .panel-title-row h2 {
    margin-bottom: 4px;
}

.admin-users-panel .panel-title-row p {
    margin: 0;
    color: var(--risolvito-muted);
    line-height: 1.55;
}

.admin-user-filters {
    padding: 16px;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    background: #f8fbfa;
}

.admin-users-panel .admin-table {
    margin-bottom: 0;
}

.admin-users-panel .admin-table tbody tr {
    transition: background 0.16s ease;
}

.admin-users-panel .admin-table tbody tr:hover {
    background: #f8fbfa;
}

.admin-row-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 96px;
}

.admin-row-actions form {
    margin: 0;
}

.admin-row-actions .btn {
    min-width: 84px;
    font-weight: 900;
}

.admin-small-link {
    display: inline-flex;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 6px;
    color: var(--risolvito-primary);
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.admin-small-link:hover {
    text-decoration: underline;
}

.admin-attachment-open {
    text-align: left;
}

.admin-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-compact-form .form-label {
    color: var(--risolvito-muted);
    font-weight: 850;
}

.admin-inline-edit {
    min-width: 240px;
}

.admin-inline-edit .form-control,
.admin-inline-edit .form-select {
    border-color: #d8e5e2;
}

.admin-categories-page code {
    padding: 4px 7px;
    border-radius: 6px;
    background: #eef6f4;
    color: #0f766e;
}

.admin-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
    padding: 16px 0 0;
    border-top: 1px solid #dce8e6;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 750;
}

.moderation-card {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid #dce8e6;
    border-radius: 8px;
    background: #fbfdfd;
}

.moderation-card p {
    margin: 0;
    color: #40536b;
    line-height: 1.6;
}

.admin-email-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-email-template-card {
    display: grid;
    gap: 0;
}

.admin-email-template-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-email-template-head h2 {
    margin: 4px 0 0;
    color: var(--risolvito-ink);
    font-size: 1.22rem;
    font-weight: 950;
}

.admin-email-body {
    min-height: 210px;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-email-preview {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #dce8e6;
    border-radius: 8px;
    background: #f8fbfa;
}

.admin-email-preview strong,
.admin-email-preview p {
    display: block;
}

.admin-email-preview strong {
    margin-bottom: 6px;
    color: var(--risolvito-primary);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-email-preview p {
    margin: 0;
    color: #40536b;
    line-height: 1.55;
}

.admin-email-template-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.admin-archive-note {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 850;
}

.content-panel,
.admin-card {
    padding: 22px;
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-maintenance-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-maintenance-form {
    display: grid;
    gap: 12px;
}

.admin-maintenance-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe7e5;
    border-radius: 8px;
    background: #f8fbfa;
    font-weight: 800;
}

.admin-switch .form-check-input {
    width: 3.1rem;
    height: 1.55rem;
    margin: 0;
}

.admin-login-page {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    padding: 70px 16px;
    background:
        radial-gradient(circle at 15% 12%, rgba(20, 184, 166, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(15, 23, 42, 0.08)),
        #f5f8f9;
}

.admin-login-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(360px, 520px);
    width: min(1040px, 100%);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.16);
}

.admin-login-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding: 42px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(7, 89, 82, 0.95), rgba(10, 37, 51, 0.97)),
        #0f3b3d;
    color: #ffffff;
}

.admin-login-panel::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    pointer-events: none;
}

.admin-login-logo-lock {
    position: absolute;
    top: 36px;
    left: 36px;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.admin-login-logo-lock img {
    width: 54px;
    height: 62px;
    object-fit: contain;
}

.admin-login-kicker {
    margin: 0 0 10px;
    color: #7dd3fc;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-login-panel h2 {
    position: relative;
    max-width: 360px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.08;
}

.admin-login-panel p {
    position: relative;
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.admin-login-security-list {
    position: relative;
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.admin-login-security-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 760;
}

.admin-login-security-list strong {
    color: #99f6e4;
    font-size: 0.78rem;
}

.admin-login-card {
    width: 100%;
    padding: clamp(28px, 4vw, 46px);
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.admin-login-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 26px;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.admin-login-brand span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--risolvito-primary);
    color: #fff;
}

.admin-login-brand div {
    display: grid;
    line-height: 1.2;
}

.admin-login-brand small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-login-head {
    margin-bottom: 18px;
}

.admin-login-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #bfe6e0;
    border-radius: 999px;
    background: #ecfdf9;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-login-head h1 {
    margin: 14px 0 8px;
    font-weight: 850;
    letter-spacing: 0;
    color: #0f172a;
}

.admin-login-head p {
    margin: 0;
    color: var(--risolvito-muted);
    line-height: 1.65;
}

.admin-login-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 22px 0;
}

.admin-login-steps span {
    position: relative;
    padding: 10px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 850;
    text-align: center;
}

.admin-login-steps span.is-complete,
.admin-login-steps span.is-active {
    border-color: #99f6e4;
    background: #f0fdfa;
    color: #0f766e;
}

.admin-login-notice {
    display: grid;
    gap: 4px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
}

.admin-login-notice strong {
    font-weight: 900;
}

.admin-login-notice span {
    color: #475569;
    font-size: 0.94rem;
}

.admin-login-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.admin-login-form .form-label {
    font-weight: 850;
    color: #1f2937;
}

.admin-login-form .form-control {
    border-color: #cbd5e1;
    border-radius: 8px;
}

.admin-login-form .form-control:focus {
    border-color: var(--risolvito-primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.16);
}

.admin-otp-input {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.32em;
}

.admin-login-secondary-form {
    margin-top: 12px;
}

.admin-login-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 760;
}

.admin-login-back {
    display: inline-flex;
    margin-top: 0;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .admin-login-page {
        padding: 34px 14px;
    }

    .admin-login-shell {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .admin-login-panel {
        min-height: auto;
        padding: 112px 26px 28px;
    }

    .admin-login-panel::before {
        inset: 14px;
    }

    .admin-login-logo-lock {
        top: 24px;
        left: 24px;
        width: 68px;
        height: 68px;
        border-radius: 18px;
    }

    .admin-login-logo-lock img {
        width: 42px;
        height: 48px;
    }

    .admin-login-security-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .admin-login-page {
        padding: 18px 10px;
    }

    .admin-login-card {
        padding: 22px;
    }

    .admin-login-panel {
        padding: 98px 22px 24px;
    }

    .admin-login-steps {
        gap: 6px;
    }

    .admin-login-steps span {
        padding: 9px 4px;
        font-size: 0.74rem;
    }

    .admin-login-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-otp-input {
        font-size: 1.25rem;
        letter-spacing: 0.24em;
    }
}

.content-panel h2,
.admin-card h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.content-publish-panel,
.content-create-hero,
.content-form {
    border: 1px solid var(--risolvito-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.content-publish-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 22px;
    align-items: center;
    padding: 24px;
}

.content-publish-panel h2,
.content-create-hero h1 {
    margin-bottom: 8px;
    font-weight: 850;
    letter-spacing: 0;
    color: var(--risolvito-ink);
}

.content-publish-panel p,
.content-create-hero p {
    margin: 0;
    color: var(--risolvito-muted);
}

.publish-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.publish-action {
    display: grid;
    gap: 6px;
    min-height: 126px;
    width: 100%;
    padding: 16px;
    border: 1px solid #d8e5e2;
    border-radius: 8px;
    color: var(--risolvito-ink);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.publish-action:hover {
    transform: translateY(-2px);
    border-color: var(--risolvito-primary);
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.12);
}

.publish-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8f7f4;
    color: var(--risolvito-primary);
    font-weight: 900;
}

.publish-action strong {
    font-size: 1rem;
}

.publish-action small {
    color: var(--risolvito-muted);
    line-height: 1.35;
}

.content-create-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.content-form {
    padding: 24px;
}

.content-create-page {
    padding: clamp(24px, 5vw, 58px) 0 78px;
    background: linear-gradient(180deg, #f7fafc 0%, #eef8f5 54%, #f8fafc 100%);
}

.content-create-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-create-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.content-create-side {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.content-create-side h2 {
    margin: 8px 0 10px;
    color: var(--risolvito-ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.content-create-side p {
    color: #52677c;
    line-height: 1.6;
}

.content-create-tips {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.content-create-tips span {
    padding: 10px 12px;
    border-radius: 8px;
    background: #eefaf7;
    color: #254257;
    font-weight: 850;
}

.content-create-pro-form {
    display: grid;
    gap: 13px;
}

.content-form-grid,
.content-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.content-upload-box {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px dashed rgba(15, 118, 110, 0.32);
    border-radius: 8px;
    background: #f6fbfa;
    color: var(--risolvito-ink);
    font-weight: 900;
}

.content-upload-box small {
    color: #64748b;
    font-weight: 750;
}

.content-upload-box input {
    margin-top: 8px;
}

.content-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5eaee;
}

.panel-title-row,
.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.stat-card {
    padding: 18px;
}

.stat-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.stat-card-link:hover,
.stat-card-link:focus-visible {
    border-color: var(--risolvito-primary);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.14);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.stat-card span {
    display: block;
    color: var(--risolvito-muted);
    font-weight: 650;
    margin-bottom: 6px;
}

.stat-card strong {
    font-size: 1.65rem;
    color: var(--risolvito-dark);
}

.admin-table thead th {
    color: var(--risolvito-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.status-badge,
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-attivo,
.status-approvato,
.status-aperta,
.status-open,
.status-completata,
.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-in_attesa_approvazione,
.status-inviato_per_approvazione,
.status-in_attesa_revisione,
.status-inviata,
.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-sospeso,
.status-bannato,
.status-rifiutato,
.status-rifiutata,
.status-eliminato,
.status-danger,
.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.empty-state {
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: var(--risolvito-muted);
    background: #fbfdff;
}

.mini-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--risolvito-line);
    text-decoration: none;
    color: var(--risolvito-dark);
}

/* User dashboard professional refresh */
.user-dashboard-page {
    padding: clamp(24px, 4vw, 48px) 0 82px;
    background: linear-gradient(180deg, #f7fafc 0%, #eef6f4 46%, #f8fafc 100%);
}

.user-dashboard-page .container {
    max-width: 1180px;
}

.user-dashboard-page .user-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(135deg, #ffffff 0%, #f3fbf8 58%, #eef7ff 100%);
    background-size: 34px 34px, auto;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.user-dashboard-page .user-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -118px;
    width: 430px;
    height: 220px;
    transform: rotate(-8deg);
    background: linear-gradient(90deg, rgba(13, 127, 118, 0.16), rgba(245, 158, 11, 0.1), transparent);
    pointer-events: none;
}

.user-hero-copy,
.user-hero-actions {
    position: relative;
    z-index: 1;
}

.user-hero-copy h1 {
    margin: 8px 0 10px;
    color: var(--risolvito-ink);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.user-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #40536b;
    font-size: 1.04rem;
    line-height: 1.65;
}

.user-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.user-hero-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--risolvito-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.user-hero-meta strong:not(.status-badge) {
    color: var(--risolvito-ink);
}

.user-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: min(100%, 360px);
}

.user-hero-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.client-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: stretch;
    gap: clamp(18px, 3vw, 34px);
}

.client-dashboard-hero .user-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 214px;
}

.client-dashboard-hero .user-hero-copy h1 {
    max-width: 760px;
    margin-top: 10px;
}

.client-hero-panel {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.client-hero-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--risolvito-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.client-hero-panel-head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 34px;
    border-radius: 999px;
    background: #e7f8f3;
    color: var(--risolvito-primary);
    font-size: 1rem;
}

.client-hero-panel-name {
    color: var(--risolvito-ink);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 950;
    line-height: 1.15;
}

.client-hero-panel small {
    color: #51637a;
    font-size: 0.92rem;
    line-height: 1.5;
}

.client-hero-panel .user-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    min-width: 0;
    margin-top: 4px;
}

.client-hero-panel .user-hero-actions .btn {
    width: 100%;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.dashboard-stat {
    position: relative;
    min-height: 138px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff, #f7fbfa);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.dashboard-stat-link {
    display: grid;
    align-content: start;
    color: var(--risolvito-ink);
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.dashboard-stat-link:hover,
.dashboard-stat-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(180deg, #ffffff, #effbf7);
    box-shadow: 0 20px 42px rgba(15, 118, 110, 0.12);
    color: var(--risolvito-ink);
}

.dashboard-stat-button {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 20px;
    border-radius: 8px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-stat-new {
    border-color: rgba(20, 184, 166, 0.55);
    box-shadow: 0 18px 44px rgba(20, 184, 166, 0.16);
    animation: dashboardNewPulse 1.8s ease-in-out infinite;
}

.dashboard-new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.08em;
}

@keyframes dashboardNewPulse {
    0%,
    100% {
        box-shadow: 0 18px 44px rgba(20, 184, 166, 0.14);
    }

    50% {
        box-shadow: 0 18px 52px rgba(20, 184, 166, 0.3);
    }
}

.dashboard-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.dashboard-stat small {
    display: block;
    color: var(--risolvito-muted);
    font-weight: 750;
}

.user-dashboard-page .content-publish-panel {
    border-color: rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.96);
}

.user-dashboard-page .publish-action {
    min-height: 136px;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf8 100%);
}

.dashboard-client-panel .publish-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-client-panel .publish-action {
    min-height: 150px;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.dashboard-side-stack,
.dashboard-content-stack {
    display: grid;
    gap: 18px;
}

.dashboard-profile-card {
    position: sticky;
    top: 92px;
}

.dashboard-profile-card .profile-avatar {
    width: 112px;
    height: 112px;
    border: 3px solid #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.dashboard-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--risolvito-muted);
    font-size: 0.9rem;
    font-weight: 850;
}

.dashboard-progress-row strong {
    color: var(--risolvito-ink);
}

.dashboard-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
}

.dashboard-profile-actions .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.dashboard-list-panel {
    min-height: 300px;
}

.dashboard-panel-actions {
    align-items: center;
}

.dashboard-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 8px;
    background: var(--risolvito-primary);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.dashboard-primary-link span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
}

.dashboard-primary-link strong {
    color: inherit;
    font-size: 0.95rem;
    font-weight: 900;
}

.dashboard-primary-link:hover {
    background: #0b6f66;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.24);
}

.dashboard-request-list {
    display: grid;
    gap: 10px;
}

.dashboard-request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #dce8e6;
    border-radius: 8px;
    background: #fbfdfd;
    color: var(--risolvito-ink);
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.dashboard-request-item:hover,
.dashboard-request-item:focus-visible {
    transform: translateY(-1px);
    border-color: var(--risolvito-primary);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.1);
    color: var(--risolvito-ink);
}

.dashboard-request-item span,
.dashboard-request-item strong,
.dashboard-request-item small {
    display: block;
}

.dashboard-request-item small {
    margin-top: 3px;
    color: var(--risolvito-muted);
    font-weight: 750;
}

.dashboard-request-item em {
    flex: 0 0 auto;
    font-style: normal;
}

.dashboard-empty-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 118px;
    padding: 18px;
    border: 1px dashed rgba(15, 118, 110, 0.35);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.045) 0 1px, transparent 1px 100%),
        #fbfdfd;
    background-size: 28px 28px, auto;
}

.dashboard-empty-request strong,
.dashboard-empty-request span {
    display: block;
}

.dashboard-empty-request strong {
    color: var(--risolvito-ink);
    font-weight: 900;
}

.dashboard-empty-request span {
    margin-top: 5px;
    color: #53657a;
    line-height: 1.55;
}

.dashboard-empty-request .btn {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    font-weight: 900;
}

.request-modal-open {
    overflow: hidden;
}

.request-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    padding: 18px;
}

.request-modal[hidden] {
    display: none;
}

.request-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.request-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
}

.request-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5eaee;
    background: rgba(255, 255, 255, 0.96);
}

.request-modal-head h2 {
    margin: 2px 0 0;
    color: var(--risolvito-ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.request-modal-head button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f0f2f5;
    color: #475569;
    font-size: 1.1rem;
    font-weight: 950;
}

.request-modal-form {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.request-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.request-modal-form .form-label {
    margin-bottom: 2px;
    color: #34465d;
    font-weight: 850;
}

.request-modal-form .form-control,
.request-modal-form .form-select {
    min-height: 46px;
    border-color: #d9e4e8;
}

.request-upload-box {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px dashed rgba(15, 118, 110, 0.32);
    border-radius: 8px;
    background: #f6fbfa;
    color: var(--risolvito-ink);
    font-weight: 900;
}

.request-upload-box small {
    color: #64748b;
    font-weight: 750;
}

.request-file-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-top: 8px;
}

.request-file-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 8px;
    background: var(--risolvito-primary);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.request-file-name {
    min-width: 0;
    color: #52677c;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.request-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.request-upload-box:hover .request-file-button {
    background: #0b6f66;
}

.request-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e5eaee;
}

.notifications-modal-dialog {
    width: min(720px, 100%);
}

.notifications-modal-head {
    padding: 18px 20px;
}

.notifications-modal-body {
    padding: 20px;
}

.notifications-modal-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 8px;
    background: #f4fbf9;
}

.notifications-modal-summary strong,
.notifications-modal-summary span {
    display: block;
}

.notifications-modal-summary strong {
    color: var(--risolvito-ink);
    font-size: 1rem;
    font-weight: 950;
}

.notifications-modal-summary div > span {
    margin-top: 3px;
    color: #5b6e82;
    font-size: 0.88rem;
}

.notifications-status-pill {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e6f7f2;
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 900;
}

.notifications-status-pill.is-new {
    background: #0f766e;
    color: #fff;
}

.notifications-modal-list {
    display: grid;
    gap: 8px;
}

.notifications-modal-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: start;
    min-width: 0;
    padding: 15px;
    border: 1px solid #dde6ea;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

a.notifications-modal-item:hover,
a.notifications-modal-item:focus-visible {
    border-color: rgba(15, 118, 110, 0.42);
    background: #f8fcfb;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.09);
    color: inherit;
}

.notifications-modal-item-new {
    border-color: rgba(15, 118, 110, 0.3);
    background: #f1faf7;
}

.notifications-modal-icon {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border: 2px solid #a6b4c1;
    border-radius: 50%;
    background: #fff;
}

.notifications-modal-item-new .notifications-modal-icon {
    border-color: #0f766e;
    background: #0f766e;
}

.notifications-modal-copy {
    min-width: 0;
}

.notifications-modal-copy strong,
.notifications-modal-copy span,
.notifications-modal-copy small {
    display: block;
}

.notifications-modal-copy strong {
    color: var(--risolvito-ink);
    font-size: 0.98rem;
    font-weight: 900;
}

.notifications-modal-copy span {
    margin-top: 4px;
    color: #51647a;
    font-size: 0.9rem;
    line-height: 1.48;
}

.notifications-modal-copy small {
    margin-top: 7px;
    color: #718096;
    font-size: 0.76rem;
    font-weight: 750;
}

.notifications-modal-state {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef3f5;
    color: #5f7083;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
}

.notifications-modal-item-new .notifications-modal-state {
    background: #dff5ee;
    color: #0f766e;
}

.notifications-modal-empty {
    padding: 34px 20px;
    border: 1px dashed #cfdbe0;
    border-radius: 8px;
    text-align: center;
}

.notifications-modal-empty strong,
.notifications-modal-empty span {
    display: block;
}

.notifications-modal-empty strong {
    color: var(--risolvito-ink);
    font-weight: 900;
}

.notifications-modal-empty span {
    margin-top: 4px;
    color: #64748b;
}

.notifications-modal-feedback {
    min-height: 20px;
    margin: 12px 0 0;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 750;
    text-align: center;
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.user-dashboard-page .content-panel {
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.user-dashboard-page .content-panel h2 {
    color: var(--risolvito-ink);
    font-size: 1.16rem;
    font-weight: 900;
}

.user-dashboard-page .mini-item {
    position: relative;
    padding: 12px 0;
    line-height: 1.45;
}

.user-dashboard-page .mini-item-new {
    padding-left: 18px;
    color: #0f172a;
}

.mini-new-dot {
    position: absolute;
    top: 18px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.42);
    animation: miniNewDotPulse 1.4s ease-in-out infinite;
}

@keyframes miniNewDotPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.42);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(15, 118, 110, 0);
    }
}

.dashboard-panel-link {
    color: var(--risolvito-primary);
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
}

.dashboard-panel-link:hover {
    text-decoration: underline;
}

.dashboard-review-item strong,
.dashboard-review-item span {
    display: block;
}

.dashboard-review-item span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    color: var(--risolvito-muted);
    font-weight: 760;
}

.dashboard-review-item b {
    color: #0f766e;
}

.dashboard-review-item small {
    color: #64748b;
}

@media (max-width: 991.98px) {
    .client-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .client-dashboard-hero .user-hero-copy {
        min-height: auto;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-card {
        position: static;
    }

    .dashboard-empty-request {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-empty-request .btn,
    .dashboard-primary-link {
        width: 100%;
        justify-content: center;
    }

    .user-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .user-dashboard-page {
        padding: 18px 0 58px;
    }

    .user-dashboard-page .user-hero {
        padding: 18px;
    }

    .user-hero-copy h1 {
        font-size: 2.15rem;
    }

    .user-hero-actions,
    .user-hero-actions .btn {
        width: 100%;
    }

    .dashboard-stats-grid,
    .dashboard-mini-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-request-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .notifications-modal-body {
        padding: 14px;
    }

    .notifications-modal-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .notifications-modal-item {
        grid-template-columns: 10px minmax(0, 1fr);
    }

    .notifications-modal-state {
        grid-column: 2;
        justify-self: start;
    }
}

.client-profile-page {
    padding: clamp(24px, 4vw, 52px) 0 78px;
    background: linear-gradient(180deg, #f7fafc 0%, #eef8f5 48%, #f8fafc 100%);
}

.provider-profile-page {
    padding-top: clamp(48px, 6vw, 78px);
}

.client-profile-page .container {
    max-width: 980px;
}

.client-profile-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(135deg, #ffffff 0%, #f1fbf8 62%, #eef7ff 100%);
    background-size: 32px 32px, auto;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.09);
}

.client-profile-hero h1 {
    margin: 0 0 10px;
    color: var(--risolvito-dark);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    font-weight: 900;
}

.provider-profile-page .client-profile-hero h1 {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    line-height: 1.08;
}

.client-profile-hero p {
    max-width: 660px;
    margin: 0;
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.65;
}

.client-profile-form {
    display: grid;
    gap: 18px;
}

.client-profile-card {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.client-profile-card h2 {
    margin: 0 0 18px;
    color: var(--risolvito-dark);
    font-size: 1.35rem;
    font-weight: 900;
}

.client-profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 4px;
}

.client-profile-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.client-avatar-editor {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 10px 0 22px;
    padding: 16px;
    border: 1px solid #d8e9e6;
    border-radius: 8px;
    background: #f6fbfa;
}

.client-avatar-preview {
    display: block;
    width: 132px;
    height: 132px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #e8f6f3;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.client-avatar-preview:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
}

.client-avatar-preview img,
.client-avatar-preview span {
    width: 100%;
    height: 100%;
}

.client-avatar-preview img {
    display: block;
    object-fit: cover;
}

.client-avatar-preview span {
    display: grid;
    place-items: center;
    color: var(--risolvito-primary);
    font-size: 3rem;
    font-weight: 900;
}

.client-avatar-copy strong,
.client-avatar-copy p {
    display: block;
}

.client-avatar-copy strong {
    color: var(--risolvito-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.client-avatar-copy p {
    margin: 6px 0 14px;
    color: #5f7188;
    line-height: 1.55;
}

.client-profile-page .form-control,
.client-profile-page .form-select {
    min-height: 46px;
    border-color: #d8e4ea;
}

.client-location-helper {
    max-width: 720px;
    margin: -6px 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 8px;
    background: #f2fbf8;
    color: #52677c;
    line-height: 1.55;
}

.client-profile-page select:disabled {
    background-color: #f3f7f8;
    color: #7a8a9d;
}

.client-profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.client-profile-actions .btn,
.client-profile-hero .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}

@media (max-width: 767.98px) {
    .client-profile-hero,
    .client-profile-card-head,
    .client-profile-actions {
        flex-direction: column;
    }

    .client-avatar-editor {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .client-profile-hero .btn,
    .client-profile-actions .btn {
        width: 100%;
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    background: rgba(255, 255, 255, 0.72);
}

.loading-overlay.is-visible {
    display: grid;
}

.loader-dot {
    width: 44px;
    height: 44px;
    border: 4px solid #d6ede8;
    border-top-color: var(--risolvito-primary);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .legal-layout {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .legal-index {
        position: static;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .people-orbits {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-card {
        grid-template-columns: 1fr;
    }

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

    .app-navbar {
        min-height: 64px;
    }

    .app-navbar .container {
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-mark {
        font-size: 1.15rem;
    }

    .mobile-quick-actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        margin-right: 8px;
    }

    .mobile-quick-actions .mobile-quick-login,
    .mobile-quick-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        max-width: 116px;
        white-space: nowrap;
        margin-left: auto;
        margin-right: 8px;
        padding: 0 14px;
        border: 1px solid rgba(15, 118, 110, 0.22);
        border-radius: 8px;
        background: #e9fbf7;
        color: var(--risolvito-primary);
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 900;
        box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
    }

    .mobile-quick-actions .mobile-quick-login {
        margin: 0;
    }

    .mobile-quick-actions .mobile-quick-logout {
        max-width: 74px;
        border-color: #d8e4ea;
        background: #ffffff;
        color: #334155;
        box-shadow: none;
    }

    .mobile-quick-login:hover,
    .mobile-quick-login:focus-visible {
        color: #fff;
        background: var(--risolvito-primary);
    }

    @media (max-width: 380px) {
        .mobile-quick-actions {
            gap: 4px;
            margin-right: 6px;
        }

        .mobile-quick-actions .mobile-quick-login,
        .mobile-quick-login {
            min-height: 40px;
            padding: 0 9px;
            font-size: 0.84rem;
        }
    }

    .mobile-menu-panel {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 10px);
        z-index: 1050;
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        border: 1px solid rgba(221, 231, 238, 0.95);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    }

    .mobile-menu-panel .navbar-nav {
        gap: 6px;
        align-items: stretch !important;
    }

    .main-category-nav {
        padding-bottom: 10px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--risolvito-line);
    }

    .main-category-nav::before {
        content: "Categorie";
        padding: 4px 4px 6px;
        color: var(--risolvito-muted);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0;
    }

    .action-nav::before {
        content: "Account";
        padding: 4px 4px 6px;
        color: var(--risolvito-muted);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0;
    }

    .mobile-menu-panel .nav-link,
    .mobile-menu-panel .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        font-weight: 800;
    }

    .mobile-menu-panel .nav-link {
        color: var(--risolvito-dark);
        background: #f8fafc;
    }

    .mobile-menu-panel .nav-link::after {
        content: "\203A";
        color: var(--risolvito-muted);
        font-weight: 900;
    }

    .mobile-menu-panel .nav-link:hover {
        color: var(--risolvito-primary);
        background: #e9fbf7;
    }

    .mobile-menu-panel .btn {
        justify-content: center;
        margin-top: 2px;
    }

    .login-landing {
        align-items: start;
        padding: 24px 0 36px;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.66), rgba(15, 118, 110, 0.24)),
            url("../img/risolvito-hero-bg.webp") center / cover no-repeat;
    }

    .login-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .login-card {
        order: -1;
    }

    .login-story h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .register-landing {
        padding: 22px 0 34px;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.54), rgba(15, 118, 110, 0.2)),
            url("../img/risolvito-hero-bg.webp") center / cover no-repeat;
    }

    .register-brand {
        margin-bottom: 18px;
    }

    .register-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .register-card {
        order: -1;
    }

    .register-story {
        max-width: none;
    }

    .register-story h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .no-commission-highlight {
        margin-top: 22px;
    }

    .register-stats,
    .login-benefits,
    .social-auth-grid {
        grid-template-columns: 1fr;
    }

    .home-search {
        grid-template-columns: 1fr;
    }

    .trust-strip .container {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-page-head,
    .admin-page-header,
    .user-hero {
        flex-direction: column;
    }

    .admin-maintenance-card {
        grid-template-columns: 1fr;
    }

    .admin-maintenance-dates {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-command-grid,
    .admin-quick-actions,
    .admin-email-template-grid {
        grid-template-columns: 1fr;
    }

    .admin-category-grid {
        grid-template-columns: 1fr;
    }

    .admin-hero-actions {
        justify-content: flex-start;
    }

    .content-publish-panel {
        grid-template-columns: 1fr;
    }

    .content-create-layout {
        grid-template-columns: 1fr;
    }

    .content-create-side {
        position: static;
    }

    .publish-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-client-panel .publish-actions {
        grid-template-columns: 1fr;
    }

    .content-create-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-feed-card {
        grid-template-columns: 1fr;
    }

    .home-feed-preview {
        order: -1;
        max-width: 280px;
    }

    .feed-hero,
    .feed-shell {
        grid-template-columns: 1fr;
    }

    .feed-stream {
        order: 1;
    }

    .feed-sidebar,
    .feed-rightbar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feed-sidebar {
        order: 2;
    }

    .feed-rightbar {
        order: 3;
    }

    .feed-hero-panel {
        min-height: auto;
    }

.cookie-consent-actions {
    grid-template-columns: 1fr;
}

@media (max-width: 575.98px) {
    .quick-location-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-location-row .quick-cap-field .form-control,
    .quick-location-row .quick-city-field .form-control {
        border: 1px solid #b8c2cc;
        border-radius: 8px;
    }

    .quick-location-summary {
        grid-template-columns: 1fr;
    }
}

    .cookie-consent-links {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .cookie-consent-backdrop {
        align-items: end;
        padding: 10px;
    }

    .cookie-consent-modal {
        max-height: calc(100vh - 20px);
        padding: 22px;
    }

    .cookie-option {
        align-items: flex-start;
    }

    .people-orbits {
        grid-template-columns: 1fr;
    }

    .people-orbit-card {
        padding: 22px 16px;
    }

    .newsletter-input-row {
        grid-template-columns: 1fr;
    }

    .newsletter-section {
        padding: 54px 0;
    }

    .newsletter-card {
        padding: 22px;
    }

    .newsletter-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .newsletter-points span {
        min-height: 0;
    }

    .newsletter-input-row .btn {
        width: 100%;
        min-height: 48px;
    }

    .login-landing .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .login-card {
        padding: 20px;
    }

    .login-card-head {
        align-items: flex-start;
    }

    .login-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 12px;
    }

    .login-actions-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .register-landing .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .register-card,
    .no-commission-highlight {
        padding: 18px;
    }

    .register-step {
        padding: 14px;
    }

    .register-step .form-control-lg,
    .register-step .form-select-lg {
        font-size: 1rem;
        min-height: 46px;
    }

    .category-suggestions {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 6px);
        bottom: auto;
        max-height: 240px;
        overscroll-behavior: contain;
    }

    .register-section-panel {
        padding: 14px;
    }

    .register-section-heading {
        display: grid;
        gap: 12px;
    }

    .service-cover-region {
        width: 100%;
    }

    .service-area-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-map-toolbar {
        grid-template-columns: 1fr;
    }

    .service-map-canvas {
        min-height: 320px;
    }

    .service-area-actions .btn {
        width: 100%;
    }

    .service-area-selected {
        align-items: stretch;
    }

    .service-area-chip {
        width: 100%;
        justify-content: space-between;
    }

    .contact-illustration {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-line {
        height: 32px;
        width: 4px;
        justify-self: center;
    }

    .contact-badge {
        position: static;
        transform: none;
        justify-self: center;
        width: 58px;
        height: 58px;
        margin: -8px 0;
    }

    .home-hero {
        padding: 54px 0 40px;
    }

    .hero-section h1 {
        font-size: 2.35rem;
    }

    .hero-copy h1 {
        font-size: 2.55rem;
    }

    .search-bar,
    .home-search,
    .content-panel,
    .step-card,
    .profile-card {
        padding: 16px;
    }

    .content-publish-panel,
    .content-create-hero,
    .content-form {
        padding: 16px;
    }

    .admin-dashboard-hero {
        padding: 18px;
    }

    .admin-dashboard-hero h1 {
        font-size: 2.15rem;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-hero-actions,
    .admin-hero-actions .btn,
    .admin-toolbar .btn {
        width: 100%;
    }

    .publish-actions {
        grid-template-columns: 1fr;
    }

    .publish-action {
        min-height: auto;
    }

    .home-feed-section {
        padding: 48px 0;
    }

    .home-feed-card {
        padding: 18px;
    }

    .feed-page {
        padding-top: 18px;
    }

    .feed-hero {
        padding: 20px;
    }

    .feed-hero-panel {
        grid-template-columns: 1fr;
    }

    .feed-hero-copy h1 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .feed-hero-actions,
    .feed-composer-card,
    .feed-card-head {
        align-items: stretch;
        flex-direction: column;
    }

    .feed-sidebar {
        grid-template-columns: 1fr;
    }

    .feed-rightbar {
        grid-template-columns: 1fr;
    }

    .feed-composer-tools {
        grid-template-columns: 1fr;
    }

    .feed-composer-card .btn {
        width: 100%;
    }

    .feed-stats {
        flex-direction: column;
    }

    .feed-actions button,
    .feed-actions a {
        font-size: 0.9rem;
    }

    .feed-comment-form {
        grid-template-columns: 1fr;
    }

    .request-modal {
        align-items: end;
        padding: 8px;
    }

    .request-modal-dialog {
        max-height: calc(100vh - 16px);
    }

    .request-modal-grid,
    .request-modal-actions,
    .content-form-grid,
    .content-seo-grid,
    .content-form-actions {
        grid-template-columns: 1fr;
    }

    .request-modal-actions,
    .content-form-actions {
        display: grid;
    }

    .request-file-control {
        align-items: stretch;
        flex-direction: column;
    }

    .request-file-button {
        width: 100%;
    }

    .request-file-name {
        white-space: normal;
    }

    .feed-compose-modal {
        align-items: end;
        padding: 8px;
    }

    .feed-compose-dialog {
        max-height: calc(100vh - 16px);
    }

    .feed-compose-grid,
    .feed-compose-actions {
        grid-template-columns: 1fr;
    }

    .feed-compose-actions {
        display: grid;
    }
}

@media (max-width: 991.98px) {
    .search-hero-grid,
    .search-layout,
    .search-local-seo-card {
        grid-template-columns: 1fr;
    }

    .search-pro-form {
        grid-template-columns: 1fr 1fr;
    }

    .search-pro-form-category {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-pro-options,
    .search-pro-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .search-pro-field-wide,
    .search-pro-form .btn {
        grid-column: 1 / -1;
    }

    .search-filter-panel {
        position: static;
    }

    .search-local-seo-side {
        align-self: stretch;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .search-page-hero {
        padding-top: 34px;
    }

    .search-pro-form {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .search-results-head,
    .search-result-top {
        flex-direction: column;
    }

    .search-local-seo-card {
        gap: 16px;
        padding: 18px;
    }

    .search-local-seo-side div,
    .search-local-seo-side a {
        width: 100%;
    }

    .search-local-seo-side a {
        justify-content: center;
    }

    .search-result-card {
        grid-template-columns: 1fr;
    }

    .search-result-media {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .search-result-actions .btn {
        width: 100%;
    }

    .page-scroll-tools {
        right: max(10px, env(safe-area-inset-right));
        bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
        gap: 8px;
    }

    .page-scroll-button {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .site-chat-widget {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        width: min(304px, calc(100vw - 20px));
    }

    .site-chat-button {
        min-height: 50px;
        padding-right: 14px;
        font-size: 0.94rem;
    }

    .site-chat-details:not([open]) .site-chat-button {
        width: 54px;
        height: 54px;
        min-height: 54px;
        justify-content: center;
        gap: 0;
        padding: 9px;
    }

    .site-chat-details:not([open]) .site-chat-button > span:not(.site-chat-icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding-top: 38px;
        gap: 26px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom div {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .seo-page-grid,
    .seo-step-list,
    .seo-page-split {
        grid-template-columns: 1fr;
    }

    .seo-page-hero h1 {
        line-height: 1.04;
    }
}

@media (max-width: 575px) {
    .seo-page-actions .btn {
        width: 100%;
    }

    .seo-info-card,
    .seo-step-list article {
        padding: 20px;
    }
}

/* Responsive audit hardening */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

iframe {
    border: 0;
}

main,
section,
article,
aside,
header,
footer,
.container,
.container-fluid,
.row,
[class*="col-"],
.card,
.admin-card,
.content-panel,
.profile-card,
.feed-card,
.search-result-card,
.request-card,
.dashboard-card,
.admin-page-head,
.admin-page-header,
.user-hero {
    min-width: 0;
}

p,
li,
dd,
dt,
label,
legend,
small,
span,
strong,
a,
td,
th,
pre,
code,
.btn,
.badge,
.status-pill,
.admin-table-sub,
.admin-sidebar a strong,
.admin-email-cell,
.search-result-card,
.dashboard-request-item,
.profile-card {
    overflow-wrap: anywhere;
}

pre,
code {
    white-space: pre-wrap;
}

input,
select,
textarea,
.form-control,
.form-select,
.input-group,
.btn,
.dropdown-menu {
    max-width: 100%;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.table-responsive > table,
.table-responsive > .table {
    min-width: max-content;
}

.admin-table,
.admin-table table {
    max-width: 100%;
}

.admin-row-actions,
.admin-page-actions,
.admin-page-head,
.admin-page-header,
.user-hero,
.search-results-head,
.search-result-top,
.list-group-item.d-flex,
.profile-actions,
.dashboard-actions,
.content-form-actions,
.request-modal-actions,
.feed-compose-actions {
    flex-wrap: wrap;
}

.list-group-item.d-flex,
.admin-row-actions,
.profile-actions,
.dashboard-actions {
    gap: 8px;
}

.cookie-consent-backdrop,
.captcha-popover-backdrop,
.registration-email-modal-backdrop,
.request-modal,
.feed-compose-modal {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    padding:
        max(12px, env(safe-area-inset-top))
        max(12px, env(safe-area-inset-right))
        max(12px, env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));
}

.cookie-consent-modal,
.captcha-popover,
.registration-email-modal,
.request-modal-dialog,
.feed-compose-dialog,
.modal-dialog {
    width: min(100%, var(--audit-modal-width, 760px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.captcha-popover {
    --audit-modal-width: 430px;
}

.registration-email-modal {
    --audit-modal-width: 440px;
}

.request-modal-dialog,
.feed-compose-dialog {
    --audit-modal-width: 720px;
}

.modal-dialog-centered {
    min-height: auto;
}

.site-chat-widget,
.page-scroll-tools {
    max-width: calc(100vw - 20px);
}

.site-chat-widget {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
}

.page-scroll-tools {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
}

@media (max-width: 991.98px) {
    .admin-layout {
        max-width: 100%;
    }

    .admin-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .admin-sidebar a {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .admin-sidebar a strong,
    .admin-sidebar-badge {
        min-width: 0;
    }

    .admin-page-head,
    .admin-page-header,
    .user-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-page-actions,
    .user-hero-actions,
    .dashboard-actions {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .table-responsive > table,
    .table-responsive > .table {
        min-width: 680px;
    }

    .admin-row-actions {
        justify-content: flex-start;
    }

    .cookie-consent-actions,
    .feed-compose-actions,
    .request-modal-actions {
        grid-template-columns: 1fr;
    }

    .captcha-popover::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    input,
    select,
    textarea,
    .form-control,
    .form-select {
        font-size: 16px;
    }

    button,
    .btn,
    .nav-link,
    .dropdown-item,
    .captcha-tool-button,
    .password-toggle-button,
    .page-scroll-button {
        min-height: 44px;
    }

    .btn,
    .dropdown-item {
        white-space: normal;
    }

    .admin-row-actions,
    .admin-page-actions,
    .profile-actions,
    .dashboard-actions,
    .content-form-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .admin-row-actions .btn,
    .admin-row-actions button,
    .admin-row-actions form,
    .admin-page-actions .btn,
    .profile-actions .btn,
    .dashboard-actions .btn,
    .content-form-actions .btn {
        width: 100%;
    }

    .cookie-consent-modal,
    .captcha-popover,
    .registration-email-modal,
    .request-modal-dialog,
    .feed-compose-dialog {
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
    }

    .cookie-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-option input {
        align-self: flex-start;
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .cookie-consent-backdrop,
    .captcha-popover-backdrop,
    .registration-email-modal-backdrop,
    .request-modal,
    .feed-compose-modal {
        align-items: start;
        place-items: start center;
    }
}
