/* ======================================================================
   SP Jaczów — reprezentacyjny hero Platinum v1.0

   Zakres:
   - wyłącznie .spj-platinum-hero i .spj-hero-values,
   - szkolna paleta: granat, kość słoniowa i złoto,
   - proste narożniki, maksymalny font-weight 700,
   - układ responsywny, forced-colors, reduced-motion i druk.
   ====================================================================== */

body.sp11-site .spj-platinum-hero {
    --hero-navy: #13213a;
    --hero-navy-deep: #0f1b30;
    --hero-gold: #e4bf4f;
    --hero-gold-light: #f4db84;
    --hero-ivory: #f7f4ec;
    --hero-white: #ffffff;
    --hero-line: #d9d4c8;
    --hero-muted: #5e6878;
    isolation: isolate;
    position: relative;
    color: var(--hero-white);
    background: var(--hero-navy);
    border-bottom: 1px solid rgba(228, 191, 79, 0.55);
    overflow: hidden;
}

body.sp11-site .spj-platinum-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    width: 100%;
    max-width: 1920px;
    min-height: clamp(590px, 70vh, 690px);
    margin-inline: auto;
}

body.sp11-site .spj-platinum-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: clamp(42px, 5vw, 70px) clamp(28px, 5vw, 78px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 45%),
        var(--hero-navy);
}

body.sp11-site .spj-platinum-hero__inner {
    width: min(100%, 640px);
    margin-left: auto;
}

body.sp11-site .spj-platinum-hero__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.55rem;
}

body.sp11-site .spj-platinum-hero__logo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    display: grid;
    place-items: center;
    padding: 0.4rem;
    background: var(--hero-white);
    border: 1px solid rgba(228, 191, 79, 0.85);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

body.sp11-site .spj-platinum-hero__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.sp11-site .spj-platinum-hero__identity-copy {
    min-width: 0;
}

body.sp11-site .spj-platinum-hero__identity-kicker {
    margin: 0 0 0.3rem;
    color: var(--hero-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.sp11-site .spj-platinum-hero__identity-name {
    max-width: 32rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.96rem, 1.25vw, 1.12rem);
    font-weight: 700;
    line-height: 1.35;
}

body.sp11-site .spj-platinum-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.95rem;
    color: var(--hero-gold-light);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.sp11-site .spj-platinum-hero__eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    flex: 0 0 2rem;
    background: var(--hero-gold);
}

body.sp11-site .spj-platinum-hero__title {
    max-width: 12ch;
    margin: 0;
    color: var(--hero-white) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.75rem, 3.9vw, 4.55rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    text-wrap: balance;
}

body.sp11-site .spj-platinum-hero__title em {
    color: var(--hero-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(228, 191, 79, 0.68);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.12em;
}

body.sp11-site .spj-platinum-hero__lead {
    max-width: 35rem;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}

body.sp11-site .spj-platinum-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.65rem;
}

body.sp11-site .spj-platinum-hero__button {
    min-width: 44px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    border: 2px solid transparent;
    color: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.sp11-site .spj-platinum-hero__button--primary {
    color: var(--hero-navy-deep);
    background: var(--hero-gold-light);
    border-color: var(--hero-gold-light);
}

body.sp11-site .spj-platinum-hero__button--primary:hover {
    color: var(--hero-navy-deep);
    background: var(--hero-white);
    border-color: var(--hero-white);
    transform: translateY(-1px);
}

body.sp11-site .spj-platinum-hero__button--secondary {
    color: var(--hero-white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.78);
}

body.sp11-site .spj-platinum-hero__button--secondary:hover {
    color: var(--hero-navy-deep);
    background: var(--hero-white);
    border-color: var(--hero-white);
    transform: translateY(-1px);
}

body.sp11-site .spj-platinum-hero__button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
    box-shadow: none;
}

body.sp11-site .spj-platinum-hero__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--hero-navy-deep);
    border-left: 1px solid rgba(228, 191, 79, 0.55);
}

body.sp11-site .spj-platinum-hero__visual picture,
body.sp11-site .spj-platinum-hero__photo {
    display: block;
    width: 100%;
    height: 100%;
}

body.sp11-site .spj-platinum-hero__photo {
    object-fit: cover;
    object-position: 50% 50%;
}

body.sp11-site .spj-platinum-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(19, 33, 58, 0.23), transparent 18%),
        linear-gradient(0deg, rgba(10, 18, 31, 0.1), transparent 32%);
}

body.sp11-site .spj-hero-values {
    --values-navy: #13213a;
    --values-ivory: #f7f4ec;
    --values-line: #d9d4c8;
    --values-muted: #5e6878;
    background: #ffffff;
    border-bottom: 1px solid var(--values-line);
}

body.sp11-site .spj-hero-values__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1440px, calc(100% - 2rem));
    margin-inline: auto;
}

body.sp11-site .spj-hero-values__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-height: 108px;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--values-line);
}

