/* =========================================================
   MŮJBYŤÁK – PUBLIC WEB
   Finální prezentační CSS pro Razor Pages

   Brand:
   - Navy:                #08123C
   - Cyan on dark:        #75DCE4
   - Cyan on light:       #5CD2DC
   - Accent cyan:         #19B8C7
   - App/product cyan:    #24A9CA
   - Action blue:         #004073
   ========================================================= */

/* =========================================================
   1) Brand tokens
   ========================================================= */

:root {
    --navy: #08123c;
    --blue: #004073;
    --cyan-on-dark: #75DCE4;
    --cyan-on-light: #5CD2DC;
    --cyan-accent: #19B8C7;
    --cyan-app: #24A9CA;
    --ink: #17213e;
    --muted: #63708a;
    --soft: #f2f6fa;
    --white: #fff;
    --radius: 28px;
}

/* =========================================================
   2) Base / reset
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero h1,
.intro h2,
.trust h2,
.audience h2,
.cta h2,
.area-copy h3,
.trust-items h3,
.area-groups h4 {
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1180px,100% - 48px);
    margin-inline: auto;
}

/* =========================================================
   3) Header / navigation
   ========================================================= */

.site-header {
    z-index: 2000;
    color: #fff;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #08123cf7;
    border-bottom: 1px solid #ffffff1f;
    position: sticky;
    top: 0;
    box-shadow: 0 10px 30px #08123c26;
}

.header-inner {
    align-items: center;
    gap: 34px;
    min-height: 78px;
    display: flex;
}

.wordmark {
    flex: none;
    align-items: center;
    display: inline-flex;
}

    .wordmark img {
        width: auto;
        height: 40px;
        display: block;
    }

nav {
    color: #ffffffc7;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 650;
    display: flex;
}

    nav a:hover {
        color: #fff;
    }

.login-link {
    color: var(--cyan-on-dark);
    white-space: nowrap;
    background: transparent;
    border: 1px solid rgba(117,220,228,.55);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 140px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 800;
    transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s ease;
}

.site-header .login-link:hover {
    color: var(--navy);
    background: var(--cyan-on-dark);
    border-color: var(--cyan-on-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(117, 220, 228, .18);
}

.login-link:focus-visible {
    color: var(--navy);
    outline-offset: 3px;
    background: var(--cyan-on-dark);
    outline: 3px solid rgba(117,220,228,.32);
}

.site-header .button-small {
    color: #ffffffd1;
    box-shadow: none;
    background: 0 0;
    border: 1px solid #ffffff3d;
    padding-inline: 15px;
}

    .site-header .button-small:hover {
        color: #fff;
        background: #ffffff17;
        border-color: #ffffff85;
        transform: translateY(-1px);
    }

    .site-header .button-small:focus-visible {
        color: #fff;
        outline-offset: 3px;
        background: #ffffff17;
        outline: 3px solid #ffffff2e;
    }


/* =========================================================
   3.1) Mobile navigation – navazuje na burger v portálu
   ========================================================= */

.public-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 9px;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #FFFFFF;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

    .public-mobile-toggle:hover {
        background: rgba(255,255,255,.08);
    }

    .public-mobile-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        margin: 0;
        background: currentColor;
        border-radius: 999px;
        transform-origin: center;
        transition: transform .18s ease, opacity .18s ease;
    }

body.mb-public-menu-open .public-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mb-public-menu-open .public-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

body.mb-public-menu-open .public-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.public-mobile-menu,
.public-mobile-backdrop {
    display: none;
}

@media (width <= 900px) {

    .public-mobile-toggle {
        display: inline-flex;
        order: -1;
    }

    .header-inner {
        justify-content: flex-start;
        gap: 12px;
    }

        .header-inner .wordmark {
            margin-right: auto;
        }

    .public-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 78px 0 0 0;
        z-index: 1;
        background: rgba(8,18,60,.30);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

        .public-mobile-backdrop[hidden] {
            display: none !important;
        }

    .public-mobile-menu {
        display: flex;
        position: fixed;
        top: 78px;
        left: -310px;
        z-index: 2;
        width: min(286px, calc(100vw - 44px));
        height: calc(100dvh - 78px);
        padding: 18px 16px 22px;
        flex-direction: column;
        gap: 4px;
        background: #F7F9FC;
        border-right: 1px solid rgba(8,18,60,.08);
        box-shadow: 8px 0 24px rgba(0,0,0,.18);
        overflow-y: auto;
        transition: left .25s ease;
    }

    body.mb-public-menu-open .public-mobile-menu {
        left: 0;
    }

    .public-mobile-menu a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 11px 14px;
        color: var(--navy);
        background: transparent;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 650;
        line-height: 1.25;
        text-decoration: none;
    }

        .public-mobile-menu a:hover,
        .public-mobile-menu a:focus-visible {
            color: var(--navy);
            background: #EDF3FA;
            outline: none;
        }

    .public-mobile-menu .public-mobile-menu-cta {
        margin-top: 10px;
        justify-content: center;
        color: #FFFFFF;
        background: var(--blue);
    }

        .public-mobile-menu .public-mobile-menu-cta:hover,
        .public-mobile-menu .public-mobile-menu-cta:focus-visible {
            color: #FFFFFF;
            background: #005493;
        }

    body.mb-public-menu-open {
        overflow: hidden;
    }
}

