:root {
    --blue-950: #002a66;
    --blue-900: #003888;
    --blue-800: #004aad;
    --blue-700: #0a5ec9;
    --blue-600: #1a7ae0;
    --blue-500: #38b6ff;
    --blue-400: #5fc4ff;
    --blue-300: #9adbff;
    --blue-100: #e8f5ff;
    --blue-50: #f4faff;
    --ink: #0b2748;
    --ink-soft: #4d6a88;
    --line: #d7e6f5;
    --paper: #ffffff;
    --online: #0f9f6e;
    --offline: #8a9bb0;
    --radius: 18px;
    --radius-sm: 12px;
    --font: "Quicksand", sans-serif;
    --max: 1140px;
    --shadow: 0 14px 36px rgba(0, 42, 102, 0.12);
    --header-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--blue-800);
    color: #fff;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-h);
}

body.menu-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 10% -5%, rgba(95, 196, 255, 0.32), transparent 50%),
        radial-gradient(ellipse 60% 40% at 95% 8%, rgba(154, 219, 255, 0.14), transparent 48%),
        linear-gradient(180deg, var(--blue-700) 0%, var(--blue-800) 45%, var(--blue-900) 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

.shell {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

/* ========== Loading ========== */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-800);
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

#page-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: min(240px, 56vw);
    height: auto;
    animation: logoIn 0.75s ease both, logoPulse 2.4s ease-in-out 0.75s infinite;
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* ========== Top / Header ========== */
.top {
    position: relative;
    padding-bottom: 0.5rem;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(0, 74, 173, 0.94);
    backdrop-filter: blur(16px) saturate(1.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    justify-content: center;
}

.nav-links > a,
.nav-links > button {
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    transition: 0.2s ease;
}

.nav-links > a:hover,
.nav-links > button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

a.dropdown-link,
a.mobile-link {
    text-decoration: none;
    color: inherit;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.05rem;
    transition: 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle.is-open {
    background: rgba(255, 255, 255, 0.18);
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 56, 136, 0.98);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
}

.mobile-menu:not([hidden]) {
    display: block;
    animation: dropIn 0.2s ease;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0 1.25rem;
}

.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    margin-bottom: 0.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-user-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.mobile-user-card small {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-300);
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    transition: 0.15s ease;
}

.mobile-link i {
    width: 1.1rem;
    text-align: center;
    color: var(--blue-300);
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mobile-link.is-danger {
    color: #ffb4ab;
}

.mobile-link.is-danger i {
    color: #ffb4ab;
}

.mobile-sep {
    height: 1px;
    margin: 0.55rem 0;
    background: rgba(255, 255, 255, 0.12);
}

.mobile-auth-actions {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.mobile-now {
    margin-top: 0.65rem;
}

/* Logged balance stands alone in the bar */
.header-cta > .auth-balance {
    border-radius: 999px;
    border: 1px solid rgba(56, 182, 255, 0.4);
}

/* —— Dropdowns —— */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    transition: 0.2s ease;
}

.nav-dropdown-trigger i {
    font-size: 0.65rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown.is-open .nav-dropdown-trigger i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 240px;
    padding: 0.45rem;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 30, 80, 0.22);
    z-index: 60;
    animation: dropIn 0.18s ease;
}

/* Ponte invisível para o mouse não “cair” no espaço entre trigger e menu */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.55rem;
    height: 0.55rem;
}

.nav-dropdown-menu-right {
    left: auto;
    right: 0;
}

.nav-dropdown-menu[hidden] {
    display: none;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    transition: 0.15s ease;
}

.dropdown-link i {
    width: 1.1rem;
    text-align: center;
    color: var(--blue-600);
}

.dropdown-link:hover {
    background: var(--blue-50);
    color: var(--blue-800);
}

.dropdown-danger {
    color: #b42318;
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
    border-radius: 0 0 10px 10px;
}

.dropdown-danger i {
    color: #b42318;
}

.dropdown-danger:hover {
    background: #fff1f0;
    color: #912018;
}

.dropdown-user-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.8rem 0.85rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid var(--line);
}

.dropdown-user-card .user-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.dropdown-user-card strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
}

.dropdown-user-card small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-soft);
}

/* —— Auth shell (guest + logged) —— */
.auth-shell {
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-shell-guest {
    overflow: hidden;
}

.auth-shell-guest .auth-main {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
    background: var(--blue-500);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.auth-shell-guest .auth-main:hover {
    background: var(--blue-400);
}

.auth-shell-guest .auth-side {
    display: inline-flex;
    align-items: center;
    padding: 0.62rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    font-weight: 700;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-shell-guest .auth-side:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.auth-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.28), rgba(255, 255, 255, 0.05));
    border: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}

.auth-balance:hover {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.4), rgba(255, 255, 255, 0.1));
}

.user-dropdown .auth-user {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.balance-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-500);
    color: #fff;
    font-size: 0.78rem;
}

.balance-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-right: 0.15rem;
}

.balance-copy small {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.balance-copy strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.auth-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem 0.28rem 0.35rem;
    color: #fff;
    border: none;
    background: transparent;
    transition: background 0.2s ease;
    cursor: pointer;
}

