/* ================================================
   Pelora — Category Page Styles
   Extracted from categories/category.html inline <style>
   ================================================ */

/* Category-specific styles (not in global.css) */
.hero {
    isolation: isolate;
    min-height: clamp(560px, 82vh, 860px);
    min-height: clamp(560px, 82svh, 860px);
}

@supports (min-height: 100dvh) {
    .hero {
        min-height: clamp(560px, 82dvh, 860px);
    }
}

.hero .container {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: min(760px, 100%);
    margin: 0 auto;
    padding: 2.75rem 1rem;
}

.hero h1 {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.06;
}

.hero-subtitle {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(238, 233, 255, 0.84);
}

#hero-cta {
    position: relative;
    z-index: 1;
    box-shadow: 0 14px 30px rgba(124, 76, 255, 0.24);
    animation: categoryHeroButtonGlow 6.5s ease-in-out infinite;
}

.hero-bg {
    z-index: 0;
    transform: scale(1.04);
    transform-origin: center;
    filter: saturate(1.08) brightness(1.02);
    animation: categoryHeroBgDrift 24s ease-in-out infinite alternate;
    will-change: transform, filter;
}

.category-hero-aurora,
.category-hero-glow,
.category-hero-stars,
.category-hero-traces,
.category-hero-motifs {
    position: absolute;
    pointer-events: none;
}

.category-hero-aurora {
    inset: -10% -8%;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 28%, rgba(165, 126, 255, 0.22) 0%, transparent 34%),
        radial-gradient(circle at 78% 22%, rgba(133, 103, 255, 0.18) 0%, transparent 30%),
        radial-gradient(circle at 54% 72%, rgba(255, 255, 255, 0.09) 0%, transparent 24%);
    mix-blend-mode: screen;
    opacity: 0.78;
    filter: blur(10px);
    animation: categoryHeroAuroraMove 18s ease-in-out infinite alternate;
}

.category-hero-glow {
    z-index: 2;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(173, 141, 255, 0.24) 0%, rgba(124, 76, 255, 0.11) 34%, transparent 72%);
    filter: blur(4px);
    opacity: 0.46;
    animation: categoryHeroGlowPulse 10s ease-in-out infinite;
}

.category-hero-glow--left {
    left: -6%;
    bottom: -8%;
    width: clamp(220px, 30vw, 440px);
    aspect-ratio: 1;
    animation-delay: -2.5s;
}

.category-hero-glow--right {
    right: -7%;
    top: -10%;
    width: clamp(180px, 24vw, 360px);
    aspect-ratio: 1;
    opacity: 0.38;
    animation-delay: -6s;
}

.category-hero-stars,
.category-hero-traces,
.category-hero-motifs {
    inset: 0;
}

.category-hero-stars {
    z-index: 3;
}

.category-hero-traces {
    z-index: 2;
}

.category-hero-star {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(221, 206, 255, 0.82) 38%, transparent 74%);
    box-shadow: 0 0 10px rgba(204, 181, 255, 0.28);
    opacity: 0.1;
    animation: categoryHeroStarTwinkle 9s ease-in-out infinite;
    will-change: transform, opacity;
}

.category-hero-star::before,
.category-hero-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    opacity: 0.6;
}

.category-hero-star::before {
    width: 180%;
    height: 1px;
    transform: translate(-50%, -50%);
}

.category-hero-star::after {
    width: 1px;
    height: 180%;
    transform: translate(-50%, -50%);
}

.category-hero-star:nth-child(1) {
    top: 16%;
    left: 8%;
    width: 3.6px;
    height: 3.6px;
    animation-duration: 10.4s;
    animation-delay: 0.8s;
}

.category-hero-star:nth-child(2) {
    top: 24%;
    left: 19%;
    width: 2.4px;
    height: 2.4px;
    animation-duration: 8.6s;
    animation-delay: 3.2s;
}

