/* CLIBA Public — Bootstrap 5 + custom brand styles */

:root {
    --cliba-purple: #4A0E2E;
    --cliba-purple-dark: #3A0B24;
    --cliba-purple-light: #6B2D4E;
    --cliba-orange: #E68A2E;
    --cliba-orange-hover: #D47A22;
    --cliba-mauve: #8B5A7A;
    --cliba-cream: #F8F9FA;
    --cliba-pink: #F72585;
    --cliba-pink-light: #FF4D9E;
    --cliba-dark: #120810;
    --cliba-dark-card: #1E0F18;
    --cliba-dark-elevated: #2A1220;
    --cliba-section-bg: #EFEBEE;
    --cliba-card-dark: #2f1224;
    --bs-body-font-family: 'Montserrat', sans-serif;
    --bs-primary: var(--cliba-purple);
    --bs-primary-rgb: 74, 14, 46;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

/* Contenedor alineado al diseño original (max-w-7xl + padding responsive) */
.cliba-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .cliba-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 992px) {
    .cliba-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.text-cliba-purple { color: var(--cliba-purple) !important; }
.text-cliba-orange { color: var(--cliba-orange) !important; }
.text-cliba-pink { color: var(--cliba-pink) !important; }
.text-cliba-mauve { color: var(--cliba-mauve) !important; }
.bg-cliba-purple { background-color: var(--cliba-purple) !important; }
.bg-cliba-purple-dark { background-color: var(--cliba-purple-dark) !important; }
.bg-cliba-dark { background-color: var(--cliba-dark) !important; }
.bg-cliba-dark-card { background-color: var(--cliba-dark-card) !important; }
.bg-cliba-section { background-color: var(--cliba-section-bg) !important; }
.bg-cliba-cream { background-color: var(--cliba-cream) !important; }

.rounded-pill { border-radius: 50px !important; }

/* Header — autocontenido, no depende de utilidades Bootstrap */
.cliba-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(18, 8, 16, 0.95);
    backdrop-filter: blur(12px);
}

.cliba-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 4rem;
}

@media (min-width: 576px) {
    .cliba-header-bar {
        min-height: 4.5rem;
        gap: 1rem;
    }
}

.cliba-header-brand {
    flex-shrink: 0;
    display: block;
    line-height: 0;
    text-decoration: none;
}

.cliba-header-logo {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 7.5rem;
    object-fit: contain;
}

@media (min-width: 576px) {
    .cliba-header-logo {
        height: 2.5rem;
        max-width: 9.5rem;
    }
}

.cliba-header-nav {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .cliba-header-nav {
        display: flex;
    }
}

@media (min-width: 1200px) {
    .cliba-header-nav {
        gap: 1.75rem;
    }
}

.cliba-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .cliba-header-actions {
        gap: 0.75rem;
    }
}

.cliba-header-login {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .cliba-header-login {
        display: inline-flex;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .cliba-header-login span {
        display: none;
    }
}

.cliba-header-login:hover {
    color: #fff;
}

.cliba-header-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.cliba-header-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (min-width: 992px) {
    .cliba-header-menu-btn {
        display: none;
    }
}

.cliba-nav-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cliba-nav-link {
        font-size: 0.8125rem;
    }
}

.cliba-nav-link:hover,
.cliba-nav-link.active {
    color: #fff;
}

.cliba-nav-link.active {
    border-bottom-color: var(--cliba-orange);
    padding-bottom: calc(0.25rem - 2px);
}

.cliba-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--cliba-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.25;
    box-shadow: 0 10px 15px -3px rgba(230, 138, 46, 0.25);
    border: none;
    transition: background 0.2s;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .cliba-btn-register {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}

.cliba-btn-register:hover {
    background: var(--cliba-orange-hover);
    color: #fff;
}

.cliba-btn-login {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
}

.cliba-btn-login:hover {
    color: #fff;
}

/* Hero surfaces */
.cliba-hero-surface {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #5a1838 0%, #6b2d4e 38%, #4a0e2e 72%, #3d0c26 100%);
}