body.sp11-site .spj-hero-values__item:first-child {
    border-left: 1px solid var(--values-line);
}

body.sp11-site .spj-hero-values__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--values-navy);
    background: var(--values-ivory);
    border: 1px solid #d7c46e;
}

body.sp11-site .spj-hero-values__icon svg {
    width: 22px;
    height: 22px;
}

body.sp11-site .spj-hero-values__title {
    margin: 0;
    color: var(--values-navy) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

body.sp11-site .spj-hero-values__text {
    margin: 0.25rem 0 0;
    color: var(--values-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

@media (max-width: 68.75rem) {
    body.sp11-site .spj-platinum-hero__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body.sp11-site .spj-platinum-hero__inner {
        margin-inline: auto;
    }

    body.sp11-site .spj-platinum-hero__visual {
        min-height: 500px;
        border-top: 1px solid rgba(228, 191, 79, 0.55);
        border-left: 0;
    }

    body.sp11-site .spj-platinum-hero__title {
        max-width: 14ch;
    }

    body.sp11-site .spj-hero-values__inner {
        grid-template-columns: 1fr;
    }

    body.sp11-site .spj-hero-values__item,
    body.sp11-site .spj-hero-values__item:first-child {
        border-right: 1px solid var(--values-line);
        border-bottom: 1px solid var(--values-line);
        border-left: 1px solid var(--values-line);
    }
}

@media (max-width: 43.75rem) {
    body.sp11-site .spj-platinum-hero__content {
        padding: 2.6rem 1.25rem 3rem;
    }

    body.sp11-site .spj-platinum-hero__identity {
        align-items: flex-start;
    }

    body.sp11-site .spj-platinum-hero__logo {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    body.sp11-site .spj-platinum-hero__title {
        max-width: 12ch;
        font-size: clamp(2.45rem, 12vw, 3.55rem);
    }

    body.sp11-site .spj-platinum-hero__actions {
        display: grid;
    }

    body.sp11-site .spj-platinum-hero__button {
        width: 100%;
    }

    body.sp11-site .spj-platinum-hero__visual {
        min-height: 350px;
    }

    body.sp11-site .spj-platinum-hero__photo {
        object-position: 50% 50%;
    }
}

@media (max-width: 25rem) {
    body.sp11-site .spj-platinum-hero__identity {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.sp11-site .spj-platinum-hero__button {
        transition: none;
    }

    body.sp11-site .spj-platinum-hero__button:hover {
        transform: none;
    }
}

@media (forced-colors: active) {
    body.sp11-site .spj-platinum-hero,
    body.sp11-site .spj-platinum-hero__visual,
    body.sp11-site .spj-platinum-hero__logo,
    body.sp11-site .spj-platinum-hero__button,
    body.sp11-site .spj-hero-values__item,
    body.sp11-site .spj-hero-values__icon {
        color: CanvasText;
        background: Canvas;
        border-color: CanvasText;
        box-shadow: none;
    }

    body.sp11-site .spj-platinum-hero__title,
    body.sp11-site .spj-platinum-hero__title em,
    body.sp11-site .spj-platinum-hero__lead,
    body.sp11-site .spj-platinum-hero__identity-name,
    body.sp11-site .spj-platinum-hero__identity-kicker,
    body.sp11-site .spj-platinum-hero__eyebrow {
        color: CanvasText !important;
    }
}

@media print {
    body.sp11-site .spj-platinum-hero {
        color: #000000;
        background: #ffffff;
        border-bottom: 1px solid #000000;
    }

    body.sp11-site .spj-platinum-hero__layout {
        display: block;
        min-height: 0;
    }

    body.sp11-site .spj-platinum-hero__content {
        padding: 1.5rem 0;
        color: #000000;
        background: #ffffff;
    }

    body.sp11-site .spj-platinum-hero__logo,
    body.sp11-site .spj-platinum-hero__visual,
    body.sp11-site .spj-platinum-hero__actions,
    body.sp11-site .spj-hero-values {
        display: none !important;
    }

    body.sp11-site .spj-platinum-hero__title,
    body.sp11-site .spj-platinum-hero__title em,
    body.sp11-site .spj-platinum-hero__lead,
    body.sp11-site .spj-platinum-hero__identity-name,
    body.sp11-site .spj-platinum-hero__identity-kicker,
    body.sp11-site .spj-platinum-hero__eyebrow {
        color: #000000 !important;
    }
}
   .hero__caption {
      position: absolute;
      z-index: 2;
      right: clamp(1rem, 2vw, 2rem);
      bottom: clamp(1rem, 2vw, 2rem);
      max-width: 20rem;
      padding: .8rem 1rem;
      color: #fff;
      background: rgba(15,27,47,.86);
      border-left: 3px solid var(--hero-gold);
      backdrop-filter: blur(8px);
      font-size: .82rem;
      line-height: 1.45;
    }