.user-dropdown .nav-dropdown-menu {
    z-index: 80;
}

.auth-user:hover,
.user-dropdown.is-open .auth-user {
    background: rgba(255, 255, 255, 0.1);
}

.auth-user > .fa-chevron-down {
    font-size: 0.62rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.user-dropdown.is-open .auth-user > .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    display: flex;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--blue-400), var(--blue-700));
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    min-width: 0;
}

.user-meta strong {
    font-size: 0.86rem;
    font-weight: 700;
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-meta small {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
}

/* —— Auth modal helpers —— */
.auth-panel[hidden] {
    display: none !important;
}

.field-password {
    position: relative;
}

.field-password input {
    padding-right: 2.6rem;
}

.toggle-password {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    border-radius: 8px;
}

.toggle-password:hover {
    color: var(--blue-800);
    background: var(--blue-50);
}

.auth-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.25rem;
}

.link-btn {
    border: none;
    background: none;
    color: var(--blue-600);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.link-btn:hover {
    color: var(--blue-800);
    text-decoration: underline;
}

.auth-switch {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.btn-block {
    width: 100%;
}

/* —— Appointments / History —— */
.appt-list,
.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.appt-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 14px;
    background: var(--blue-50);
    border: 1px solid var(--line);
}

.appt-photo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.appt-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.appt-info p {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.appt-info p + p {
    margin-top: 0.12rem;
}

.appt-fee {
    margin-top: 0.3rem !important;
    color: #b54708 !important;
    font-weight: 700 !important;
}

.appt-fee.is-free {
    color: var(--online) !important;
}

.appt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 110px;
}

.btn-cancel-appt {
    background: #fff1f0;
    color: #b42318;
    border: 1px solid #fecdca;
    font-weight: 700;
}

.btn-cancel-appt:hover {
    background: #fee4e2;
}

.appt-action-panel h4 {
    margin: 0.75rem 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.appt-action-desc {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
}

.empty-inline {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.history-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 12px;
    background: var(--blue-50);
    border: 1px solid var(--line);
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}

.history-icon.is-plus {
    background: rgba(15, 159, 110, 0.12);
    color: var(--online);
}

.history-icon.is-minus {
    background: rgba(56, 182, 255, 0.14);
    color: var(--blue-700);
}

.history-copy strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
}

.history-copy small {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.history-amount {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.history-amount.is-plus {
    color: var(--online);
}

.history-amount.is-minus {
    color: var(--ink);
}

@media (max-width: 680px) {
    .appt-card {
        grid-template-columns: 48px 1fr;
    }

    .appt-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        min-width: 0;
    }

    .appt-actions .btn {
        flex: 1;
    }
}

/* —— Deposit modal —— */
.deposit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

.deposit-option {
    padding: 0.95rem 0.5rem;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    transition: 0.2s ease;
}

.deposit-option:hover {
    border-color: var(--blue-500);
    color: var(--blue-800);
}

.deposit-option.is-selected {
    background: rgba(56, 182, 255, 0.12);
    border-color: var(--blue-500);
    color: var(--blue-800);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.12);
}

.deposit-custom {
    display: none;
    margin-top: 0.15rem;
}

.deposit-custom.is-visible {
    display: block;
}

.deposit-custom .field-prefix {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.9rem;
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: #fff;
    transition: border-color 0.2s ease;
}

.deposit-custom .field-prefix:focus-within {
    border-color: var(--blue-500);
}

.deposit-custom .field-prefix span {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-soft);
    line-height: 1;
}

.deposit-custom .field-prefix input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    box-shadow: none;
}

.deposit-custom .field-prefix input:focus {
    border: none;
    box-shadow: none;
}


/* ========== Discovery / Hero ========== */
.discovery {
    padding: 1.75rem 0 1.25rem;
}

.discovery-panel {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: clamp(1.4rem, 3vw, 2rem);
    backdrop-filter: blur(10px);
    animation: rise 0.65s ease both;
}

.discovery-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: center;
    margin-bottom: 1.35rem;
}

.discovery-mark {
    position: relative;
    width: clamp(96px, 14vw, 132px);
    height: clamp(96px, 14vw, 132px);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.discovery-mark-glow {
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 196, 255, 0.5) 0%, rgba(56, 182, 255, 0.18) 42%, transparent 72%);
    animation: markGlow 3.6s ease-in-out infinite;
}

.discovery-brain {
    position: relative;
    z-index: 1;
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 30, 80, 0.28));
    transform-origin: center center;
    animation: markBreathe 3.6s ease-in-out infinite;
}

.discovery-head {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

@keyframes markBreathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 10px 20px rgba(0, 30, 80, 0.28));
    }
    50% {
        transform: translateY(-10px) scale(1.07);
        filter: drop-shadow(0 18px 28px rgba(56, 182, 255, 0.35));
    }
}

@keyframes markGlow {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.discovery-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-300);
}