.category-hero-star:nth-child(3) {
    top: 13%;
    left: 34%;
    width: 2.8px;
    height: 2.8px;
    animation-duration: 9.8s;
    animation-delay: 1.6s;
}

.category-hero-star:nth-child(4) {
    top: 30%;
    left: 48%;
    width: 3.2px;
    height: 3.2px;
    animation-duration: 11.2s;
    animation-delay: 4.6s;
}

.category-hero-star:nth-child(5) {
    top: 12%;
    left: 61%;
    width: 2.6px;
    height: 2.6px;
    animation-duration: 8.4s;
    animation-delay: 2.4s;
}

.category-hero-star:nth-child(6) {
    top: 18%;
    left: 79%;
    width: 3.8px;
    height: 3.8px;
    animation-duration: 12.6s;
    animation-delay: 5.2s;
}

.category-hero-star:nth-child(7) {
    top: 41%;
    left: 14%;
    width: 2.8px;
    height: 2.8px;
    animation-duration: 10.8s;
    animation-delay: 2.8s;
}

.category-hero-star:nth-child(8) {
    top: 55%;
    left: 28%;
    width: 3.4px;
    height: 3.4px;
    animation-duration: 13.4s;
    animation-delay: 6.1s;
}

.category-hero-star:nth-child(9) {
    top: 64%;
    left: 52%;
    width: 2.5px;
    height: 2.5px;
    animation-duration: 9.6s;
    animation-delay: 3.6s;
}

.category-hero-star:nth-child(10) {
    top: 47%;
    left: 73%;
    width: 3px;
    height: 3px;
    animation-duration: 12.1s;
    animation-delay: 7.1s;
}

.category-hero-star:nth-child(11) {
    top: 70%;
    left: 84%;
    width: 2.2px;
    height: 2.2px;
    animation-duration: 8.8s;
    animation-delay: 1.9s;
}

.category-hero-star:nth-child(12) {
    top: 76%;
    left: 11%;
    width: 3.1px;
    height: 3.1px;
    animation-duration: 11.7s;
    animation-delay: 5.8s;
}

.category-hero-star:nth-child(13) {
    top: 9%;
    left: 46%;
    width: 2.3px;
    height: 2.3px;
    animation-duration: 7.9s;
    animation-delay: 0.4s;
}

.category-hero-star:nth-child(14) {
    top: 37%;
    left: 63%;
    width: 2.7px;
    height: 2.7px;
    animation-duration: 10.9s;
    animation-delay: 5.4s;
}

.category-hero-star:nth-child(15) {
    top: 61%;
    left: 36%;
    width: 2.1px;
    height: 2.1px;
    animation-duration: 9.1s;
    animation-delay: 2.1s;
}

.category-hero-star:nth-child(16) {
    top: 82%;
    left: 67%;
    width: 2.8px;
    height: 2.8px;
    animation-duration: 12.9s;
    animation-delay: 6.4s;
}

.category-hero-trace {
    --trace-x: 50%;
    --trace-y: 50%;
    --trace-length: clamp(44px, 10vw, 116px);
    --trace-rotation: 0deg;
    --trace-opacity: 0.28;
    --trace-thickness: 1.2px;
    --trace-duration: 12s;
    --trace-delay: 0s;
    position: absolute;
    top: var(--trace-y);
    left: var(--trace-x);
    width: var(--trace-length);
    height: var(--trace-thickness);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 10%, rgba(244, 239, 255, 0.9) 48%, rgba(203, 176, 255, 0.76) 64%, rgba(255, 255, 255, 0.14) 90%, transparent 100%);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) rotate(var(--trace-rotation)) scaleX(0.74);
    transform-origin: center;
    box-shadow: 0 0 10px rgba(191, 166, 255, 0.08);
    filter: blur(0.18px);
    mix-blend-mode: screen;
    animation: categoryHeroTraceSpark var(--trace-duration) ease-in-out infinite;
    animation-delay: var(--trace-delay);
    will-change: transform, opacity, box-shadow;
}