/* =========================================================
   4) Shared buttons
   ========================================================= */

.button {
    color: #fff;
    background: var(--blue);
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 750;
    transition: transform .2s,background .2s;
    display: inline-flex;
    box-shadow: 0 12px 28px #00407333;
}

    .button:hover {
        background: #005493;
        transform: translateY(-1px);
    }

.button-small {
    min-height: 38px;
    padding-inline: 17px;
    font-size: 13px;
}

.button-ghost {
    color: var(--navy);
    box-shadow: none;
    background: #fffc;
    border: 1px solid #08123c21;
}

    .button-ghost:hover {
        background: #fff;
    }

/* =========================================================
   5) Hero
   ========================================================= */

.hero {
    border-radius: var(--radius);
    background: #eef4f5;
    align-items: center;
    width: min(1180px,100% - 48px);
    min-height: 680px;
    margin: 28px auto 0;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 60px #1125461a;
}

.hero-image {
    background: url(/img/mujbytak/hero-mujbytak.webp) 50%/cover no-repeat;
    position: absolute;
    inset: 0;
}

.hero-shade {
    background: linear-gradient(90deg,#fffffffa 0%,#ffffffed 38%,#ffffff6b 58%,#fff0 78%);
    position: absolute;
    inset: 0;
}

.hero-content {
    z-index: 1;
    padding-block: 96px;
    position: relative;
}

.kicker {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 850;
}

.hero h1 {
    max-width: 760px;
    color: var(--navy);
    letter-spacing: -.055em;
    margin: 0;
    font-size: clamp(46px,5.3vw,76px);
    line-height: 1.02;
}

    .hero h1 span {
        color: var(--blue);
    }

.hero-copy {
    color: #49556b;
    max-width: 610px;
    margin: 28px 0 0;
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions {
    gap: 12px;
    margin-top: 34px;
    display: flex;
}

.hero-facts {
    color: #526078;
    gap: 28px;
    margin-top: 40px;
    font-size: 13px;
    font-weight: 650;
    display: flex;
}

    .hero-facts span {
        align-items: center;
        gap: 9px;
        display: flex;
    }

        .hero-facts span:before {
            content: "";
            background: var(--cyan-accent);
            border-radius: 50%;
            width: 8px;
            height: 8px;
            box-shadow: 0 0 0 5px #19b8c721;
        }

/* =========================================================
   6) Intro
   ========================================================= */

.intro {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 100px;
    padding-block: 108px 74px;
    display: grid;
}

    .intro h2,
    .trust h2,
    .audience h2,
    .cta h2 {
        color: var(--navy);
        letter-spacing: -.045em;
        margin: 0;
        font-size: clamp(38px,4.3vw,62px);
        line-height: 1.06;
    }

.intro-copy {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

    .intro-copy p {
        margin: 0 0 15px;
    }

/* =========================================================
   7) Five product areas
   ========================================================= */

.areas {
    gap: 28px;
    padding-bottom: 110px;
    display: grid;
}

.area-card {
    border-radius: var(--radius);
    background: #fff;
    min-height: 630px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 60px #1125461f;
}

.area-photo {
    background-position: 50%;
    background-size: cover;
    position: absolute;
    inset: 0;
}

.area-fade {
    background: linear-gradient(90deg,#fff 0%,#fffffffc 39%,#ffffffe6 52%,#fff0 73%);
    position: absolute;
    inset: 0;
}

.area-copy {
    z-index: 1;
    width: 54%;
    padding: 48px 30px 44px 54px;
    position: relative;
}

.area-eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 850;
    color: var(--cyan-on-light) !important;
    margin: 0 0 14px !important;
    font-size: 12px !important;
}

.area-copy h3 {
    color: var(--navy);
    letter-spacing: -.04em;
    margin: 0;
    font-size: clamp(29px,2.65vw,42px);
    line-height: 1.08;
}

.area-copy > p {
    color: var(--muted);
    margin: 18px 0 25px;
    font-size: 17px;
    line-height: 1.62;
}

.area-groups {
    gap: 17px;
    display: grid;
}

    .area-groups section {
        border-top: 1px solid #dfe8ef;
        padding-top: 15px;
    }

    .area-groups h4 {
        color: var(--blue);
        letter-spacing: .01em;
        margin: 0 0 10px;
        font-size: 16px;
    }

    .area-groups ul {
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
    }

    .area-groups li {
        color: #4d5b72;
        padding-left: 19px;
        font-size: 15px;
        line-height: 1.5;
        position: relative;
    }

        .area-groups li:before {
            content: "";
            background: var(--cyan-accent);
            border-radius: 50%;
            width: 6px;
            height: 6px;
            position: absolute;
            top: .52em;
            left: 0;
        }

.area-reverse .area-fade {
    background: linear-gradient(270deg,#fff 0%,#fffffffc 39%,#ffffffe6 52%,#fff0 73%);
}

.area-reverse .area-copy {
    margin-left: auto;
    padding: 48px 54px 44px 30px;
}

/* =========================================================
   8) Integration / trust
   ========================================================= */

.trust {
    color: #fff;
    background: var(--navy);
    border-radius: var(--radius);
    width: min(1180px,100% - 48px);
    margin: 0 auto;
    padding-block: 105px;
    overflow: hidden;
    box-shadow: 0 22px 60px #11254621;
}

.trust-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    width: 100%;
    padding-inline: 64px;
    display: grid;
}

.kicker-light {
    color: var(--cyan-on-dark);
}

.trust h2 {
    color: #fff;
}

.trust-lead {
    color: #b9c3d6;
    max-width: 520px;
    margin: 24px 0 0;
    font-size: 17px;
    line-height: 1.65;
}

.trust-items {
    gap: 28px;
    display: grid;
}

    .trust-items article {
        border-bottom: 1px solid #ffffff24;
        grid-template-columns: 46px 1fr;
        column-gap: 16px;
        padding-bottom: 28px;
        display: grid;
    }

        .trust-items article:last-child {
            border-bottom: 0;
        }

    .trust-items span {
        color: var(--cyan-on-dark);
        grid-row: 1/3;
        font-size: 13px;
        font-weight: 800;
    }

    .trust-items h3 {
        margin: 0 0 8px;
        font-size: 21px;
    }

    .trust-items p {
        color: #b9c3d6;
        margin: 0;
        line-height: 1.6;
    }

/* =========================================================
   9) Target audiences
   ========================================================= */

.audience {
    text-align: center;
    padding-block: 110px;
}

    .audience h2 {
        max-width: 900px;
        margin-inline: auto;
    }

.audience-grid {
    text-align: left;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 55px;
    display: grid;
}

    .audience-grid article {
        background: var(--soft);
        border: 1px solid #e1e8f0;
        border-radius: 22px;
        padding: 34px;
    }

    .audience-grid strong {
        color: var(--navy);
        font-size: 21px;
    }

    .audience-grid p {
        color: var(--muted);
        margin: 14px 0 18px;
        font-size: 16px;
        line-height: 1.6;
    }

    .audience-grid ul {
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
    }

    .audience-grid li {
        color: #44536d;
        padding-left: 19px;
        font-size: 15px;
        line-height: 1.5;
        position: relative;
    }

        .audience-grid li:before {
            content: "";
            background: var(--cyan-accent);
            border-radius: 50%;
            width: 7px;
            height: 7px;
            position: absolute;
            top: .58em;
            left: 0;
        }

/* =========================================================
   10) CTA
   ========================================================= */

.cta {
    color: #fff;
    background: linear-gradient(115deg,var(--blue),#086b91 70%,var(--cyan-app));
    border-radius: var(--radius);
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 90px;
    padding: 58px 64px;
    display: flex;
}

    .cta .kicker {
        color: #a8edf2;
    }

    .cta h2 {
        color: #fff;
        max-width: 790px;
        font-size: clamp(32px,3.45vw,48px);
    }

.cta-note {
    color: #ffffffd6;
    max-width: 760px;
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.6;
}

.button-light {
    color: var(--blue);
    box-shadow: none;
    background: #fff;
    flex: none;
}

    .button-light:hover {
        background: #eefbfc;
    }

/* =========================================================
   11) Footer
   ========================================================= */

footer {
    color: #b9c3d6;
    background: var(--navy);
}

.footer-main {
    grid-template-columns: 1.5fr .8fr .8fr;
    gap: 70px;
    padding-block: 64px 48px;
    display: grid;
}

.footer-brand .wordmark img {
    height: 46px;
}

.footer-brand p {
    color: #fff;
    max-width: 370px;
    margin: 24px 0 9px;
    font-size: 17px;
    line-height: 1.55;
}

.footer-brand small {
    color: #8290aa;
}

.footer-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    line-height: 1.65;
    display: flex;
}

    .footer-column h3 {
        color: #fff;
        text-transform: uppercase;
        letter-spacing: .09em;
        margin: 0 0 8px;
        font-size: 15px;
    }

    .footer-column p {
        margin: 0 0 8px;
    }

    .footer-column a {
        color: #dce4f0;
    }

        .footer-column a:hover {
            color: var(--cyan-on-dark);
        }

.footer-bottom {
    color: #8290aa;
    border-top: 1px solid #ffffff1f;
    justify-content: space-between;
    gap: 30px;
    padding-block: 22px;
    font-size: 12px;
    display: flex;
}

/* =========================================================
   12) Back to top
   ========================================================= */

.back-to-top {
    z-index: 30;
    width: 46px;
    height: 46px;
    color: var(--navy);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    background: #fffffff5;
    border: 1px solid #08123c24;
    border-radius: 50%;
    place-items: center;
    padding: 0;
    font: 700 22px/1 Arial,sans-serif;
    transition: opacity .22s,transform .22s,visibility .22s,background .2s;
    display: grid;
    position: fixed;
    bottom: 28px;
    right: 28px;
    transform: translateY(12px);
    box-shadow: 0 12px 30px #08123c33;
}

    .back-to-top:hover {
        color: #fff;
        background: var(--blue);
    }

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

/* =========================================================
   13) Responsive – tablet / smaller notebook
   ========================================================= */

@media (width<=900px) {
    nav {
        display: none;
    }

    .header-inner {
        justify-content: flex-start;
    }

    .hero {
        min-height: 640px;
    }

    .hero-image {
        background-position: 62%;
    }

    .hero-shade {
        background: linear-gradient(90deg,#fff 0%,#fffffff0 48%,#ffffff59 100%);
    }

    .intro,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .trust {
        padding-block: 78px;
    }

    .trust-grid {
        padding-inline: 42px;
    }

    .area-card {
        min-height: 790px;
        padding-top: 52%;
    }

    .area-photo {
        height: 55%;
        bottom: auto;
    }

    .area-fade,
    .area-reverse .area-fade {
        background: linear-gradient(#0000 26%,#ffffffe6 46%,#fff 58%);
    }

    .area-copy,
    .area-reverse .area-copy {
        width: 100%;
        margin: 0;
        padding: 330px 34px 42px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 35px;
    }
}

/* =========================================================
   14) Responsive – mobile
   ========================================================= */

@media (width<=620px) {
    .shell {
        width: min(100% - 28px,1180px);
    }

    .site-header .button-small {
        display: none;
    }

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .public-mobile-backdrop {
        inset: 68px 0 0 0;
    }

    .public-mobile-menu {
        top: 68px;
        height: calc(100dvh - 68px);
    }

    .login-link {
        min-width: 104px;
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .wordmark img {
        height: 34px;
    }

    .hero {
        border-radius: 21px;
        align-items: flex-start;
        width: min(100% - 28px,1180px);
        margin-top: 10px;
        min-height: 610px;
    }

    .hero-image {
        background-position: 68% 0;
    }

    .hero-shade {
        background: linear-gradient( #ffffff66 0%, #fffffff7 42%, #fff 88% );
    }

    .hero-content {
        padding-block: 48px 42px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-copy {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-facts {
        flex-direction: column;
        gap: 14px;
        margin-top: 28px;
    }

    .intro {
        padding-block: 78px 48px;
    }

    .area-card {
        border-radius: 21px;
        min-height: 830px;
    }

    .area-copy,
    .area-reverse .area-copy {
        padding: 300px 24px 34px;
    }

    .trust,
    .audience {
        padding-block: 78px;
    }

    .trust {
        border-radius: 21px;
        width: min(100% - 28px,1180px);
    }

    .trust-grid {
        padding-inline: 26px;
    }

    .cta {
        border-radius: 22px;
        margin-bottom: 55px;
        padding: 38px 28px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-block: 46px 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }
}

.login-link.is-disabled,
.login-link.is-disabled:hover,
.login-link.is-disabled:focus-visible {
    color: rgba(117, 220, 228, .45);
    background: transparent;
    border-color: rgba(117, 220, 228, .22);
    opacity: .72;
    cursor: default;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    outline: none;
}
