/* Comercial — Anúnciate + portal cliente */

.advertise-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #0f172a;
    padding: 2rem 0;
    background:
        linear-gradient(115deg, #f3faf6 0%, #eef8f2 48%, rgba(238, 248, 242, 0.88) 68%, rgba(238, 248, 242, 0.55) 100%);
}

.advertise-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.advertise-hero-media-img {
    position: absolute;
    top: 0;
    right: 0;
    width: min(46%, 520px);
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.42;
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.advertise-hero-stage {
    position: relative;
    z-index: 1;
}

.advertise-hero-copy {
    max-width: 36rem;
}

.advertise-brand {
    margin: 0 0 0.35rem;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #e11d2e;
}

.advertise-title {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.advertise-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #334155;
    margin: 0 0 1rem;
    max-width: 40ch;
}

.advertise-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
}

@media (max-width: 767px) {
    .advertise-hero { padding: 1.25rem 0 1.1rem; }
    .advertise-hero-media-img {
        width: 100%;
        opacity: 0.18;
        mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    }
    .advertise-lead { max-width: none; font-size: 0.95rem; }
    .advertise-cta-row { gap: 0.5rem; }
    .advertise-cta-row .btn-yv {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
        min-height: 44px;
    }
}

.advertise-page-nav {
    position: sticky;
    top: var(--header-offset, 72px);
    z-index: 15;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
}

.advertise-page-nav-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.advertise-page-nav-scroller::-webkit-scrollbar { display: none; }

.advertise-page-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    padding: 0.6rem 0;
    width: max-content;
    min-width: 100%;
}

.advertise-page-nav a {
    flex: 0 0 auto;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    scroll-snap-align: start;
}

.advertise-page-nav a:hover,
.advertise-page-nav a:focus-visible {
    background: #f1f5f9;
    color: #0f172a;
}

.advertise-nav-short { display: none; }

#beneficios,
#ubicaciones,
#planes,
#proceso,
#pagos,
#contacto {
    scroll-margin-top: calc(var(--header-offset, 72px) + 58px);
}

.advertise-terms-doc {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    color: #334155;
    line-height: 1.65;
}

.advertise-terms-doc h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 1.35rem 0 0.55rem;
}

.advertise-terms-doc h2:first-child { margin-top: 0; }

.advertise-terms-doc p {
    margin: 0 0 0.75rem;
}

.advertise-terms-doc ul {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.advertise-terms-doc li { margin-bottom: 0.35rem; }

.advertise-section {
    padding: 2.75rem 0;
}

.advertise-section--muted {
    background: #f8fafc;
    border-block: 1px solid #eef2f7;
}

.advertise-section-head {
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.advertise-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.advertise-section-lead {
    color: #64748b;
    margin-bottom: 0;
}

.advertise-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.advertise-benefit {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    background: #fff;
}

.advertise-benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 107, 78, 0.1);
    color: #1f6b4e;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.advertise-benefit h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.advertise-benefit p {
    margin: 0;
    color: #64748b;
    font-size: 0.94rem;
}

.advertise-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.advertise-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    border-top: 4px solid #94a3b8;
}