.cliba-glow-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 40%, rgba(247, 37, 133, 0.55), transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(230, 138, 46, 0.25), transparent 50%),
        radial-gradient(ellipse 40% 30% at 90% 20%, rgba(255, 77, 158, 0.4), transparent 45%);
    pointer-events: none;
}

.cliba-glow-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 100% at 20% 50%, rgba(247, 37, 133, 0.35), transparent 60%),
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255, 77, 158, 0.25), transparent 55%);
    pointer-events: none;
}

.cliba-light-trail {
    background: linear-gradient(105deg, transparent 0%, rgba(247, 37, 133, 0.15) 35%, rgba(255, 77, 158, 0.35) 50%, rgba(247, 37, 133, 0.15) 65%, transparent 100%);
}

.cliba-cards-bridge {
    background: linear-gradient(180deg, #4a0e2e 0%, #5a1838 55%, #4a0e2e 100%);
}

.cliba-hero-ctas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 576px) {
    .cliba-hero-ctas { gap: 1rem; }
}

.cliba-hero-ctas a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    text-decoration: none;
}

.cliba-btn-pink {
    background: var(--cliba-pink);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(247, 37, 133, 0.4);
    border: none;
}

.cliba-btn-pink:hover {
    background: var(--cliba-pink-light);
    color: #fff;
}

.cliba-btn-outline-pink {
    border: 2px solid rgba(247, 37, 133, 0.7);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.cliba-btn-outline-pink:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Story strip */
.cliba-story-ring {
    background: linear-gradient(135deg, #ff2d7a, #f72585, #ff6b9d, #e68a2e);
    padding: 2px;
    border-radius: 50%;
    box-sizing: border-box;
}

.cliba-story-inner {
    border-radius: 50%;
    background: var(--cliba-dark);
    padding: 2px;
}

.cliba-story-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cliba-dark-elevated);
}

.cliba-story-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    opacity: 0.9;
}

.cliba-story-strip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cliba-story-strip::-webkit-scrollbar { display: none; }

.cliba-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: inherit;
}

.cliba-story-item .story-label {
    min-height: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cliba-story-verified {
    position: absolute;
    top: 0;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cliba-story-add {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.cliba-story-add:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Value cards overlap */
.cliba-cards-overlap {
    position: relative;
    z-index: 30;
    margin-top: -3.5rem;
    margin-bottom: -5rem;
}

@media (min-width: 576px) {
    .cliba-cards-overlap { margin-top: -4rem; margin-bottom: -5.5rem; }
}

@media (min-width: 992px) {
    .cliba-cards-overlap { margin-top: -4.5rem; margin-bottom: -6rem; }
}

.cliba-value-card {
    background: var(--cliba-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s;
    height: 100%;
}

.cliba-value-card:hover {
    border-color: rgba(247, 37, 133, 0.3);
}

.cliba-stories-section {
    position: relative;
    z-index: 10;
    padding-top: 14rem;
}

@media (min-width: 576px) { .cliba-stories-section { padding-top: 15rem; } }
@media (min-width: 992px) { .cliba-stories-section { padding-top: 16rem; } }

/* Carousels */
.cliba-carousel-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cliba-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}

.cliba-carousel-track::-webkit-scrollbar { display: none; }

.cliba-carousel-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cliba-purple);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
}

.cliba-carousel-btn:hover {
    background: var(--cliba-purple-dark);
    color: #fff;
}

.cliba-carousel-btn.prev { left: 0; }
.cliba-carousel-btn.next { right: 0; }

.cliba-team-card {
    flex: 0 0 min(280px, calc(100vw - 5rem));
    scroll-snap-align: start;
    border-radius: 1rem;
    overflow: hidden;
    background: #F0ECEF;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 576px) { .cliba-team-card { flex-basis: 260px; } }
@media (min-width: 992px) { .cliba-team-card { flex-basis: 272px; } }

.cliba-team-card .team-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(to bottom right, rgba(139, 90, 122, 0.3), rgba(74, 14, 46, 0.2));
}

.cliba-quote-card {
    flex: 0 0 min(340px, calc(100% - 1rem));
    scroll-snap-align: start;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: 0 8px 32px rgba(74, 14, 46, 0.09);
}

@media (min-width: 576px) { .cliba-quote-card { flex-basis: min(380px, 90%); } }
@media (min-width: 992px) { .cliba-quote-card { flex-basis: calc((100% - 3rem) / 3); min-width: 300px; } }

/* Community banner */
.cliba-community-banner {
    background: var(--cliba-purple);
    padding: 2.5rem 0;
}

.cliba-perk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    text-align: center;
    padding: 0 0.5rem;
}