.discovery-head h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.discovery-head p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.05rem;
    border-radius: 14px;
    background: rgba(0, 42, 102, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.search-field:focus-within {
    border-color: var(--blue-400);
    background: rgba(0, 42, 102, 0.45);
}

.search-field i {
    color: var(--blue-300);
    font-size: 0.95rem;
}

.search-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 0;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.discovery-paths {
    display: none;
}

.discovery-path-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.discovery-path-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.discovery-path-btn:active {
    transform: scale(0.985);
}

.discovery-path-online {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.28), rgba(255, 255, 255, 0.08));
    border-color: rgba(56, 182, 255, 0.45);
}

.discovery-path-icon {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.discovery-path-icon i {
    color: #fff;
}

.discovery-path-online .discovery-path-icon {
    background: rgba(255, 255, 255, 0.16);
}

.find-panel {
    margin-top: 0;
}

.discovery-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.btn-clear-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.btn-clear-soft:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.btn-clear-soft i {
    font-size: 0.72rem;
}

.discovery-path-copy {
    display: grid;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.discovery-path-copy strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.discovery-path-copy small {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.discovery-path-btn > .fa-arrow-right,
.discovery-path-chevron {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.discovery-path-help.is-open {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.discovery-path-help.is-open .discovery-path-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.problems-panel {
    margin-top: 0;
}

.problem-block-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.problem-block-label span {
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.problem-block-label button {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-300);
}

.problem-block-label button:hover {
    color: #fff;
}

.problem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.problem-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.problem-chip i {
    font-size: 0.78rem;
    color: var(--blue-300);
}

.problem-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.problem-chip.is-active {
    background: #fff;
    color: var(--blue-800);
    border-color: #fff;
}

.problem-chip.is-active i {
    color: var(--blue-600);
}

.advanced-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: 0.2s ease;
}

.advanced-toggle:hover,
.advanced-toggle.is-open {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.advanced-toggle i {
    transition: transform 0.2s ease;
}

.advanced-toggle.is-open i.fa-chevron-down {
    transform: rotate(180deg);
}

.advanced-panel {
    display: none;
    margin-top: 0.9rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(0, 42, 102, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.advanced-panel.is-open {
    display: grid;
}

.adv-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.adv-field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 30, 80, 0.45);
    color: #fff;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239adbff' d='M6 7L1 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.1rem;
}

.adv-field select:focus {
    border-color: var(--blue-400);
}

.adv-field select option {
    color: var(--ink);
    background: #fff;
}

.active-filters {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.95rem;
}

.active-filters.has-items {
    display: flex;
}

.active-filters .af-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.af-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(56, 182, 255, 0.2);
    border: 1px solid rgba(56, 182, 255, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    color: #dff3ff;
}

.af-pill button {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: #fff;
    opacity: 0.75;
}

.af-pill button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding: 0 0.15rem;
}

.results-bar p {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.results-bar strong {
    color: #fff;
}

.quick-avail {
    display: flex;
    gap: 0.4rem;
    padding: 0.25rem;
    border-radius: 12px;
    background: rgba(0, 42, 102, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-avail button {
    padding: 0.45rem 0.8rem;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.2s ease;
}

.quick-avail button.is-active {
    background: #fff;
    color: var(--blue-800);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn[hidden],
button.btn[hidden],
a.btn[hidden] {
    display: none !important;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--blue-500);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-400);
}

.btn-dark {
    background: var(--blue-950);
    color: #fff;
}

.btn-dark:hover {
    background: #001f4d;
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-dark {
    border: 1.5px solid var(--line);
    color: var(--ink);
    background: var(--paper);
}

.btn-outline-dark:hover {
    border-color: var(--blue-500);
    color: var(--blue-800);
}

.btn-sm {
    padding: 0.68rem 1rem;
    font-size: 0.88rem;
}

.btn-start {
    position: relative;
    z-index: 0;
    white-space: normal;
    animation: startPulse 2s ease-out infinite;
}

.btn-start::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background: var(--blue-500);
    animation: startRadiate 2s ease-out infinite;
}

@keyframes startPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(56, 182, 255, 0.55);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(56, 182, 255, 0.12);
    }
}

@keyframes startRadiate {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-start,
    .btn-start::before {
        animation: none;
    }
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--line);
    color: var(--ink-soft);
    background: var(--paper);
    transition: 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--blue-500);
    color: var(--blue-800);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Sections ========== */
.section {
    padding: 1.35rem 0 2.25rem;
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section.is-hidden {
    display: none;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-300);
    margin-bottom: 0.35rem;
}

.section-title {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-desc {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    font-size: 0.94rem;
    max-width: 30rem;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 159, 110, 0.14);
    border: 1px solid rgba(15, 159, 110, 0.35);
    color: #b6f5d2;
    font-size: 0.84rem;
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--online);
    animation: blink 1.6s ease-out infinite;
}

@keyframes blink {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 159, 110, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(15, 159, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(15, 159, 110, 0);
    }
}

/* ========== Cards ========== */
.pro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.pro-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: rise 0.55s ease both;
    cursor: pointer;
}

.pro-card.is-filtered-out,
.pro-card.is-page-hidden {
    display: none !important;
}

.show-more-wrap {
    display: none;
    justify-content: center;
    margin-top: 1.35rem;
}

.show-more-wrap.is-visible {
    display: flex;
}

.pro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 40, 100, 0.2);
}