.category-hero-trace::before,
.category-hero-trace::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(214, 189, 255, 0.52) 44%, transparent 76%);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.55);
    animation: categoryHeroTraceNode var(--trace-duration) ease-in-out infinite;
    animation-delay: var(--trace-delay);
}

.category-hero-trace::before {
    left: 16%;
}

.category-hero-trace::after {
    left: 84%;
}

.category-hero-motifs {
    z-index: 2;
}

.category-hero-motif {
    --category-hero-rotation: 0deg;
    --category-motif-delay: 0s;
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(64px, 7vw, 112px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(235, 229, 255, 0.1);
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.14), rgba(162, 122, 255, 0.08) 46%, transparent 72%);
    box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.06), 0 0 26px rgba(124, 76, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
    opacity: 0.4;
    animation: categoryHeroMotifFloat 12s ease-in-out infinite;
    will-change: transform, opacity;
}

.category-hero-motif:nth-child(1) {
    top: 16%;
    left: 8%;
    --category-hero-rotation: -8deg;
    animation-delay: 0s;
    --category-motif-delay: -1.3s;
}

.category-hero-motif:nth-child(2) {
    top: 14%;
    right: 10%;
    width: clamp(58px, 6.2vw, 94px);
    --category-hero-rotation: 7deg;
    animation-delay: -3.5s;
    --category-motif-delay: -4.4s;
}

.category-hero-motif:nth-child(3) {
    left: 16%;
    bottom: 13%;
    width: clamp(56px, 5.8vw, 88px);
    --category-hero-rotation: 10deg;
    animation-delay: -5.4s;
    --category-motif-delay: -2.8s;
}

.category-hero-motif:nth-child(4) {
    right: 17%;
    bottom: 11%;
    width: clamp(60px, 6.4vw, 96px);
    --category-hero-rotation: -12deg;
    animation-delay: -1.8s;
    --category-motif-delay: -6.2s;
}

.category-hero-motif svg {
    width: 52%;
    height: 52%;
    color: rgba(239, 233, 255, 0.54);
    overflow: visible;
    filter: drop-shadow(0 0 0 rgba(225, 205, 255, 0));
    animation: categoryHeroMotifGlyphGlow 11.8s ease-in-out infinite;
    animation-delay: var(--category-motif-delay);
    will-change: filter, opacity;
}

.category-hero-motif svg path,
.category-hero-motif svg circle,
.category-hero-motif svg rect,
.category-hero-motif svg line,
.category-hero-motif svg polyline,
.category-hero-motif svg polygon {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.76;
    animation: categoryHeroMotifStrokePulse 11.8s ease-in-out infinite;
    animation-delay: var(--category-motif-delay);
}

.category-hero-motif svg image {
    opacity: 0.85;
    filter: drop-shadow(0 0 0 rgba(225, 205, 255, 0));
    animation: categoryHeroMotifGlyphGlow 11.8s ease-in-out infinite;
    animation-delay: var(--category-motif-delay);
}

.back-btn {
    top: max(92px, calc(env(safe-area-inset-top, 0px) + 84px));
    left: max(1rem, calc(env(safe-area-inset-left, 0px) + 0.75rem));
}

@keyframes categoryHeroBgDrift {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
        filter: saturate(1.08) brightness(1.02);
    }

    50% {
        transform: scale(1.075) translate3d(0.35rem, -0.45rem, 0);
        filter: saturate(1.12) brightness(1.05);
    }

    100% {
        transform: scale(1.06) translate3d(-0.25rem, 0.4rem, 0);
        filter: saturate(1.1) brightness(1.03);
    }
}

@keyframes categoryHeroAuroraMove {
    0% {
        transform: translate3d(-1%, 0, 0) scale(1);
        opacity: 0.66;
    }

    50% {
        transform: translate3d(1.8%, -2.4%, 0) scale(1.04);
        opacity: 0.82;
    }

    100% {
        transform: translate3d(-0.8%, 1.6%, 0) scale(1.02);
        opacity: 0.74;
    }
}