@media (min-width: 992px) {
    .cliba-perk-item + .cliba-perk-item {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Footer */
.cliba-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--cliba-purple), var(--cliba-purple), var(--cliba-purple-dark));
    color: #fff;
}

.cliba-footer-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 15.75rem;
}

.cliba-footer-actions > a,
.cliba-footer-actions > button {
    display: flex;
    width: 100%;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.cliba-footer-btn-primary {
    background: var(--cliba-orange);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(230, 138, 46, 0.2);
    border: none;
}

.cliba-footer-btn-primary:hover { background: var(--cliba-orange-hover); color: #fff; }

.cliba-footer-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    background: transparent;
}

.cliba-footer-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cliba-footer-btn-register {
    border: 1px solid rgba(230, 138, 46, 0.4);
    background: rgba(230, 138, 46, 0.1);
    color: #fff;
}

.cliba-footer-btn-register:hover {
    border-color: rgba(230, 138, 46, 0.6);
    background: rgba(230, 138, 46, 0.2);
    color: #fff;
}

/* Lead wizard */
.cliba-lead-wizard {
    max-width: 32rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgba(74, 14, 46, 0.3);
    background: var(--cliba-dark-elevated);
}

.cliba-lead-steps {
    display: flex;
    border-bottom: 1px solid rgba(74, 14, 46, 0.2);
    background: var(--cliba-dark-card);
    padding: 1rem;
}

.cliba-lead-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.cliba-lead-step.active { color: var(--cliba-pink); }

.cliba-lead-body { padding: 1.5rem; }

.cliba-lead-panel { display: none; }
.cliba-lead-panel.active { display: block; }

.cliba-lead-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
    color: #fff;
}

.cliba-lead-option.selected {
    border-color: rgba(230, 138, 46, 0.5);
    background: rgba(230, 138, 46, 0.05);
    box-shadow: 0 0 0 1px rgba(230, 138, 46, 0.3);
}

.cliba-input-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
}

.cliba-input-dark::placeholder { color: rgba(255, 255, 255, 0.4); }
.cliba-input-dark:focus {
    border-color: rgba(230, 138, 46, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(230, 138, 46, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Account card */
.cliba-account-card {
    width: 220px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cliba-account-card .nav-item-preview {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
}

.cliba-account-card .nav-item-preview.active {
    background: rgba(247, 37, 133, 0.1);
    font-weight: 500;
    color: var(--cliba-purple);
}

/* Story viewer modal */
.cliba-story-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.cliba-story-modal.open { display: flex; }

.cliba-story-modal-content {
    position: relative;
    width: min(400px, 90vw);
    height: min(700px, 85vh);
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}

.cliba-story-progress {
    display: flex;
    gap: 4px;
    padding: 12px 12px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.cliba-story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.cliba-story-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
}

/* Mobile nav */
.cliba-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
}

.cliba-mobile-nav-overlay.open { display: block; }

.cliba-mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cliba-mobile-nav-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(100%, 320px);
    background: var(--cliba-dark-elevated);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* User menu */
.cliba-user-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 1050;
    width: 14rem;
    background: #fff;
    border-radius: 1rem;
    padding: 0.5rem 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
}

.cliba-user-menu-dropdown.open { display: block; }

.cliba-user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--cliba-purple);
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.cliba-user-menu-item:hover {
    background: rgba(247, 37, 133, 0.05);
    color: var(--cliba-purple);
}

.cliba-user-menu-item.active {
    background: rgba(74, 14, 46, 0.05);
    font-weight: 500;
}

/* Auth */
.cliba-auth-card {
    width: 100%;
    max-width: 28rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 15, 24, 0.95);
    padding: 1.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

@media (min-width: 576px) {
    .cliba-auth-card { border-radius: 1.5rem; padding: 2rem; }
}

.cliba-auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.375rem;
}