.avatar-wrap {
    position: relative;
    flex: 0 0 46%;
    width: 46%;
    max-width: 250px;
    min-width: 190px;
    align-self: stretch;
    overflow: hidden;
    background: #cfe6f8;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

.avatar {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center center;
}

.badge {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(0, 20, 50, 0.18);
}

.pro-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
    background: var(--paper);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.badge-online {
    background: #ecfdf3;
    color: var(--online);
}

.badge-offline {
    background: #f2f4f7;
    color: var(--offline);
}

.badge i {
    font-size: 0.45rem;
}

.pro-info {
    min-width: 0;
}

.pro-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.pro-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b54708;
    flex-shrink: 0;
}

.rating i {
    color: #f5a524;
    font-size: 0.72rem;
}

.pro-crp {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.approach {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.18rem 0.5rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue-800);
    background: rgba(56, 182, 255, 0.16);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    background: var(--blue-50);
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 600;
}

.tag i {
    font-size: 0.7rem;
    color: var(--blue-600);
}

.pro-bio {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.pro-bio-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-bio-more {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue-600);
}

.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.price-item .label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.price-item .value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.price-note {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.price-note strong {
    color: var(--blue-800);
}

.next-slot {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.next-slot i {
    color: var(--blue-600);
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: auto;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-state.is-visible {
    display: block;
}

.empty-state i {
    font-size: 1.6rem;
    color: var(--blue-300);
    margin-bottom: 0.7rem;
}

.empty-state h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

/* ========== Footer ========== */
.site-footer {
    margin-top: 1rem;
    padding: 2rem 0 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-brand-link {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.footer-brand img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: lowercase;
}

.footer-brand p {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    max-width: 22rem;
}

.footer-copy {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.footnote {
    text-align: center;
    padding: 0.5rem 0 1.5rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Modals ========== */
.modal-root {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-root.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 28, 70, 0.55);
    backdrop-filter: blur(6px);
}

.modal {
    position: relative;
    width: min(100%, 500px);
    max-height: min(90vh, 700px);
    overflow: auto;
    background: var(--paper);
    color: var(--ink);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 30, 80, 0.35);
    transform: translateY(14px);
    transition: transform 0.28s ease;
}

.modal-root.is-open .modal {
    transform: translateY(0);
}

.modal-wide {
    width: min(100%, 580px);
}

.modal-pro {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: min(100%, 760px);
    max-height: min(90vh, 720px);
    overflow: hidden;
    background: transparent;
    box-shadow: 0 24px 60px rgba(0, 30, 80, 0.35);
    border-radius: 22px;
    gap: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 122, 224, 0.45) transparent;
}

.modal-photo-aside {
    flex: 0 0 42%;
    width: 42%;
    max-width: 280px;
    min-width: 200px;
    align-self: stretch;
    overflow: hidden;
    background: #cfe6f8;
}

.modal-photo-aside img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.modal-pro-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--paper);
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 122, 224, 0.45) transparent;
}

.modal-pro-content::-webkit-scrollbar,
.modal-pro::-webkit-scrollbar {
    width: 8px;
}

.modal-pro-content::-webkit-scrollbar-track,
.modal-pro::-webkit-scrollbar-track {
    margin: 10px 0;
    background: transparent;
}

.modal-pro-content::-webkit-scrollbar-thumb,
.modal-pro::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    background-color: rgba(26, 122, 224, 0.38);
    background-image: linear-gradient(
        180deg,
        rgba(95, 196, 255, 0.55),
        rgba(26, 122, 224, 0.55)
    );
}

.modal-pro-content::-webkit-scrollbar-thumb:hover,
.modal-pro::-webkit-scrollbar-thumb:hover {
    background-color: rgba(26, 122, 224, 0.7);
    background-image: linear-gradient(
        180deg,
        rgba(95, 196, 255, 0.85),
        rgba(10, 94, 201, 0.85)
    );
}

.modal-pro-content::-webkit-scrollbar-thumb:active,
.modal-pro::-webkit-scrollbar-thumb:active {
    background-image: linear-gradient(
        180deg,
        var(--blue-500),
        var(--blue-800)
    );
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 0.4rem;
}

.modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-header p {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    background: var(--blue-50);
    transition: 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    color: var(--ink);
    background: #e8eef7;
}

.modal-body {
    padding: 0.9rem 1.35rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 1.35rem 1.35rem;
}

.modal-footer .btn {
    flex: 1;
    min-width: 130px;
}

.modal-footer-profile {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    gap: 0.55rem;
}

.modal-footer-profile .btn {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
}

.modal-profile {
    display: block;
}

.modal-profile h4 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-profile .meta {
    margin-top: 0.15rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.modal-facts {
    margin-top: 0.15rem;
    padding: 0.85rem;
    border-radius: 16px;
    background:
        linear-gradient(165deg, var(--blue-50) 0%, #eef7ff 55%, #f7fbff 100%);
    border: 1px solid rgba(215, 230, 245, 0.9);
}

.modal-facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.modal-fact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(215, 230, 245, 0.75);
    min-width: 0;
}

.modal-fact-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.9rem;
}