@keyframes categoryHeroGlowPulse {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.28;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.54;
    }
}

@keyframes categoryHeroStarTwinkle {
    0%,
    100% {
        opacity: 0.06;
        transform: scale(0.45);
    }

    18% {
        opacity: 0.08;
        transform: scale(0.5);
    }

    34% {
        opacity: 0.8;
        transform: scale(1);
    }

    46% {
        opacity: 0.2;
        transform: scale(0.72);
    }
}

@keyframes categoryHeroTraceSpark {
    0%,
    17%,
    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) rotate(var(--trace-rotation)) scaleX(0.74);
        box-shadow: 0 0 10px rgba(191, 166, 255, 0.04);
    }

    29% {
        opacity: var(--trace-opacity, 0.28);
        transform: translate3d(-50%, -50%, 0) rotate(var(--trace-rotation)) scaleX(1);
        box-shadow: 0 0 18px rgba(214, 191, 255, 0.26);
    }

    42% {
        opacity: 0.1;
        transform: translate3d(-50%, -50%, 0) rotate(var(--trace-rotation)) scaleX(0.88);
        box-shadow: 0 0 12px rgba(214, 191, 255, 0.12);
    }
}

@keyframes categoryHeroTraceNode {
    0%,
    18%,
    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.55);
    }

    30% {
        opacity: 0.88;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }

    43% {
        opacity: 0.14;
        transform: translate3d(-50%, -50%, 0) scale(0.72);
    }
}

@keyframes categoryHeroMotifGlyphGlow {
    0%,
    100% {
        opacity: 0.84;
        filter: drop-shadow(0 0 0 rgba(225, 205, 255, 0));
    }

    32% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(218, 196, 255, 0.3));
    }

    46% {
        opacity: 0.9;
        filter: drop-shadow(0 0 4px rgba(218, 196, 255, 0.12));
    }
}

@keyframes categoryHeroMotifStrokePulse {
    0%,
    100% {
        opacity: 0.66;
    }

    32% {
        opacity: 0.98;
    }

    46% {
        opacity: 0.82;
    }
}

@keyframes categoryHeroMotifFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(var(--category-hero-rotation, 0deg));
        opacity: 0.28;
    }

    50% {
        transform: translate3d(0, -10px, 0) rotate(calc(var(--category-hero-rotation, 0deg) + 5deg));
        opacity: 0.48;
    }
}

@keyframes categoryHeroButtonGlow {
    0%,
    100% {
        box-shadow: 0 14px 30px rgba(124, 76, 255, 0.24);
    }

    50% {
        box-shadow: 0 18px 38px rgba(124, 76, 255, 0.34);
    }
}

