/* Kredomat.pl — Compare features */

/* ============================================================
   Compare toggle on offer card
   ============================================================ */

/* Horizontal: Porównaj button on the LEFT, "Złóż wniosek" on the right */
.offer-card__action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    .offer-card__action {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
    }
    .offer-card__action .offer-compare-toggle,
    .offer-card__action .btn--cta {
        flex: 1 1 0;
        min-width: 0;
        width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }
    .offer-card__action .offer-compare-toggle {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

.offer-compare-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 120ms ease;
    white-space: nowrap;
    line-height: 1;
}

.offer-compare-toggle__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    transition: transform 150ms ease;
}

.offer-compare-toggle:hover {
    border-color: #1B4FD8;
    color: #1B4FD8;
}

.offer-compare-toggle.is-active {
    background: #EEF2FF;
    border-color: #1B4FD8;
    color: #1B4FD8;
}

.offer-compare-toggle.is-active .offer-compare-toggle__icon {
    transform: rotate(45deg);
}

.offer-compare-toggle.shake {
    animation: kredomatShake 360ms ease;
}

@keyframes kredomatShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

.offer-card.is-compared {
    border-color: #1B4FD8;
    box-shadow: 0 0 0 1px #1B4FD8 inset, 0 1px 3px rgba(27, 79, 216, 0.08);
}

/* ============================================================
   Sticky compare bar
   ============================================================ */

.compare-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
    padding: 12px 0;
    animation: compareBarSlide 200ms ease;
}

.compare-bar[hidden] { display: none; }

@keyframes compareBarSlide {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.compare-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .compare-bar__inner { padding: 0 12px; gap: 8px; }
}

.compare-bar__label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    flex-shrink: 0;
}