.modal-fact--rating .modal-fact-icon {
    background: #fff4e5;
    color: #f5a524;
}

.modal-fact--accent {
    background: linear-gradient(145deg, rgba(26, 122, 224, 0.08), rgba(255, 255, 255, 0.9));
    border-color: rgba(26, 122, 224, 0.18);
}

.modal-fact--accent .modal-fact-icon {
    background: var(--blue-600);
    color: #fff;
}

.modal-fact-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.modal-fact-body strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-fact-body span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.25;
}

.modal-fact-body em {
    font-style: normal;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink-soft);
    opacity: 0.85;
}

.modal-facts-note {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.35;
}

.notice {
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(56, 182, 255, 0.1);
    border: 1px solid rgba(56, 182, 255, 0.22);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.notice i {
    color: var(--blue-600);
    margin-top: 0.12rem;
}

.notice strong {
    color: var(--ink);
}

.form-grid {
    display: grid;
    gap: 0.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue-500);
}

.field textarea {
    min-height: 84px;
    resize: vertical;
}

.slot-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.slot-pick {
    padding: 0.65rem 0.35rem;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink-soft);
    transition: 0.2s ease;
}

.slot-pick:hover {
    border-color: var(--blue-500);
    color: var(--blue-800);
}

.slot-pick.is-selected {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: #003366;
}

/* ========== SweetAlert toast ========== */
.amparo-toast {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    box-shadow: var(--shadow) !important;
    color: var(--ink) !important;
    font-family: var(--font) !important;
}

.amparo-toast .swal2-title {
    color: var(--ink) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

.amparo-toast .swal2-html-container {
    color: var(--ink-soft) !important;
    font-size: 0.84rem !important;
    margin: 0.2rem 0 0 !important;
}

.amparo-toast .swal2-timer-progress-bar {
    background: var(--blue-500) !important;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
    .desktop-only {
        display: none !important;
    }

    .menu-toggle {
        display: grid;
    }

    .balance-copy small {
        display: none;
    }

    .header-cta {
        gap: 0.45rem;
    }
}

@media (max-width: 1100px) {
    .avatar-wrap {
        flex-basis: 42%;
        width: 42%;
        min-width: 170px;
        max-width: 220px;
    }

    .avatar {
        min-height: 240px;
    }
}

@media (max-width: 980px) {
    .pro-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

    .avatar-wrap {
        flex-basis: 44%;
        width: 44%;
        min-width: 180px;
        max-width: 240px;
    }

    .avatar {
        min-height: 250px;
    }

    .modal-pro {
        width: min(100%, 580px);
    }

    .modal-photo-aside {
        flex-basis: 40%;
        width: 40%;
        min-width: 170px;
        max-width: 230px;
    }

    .advanced-panel.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    :root {
        --header-h: 68px;
    }

    .shell {
        width: min(100% - 1.25rem, var(--max));
    }

    .brand-logo {
        height: 24px;
    }

    .auth-balance {
        padding: 0.28rem 0.65rem 0.28rem 0.28rem;
    }

    .balance-copy strong {
        font-size: 0.82rem;
    }

    .pro-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .pro-card {
        flex-direction: column;
    }

    .avatar-wrap {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        aspect-ratio: 16 / 11;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .avatar {
        min-height: 0;
        height: 100%;
    }

    .pro-body {
        width: 100%;
        padding: 1.15rem;
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .modal-pro {
        flex-direction: column;
        width: min(100%, 420px);
        max-height: min(90dvh, 90vh);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .modal-photo-aside {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        aspect-ratio: 16 / 11;
    }

    .modal-photo-aside img {
        min-height: 0;
        height: 100%;
    }

    .modal-pro-content {
        width: 100%;
        flex: 0 0 auto;
        min-height: 0;
        overflow: visible;
    }

    .form-row,
    .advanced-panel.is-open {
        grid-template-columns: 1fr;
    }

    .slot-picks {
        grid-template-columns: repeat(2, 1fr);
    }

    .discovery-panel {
        border-radius: 22px;
        padding: 1.05rem;
    }

    .discovery-intro {
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.95rem;
    }

    .discovery-mark {
        width: 64px;
        height: 64px;
    }

    .discovery-head h1 {
        font-size: 1.45rem;
    }

    .discovery-head p {
        display: none;
    }

    .discovery-kicker {
        font-size: 0.68rem;
    }

    .discovery-paths {
        display: grid;
        gap: 0.55rem;
        margin-bottom: 0.85rem;
    }

    .find-panel {
        display: none;
        margin-bottom: 0.35rem;
        padding: 0.85rem;
        border-radius: 16px;
        background: rgba(0, 42, 102, 0.28);
        border: 1px solid rgba(255, 255, 255, 0.1);
        animation: rise 0.35s ease both;
    }

    .find-panel.is-open {
        display: block;
    }

    .find-panel .search-row {
        margin-bottom: 0.85rem;
    }

    .problems-panel .problem-block-label {
        margin-bottom: 0.6rem;
    }

    .problems-panel .problem-block-label span {
        font-size: 0.78rem;
    }

    .problem-chip {
        padding: 0.48rem 0.75rem;
        font-size: 0.82rem;
    }

    .problem-chip i {
        color: #fff;
    }

    .discovery-tools {
        margin-top: 0.55rem;
    }

    .results-bar {
        margin-top: 0.85rem;
        gap: 0.55rem;
    }

    .results-bar p {
        font-size: 0.84rem;
    }
}

.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    max-width: min(92vw, 320px);
    padding: 0.7rem 1.1rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 42, 102, 0.78);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 30, 80, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    animation: scroll-hint-float 2.4s ease-in-out infinite;
}

.scroll-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    animation: none;
}

.scroll-hint-text {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.scroll-hint-chevron {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--blue-300);
    animation: scroll-hint-bounce 1.4s ease-in-out infinite;
}

.scroll-hint-chevron i {
    font-size: 0.78rem;
}

@keyframes scroll-hint-float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes scroll-hint-bounce {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-hint,
    .scroll-hint-chevron {
        animation: none;
    }
}

/* ========== Modal: botão página do profissional ========== */
.btn-pro-page {
    border: 1.5px solid rgba(26, 122, 224, 0.35);
    color: var(--blue-800);
    background: var(--blue-50);
    white-space: normal;
    text-align: center;
}

.btn-pro-page:hover {
    border-color: var(--blue-500);
    background: var(--blue-100);
    color: var(--blue-900);
}

.modal-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.25rem;
}