.category-header {
    text-align: center;
    padding: max(6.5rem, calc(env(safe-area-inset-top, 0px) + 5.75rem)) 0 3rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-nav-inner::after {
    content: '';
    flex: 0 0 1rem;
}

.category-icon svg {
    width: 40px;
    height: 40px;
    display: block;
    overflow: visible;
    fill: white;
}

.category-icon svg image {
    width: 100%;
    height: 100%;
}

.advisors-section {
    padding: 4rem 0;
}

.category-empty-state {
    margin-top: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.category-load-more {
    width: 100%;
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
}

.category-load-more-meta {
    width: 100%;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.category-load-more-btn {
    align-self: center;
    min-width: 180px;
}

.category-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    margin: 1.25rem 0 1.5rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.category-filter-field {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.category-filter-field label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price-range-values {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.price-range-separator,
.price-range-suffix {
    color: var(--text-secondary);
}

.price-range-slider {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
}

.price-range-track,
.price-range-track-active {
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
    pointer-events: none;
}

.price-range-track {
    background: rgba(255, 255, 255, 0.12);
}

.price-range-track-active {
    right: auto;
    background: linear-gradient(90deg, rgba(124, 76, 255, 0.85), rgba(164, 133, 255, 0.95));
    box-shadow: 0 0 18px rgba(124, 76, 255, 0.32);
}

.price-range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    width: 100%;
    margin: 0;
    background: transparent;
    pointer-events: none;
}

.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.price-range-slider input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(124, 76, 255, 0.18);
    cursor: pointer;
    pointer-events: auto;
    margin-top: -6px;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(124, 76, 255, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.online-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(15, 11, 43, 0.42);
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
}

.online-toggle input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
}

.online-toggle span {
    font-size: 0.88rem;
    font-weight: 600;
}

.info-section {
    padding: 4rem 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    margin-bottom: 2rem;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.back-btn {
    position: fixed;
    top: 100px;
    left: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    z-index: 100;
}

.back-btn:hover {
    background: var(--accent-primary);
    transform: translateX(-5px);
}

.back-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Categories Navigation (same visual language as homepage category cards) */
.cat-nav {
    padding: 0;
    background: rgba(15, 11, 43, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.cat-nav .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.cat-nav-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 0.6rem;
    overflow: visible;
    padding: 0.75rem 0;
    justify-content: stretch;
}
.cat-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    padding: 0.85rem 0.45rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    font-size: 0.85rem;
}
.cat-nav-btn:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.cat-nav-btn.active {
    background: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}
.cat-nav-btn span { display: -webkit-box; width: 100%; max-width: none; overflow: hidden; white-space: normal; overflow-wrap: anywhere; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.92rem; font-weight: 600; line-height: 1.2; text-align: center; }
.cat-nav-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
    vector-effect: non-scaling-stroke;
    flex-shrink: 0;
}

.cat-nav-btn svg * {
    vector-effect: non-scaling-stroke;
}

@media (max-width: 768px) {
    .hero {
        min-height: clamp(500px, 74vh, 760px);
        min-height: clamp(500px, 74svh, 760px);
        padding: max(5.5rem, calc(4.8rem + env(safe-area-inset-top, 0px))) 0 max(1.75rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
    }

    @supports (min-height: 100dvh) {
        .hero {
            min-height: clamp(500px, 74dvh, 760px);
        }
    }

    .hero .container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .hero-content {
        max-width: 620px;
        padding: 1.75rem 0.5rem 1.25rem;
    }

    .category-hero-aurora {
        inset: -8% -15%;
        opacity: 0.7;
    }

    .category-hero-glow--left {
        left: -18%;
        bottom: -8%;
        width: clamp(180px, 34vw, 260px);
    }

    .category-hero-glow--right {
        right: -14%;
        top: -10%;
        width: clamp(150px, 30vw, 220px);
    }

    .category-hero-motif {
        width: clamp(56px, 12vw, 88px);
        opacity: 0.34;
    }

    .category-hero-trace {
        width: min(var(--trace-length), 88px);
    }

    .category-header { padding: max(5.75rem, calc(env(safe-area-inset-top, 0px) + 5rem)) 0 2rem; }
    .advisors-section,
    .info-section { padding: 2.5rem 0; }
    .category-filters { grid-template-columns: 1fr; }
    .price-filter-header { flex-direction: column; align-items: flex-start; }
    .price-range-values { justify-content: flex-start; }
    .info-content p { font-size: 0.95rem; line-height: 1.6; }
    .features-grid { grid-template-columns: 1fr; }
    .back-btn { display: none; }
    .cat-nav { padding: 1.15rem 0; }
    .cat-nav-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.65rem;
        padding: 0.1rem 0 0.35rem;
        width: 100%;
        min-width: 0;
        margin: 0;
        justify-content: stretch;
    }
    .cat-nav-btn {
        min-height: 82px;
        padding: 0.75rem 0.45rem;
        border-radius: 16px;
    }
    .cat-nav-btn span { font-size: 0.84rem; }
    .cat-nav-btn svg { width: 20px; height: 20px; }
}

@media (max-width: 520px) {
    .cat-nav-inner {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.7rem;
        padding: 0.2rem 0 0.35rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .cat-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .cat-nav-btn {
        flex: 0 0 124px;
        width: 124px;
        min-height: 76px;
        padding: 0.65rem 0.4rem;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .cat-nav-btn span { font-size: 0.78rem; line-height: 1.15; }
    .cat-nav-btn svg { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
    .hero {
        min-height: clamp(460px, 72vh, 680px);
        min-height: clamp(460px, 72svh, 680px);
        padding: max(5rem, calc(4.35rem + env(safe-area-inset-top, 0px))) 0 max(1.25rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
    }

    @supports (min-height: 100dvh) {
        .hero {
            min-height: clamp(460px, 72dvh, 680px);
        }
    }

    .hero-content {
        max-width: 100%;
        padding: 1.25rem 0.25rem 0.75rem;
    }

    .hero h1 {
        max-width: 10.5ch;
        line-height: 1.08;
    }

    .hero-subtitle {
        max-width: 20rem;
    }

    #hero-cta {
        min-width: 156px;
    }

    .category-hero-aurora {
        inset: -10% -18%;
        opacity: 0.62;
        filter: blur(14px);
    }

    .category-hero-glow--left {
        left: -24%;
        bottom: -16%;
        width: 180px;
        opacity: 0.34;
    }

    .category-hero-glow--right {
        right: -22%;
        top: -12%;
        width: 160px;
        opacity: 0.3;
    }

    .category-hero-motif {
        width: 58px;
        opacity: 0.3;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .category-hero-trace {
        width: min(var(--trace-length), 70px);
    }

    .category-hero-motif:nth-child(3),
    .category-hero-motif:nth-child(4),
    .category-hero-star:nth-child(10),
    .category-hero-star:nth-child(11),
    .category-hero-star:nth-child(12),
    .category-hero-star:nth-child(13),
    .category-hero-star:nth-child(14),
    .category-hero-star:nth-child(15),
    .category-hero-star:nth-child(16),
    .category-hero-trace:nth-child(5),
    .category-hero-trace:nth-child(6) {
        display: none;
    }

    .category-header { padding: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.75rem)) 0 1.75rem; }
    .category-icon { width: 64px; height: 64px; margin-bottom: 1rem; }
    .category-icon svg { width: 32px; height: 32px; }
    .advisors-section,
    .info-section { padding: 2.25rem 0; }
    .category-filters { padding: 0.9rem; gap: 0.6rem; }
    .info-content h2,
    #advisors-heading { font-size: 1.4rem; }
    .cat-nav { padding: 1.05rem 0; }
    .cat-nav-btn {
        flex-basis: 116px;
        width: 116px;
    }
    .cat-nav-btn span { font-size: 0.78rem; line-height: 1.15; }
    .cat-nav-btn svg { width: 18px; height: 18px; }
}

@media (max-width: 375px) {
    .hero {
        min-height: clamp(420px, 70vh, 620px);
        min-height: clamp(420px, 70svh, 620px);
    }

    @supports (min-height: 100dvh) {
        .hero {
            min-height: clamp(420px, 70dvh, 620px);
        }
    }

    .hero h1 {
        max-width: 9.2ch;
    }

    .hero-subtitle {
        max-width: 17rem;
    }

    .category-hero-trace:nth-child(4) {
        display: none;
    }

    .category-hero-star:nth-child(7),
    .category-hero-star:nth-child(8),
    .category-hero-star:nth-child(9) {
        display: none;
    }

    .category-header { padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) 0 1.5rem; }
    .advisors-section,
    .info-section { padding: 2rem 0; }
    .cat-nav { padding: 0.95rem 0; }
    .cat-nav-inner { gap: 0.6rem; }
    .cat-nav-btn { width: 108px; min-height: 72px; border-radius: 13px; }
    .cat-nav-btn span { font-size: 0.74rem; }
    .cat-nav-btn svg { width: 17px; height: 17px; }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: clamp(420px, 100vh, 560px);
        min-height: clamp(420px, 100svh, 560px);
        padding: max(4.5rem, calc(4rem + env(safe-area-inset-top, 0px))) 0 max(1rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
    }

    @supports (min-height: 100dvh) {
        .hero {
            min-height: clamp(420px, 100dvh, 560px);
        }
    }

    .hero-content {
        padding: 1rem 0.5rem;
    }

    .category-hero-trace:nth-child(4),
    .category-hero-trace:nth-child(5),
    .category-hero-trace:nth-child(6),
    .category-hero-motif:nth-child(3),
    .category-hero-motif:nth-child(4),
    .category-hero-star:nth-child(9),
    .category-hero-star:nth-child(10),
    .category-hero-star:nth-child(11),
    .category-hero-star:nth-child(12),
    .category-hero-star:nth-child(13),
    .category-hero-star:nth-child(14),
    .category-hero-star:nth-child(15),
    .category-hero-star:nth-child(16) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg,
    .category-hero-aurora,
    .category-hero-glow,
    .category-hero-star,
    .category-hero-trace,
    .category-hero-motif,
    .category-hero-motif svg,
    .category-hero-motif svg path,
    .category-hero-motif svg circle,
    .category-hero-motif svg rect,
    .category-hero-motif svg line,
    .category-hero-motif svg polyline,
    .category-hero-motif svg polygon,
    .category-hero-motif svg image,
    #hero-cta {
        animation: none !important;
    }

    .hero-bg {
        transform: none;
    }

    .category-hero-star {
        opacity: 0.2;
    }

    .category-hero-trace {
        opacity: 0.1;
        transform: translate3d(-50%, -50%, 0) rotate(var(--trace-rotation)) scaleX(1);
    }

    .category-hero-trace::before,
    .category-hero-trace::after {
        animation: none !important;
        opacity: 0.14;
        transform: translate3d(-50%, -50%, 0) scale(0.72);
    }

    .category-hero-motif {
        opacity: 0.26;
    }

    .category-hero-motif svg path,
    .category-hero-motif svg circle,
    .category-hero-motif svg rect,
    .category-hero-motif svg line,
    .category-hero-motif svg polyline,
    .category-hero-motif svg polygon {
        opacity: 0.82;
    }
}

.hero-bg {
    filter: saturate(1.02) brightness(1.08);
}

.hero-subtitle {
    color: rgba(75, 58, 110, 0.82);
}

#hero-cta {
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.18);
}

.category-header,
.info-section {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(143, 113, 228, 0.14);
    box-shadow: 0 18px 38px rgba(111, 92, 170, 0.08);
}

.category-filters {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(143, 113, 228, 0.16);
    box-shadow: 0 16px 34px rgba(111, 92, 170, 0.08);
}

.price-range-track {
    background: rgba(143, 113, 228, 0.14);
}

.price-range-track-active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.82), rgba(192, 132, 252, 0.92));
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.2);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb,
.price-range-slider input[type="range"]::-moz-range-thumb {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.online-toggle,
.back-btn {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(143, 113, 228, 0.16);
    color: var(--text-primary);
    box-shadow: 0 10px 24px rgba(126, 92, 197, 0.08);
}

.back-btn:hover {
    color: #fff;
}

.feature-item {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(143, 113, 228, 0.14);
    box-shadow: 0 14px 30px rgba(111, 92, 170, 0.08);
}

.cat-nav {
    background: rgba(255, 255, 255, 0.56);
    border-bottom-color: rgba(143, 113, 228, 0.14);
}

.cat-nav-btn {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 22px rgba(126, 92, 197, 0.06);
}

.cat-nav-btn:hover,
.cat-nav-btn.active {
    color: #fff;
}
