/* ============================================
   ServiceAzi — Home Page (redesign)
   Scoped to .home-page only
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.home-page,
.categorii-page {
    --home-font: 'Plus Jakarta Sans', var(--font);
    --home-ink: #0c1222;
    --home-ink-soft: #4a5568;
    --home-ink-muted: #718096;
    --home-surface: #ffffff;
    --home-surface-alt: #ffffff;
    --home-accent: #2563eb;
    --home-accent-glow: rgba(37, 99, 235, 0.35);
    --home-accent-2: #7c3aed;
    --home-gold: #f59e0b;
    --home-dark: #070b14;
    --home-dark-card: rgba(0, 0, 0, 0.03);
    --home-border: rgba(0, 0, 0, 0.08);
    --home-radius: 20px;
    --home-radius-lg: 28px;
    background: var(--home-surface);
}

.home-page .home-wrap,
.categorii-page .home-wrap,
.categorii-page .categorii-wrap {
    font-family: var(--home-font);
    overflow-x: clip;
    background: #fff;
}

.home-page .footer,
.categorii-page .footer {
    background: #fff;
    border-top: 1px solid #e8ecf0;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero ── */
.home-hero {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    min-height: calc(100dvh - var(--navbar-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--navbar-height) + 48px) 0 80px;
    background: #fff;
    color: var(--home-ink);
    overflow: hidden;
}

.home-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37, 99, 235, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
}

.home-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.home-hero__title em {
    font-style: normal;
    display: inline;
    background: linear-gradient(
        90deg,
        #0040ff 0%,
        #0066ff 8%,
        #38bdf8 16%,
        #2563eb 24%,
        #ff0033 32%,
        #ff1744 40%,
        #ef4444 48%,
        #ff0033 56%,
        #2563eb 64%,
        #0066ff 72%,
        #0040ff 80%,
        #ff1744 88%,
        #0066ff 96%,
        #0040ff 100%
    );
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #2563eb;
    animation: homeHeroLiquid 11s ease-in-out infinite alternate;
}

@keyframes homeHeroLiquid {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.home-hero__desc {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--home-ink-soft);
    max-width: 480px;
    margin-bottom: 36px;
}

.home-hero__desc strong {
    color: var(--home-ink);
    font-weight: 700;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    font-family: var(--home-font);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
}

.home-btn--primary {
    background: var(--home-accent);
    color: #fff;
}

.home-btn--primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.home-btn--ghost {
    background: rgba(0, 0, 0, 0.05);
    color: var(--home-ink);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.home-btn--ghost:hover {
    background: rgba(0, 0, 0, 0.09);
    border-color: rgba(0, 0, 0, 0.25);
    color: var(--home-ink);
}

.home-btn--light {
    background: #fff;
    color: var(--home-accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.home-btn--light:hover {
    background: #f8fafc;
    color: #1d4ed8;
}

.home-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.home-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-hero__stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.home-hero__stat-num span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.6;
}

.home-hero__stat-label {
    font-size: 0.8125rem;
    color: var(--home-ink-muted);
    font-weight: 500;
}

/* Hero visual — category orbit */
.home-hero__visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.home-orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-orbit__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    animation: home-orbit-spin 60s linear infinite;
}

.home-orbit__ring--1 { width: 100%; height: 100%; }
.home-orbit__ring--2 { width: 72%; height: 72%; animation-direction: reverse; animation-duration: 45s; }
.home-orbit__ring--3 { width: 44%; height: 44%; animation-duration: 30s; }

@keyframes home-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.home-orbit__core {
    position: relative;
    z-index: 3;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 32px rgba(37, 99, 235, 0.12);
}

.home-orbit__core-num {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--home-ink);
}

.home-orbit__core-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--home-ink-muted);
    margin-top: 4px;
}

.home-orbit__node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: home-float 4s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.home-orbit__node svg {
    width: 20px;
    height: 20px;
    color: var(--home-accent);
}

.home-orbit__node:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
    transform: scale(1.15);
    z-index: 5;
}

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

/* Marquee strip */
.home-marquee {
    position: relative;
    z-index: 2;
    margin-top: 64px;
    padding: 20px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-marquee__track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: home-marquee 55s linear infinite;
}