/* ========== Página do profissional ========== */
.page-pro .pro-page {
    padding: 1.25rem 0 2.5rem;
}

.pro-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease, transform 0.2s ease;
}

.pro-back:hover {
    color: #fff;
    transform: translateX(-2px);
}

.pro-hero-card {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 1.5rem;
    padding: 1.35rem;
    border-radius: calc(var(--radius) + 4px);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: proHeroIn 0.55s ease both;
    overflow: visible;
}

@keyframes proHeroIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.pro-hero-photo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    background: var(--blue-50);
    min-height: 260px;
}

.pro-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 260px;
    border-radius: var(--radius);
    display: block;
}

.pro-photo-status {
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: calc(100% - 1.3rem);
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(11, 39, 72, 0.18);
}

.pro-photo-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.pro-photo-status.is-online {
    background: rgba(236, 253, 243, 0.94);
    color: #0a7a54;
}

.pro-photo-status.is-online .pro-photo-status-dot {
    background: var(--online);
    box-shadow: 0 0 0 3px rgba(15, 159, 110, 0.18);
}

.pro-photo-status.is-offline {
    background: rgba(255, 255, 255, 0.94);
    color: #5a6d82;
}

.pro-photo-status.is-offline .pro-photo-status-dot {
    background: #9aabbd;
}

.pro-tier-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b2748, #1a7ae0);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 42, 102, 0.25);
    z-index: 2;
}

.pro-hero-body {
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow: visible;
}

.pro-hero-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.pro-hero-heading-text {
    min-width: 0;
    flex: 1 1 auto;
}

.pro-share {
    position: relative;
    flex: 0 0 auto;
    z-index: 5;
    pointer-events: auto;
}

.pro-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-800);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 6px 16px rgba(0, 42, 102, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pro-share-btn:hover {
    background: var(--blue-50);
    border-color: var(--blue-300);
    transform: translateY(-1px);
}

.pro-hero-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.pro-hero-body h1 {
    margin-top: 0.2rem;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.pro-hero-meta {
    margin-top: 0.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.pro-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 1rem 0;
}

.pro-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin: 0.85rem 0 0.65rem;
}

.pro-hero-rating-score {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #b54708;
    letter-spacing: -0.02em;
}

.pro-hero-rating-score i {
    color: #f5a524;
    font-size: 0.95rem;
}

.pro-hero-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    color: #f5a524;
    font-size: 1rem;
    line-height: 1;
}

.pro-hero-rating-count {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.pro-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.15rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(245, 165, 36, 0.45);
    border-radius: 999px;
    background: rgba(245, 165, 36, 0.12);
    color: #9a3412;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.pro-review-btn i {
    color: #f5a524;
    font-size: 0.78rem;
}

.pro-review-btn:hover {
    background: rgba(245, 165, 36, 0.22);
    transform: translateY(-1px);
}

