/* ==========================================================================
   Hero: tmavá karta s fotkou (desktop vpravo, mobil nahoře)
   ========================================================================== */
.hx { padding: 8px 10px 0; }
.hx__card {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-xl); background: var(--hero-dark); color: #fff;
    min-height: calc(100svh - var(--header-h) - var(--topbar-h) - 16px);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px 20px 32px;
}
/* Na telefonu fotka jen v horní části karty, aby zuby nebyly pod textem */
.hx__bg {
    position: absolute; left: 0; right: 0; top: 0; height: 54%; z-index: -1; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hx__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 56%; transform: scale(1.08); }
.hx__content { position: relative; }
.hx__title {
    font-family: var(--font-body); font-weight: 400; color: #fff;
    margin: 0 0 24px; font-size: clamp(2.7rem, 12vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em;
}
.hx__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hx__title em { font-style: normal; color: var(--copper-light); }
.hx__lead { font-size: 1.05rem; line-height: 1.5; color: #fff; max-width: 46ch; margin: 0 0 28px; font-weight: 400; }
.hx__lead br { display: none; }
.hx__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hx__btn {
    display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto;
    min-height: 48px; padding: 10px 14px; border-radius: 6px;
    font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.hx__btn--white { background: #fff; color: var(--ink); border: 1px solid #fff; }
.hx__btn--white:hover { background: transparent; color: #fff; }
.hx__btn--line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .8); }
.hx__btn--line:hover { background: #fff; color: var(--ink); }
.hx a:focus-visible { outline-color: #fff; }

@media (min-width: 640px) {
    .hx__btn { flex: 0 0 auto; padding: 10px 22px; font-size: 1rem; }
    .hx__btn--white { min-width: 150px; }
    .hx__btn--line { min-width: 192px; }
}

@media (min-width: 900px) {
    .hx { padding: 16px 16px 0; }
    .hx__card {
        justify-content: center;
        min-height: clamp(560px, calc(100svh - var(--header-h) - var(--topbar-h) - 16px), 760px);
        padding: 56px clamp(48px, 5.7vw, 82px);
        border-radius: 24px;
    }
    .hx__bg {
        left: auto; right: 0; top: 0; bottom: 0; height: 100%;
        width: 62%; min-width: 45%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    }
    .hx__bg img { object-position: 50% 45%; }
    .hx__content { max-width: 560px; }
    .hx__title { font-size: clamp(3.4rem, 5vw, 4.4rem); line-height: 1.1; margin-bottom: 36px; }
    .hx__lead { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.4; margin-bottom: 32px; }
    .hx__lead br { display: inline; }
}