.home-marquee__track--reverse {
    animation-direction: reverse;
    animation-duration: 62s;
    margin-top: 10px;
}

@keyframes home-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-marquee__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-ink-soft);
    background: #f5f5f7;
    border: 1px solid #e8ecf0;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.home-marquee__chip svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.home-marquee__chip:hover {
    background: #eef2ff;
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--home-accent);
}

/* ── Category Explorer (categorii page) ── */
.categorii-page {
    background: #fff;
    overflow-x: hidden;
}

.categorii-page__main {
    padding-top: calc(var(--navbar-height) + 48px);
}

.categorii-page .home-explorer.categorii-page__main {
    padding-top: calc(var(--navbar-height) + 64px);
    padding-bottom: 72px;
}

.categorii-page .home-explorer {
    background: #fff;
    color: var(--home-ink);
}

.categorii-page .home-explorer::before {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.12), transparent);
}

.categorii-page .home-explorer__badge {
    color: var(--home-accent);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

.categorii-page .home-explorer__title {
    color: var(--home-ink);
}

.categorii-page .home-explorer__subtitle {
    color: var(--home-ink-soft);
}

.categorii-page .home-explorer__search svg {
    color: var(--home-ink-muted);
}

.categorii-page .home-explorer__search input {
    background: #fff;
    border-color: #e2e8f0;
    color: var(--home-ink);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.categorii-page .home-explorer__search input::placeholder {
    color: var(--home-ink-muted);
}

.categorii-page .home-explorer__search input:focus {
    border-color: var(--home-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.categorii-page .home-explorer__toolbar {
    position: relative;
}

.categorii-page .home-filter {
    color: var(--home-ink-soft);
    background: #fff;
    border-color: #e2e8f0;
}

.categorii-page .home-filter:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
}

.categorii-page .home-filter.is-active {
    background: var(--home-accent);
    border-color: var(--home-accent);
    color: #fff;
    box-shadow: none;
}

.categorii-page .home-bento__card {
    background: #fff;
    border-color: #e8ecf4;
}

.categorii-page .home-bento__card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.categorii-page .home-bento__card:hover .home-bento__icon {
    background: var(--card-accent, var(--home-accent));
    color: #fff;
    transform: scale(1.08) rotate(-3deg);
}

.categorii-page .home-bento__name {
    color: var(--home-ink);
}

.categorii-page .home-bento__arrow {
    background: #fff;
    border: 1px solid #e8ecf0;
    color: var(--home-accent);
}

.categorii-page .home-bento__empty {
    color: var(--home-ink-muted);
}

.categorii-page .categorii-wrap {
    background: #fff;
}

.categorii-marquee {
    margin-top: 0;
    border-top: none;
    background: #fff;
    position: relative;
    z-index: 1;
    padding-bottom: 56px;
}

.home-explorer {
    padding: 100px 0 120px;
    background: #fff;
    position: relative;
}

.home-explorer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.home-explorer__header {
    text-align: left;
    max-width: 680px;
    margin: 0 0 48px;
    padding: 0;
}

.home-explorer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--home-accent);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.home-explorer__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--home-ink);
    margin-bottom: 16px;
    line-height: 1.15;
}

.home-explorer__subtitle {
    font-size: 1.0625rem;
    color: var(--home-ink-soft);
    line-height: 1.7;
}

.home-explorer__toolbar {
    max-width: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-explorer__search {
    position: relative;
    max-width: 480px;
    margin: 0;
    width: 100%;
}

.home-explorer__search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--home-ink-muted);
    pointer-events: none;
}

.home-explorer__search input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-family: var(--home-font);
    font-size: 0.9375rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: var(--home-ink);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.home-explorer__search input:focus {
    outline: none;
    border-color: var(--home-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.home-explorer__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.home-filter {
    padding: 10px 20px;
    font-family: var(--home-font);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-ink-soft);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.home-filter:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
}

.home-filter.is-active {
    background: var(--home-accent);
    border-color: var(--home-accent);
    color: #fff;
    box-shadow: none;
}

.home-bento {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.home-bento__card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: var(--home-radius);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 130px;
}

.home-bento__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--home-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-bento__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

.home-bento__card:hover::before {
    opacity: 1;
}

.home-bento__card.is-hidden {
    display: none;
}

.home-bento__card--wide {
    grid-column: span 6;
}

.home-bento__card--tall {
    grid-row: span 2;
    min-height: 280px;
    justify-content: center;
}

.home-bento__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--card-accent-bg, rgba(37, 99, 235, 0.1));
    color: var(--card-accent, var(--home-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.home-bento__card:hover .home-bento__icon {
    background: var(--card-accent, var(--home-accent));
    color: #fff;
    transform: scale(1.08) rotate(-3deg);
}

.home-bento__icon svg {
    width: 24px;
    height: 24px;
}

.home-bento__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--home-ink);
    line-height: 1.35;
}