.pro-review-mine {
    font-size: 0.82rem;
    font-weight: 700;
    color: #9a3412;
    background: rgba(245, 165, 36, 0.12);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.pro-review-stars {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.35rem 0 0.75rem;
}

.pro-review-stars button {
    border: 0;
    background: transparent;
    color: #d6d3d1;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem;
    transition: color 0.12s ease, transform 0.12s ease;
}

.pro-review-stars button.is-on,
.pro-review-stars button:hover,
.pro-review-stars button.is-hover {
    color: #f5a524;
    transform: scale(1.08);
}

.pro-review-comment {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    border: 1px solid rgba(28, 25, 23, 0.12);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 0.92rem;
}

.pro-hero-pricing {
    margin: 0.35rem 0 1rem;
}

.pro-hero-pricing .price-note-calc {
    display: inline;
    font-weight: 500;
    color: var(--ink-soft);
    opacity: 0.9;
}

.pro-hero-bio {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
}

.pro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.pro-hero-actions .btn {
    flex: 1 1 200px;
}

.pro-section {
    margin-top: 1.5rem;
    padding: 1.35rem;
    border-radius: calc(var(--radius) + 4px);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: proHeroIn 0.55s ease both;
    animation-delay: 0.08s;
}

.pro-section:nth-of-type(3) {
    animation-delay: 0.14s;
}

.pro-section-head {
    margin-bottom: 1.1rem;
}

.pro-section-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pro-section-head p {
    margin-top: 0.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.pro-tabs {
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem;
    margin: -0.35rem -0.35rem 1.15rem;
    border-radius: 14px;
    background: var(--blue-50);
    border: 1px solid var(--line);
}

.pro-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 0.9rem;
    border-radius: 11px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink-soft);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pro-tab i {
    font-size: 0.88rem;
}

.pro-tab:hover {
    color: var(--blue-800);
    background: rgba(255, 255, 255, 0.7);
}

.pro-tab.is-active {
    color: var(--blue-900);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 42, 102, 0.1);
}

.pro-tab-count {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--blue-100);
    color: var(--blue-800);
}

.pro-tab.is-active .pro-tab-count {
    background: var(--blue-500);
    color: #fff;
}

.pro-tab-panel[hidden] {
    display: none !important;
}

.pro-tab-panel.is-active {
    animation: proTabIn 0.28s ease both;
}

@keyframes proTabIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.pro-tab-intro {
    margin-bottom: 0.95rem;
}

.pro-tab-intro h2 {
    font-size: 1.2rem;
}

.pro-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.pro-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--blue-50);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pro-contact-item:hover {
    border-color: var(--blue-300);
    background: #fff;
    transform: translateY(-2px);
}

.pro-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--blue-700);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.pro-contact-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
}

.pro-contact-item small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ink-soft);
    word-break: break-word;
}

.pro-post-toolbar {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1rem;
}

.pro-post-search-row,
.pro-post-filters-extra {
    display: contents;
}

.pro-post-filters-toggle {
    display: none;
}

.pro-post-toolbar .field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pro-post-toolbar input[type="search"],
.pro-post-toolbar input[type="date"] {
    width: 100%;
    min-height: 2.7rem;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.pro-post-toolbar .btn {
    min-height: 2.7rem;
    white-space: nowrap;
}

.pro-input-wrap {
    position: relative;
}

.pro-input-wrap i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.pro-input-wrap input {
    padding-left: 2.2rem !important;
}

.pro-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.pro-post-card {
    width: 100%;
    text-align: left;
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pro-post-card.is-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 240px;
}

.pro-post-card:hover {
    border-color: var(--blue-300);
    box-shadow: 0 12px 28px rgba(0, 42, 102, 0.1);
    transform: translateY(-3px);
}

.pro-post-cover {
    position: relative;
    display: block;
    min-height: 150px;
    background:
        linear-gradient(180deg, rgba(11, 39, 72, 0.08), rgba(11, 39, 72, 0.42)),
        var(--cover, linear-gradient(135deg, var(--blue-300), var(--blue-700))) center / cover no-repeat;
}

.pro-post-card.is-featured .pro-post-cover {
    min-height: 100%;
}

.pro-post-date-pill {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(11, 39, 72, 0.72);
    backdrop-filter: blur(6px);
}

.pro-post-copy {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.1rem;
    flex: 1;
}

.pro-post-card.is-featured .pro-post-copy {
    justify-content: center;
    padding: 1.35rem 1.4rem;
}

.pro-post-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.pro-post-card.is-featured h3 {
    font-size: 1.35rem;
}

.pro-post-card p {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-post-card.is-featured p {
    -webkit-line-clamp: 4;
    font-size: 0.92rem;
}

.pro-post-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--blue-700);
}

.pro-post-card:hover .pro-post-more i {
    transform: translateX(3px);
}

.pro-post-more i {
    transition: transform 0.2s ease;
}

.pro-posts-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--ink-soft);
}

.pro-posts-empty.is-static {
    padding: 2.4rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--line);
    background: var(--blue-50);
}

.pro-posts-empty i {
    font-size: 1.8rem;
    color: var(--blue-400);
    margin-bottom: 0.5rem;
}

.pro-posts-empty h3 {
    color: var(--ink);
    font-size: 1.1rem;
}

.pro-post-modal-cover {
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 22px 22px 0 0;
}

.pro-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.pro-page-info {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.pro-post-article {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.65;
}

.pro-post-article p + p {
    margin-top: 0.85rem;
}

.pro-post-article strong {
    color: var(--ink);
}

.modal-post {
    overflow: hidden;
}

.modal-post .modal-body {
    max-height: min(52vh, 420px);
    overflow: auto;
}

.pro-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.pro-media-card {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pro-media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 42, 102, 0.1);
}

