/* ========================================
   PRIJATELJSKI KRUG — HERO v1.4
======================================== */

.pk-hero {
    --pk-navy: #062b57;
    --pk-red: #b5121b;
    --pk-blue: #0d58a6;
    --pk-gold: #e5a100;
    --pk-green: #4f8f45;
    --pk-purple: #6a46b8;
    position: relative;
    background: #fff;
    overflow: hidden;
    padding-bottom: 26px;
}

.pk-hero__stage {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #fff;
}

.pk-hero__photo-wrap {
    position: absolute;
    inset: 0 0 0 34%;
    overflow: hidden;
}

.pk-hero__photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 5%, rgba(255,255,255,.86) 12%, rgba(255,255,255,.30) 24%, rgba(255,255,255,0) 39%),
        linear-gradient(0deg, #fff 0%, rgba(255,255,255,.88) 4%, rgba(255,255,255,.22) 12%, rgba(255,255,255,0) 27%);
}

.pk-hero__photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 25%);
}

.pk-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.pk-hero__copy {
    position: relative;
    z-index: 4;
    width: min(1440px, calc(100% - 72px));
    margin: 0 auto;
    padding: 58px 0 138px;
}

.pk-hero__title {
    width: min(610px, 49vw);
    margin: 0;
    line-height: 1;
}

.pk-hero__title-main {
    display: block;
    color: var(--pk-navy);
    font-size: clamp(44px, 4.35vw, 72px);
    line-height: .99;
    letter-spacing: -.045em;
    font-weight: 850;
}

.pk-hero__title-script {
    display: block;
    margin-top: 10px;
    color: var(--pk-red);
    font-family: "Segoe Script", "Brush Script MT", "URW Chancery L", cursive;
    font-size: clamp(30px, 3vw, 50px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.02em;
}

.pk-hero__lead {
    width: min(560px, 46vw);
    margin: 25px 0 0;
    color: #173252;
    font-size: 17px;
    line-height: 1.58;
}

.pk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.pk-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 27px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pk-hero__btn:hover { transform: translateY(-2px); }

.pk-hero__btn--primary {
    background: var(--pk-navy);
    color: #fff !important;
    box-shadow: 0 9px 22px rgba(6,43,87,.15);
}

.pk-hero__btn--primary:hover { background: #041f41; }

.pk-hero__btn--secondary {
    color: var(--pk-navy) !important;
    background: rgba(255,255,255,.92);
    border: 1.5px solid var(--pk-navy);
}

/* PROGRAM STRIP */
.pk-programs {
    position: relative;
    z-index: 6;
    width: min(1440px, calc(100% - 72px));
    margin: -84px auto 0;
    padding: 24px 10px 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(6,43,87,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 55px rgba(6,43,87,.10);
    backdrop-filter: blur(8px);
}

.pk-program {
    min-width: 0;
    padding: 4px 22px 2px;
    text-align: center;
    text-decoration: none !important;
    color: var(--pk-navy) !important;
    border-right: 1px solid #dbe1e8;
}

.pk-program:last-child { border-right: 0; }

.pk-program__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
}

.pk-program__icon svg {
    width: 55px;
    height: 55px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pk-program__title {
    display: block;
    min-height: 38px;
    color: var(--pk-navy);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
}

.pk-program__text {
    display: block;
    min-height: 54px;
    margin-top: 9px;
    color: #31465e;
    font-size: 12.5px;
    line-height: 1.42;
}

.pk-program__link {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 800;
}

.pk-program--red { color: var(--pk-red) !important; }
.pk-program--blue { color: var(--pk-blue) !important; }
.pk-program--gold { color: var(--pk-gold) !important; }
.pk-program--green { color: var(--pk-green) !important; }
.pk-program--purple { color: var(--pk-purple) !important; }

.pk-program .pk-program__title,
.pk-program .pk-program__text { color: var(--pk-navy); }

.pk-program:hover .pk-program__icon { transform: translateY(-2px); }
.pk-program__icon { transition: transform .18s ease; }

@media (max-width: 1100px) {
    .pk-hero__stage { min-height: 560px; }
    .pk-hero__photo-wrap { left: 30%; }
    .pk-hero__copy,
    .pk-programs { width: min(100% - 40px, 980px); }
    .pk-hero__title { width: min(560px, 57vw); }
    .pk-hero__lead { width: min(520px, 53vw); }
    .pk-programs { grid-template-columns: repeat(3, 1fr); margin-top: -65px; }
    .pk-program { border-bottom: 1px solid #dbe1e8; padding: 18px; }
    .pk-program:nth-child(3) { border-right: 0; }
    .pk-program:nth-child(4), .pk-program:nth-child(5) { border-bottom: 0; }
}

@media (max-width: 780px) {
    .pk-hero__stage { min-height: 0; padding-bottom: 0; }
    .pk-hero__photo-wrap {
        position: relative;
        inset: auto;
        height: 360px;
        margin-top: -35px;
    }
    .pk-hero__photo-wrap::before {
        background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.75) 10%, rgba(255,255,255,0) 35%);
    }
    .pk-hero__copy {
        width: min(100% - 32px, 620px);
        padding: 38px 0 20px;
    }
    .pk-hero__title,
    .pk-hero__lead { width: 100%; }
    .pk-hero__title-main { font-size: clamp(40px, 12vw, 58px); }
    .pk-hero__title-script { font-size: clamp(29px, 8.5vw, 42px); }
    .pk-hero__lead { font-size: 16px; }
    .pk-programs {
        width: min(100% - 24px, 640px);
        margin-top: -18px;
        grid-template-columns: 1fr 1fr;
        padding: 8px;
        border-radius: 20px;
    }
    .pk-program { border-right: 1px solid #dbe1e8; border-bottom: 1px solid #dbe1e8; }
    .pk-program:nth-child(even) { border-right: 0; }
    .pk-program:nth-child(3) { border-right: 1px solid #dbe1e8; }
    .pk-program:nth-child(4) { border-bottom: 1px solid #dbe1e8; }
    .pk-program:last-child {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .pk-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-hero__btn { padding: 0 14px; font-size: 13px; }
    .pk-hero__photo-wrap { height: 300px; }
    .pk-programs { grid-template-columns: 1fr; }
    .pk-program,
    .pk-program:nth-child(3),
    .pk-program:nth-child(even) { border-right: 0; border-bottom: 1px solid #dbe1e8; }
    .pk-program:last-child { grid-column: auto; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pk-hero__btn,
    .pk-program__icon { transition: none; }
}