.advertise-plan-card.is-home { border-top-color: #1f6b4e; }
.advertise-plan-card.is-sidebar { border-top-color: #2563eb; }
.advertise-plan-card.is-inline { border-top-color: #d97706; }
.advertise-plan-card.is-footer { border-top-color: #e11d2e; }

.advertise-plan-card.is-featured {
    box-shadow: 0 12px 32px rgba(225, 29, 46, 0.1);
}

.advertise-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.advertise-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: #f1f5f9;
    color: #334155;
}

.advertise-plan-card.is-home .advertise-plan-icon { background: rgba(31, 107, 78, 0.12); color: #1f6b4e; }
.advertise-plan-card.is-sidebar .advertise-plan-icon { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.advertise-plan-card.is-inline .advertise-plan-icon { background: rgba(217, 119, 6, 0.12); color: #d97706; }
.advertise-plan-card.is-footer .advertise-plan-icon { background: rgba(225, 29, 46, 0.12); color: #e11d2e; }

.advertise-plan-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
}

.advertise-plan-place {
    margin: 0 0 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.advertise-plan-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.advertise-plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f6b4e;
    margin-bottom: 0.65rem;
}

.advertise-plan-price span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.advertise-plan-desc {
    color: #475569;
    font-size: 0.94rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.advertise-plan-card ul {
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    color: #475569;
    font-size: 0.9rem;
}

.advertise-plan-card .btn-yv {
    margin-top: auto;
}

.advertise-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
}

.advertise-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    min-height: 100%;
}

.advertise-steps span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e11d2e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.advertise-steps strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.advertise-steps p {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
}

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

.advertise-panel {
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.advertise-panel--payments {
    border-color: rgba(31, 107, 78, 0.25);
    background: linear-gradient(180deg, #fff 0%, #f3faf6 100%);
}

.advertise-panel--policies {
    border-color: rgba(37, 99, 235, 0.2);
    background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
}

.advertise-panel-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.advertise-panel-head i {
    font-size: 1.25rem;
}

.advertise-panel--payments .advertise-panel-head i { color: #1f6b4e; }
.advertise-panel--policies .advertise-panel-head i { color: #2563eb; }

.advertise-panel-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.advertise-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.advertise-list li {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    color: #334155;
}

.advertise-list i { color: #1f6b4e; margin-top: 0.15rem; }
.advertise-panel--policies .advertise-list i { color: #2563eb; }

.advertise-note {
    color: #64748b;
    font-size: 0.92rem;
}

.advertise-note--box {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.advertise-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.advertise-form,
.advertise-side-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem;
    background: #fff;
}

.advertise-form-title,
.advertise-side-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.advertise-side-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.advertise-side-stack {
    display: grid;
    gap: 1rem;
}

.advertise-side-card--account {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.advertise-side-card--account h3 { color: #fff; }
.advertise-side-card--account p { color: rgba(255, 255, 255, 0.78); }
.advertise-side-card--account .advertise-note { color: rgba(255, 255, 255, 0.65); }

@media (max-width: 991px) {
    .advertise-benefits,
    .advertise-split,
    .advertise-contact-grid {
        grid-template-columns: 1fr;
    }

    .advertise-page-nav-scroller {
        scroll-snap-type: x proximity;
        mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
    }

    .advertise-plans {
        grid-template-columns: 1fr;
    }

    .advertise-form .btn-yv,
    .advertise-side-card .btn-yv {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .advertise-section { padding: 1.75rem 0; }
    .advertise-section-title { font-size: 1.28rem; }
    .advertise-benefit,
    .advertise-plan-card,
    .advertise-panel,
    .advertise-form,
    .advertise-side-card {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .advertise-nav-full { display: none; }
    .advertise-nav-short { display: inline; }

    .advertise-page-nav a {
        font-size: 0.8rem;
        padding: 0.42rem 0.78rem;
    }

    .advertise-cta-row .btn-yv {
        flex: 1 1 100%;
    }
}

/* Auth cliente */
.client-auth-body {
    min-height: 100vh;
    background: linear-gradient(160deg, #0f172a, #1f6b4e 55%, #163a2c);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.client-auth-shell {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.client-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    color: #0f172a;
    font-weight: 700;
}

.client-auth-foot {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.client-auth-foot a { color: #1f6b4e; }

/* Portal cliente — shell con sidebar */
.client-portal-body {
    min-height: 100vh;
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    color: #0f172a;
    background:
        radial-gradient(circle at 0% 0%, rgba(31, 107, 78, 0.08), transparent 38%),
        radial-gradient(circle at 100% 20%, rgba(225, 29, 46, 0.06), transparent 32%),
        #eef2f7;
}

.client-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.client-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 1.15rem 1rem 1.25rem;
    background:
        linear-gradient(180deg, #0b1220 0%, #0f172a 42%, #132a24 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.12);
}

.client-sidebar-brand {
    margin-bottom: 1.35rem;
}

.client-brand-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.client-brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 28px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.client-brand-logo-wrap img {
    display: block;
    width: auto;
    height: 34px;
    max-width: 100%;
    object-fit: contain;
}

.client-brand-logo-wrap--sm {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.client-brand-logo-wrap--sm img {
    height: 28px;
}

.client-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0 0.15rem;
}

.client-brand-meta strong {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.client-brand-meta span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.58);
}

.client-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.client-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.client-sidebar-link i {
    font-size: 1.05rem;
    opacity: 0.9;
}

.client-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.client-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(225, 29, 46, 0.95), rgba(139, 26, 36, 0.95));
    color: #fff;
    box-shadow: 0 8px 22px rgba(225, 29, 46, 0.28);
}

.client-sidebar-badge {
    margin-left: auto;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #fff;
    color: #e11d2e;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-sidebar-foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.client-user-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.client-user-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f6b4e, #145239);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(31, 107, 78, 0.35);
}

.client-user-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.client-user-copy strong {
    color: #fff;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-user-copy span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

.client-sidebar-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.client-sidebar-logout:hover { color: #fecaca; }

.client-shell-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.client-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.client-topbar-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.client-topbar-link {
    position: relative;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.client-topbar-link.is-active {
    color: #fff;
    background: #e11d2e;
    border-color: #e11d2e;
}

.client-topbar-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: #e11d2e;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.client-portal-main {
    flex: 1;
    padding: 1.5rem 1.35rem 2.5rem;
}

.client-portal-content {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.client-welcome {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.15rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 52%, #145239 100%);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.client-welcome-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(225, 29, 46, 0.35), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(31, 107, 78, 0.35), transparent 38%);
    opacity: 0.9;
}

.client-welcome-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.45rem 1.5rem;
}

.client-welcome-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.client-welcome-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.client-welcome-lead {
    margin: 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
}

.client-welcome-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(145deg, #fff, #e2e8f0);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.35);
}

.client-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.client-stat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.client-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.client-stat-card strong {
    display: block;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 1.25rem;
    line-height: 1.1;
    color: #0f172a;
}

.client-stat-card span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.client-stat-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.client-stat-icon.is-requests { background: #dbeafe; color: #1d4ed8; }
.client-stat-icon.is-inbox { background: #fee2e2; color: #dc2626; }
.client-stat-icon.is-action { background: #dcfce7; color: #15803d; }

.client-stat-card--action {
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    border-color: rgba(31, 107, 78, 0.2);
}

.client-panel,
.client-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.client-panel--flush,
.client-card--flush { padding: 0; overflow: hidden; }

.client-panel-head,
.client-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 1.3rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.client-panel-head--inbox {
    background: linear-gradient(135deg, #fff7f7 0%, #fff 100%);
}

.client-panel-title {
    margin: 0;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.client-panel-sub {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #64748b;
}

.client-btn-brand {
    background: linear-gradient(135deg, #e11d2e, #b91c1c);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(225, 29, 46, 0.25);
}

.client-btn-brand:hover {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.client-btn-soft {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 650;
    border-radius: 10px;
}

.client-btn-soft:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.client-status {
    display: inline-flex;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #334155;
}

.client-status.is-published,
.client-status.is-approved { background: #dcfce7; color: #166534; }
.client-status.is-rejected { background: #fee2e2; color: #991b1b; }
.client-status.is-payment_review,
.client-status.is-awaiting_payment,
.client-status.is-pending_review { background: #fef3c7; color: #92400e; }
.client-status.is-finished { background: #e2e8f0; color: #475569; }

.client-flash {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1.05rem;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.client-flash i { font-size: 1.15rem; margin-top: 0.1rem; }
.client-flash strong { display: block; margin-bottom: 0.1rem; }
.client-flash.is-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.client-flash.is-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.client-flash-link {
    margin-left: auto;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
}

.client-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 1rem;
    align-items: start;
}

.client-empty {
    text-align: center;
    padding: 2.5rem 1.35rem;
}
.client-empty--compact { padding: 1.4rem 1.25rem; text-align: left; }
.client-empty-visual { margin-bottom: 0.85rem; }
.client-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fee2e2, #fff7ed);
    color: #e11d2e;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(225, 29, 46, 0.12);
}

.client-request-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.client-request-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem 1rem;
    align-items: center;
    padding: 1rem 1.3rem;
    border-top: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}
.client-request-item:hover { background: #fafbfc; }
.client-request-item:first-child { border-top: 0; }
.client-request-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
}
.client-request-id {
    font-size: 0.78rem;
    font-weight: 800;
    color: #94a3b8;
}
.client-request-plan {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #475569;
}
.client-request-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}

.client-timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.client-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.client-timeline-marker {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: #94a3b8;
}

.client-timeline-marker.is-published,
.client-timeline-marker.is-approved { background: #16a34a; }
.client-timeline-marker.is-rejected { background: #dc2626; }
.client-timeline-marker.is-payment_review,
.client-timeline-marker.is-awaiting_payment,
.client-timeline-marker.is-pending_review { background: #d97706; }

.client-timeline-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.25;
}

.client-panel--inbox { position: sticky; top: 1.25rem; }

.client-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.client-notif-list li { border-top: 1px solid #f1f5f9; }
.client-notif-list li.is-unread { background: linear-gradient(90deg, #fff7f7 0%, #fff 100%); }
.client-notif-form { margin: 0; }
.client-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.client-notif-item:hover { background: #f8fafc; }
.client-notif-list li.is-unread .client-notif-item:hover { background: #fff1f2; }
.client-notif-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}
.client-notif-icon.is-success { background: #dcfce7; color: #166534; }
.client-notif-icon.is-danger { background: #fee2e2; color: #991b1b; }
.client-notif-icon.is-payment { background: #fef3c7; color: #92400e; }
.client-notif-icon.is-ads { background: #dbeafe; color: #1d4ed8; }
.client-notif-icon.is-warning { background: #ffedd5; color: #c2410c; }
.client-notif-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}
.client-notif-copy strong {
    color: #0f172a;
    font-size: 0.92rem;
}
.client-notif-body {
    color: #64748b;
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.client-notif-list--full .client-notif-body { -webkit-line-clamp: 4; }
.client-notif-copy time {
    color: #94a3b8;
    font-size: 0.75rem;
}
.client-notif-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: #e11d2e;
    flex: 0 0 auto;
}
.client-notif-chevron {
    color: #cbd5e1;
    margin-top: 0.35rem;
}

/* Compatibilidad con vistas que aún usan clases hero antiguas */
.client-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
    padding: 1.35rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 52%, #145239 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    color: #fff;
}
.client-hero--compact { padding: 1.15rem 1.25rem; }
.client-hero-kicker,
.client-hero .client-hero-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.client-hero-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #fff;
}
.client-hero-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}
.client-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}
.client-hero-actions .btn-outline-dark,
.client-hero-actions .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.client-hero-actions .btn-outline-dark:hover,
.client-hero-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

@media (max-width: 991px) {
    .client-shell { grid-template-columns: 1fr; }
    .client-sidebar { display: none; }
    .client-dashboard-grid { grid-template-columns: 1fr; }
    .client-panel--inbox { position: static; }
    .client-stat-row { grid-template-columns: 1fr; }
    .client-request-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .client-request-side {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .client-portal-main { padding: 1rem 0.85rem 2rem; }
    .client-welcome-inner { padding: 1.15rem 1.1rem; }
    .client-welcome-user { display: none; }
    .client-timeline { grid-template-columns: 1fr 1fr; }
    .client-flash { flex-wrap: wrap; }
    .client-flash-link { margin-left: 0; width: 100%; }
}

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

.advertise-showcase-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1.1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.advertise-showcase-tag {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.advertise-showcase-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.advertise-showcase-card p {
    margin: 0 0 0.55rem;
    color: #64748b;
    font-size: 0.9rem;
}

.advertise-showcase-size {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.advertise-showcase-browser {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.advertise-showcase-browser-bar {
    display: flex;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    background: #e2e8f0;
}

.advertise-showcase-browser-bar span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.advertise-showcase-browser-body {
    position: relative;
    min-height: 120px;
    padding: 0.75rem;
    background:
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.advertise-showcase-browser-body.is-home_mid,
.advertise-showcase-browser-body.is-footer {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advertise-showcase-browser-body.is-news_sidebar {
    min-height: 180px;
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 0.5rem;
}

.advertise-showcase-browser-body.is-news_sidebar::before {
    content: "";
    display: block;
    border-radius: 6px;
    background: linear-gradient(180deg, #e2e8f0, #f8fafc);
}

.advertise-showcase-browser-body.is-news_inline {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.advertise-showcase-browser-body.is-news_inline::before {
    content: "";
    display: block;
    height: 2.2rem;
    border-radius: 6px;
    background: #e2e8f0;
}

.advertise-showcase-slot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.advertise-showcase-slot img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.advertise-showcase-browser-body.is-news_sidebar .advertise-showcase-slot {
    align-self: start;
}

@media (max-width: 991px) {
    .advertise-showcase-grid { grid-template-columns: 1fr; }
    .advertise-showcase-card { grid-template-columns: 1fr; }
}