.compare-bar__title { font-weight: 600; color: #111827; }
.compare-bar__count { font-weight: 700; color: #1B4FD8; font-size: 16px; }
.compare-bar__sublabel { font-size: 12px; }

.compare-bar__items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 4px;
    background: #F3F4F6;
    border-radius: 999px;
    font-size: 12px;
    color: #374151;
    max-width: 200px;
}

.compare-chip img {
    width: 24px; height: 24px;
    object-fit: contain;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.compare-chip__name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-chip__remove {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    color: #6B7280;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-chip__remove:hover {
    background: #E5E7EB;
    color: #111827;
}

.compare-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.compare-bar__cta.is-disabled {
    background: #9CA3AF !important;
    pointer-events: none;
    cursor: not-allowed;
}

.compare-bar__clear {
    background: transparent;
    border: 0;
    color: #6B7280;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 120ms ease;
}

.compare-bar__clear:hover { background: #F3F4F6; color: #111827; }

/* When compare bar is shown, push body content up so footer disclaimer isn't covered. */
body.has-compare-bar { padding-bottom: 88px; }

/* ============================================================
   Comparison page
   ============================================================ */

.compare-page__head {
    margin-bottom: 24px;
}

.compare-page__title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

@media (max-width: 768px) {
    .compare-page__title { font-size: 24px; }
}

.compare-page__lead {
    color: #6B7280;
    font-size: 15px;
}

.compare-table-wrap {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.compare-table-scroll { overflow-x: auto; }

.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #E5E7EB;
}

.compare-table thead th {
    background: #F9FAFB;
    min-width: 200px;
    border-bottom: 2px solid #E5E7EB;
}

.compare-table thead th:first-child {
    background: #F9FAFB;
    min-width: 160px;
    width: 160px;
}

.compare-table tbody td:first-child {
    background: #F9FAFB;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    width: 160px;
}

.compare-table__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.compare-table__brand img {
    width: 96px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 4px;
}

.compare-table__name {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.compare-table__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #10B981;
    color: #FFFFFF;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    width: 100%;
    transition: background 120ms ease;
}
.compare-table__cta:hover { background: #0EA371; color: #FFFFFF; }
.compare-table__cta--blue { background: #1B4FD8; }
.compare-table__cta--blue:hover { background: #1340B0; }

.compare-table__rrso { color: #047857; font-weight: 600; }
.compare-table__list { margin: 0; padding-left: 0; list-style: none; }
.compare-table__list li {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}
.compare-table__example { font-size: 12px; color: #6B7280; line-height: 1.6; }

.compare-empty {
    padding: 48px 24px;
    text-align: center;
}
.compare-empty__icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: #EEF2FF;
    color: #1B4FD8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Offers toolbar (above .offers section)
   ============================================================ */

.offers-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin: 8px 0 16px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

@media (max-width: 768px) {
    .offers-toolbar {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 10px;
    }
    .offers-toolbar__group {
        margin-left: auto;
    }
}

.offers-toolbar__count {
    font-size: 14px;
    color: #6B7280;
    flex-shrink: 0;
}

.offers-toolbar__count strong {
    color: #111827;
    font-weight: 700;
    font-size: 16px;
    margin-right: 4px;
}

.offers-toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .offers-toolbar__group { margin-left: auto; }
}

.offers-toolbar__label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    white-space: nowrap;
}

.offers-toolbar__select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.offers-toolbar__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 32px 8px 12px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 120ms ease, box-shadow 120ms ease;
    line-height: 1.4;
}

.offers-toolbar__select:hover { border-color: #9CA3AF; }
.offers-toolbar__select:focus {
    outline: none;
    border-color: #1B4FD8;
    box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.15);
}

.offers-toolbar__chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
}

.offers-toolbar__view {
    display: inline-flex;
    background: #F3F4F6;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.offers-toolbar__view-btn {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 6px 14px;
    border-radius: 6px;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
    line-height: 1.4;
}

.offers-toolbar__view-btn:hover { color: #111827; }

.offers-toolbar__view-btn.is-active {
    background: #1B4FD8;
    color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(27, 79, 216, 0.25);
}

/* ============================================================
   Tabela view — compressed offer cards
   ============================================================ */

.offers--table .offer-card {
    padding: 0;
}

.offers--table .offer-card__body {
    padding: 12px 16px;
}

.offers--table .offer-card__head {
    margin-bottom: 8px;
}

.offers--table .offer-card__params {
    gap: 8px;
}

.offers--table .param-icon__sub { display: none; }
.offers--table .param-icon__head { margin-bottom: 2px; }
.offers--table .param-icon__icon { width: 16px; height: 16px; }
.offers--table .param-icon__label { font-size: 11px; }
.offers--table .param-icon__value { font-size: 13px; }

.offers--table .offer-card__details { display: none; }

.offers--table .offer-card__logo {
    width: 100px;
    height: 40px;
}

.offers--table .offer-card__logo img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

.offers--table .badge {
    font-size: 10px;
    padding: 2px 6px;
}

/* ============================================================
   Homepage hero — split layout (left content + right TOP 3 card)
   ============================================================ */

.hero--split {
    background: var(--color-bg);
    padding: 56px 0 64px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero--split { padding: 32px 0 40px; }
}

.hero__inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: start;
}

@media (max-width: 960px) {
    .hero__inner--split { grid-template-columns: 1fr; gap: 0; }
    .hero__inner--split .hero__content { position: relative; z-index: 2; }
    .hero__inner--split .hero__illustration { margin-top: -20px; position: relative; z-index: 1; }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #EEF2FF;
    color: #1B4FD8;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title--big {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0 0 20px;
    max-width: 660px;
}

.hero__title-accent { color: #1B4FD8; }

.hero__lead {
    font-size: 17px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0 0 28px;
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero__lead { font-size: 15px; margin-bottom: 20px; }
}

.hero__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__cta-primary {
    background: #1B4FD8;
    padding: 14px 22px;
    font-size: 15px;
}

.hero__cta-primary:hover { background: #1340B0; color: #FFFFFF; }

.hero__cta-row .btn--outline {
    padding: 14px 22px;
    font-size: 15px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 18px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    max-width: 560px;
}

@media (max-width: 600px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 16px;
        padding: 16px;
    }
}

.hero-stat {
    margin: 0;
    padding: 0 16px;
    border-left: 1px solid #E5E7EB;
}

.hero-stat:first-child { border-left: 0; padding-left: 0; }

@media (max-width: 600px) {
    .hero-stat { border-left: 0; padding: 0 8px; }
    .hero-stat:nth-child(2n+1) { padding-left: 0; }
}

.hero-stat__value {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-stat__label {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

/* ---- Right side: TOP 3 ranking card ---- */

.hero-rank {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05), 0 1px 3px rgba(17, 24, 39, 0.04);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin-left: auto;
}

@media (max-width: 960px) {
    .hero-rank { aspect-ratio: auto; max-width: 100%; margin: 0; }
}

.hero-rank__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.hero-rank__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
}

.hero-rank__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #ECFDF5;
    color: #047857;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.hero-rank__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    animation: heroDotPulse 2s ease-in-out infinite;
}

.hero-rank__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    line-height: 1.3;
}

.hero-rank__viz {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}

.hero-rank__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-rank__item {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.hero-rank__rank {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 600;
    letter-spacing: 0.04em;
    width: 18px;
}

.hero-rank__mono {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-rank__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-rank__name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-rank__sub {
    font-size: 11px;
    color: #6B7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-rank__rrso {
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-rank__rrso--positive { color: #047857; }
.hero-rank__rrso--danger { color: #B91C1C; }
.hero-rank__rrso--warning { color: #B45309; }

.hero-rank__more {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
    font-size: 13px;
    font-weight: 600;
    color: #1B4FD8;
    text-decoration: none;
}

.hero-rank__more:hover { color: #1340B0; text-decoration: underline; }

/* ============================================================
   Toolbar count prefix (Znaleziono X ofert)
   ============================================================ */

.offers-toolbar__count-prefix,
.offers-toolbar__count-suffix {
    color: #6B7280;
}
.offers-toolbar__count-prefix { margin-right: 4px; }
.offers-toolbar__count-suffix { margin-left: 4px; }

/* ============================================================
   Hero illustration (right side, replaces the TOP 3 card)
   ============================================================ */

.hero__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.hero__illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .hero__illustration {
        max-width: 480px;
        margin-left: auto;
        margin-right: 0;
    }
    .hero__illustration svg {
        max-width: 480px;
    }
}

/* Center the hero columns vertically so the illustration sits aligned with the content */
.hero__inner--split { align-items: center; }

/* ============================================================
   Hero action row — CTA + inline compact stats
   ============================================================ */

.hero__action-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero__stats--inline {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    grid-template-columns: none;
    max-width: none;
}

.hero__stats--inline .hero-stat {
    padding: 0 16px;
    border-left: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__stats--inline .hero-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.hero__stats--inline .hero-stat__value {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    letter-spacing: -0.01em;
    margin: 0;
}

.hero__stats--inline .hero-stat__label {
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    margin: 2px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 880px) {
    .hero__action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .hero__stats--inline {
        display: grid;
        grid-template-columns: repeat(4, auto);
        column-gap: 0;
    }
}

@media (max-width: 480px) {
    .hero__stats--inline {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 12px;
        width: 100%;
    }
    .hero__stats--inline .hero-stat {
        padding: 0 12px;
    }
    .hero__stats--inline .hero-stat:nth-child(2n+1) {
        border-left: 0;
        padding-left: 0;
    }
}


/* ============================================================
   Hero stats — framed full-width row (after illustration)
   ============================================================ */

.hero__inner--split { align-items: center; }

/* Hero CTA row — button + framed stats inline, wraps below button on mobile */
.hero__cta-row {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex-wrap: wrap;
}

/* Stats frame — same look on every screen, always horizontal 4-in-a-row */
.hero__stats.hero__stats--frame {
    flex: 0 0 auto !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    max-width: 100% !important;
    align-self: center;
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
    margin: 0;
    min-width: 0;
    gap: 0;
}

.hero__stats--frame .hero-stat {
    padding: 0 14px;
    border-left: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
    min-width: 0;
}

.hero__stats--frame .hero-stat:first-child {
    border-left: 0;
}

.hero__stats--frame .hero-stat__value {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #111827;
    margin: 0;
}

.hero__stats--frame .hero-stat__label {
    font-size: 10px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    line-height: 1.25;
}

/* On narrower viewports — keep 4-in-a-row, just shrink padding/text */
@media (max-width: 600px) {
    .hero__cta-row { gap: 12px; }
    .hero__cta-row .hero__cta-primary { width: 100%; }
    .hero__stats.hero__stats--frame {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: none !important;
        padding: 10px 6px;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero__stats.hero__stats--frame .hero-stat {
        padding: 0 !important;
        border-left: 1px solid #E5E7EB;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hero__stats.hero__stats--frame .hero-stat:first-child {
        border-left: 0;
    }
    .hero__stats--frame .hero-stat { padding: 0 8px; }
    .hero__stats--frame .hero-stat__value { font-size: 16px; }
    .hero__stats--frame .hero-stat__label { font-size: 9px; letter-spacing: 0.04em; }
}

@media (max-width: 380px) {
    .hero__stats--frame { padding: 8px 2px; }
    .hero__stats--frame .hero-stat { padding: 0 5px; }
    .hero__stats--frame .hero-stat__value { font-size: 14px; }
    .hero__stats--frame .hero-stat__label { font-size: 8px; }
}

.hero__title-num {
    color: #1B4FD8;
    font-weight: 800;
}
.hero__title-accent { color: #1B4FD8; }

/* ============================================================
   Footer legal links row (replaces old single-line)
   ============================================================ */

.site-footer__legal {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.site-footer__legal li { margin: 0; }

.site-footer__legal a {
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 120ms ease;
}

.site-footer__legal a:hover { color: #1B4FD8; }

@media (max-width: 600px) {
    .site-footer__legal {
        gap: 8px 18px;
    }
    .site-footer__legal a { font-size: 13px; }
}