.home-bento__arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(4px, 4px);
    transition: all 0.3s ease;
    color: var(--card-accent, var(--home-accent));
}

.home-bento__card:hover .home-bento__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.home-bento__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--home-ink-muted);
    font-size: 1rem;
    display: none;
}

.home-bento__empty.is-visible {
    display: block;
}

/* Desktop — categorii mai compacte */
@media (min-width: 769px) {
    .home-bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .home-bento__card {
        grid-column: span 1;
        flex-direction: row;
        align-items: center;
        gap: 11px;
        padding: 12px 14px;
        min-height: 0;
        border-radius: 14px;
    }

    .home-bento__card--wide,
    .home-bento__card--tall {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 0;
    }

    .home-bento__icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .home-bento__icon svg {
        width: 17px;
        height: 17px;
    }

    .home-bento__card:hover .home-bento__icon {
        transform: none;
    }

    .home-bento__name {
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .home-bento__arrow {
        display: none;
    }

    .home-bento__card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    }

    .home-hero__visual {
        max-width: 400px;
    }

    .home-hero {
        padding-top: calc(var(--navbar-height) + 64px);
    }

    .categorii-page__main {
        padding-top: calc(var(--navbar-height) + 64px);
    }

    .home-hero__title {
        font-size: clamp(2.25rem, 4.2vw, 3.625rem);
    }

    .home-orbit__core {
        width: 130px;
        height: 130px;
    }

    .home-orbit__core-num {
        font-size: 2.75rem;
    }

    .home-orbit__node {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .home-orbit__node svg {
        width: 17px;
        height: 17px;
    }

    .home-marquee__chip {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .home-marquee__chip svg {
        width: 14px;
        height: 14px;
    }
}

/* Accent palette */
.home-bento__card[data-accent="0"] { --card-accent: #2563eb; --card-accent-bg: #dbeafe; }
.home-bento__card[data-accent="1"] { --card-accent: #7c3aed; --card-accent-bg: #ede9fe; }
.home-bento__card[data-accent="2"] { --card-accent: #059669; --card-accent-bg: #d1fae5; }
.home-bento__card[data-accent="3"] { --card-accent: #d97706; --card-accent-bg: #fef3c7; }
.home-bento__card[data-accent="4"] { --card-accent: #dc2626; --card-accent-bg: #fee2e2; }
.home-bento__card[data-accent="5"] { --card-accent: #0891b2; --card-accent-bg: #cffafe; }

.home-explorer__cta {
    text-align: left;
    margin-top: 56px;
    padding: 0;
}

/* ── Spectrum bar ── */
.home-spectrum {
    position: relative;
    padding: 80px 0;
    background: #fff;
    color: var(--home-ink);
    overflow: hidden;
    text-align: left;
}

.home-spectrum__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: start;
    text-align: left;
}

.home-spectrum__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.home-spectrum__desc {
    font-size: 1rem;
    color: var(--home-ink-soft);
    line-height: 1.7;
}

.home-spectrum__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.home-spectrum__feature {
    padding: 20px 22px;
    background: #f5f5f7;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.home-spectrum__feature:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    transform: none;
}

.home-spectrum__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--home-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.home-spectrum__feature-icon svg {
    width: 20px;
    height: 20px;
}

.home-spectrum__feature h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--home-ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.home-spectrum__feature p {
    font-size: 0.8125rem;
    color: var(--home-ink-soft);
    line-height: 1.65;
}

.home-spectrum + .home-spectrum {
    padding-top: 0;
}

.home-spectrum--mission + .home-spectrum,
.home-spectrum + .home-spectrum--steps {
    padding-top: 72px;
}

.home-spectrum__cta {
    margin-top: 28px;
}

.home-spectrum__step {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--home-accent);
    margin-bottom: 6px;
}

.home-spectrum__features--steps {
    grid-template-columns: 1fr;
}

/* ── Mission: Ce face ServiceAzi ── */
.home-mission__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--home-accent);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.home-mission__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.home-spectrum + .home-bottom {
    padding-top: 0;
}

/* ── Bottom: Install + Owner ── */
.home-bottom {
    position: relative;
    padding: 72px 0 96px;
    background: #fff;
    color: var(--home-ink);
}

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

.home-bottom__card {
    padding: 28px 28px 32px;
    background: #f5f5f7;
    border: 1px solid #e8ecf0;
    border-radius: 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-bottom__card:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    box-shadow: none;
    transform: none;
}

.home-bottom__card--highlight {
    background: #f5f5f7;
    border-color: #e8ecf0;
}

.home-bottom__card--highlight:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    box-shadow: none;
}

.home-bottom__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--home-accent);
    margin-bottom: 10px;
}

.home-bottom__card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--home-ink);
    margin-bottom: 10px;
    line-height: 1.25;
}