.cliba-auth-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
}

.cliba-auth-input:focus {
    border-color: rgba(230, 138, 46, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(230, 138, 46, 0.2);
    outline: none;
}

.cliba-auth-btn {
    width: 100%;
    border-radius: 50px;
    background: var(--cliba-orange);
    color: #fff;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border: none;
    transition: background 0.2s;
}

.cliba-auth-btn:hover { background: var(--cliba-orange-hover); color: #fff; }

.cliba-auth-link {
    color: var(--cliba-orange);
    text-decoration: none;
    font-weight: 500;
}

.cliba-auth-link:hover { color: var(--cliba-orange-hover); }

/* Blog prose */
.blog-prose {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #3f3f46;
}

.blog-prose h1, .blog-prose h2, .blog-prose h3 {
    font-family: 'Playfair Display', serif;
    color: var(--cliba-purple);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-prose a {
    color: var(--cliba-orange);
    text-decoration: none;
}

.blog-prose a:hover { text-decoration: underline; }

.blog-prose blockquote {
    border-left: 4px solid var(--cliba-orange);
    padding-left: 1rem;
    color: rgba(74, 14, 46, 0.8);
}

/* Hero image */
.cliba-hero-image {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 420px;
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cliba-hero-image { margin: 0; max-height: min(520px, 70vh); }
}

@media (min-width: 992px) {
    .cliba-hero-image { aspect-ratio: 3/4; }
}

/* Trust items */
.cliba-trust-item {
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliba-trust-item {
        text-align: left;
        border-right: 1px solid #f3f4f6;
    }
    .cliba-trust-item:last-child { border-right: none; }
}

/* Avatar stack */
.cliba-avatar-stack {
    display: flex;
    margin-top: 1.25rem;
}

.cliba-avatar-stack img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--cliba-card-dark);
    margin-left: -8px;
    object-fit: cover;
}

.cliba-avatar-stack img:first-child { margin-left: 0; }

/* Treatment page */
.cliba-treatment-card {
    background: var(--cliba-purple);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(74, 14, 46, 0.35);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cliba-treatment-cta-card {
    border: 2px solid rgba(247, 37, 133, 0.3);
    border-radius: 1rem;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Utilities */
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

.tracking-widest { letter-spacing: 0.2em; }
.tracking-wide-label { letter-spacing: 0.15em; }

.cliba-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cliba-orange);
}

.cliba-hero-reserve { padding-bottom: 3.5rem; }
@media (min-width: 576px) { .cliba-hero-reserve { padding-bottom: 4rem; } }
@media (min-width: 992px) { .cliba-hero-reserve { padding-bottom: 4.5rem; } }

.cliba-account-card-desktop {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

@media (min-width: 1200px) {
    .cliba-account-card-desktop { display: block; right: 2rem; }
}

/* Pagination */
.cliba-pagination .page-link {
    border-radius: 50px;
    margin: 0 0.25rem;
    color: var(--cliba-purple);
    border-color: rgba(74, 14, 46, 0.15);
}

.cliba-pagination .page-item.active .page-link {
    background: var(--cliba-orange);
    border-color: var(--cliba-orange);
    box-shadow: 0 4px 6px -1px rgba(230, 138, 46, 0.2);
}

.cliba-pagination .page-link:hover {
    border-color: rgba(230, 138, 46, 0.4);
    background: rgba(74, 14, 46, 0.05);
}