.pro-media-cover {
    position: relative;
    min-height: 150px;
    background:
        linear-gradient(180deg, rgba(11, 39, 72, 0.15), rgba(11, 39, 72, 0.55)),
        var(--cover) center / cover no-repeat;
}

.pro-media-type,
.pro-media-access {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(11, 39, 72, 0.72);
    backdrop-filter: blur(6px);
}

.pro-media-type {
    left: 0.7rem;
    top: 0.7rem;
}

.pro-media-access {
    right: 0.7rem;
    bottom: 0.7rem;
}

.pro-media-access.is-free {
    background: rgba(15, 159, 110, 0.9);
}

.pro-media-access.is-paid {
    background: rgba(0, 74, 173, 0.9);
}

.pro-media-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.pro-media-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pro-media-body p {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    flex: 1;
}

.pro-media-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.pro-media-meta i {
    color: var(--blue-600);
    margin-right: 0.25rem;
}

@media (max-width: 900px) {
    .pro-hero-card {
        grid-template-columns: 1fr;
    }

    .pro-hero-photo,
    .pro-hero-photo img {
        min-height: 220px;
        max-height: 280px;
    }

    .pro-post-toolbar {
        grid-template-columns: 1fr 1fr auto;
        gap: 0.65rem;
    }

    .pro-post-search {
        grid-column: 1 / -1;
    }

    .pro-posts,
    .pro-media-grid,
    .pro-contact-grid {
        grid-template-columns: 1fr;
    }

    .pro-post-card.is-featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pro-post-card.is-featured .pro-post-cover {
        min-height: 180px;
    }
}

@media (max-width: 560px) {
    .pro-section,
    .pro-hero-card {
        padding: 1rem;
    }

    .pro-share-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .pro-share-btn {
        width: 2.4rem;
        height: 2.4rem;
        padding: 0;
        justify-content: center;
    }

    .pro-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .pro-hero-stats .stat {
        padding: 0.55rem 0.3rem;
    }

    .pro-hero-stats .stat strong {
        font-size: 0.92rem;
    }

    .pro-hero-stats .stat span {
        font-size: 0.6rem;
        letter-spacing: 0.03em;
    }

    .pro-hero-pricing {
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        padding: 0.7rem;
    }

    .pro-hero-pricing .price-item .value {
        font-size: 0.98rem;
    }

    .pro-hero-pricing .price-note {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .pro-hero-pricing .price-note-calc {
        display: block;
        margin-top: 0.15rem;
    }

    .pro-hero-actions .btn {
        flex: 1 1 100%;
    }

    .pro-tabs {
        flex-direction: row;
        align-items: stretch;
        gap: 0.3rem;
        padding: 0.28rem;
        margin: 0 0 1rem;
    }

    .pro-tab {
        flex: 1 1 0;
        min-width: 0;
        flex-wrap: wrap;
        gap: 0.22rem 0.28rem;
        padding: 0.58rem 0.35rem;
        font-size: 0.78rem;
        line-height: 1.2;
        text-align: center;
    }

    .pro-tab i {
        flex-shrink: 0;
        font-size: 0.8rem;
    }

    .pro-tab-count {
        flex-shrink: 0;
        min-width: 1.15rem;
        height: 1.15rem;
        padding: 0 0.32rem;
        font-size: 0.64rem;
    }

    .pro-post-toolbar {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .pro-post-search-row {
        display: flex;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .pro-post-search {
        flex: 1 1 auto;
        min-width: 0;
        grid-column: auto;
    }

    .pro-post-filters-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.45rem;
        height: 2.45rem;
        margin-bottom: 0;
        border-radius: 10px;
        border: 1.5px solid var(--line);
        background: #fff;
        color: var(--blue-800);
        font-size: 0.95rem;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .pro-post-filters-toggle i {
        transition: transform 0.2s ease;
    }

    .pro-post-filters-toggle:hover,
    .pro-post-toolbar.is-filters-open .pro-post-filters-toggle {
        border-color: var(--blue-300);
        background: var(--blue-50);
        color: var(--blue-900);
    }

    .pro-post-toolbar.is-filters-open .pro-post-filters-toggle i {
        transform: rotate(45deg);
    }

    .pro-post-filters-extra {
        display: none;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem 0.5rem;
        padding: 0.75rem;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: var(--blue-50);
    }

    .pro-post-toolbar.is-filters-open .pro-post-filters-extra {
        display: grid;
        animation: proTabIn 0.22s ease both;
    }

    .pro-post-toolbar .field label {
        margin-bottom: 0.25rem;
        font-size: 0.68rem;
        letter-spacing: 0.03em;
    }

    .pro-post-toolbar input[type="search"],
    .pro-post-toolbar input[type="date"] {
        min-height: 2.45rem;
        padding: 0.55rem 0.7rem;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .pro-input-wrap i {
        left: 0.7rem;
        font-size: 0.78rem;
    }

    .pro-input-wrap input {
        padding-left: 2rem !important;
    }

    .pro-post-filters-extra .btn {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 2.35rem;
        justify-content: center;
        border-style: dashed;
        background: #fff;
        font-size: 0.84rem;
    }

    .pro-post-modal-cover {
        height: 140px;
    }
}
