/* =========================================================
   HERO — Split-screen: logo po lewej, treść po prawej
   ========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    background: var(--graphite-dark);
    overflow: hidden;
    padding: 0;
}

/* Background image with gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(51,51,51,0.92) 0%, rgba(51,51,51,0.75) 40%, rgba(195,160,75,0.15) 100%),
        url('/assets/images/hero-bg.webp') center/cover no-repeat;
    z-index: 0;
}

/* Subtelna siatka punktów w tle */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(195, 160, 75, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Diagonal clip at bottom */
.hero-clip {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--white);
    clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
}

/* ─── Split layout ─── */
.hero__split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5fr 7fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100svh;
}

/* ─── LEFT: Logo panel ─── */
.hero__logo-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 140px;
}

/* Złota kreska rozdzielająca panele */
.hero__logo-panel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(195, 160, 75, 0.35), transparent);
}

/* Koncentryczne pierścienie */
.hero__logo-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero__logo-rings span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(195, 160, 75, 0.06);
    animation: ringPulse 6s ease-in-out infinite;
}

.hero__logo-rings span:nth-child(1) { width: 300px; height: 300px; animation-delay: 0s; }
.hero__logo-rings span:nth-child(2) { width: 400px; height: 400px; animation-delay: 0.8s; border-color: rgba(195,160,75,0.04); }
.hero__logo-rings span:nth-child(3) { width: 500px; height: 500px; animation-delay: 1.6s; border-color: rgba(195,160,75,0.025); }

@keyframes ringPulse {
    0%, 100% { transform: scale(1);    opacity: 0.5; }
    50%       { transform: scale(1.04); opacity: 1;   }
}

/* Złota poświata za logo */
.hero__logo-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 160, 75, 0.1) 0%, transparent 70%);
    animation: glowBreath 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowBreath {
    from { transform: scale(0.9); opacity: 0.6; }
    to   { transform: scale(1.1); opacity: 1;   }
}

/* Logo image — transparentne tło */
.hero__logo-img {
    position: relative;
    z-index: 2;
    width: clamp(200px, 20vw, 300px);
    height: auto;
    filter: drop-shadow(0 0 40px rgba(195, 160, 75, 0.2));
    animation: logoReveal 1s var(--ease-out) 0.2s both;
    transition: filter 0.4s ease;
}

.hero__logo-img:hover {
    filter: drop-shadow(0 0 56px rgba(195, 160, 75, 0.4));
}

@keyframes logoReveal {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* Lokalizacja pod logo */
.hero__logo-since {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeUp 0.8s var(--ease-out) 0.7s both;
}

.hero__logo-since-line {
    width: 28px;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.hero__logo-since-text {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(195, 160, 75, 0.5);
    font-weight: 500;
}

/* ─── RIGHT: Text content ─── */
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 72px 140px 64px;
    max-width: 680px;
}

/* Headline */
.hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 32px;
    font-style: italic;
    animation: fadeUp 0.9s var(--ease-out) 0.4s both;
}

.hero__headline em {
    font-style: normal;
    color: var(--gold);
}

/* Divider */
.hero__divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease-out) 0.55s both;
}

/* Subtext */
.hero__sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.9s var(--ease-out) 0.6s both;
}

/* CTA */
.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.9s var(--ease-out) 0.72s both;
}

.hero__btn-outline {
    border-color: rgba(195, 160, 75, 0.4);
    color: rgba(195, 160, 75, 0.8);
}

.hero__btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 104px;
    left: 0;
    width: calc(5 / 12 * 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 4;
    animation: fadeUp 1s var(--ease-out) 1s both;
}

.hero__scroll-text {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-body);
    font-weight: 500;
}

.hero__scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(195, 160, 75, 0.5), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1);   opacity: 0.7; }
    50%       { transform: scaleY(0.5); opacity: 0.2; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive: tablet ─── */
@media (max-width: 960px) {
    .hero__split {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .hero__logo-panel {
        padding: 110px 40px 48px;
    }

    .hero__logo-panel::after { display: none; }

    .hero__logo-img {
        width: clamp(180px, 32vw, 250px);
    }

    .hero__logo-rings span:nth-child(1) { width: 220px; height: 220px; }
    .hero__logo-rings span:nth-child(2) { width: 300px; height: 300px; }
    .hero__logo-rings span:nth-child(3) { width: 380px; height: 380px; }

    .hero__content {
        padding: 48px 40px 100px;
        align-items: center;
        text-align: center;
        max-width: none;
    }

    .hero__divider { margin-left: auto; margin-right: auto; }
    .hero__cta { justify-content: center; }

    .hero__scroll {
        width: 100%;
        left: 0;
    }
}

/* ─── Responsive: mobile ─── */
@media (max-width: 600px) {
    .hero__logo-panel { padding: 100px 28px 36px; }

    .hero__logo-img { width: clamp(160px, 40vw, 220px); }

    .hero__logo-rings span:nth-child(1) { width: 180px; height: 180px; }
    .hero__logo-rings span:nth-child(2) { width: 240px; height: 240px; }
    .hero__logo-rings span:nth-child(3) { display: none; }

    .hero__content { padding: 36px 24px 90px; }

    .hero__headline { font-size: 1.3rem; }

    .hero__cta { flex-direction: column; align-items: center; }
    .hero__cta .btn { width: 100%; max-width: 280px; }

    .hero-clip { height: 56px; }
}