.home-bottom__card p {
    font-size: 0.9375rem;
    color: var(--home-ink-soft);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
    max-width: 42ch;
}

.home-bottom__card .home-btn {
    margin-top: auto;
}

/* Reveal animations */
.home-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-marquee__track,
    .home-orbit__ring,
    .home-orbit__node,
    .home-hero__title em {
        animation: none;
    }

    .home-hero__title em {
        background-size: auto;
        background-position: 0% 50%;
    }
    .home-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-hero__visual {
        margin: 0;
        max-width: 400px;
    }

    .home-spectrum__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-bottom__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: calc(var(--navbar-height) + 48px) 0 60px;
        min-height: auto;
    }

    .categorii-page .home-explorer.categorii-page__main {
        padding-top: calc(var(--navbar-height) + 80px);
        padding-bottom: 48px;
    }

    .categorii-page .home-explorer__filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .categorii-page .home-explorer__filters::-webkit-scrollbar {
        display: none;
    }

    .categorii-page .home-filter {
        flex-shrink: 0;
    }

    .home-hero__visual {
        display: none;
    }

    .home-hero__title {
        font-size: 2.65rem;
    }

    .home-hero__desc {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .home-hero__actions .home-btn {
        padding: 13px 24px;
        font-size: 1rem;
    }

    .home-hero__stat-num {
        font-size: 1.875rem;
    }

    .home-hero__stat-label {
        font-size: 0.875rem;
    }

    .home-marquee {
        margin-top: 40px;
    }

    .home-explorer {
        padding: 64px 0 80px;
    }

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

    .home-bento__card,
    .home-bento__card--wide,
    .home-bento__card--tall {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .home-spectrum__features {
        grid-template-columns: 1fr;
    }

    .home-mission__cards {
        grid-template-columns: 1fr;
    }

    .home-bottom__card {
        padding: 24px 22px 28px;
    }
}

@media (max-width: 480px) {
    .home-hero__stats {
        gap: 22px;
    }

    .home-hero__stat-num {
        font-size: 2rem;
    }

    .home-hero__stat-label {
        font-size: 0.875rem;
    }

    .home-hero__title {
        font-size: 2.7rem;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-explorer__filters {
        justify-content: flex-start;
    }
}

/* Home — hover dezactivat (pagina principală) */
.home-page .home-orbit__node:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    transform: none;
    z-index: auto;
}

.home-page .home-marquee__chip:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    color: var(--home-ink-soft);
}

.home-page .home-spectrum__feature:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    transform: none;
}

.home-page .home-bottom__card:hover,
.home-page .home-bottom__card--highlight:hover {
    background: #f5f5f7;
    border-color: #e8ecf0;
    box-shadow: none;
    transform: none;
}

.home-page .home-btn--primary:hover {
    background: var(--home-accent);
    color: #fff;
}

.home-page .home-btn--ghost:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--home-ink);
}

.home-page .home-btn--light:hover {
    background: #fff;
    color: var(--home-accent);
}
