/* ============================================================
   Karjeros dienos – homepage
   ============================================================ */

/* ---- Hero ---- */
.hp-hero {
    background: linear-gradient(135deg, var(--purple, #333C75) 0%, var(--blue, #0B4DC7) 100%);
    color: #fff;
    padding: 80px 0 72px;
}

.hp-hero__inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: center;
}

.hp-hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 20px;
    letter-spacing: -.5px;
}

.hp-hero__title-accent {
    color: #93c5fd;
}

.hp-hero__sub {
    font-size: 17px;
    color: var(--white-80, rgba(255,255,255,.8));
    margin: 0 0 32px;
    max-width: 480px;
    line-height: 1.6;
}

.hp-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hp-hero__btn-primary {
    background: #fff;
    color: var(--blue, #0B4DC7);
    border-color: #fff;
}
.hp-hero__btn-primary:hover {
    background: #eff6ff;
    border-color: #eff6ff;
}

.hp-hero__btn-outline {
    border-color: var(--white-50, rgba(255,255,255,.5));
    color: #fff;
    background: transparent;
}
.hp-hero__btn-outline:hover {
    border-color: #fff;
    background: var(--white-10, rgba(255,255,255,.1));
}

/* Stats sidebar */
.hp-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-stat {
    background: var(--white-10, rgba(255,255,255,.1));
    border: 1px solid var(--white-20, rgba(255,255,255,.2));
    border-radius: 12px;
    padding: 18px 22px;
}

.hp-stat__num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 4px;
}

.hp-stat__label {
    font-size: 12px;
    color: var(--white-70, rgba(255,255,255,.7));
    font-weight: 500;
}

/* ---- Shared section styles ---- */
.hp-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 32px;
    line-height: 1.2;
}

.hp-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}
.hp-section-head .hp-section-title { margin-bottom: 0; }

.hp-see-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue, #0B4DC7);
    text-decoration: none;
    white-space: nowrap;
}
.hp-see-all:hover { text-decoration: underline; }

/* ---- How it works ---- */
.hp-how {
    padding: 72px 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.hp-how__cols {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 48px;
    align-items: start;
}

.hp-how__divider {
    background: #e5e7eb;
    align-self: stretch;
}

.hp-how__role-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue, #0B4DC7);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 20px;
}

.hp-how__role-label--employer {
    color: var(--purple, #333C75);
    background: #ede9fe;
    border-color: #c4b5fd;
}

.hp-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.hp-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.hp-step__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue, #0B4DC7);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.hp-step__num--purple { background: var(--purple, #333C75); }

.hp-step strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.hp-step p {
    font-size: 13px;
    color: var(--grey-dark, #727B80);
    line-height: 1.5;
    margin: 0;
}

.hp-how__cta { margin-top: 4px; }

/* ---- Latest jobs ---- */
.hp-jobs {
    padding: 72px 0;
}

.hp-jobs__bottom {
    text-align: center;
    margin-top: 36px;
}

/* ---- CTA split ---- */
.hp-cta {
    padding: 0 0 72px;
}

.hp-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hp-cta__card {
    border-radius: 16px;
    padding: 40px;
    color: #fff;
}

.hp-cta__card--blue {
    background: linear-gradient(135deg, var(--blue, #0B4DC7) 0%, #1d6ae5 100%);
}

.hp-cta__card--purple {
    background: linear-gradient(135deg, var(--purple, #333C75) 0%, #4a5491 100%);
}

.hp-cta__card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--white-70, rgba(255,255,255,.7));
    margin: 0 0 12px;
}

.hp-cta__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.25;
}

.hp-cta__card-text {
    font-size: 14px;
    color: var(--white-80, rgba(255,255,255,.8));
    margin: 0 0 28px;
    line-height: 1.6;
}

.hp-cta__card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background .2s, border-color .2s;
}
.hp-cta__card-btn:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.5);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hp-hero__inner       { grid-template-columns: 1fr; }
    .hp-hero__stats       { flex-direction: row; flex-wrap: wrap; }
    .hp-stat              { flex: 1; min-width: 120px; }
    .hp-how__cols         { grid-template-columns: 1fr; gap: 40px; }
    .hp-how__divider      { display: none; }
    .hp-cta__grid         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hp-hero              { padding: 52px 0 48px; }
    .hp-hero__title       { font-size: 32px; }
    .hp-hero__sub         { font-size: 15px; }
    .hp-how               { padding: 52px 0; }
    .hp-jobs              { padding: 52px 0; }
    .hp-cta               { padding: 0 0 52px; }
    .hp-cta__card         { padding: 28px 24px; }
    .hp-section-title     { font-size: 22px; }
    .hp-section-head      { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .hp-hero__title       { font-size: 26px; }
    .hp-hero__actions     { flex-direction: column; }
    .hp-hero__actions .kd-btn { text-align: center; }
    .hp-stat              { min-width: 0; }
    .hp-stat__num         { font-size: 28px; }
}
