/* ============================================================
   PRESS PLAY COWORKING HUB  ·  hub.ppmm.sk
   Standalone micro-site. No CMS, no DB. Plain HTML/CSS/JS.
   Font + tokens + circle motif matched to ppmm.sk (app.css).
   ============================================================ */
:root {
    --ink: #060009; /* hero + footer dark */
    --ink-soft: #0f0b14;
    --yellow: #ffd85d;
    --yellow-hi: #ffe58a;
    --yellow-deep: #f2c53d;
    --gray: #a0a0a0; /* brand gray (also button hover) */
    --text: #1b1b1f; /* body text on light */
    --muted: #6c6a72;
    --paper: #ffffff; /* base / benefits */
    --paper-2: #f2f2f2; /* hubs section + guide lines */
    --line-light: #e6e6e3;
    --line: rgba(255, 255, 255, .10);
    --line-ink: rgba(6, 0, 9, .10);

    --radius: 20px;
    --radius-lg: 24px;
    --radius-pill: 32px;

    --shadow-sm: 0 8px 22px -12px rgba(6, 0, 9, .22);
    --shadow: 0 26px 60px -30px rgba(6, 0, 9, .4);
    --shadow-btn: 0 30px 60px rgba(0, 0, 0, .1);
    --shadow-circle: 0 0 60px rgba(0, 0, 0, .17);

    --wrap: 1160px;
    --gap: clamp(1rem, 3vw, 2rem);
    --sp-section: clamp(4.5rem, 9vw, 8rem);

    --f: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }
}

body {
    margin: 0;
    font-family: var(--f);
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--yellow);
    color: #212529
}
::-webkit-scrollbar {
    width: 12px;
    height: 35px;
    padding-left: 10px;
}
::-webkit-scrollbar-corner {
    background-color: var(--ink);
}
::-webkit-scrollbar-thumb {
    height: 50px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--ink);
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

h1, h2, h3 {
    line-height: 1.06;
    margin: 0;
    font-weight: 700
}

p {
    margin: 0
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2rem);
    position: relative;
    z-index: 2
}

.section {
    padding-block: var(--sp-section);
    position: relative;
    overflow: hidden
}

:where(#benefity,#huby,#kontakt) {
    scroll-margin-top: 82px
}

/* ---- shared bits ---- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--yellow-deep);
    margin: 0 0 1.1rem
}

.eyebrow.on-dark {
    color: var(--yellow)
}

.eyebrow .play {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent currentColor;
    display: inline-block
}

.hl {
    color: var(--yellow)
}

/* on dark: yellow text */
.mark {
    background: linear-gradient(transparent 55%, var(--yellow) 55%);
    padding: 0 .05em
}

/* on light: marker */
.section-lead {
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.06rem;
    margin-top: 1rem
}

/* ---- circle motif (from ppmm.sk section.clients) ---- */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: var(--shadow-circle);
    pointer-events: none;
    z-index: 0
}

/* ---- buttons (matched to .btn / .btn-primary) ---- */
.btn {
    --bg: var(--yellow);
    --fg: #000;
    --bd: var(--yellow);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    justify-content: center;
    font-family: var(--f);
    font-weight: 700;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: .01em;
    padding: .95rem 1.6rem;
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--fg);
    border: 2px solid var(--bd);
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease, box-shadow .2s ease;
}

.btn:hover {
    --bg: var(--gray);
    --bd: var(--gray);
    --fg: #fff;
    transform: translateY(-2px)
}

.btn:active {
    transform: translateY(0)
}

.btn .play {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent currentColor
}

.btn--ghost {
    --bg: transparent;
    --fg: #fff;
    --bd: rgba(255, 255, 255, .4);
    box-shadow: none
}

.btn--ghost:hover {
    --bg: rgba(255, 255, 255, .08);
    --fg: #fff;
    --bd: #fff;
    transform: translateY(-2px)
}

.btn--dark {
    --bg: var(--ink);
    --fg: #fff;
    --bd: var(--ink)
}

.btn--dark:hover {
    --bg: #000;
    --bd: #000;
    --fg: var(--yellow)
}

:where(a,button):focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 6px
}

.hero :where(a,button):focus-visible, .hubs :where(a,button):focus-visible {
    outline-color: var(--yellow)
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 0, 9, .72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease
}

.site-header.scrolled {
    background: rgba(6, 0, 9, .95)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding-block: .55rem
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: var(--yellow);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 20px -8px rgba(242, 197, 61, .7)
}

.brand__mark span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent var(--ink);
    margin-left: 2px
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.02
}

.brand__text b {
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.brand__text small {
    font-size: .64rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--yellow)
}

.header-cta .btn {
    padding: .58rem 1.15rem;
    font-size: .82rem
}

@media (max-width: 560px) {
    .brand__text small {
        display: none
    }

    .header-cta .btn span.label {
        display: none
    }

    .header-cta .btn {
        padding: .55rem .8rem
    }
}

/* ============================================================
   HERO  (kept dark & near-untouched; circle added on the right)
   ============================================================ */
.hero {
    position: relative;
    color: #fff;
    background: var(--ink);
    overflow: hidden
}

.hero__grid {
    position: absolute;
    inset: 0;
    opacity: .4;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 75% at 62% 25%, #000 40%, transparent 100%)
}

/* the yellow disc filling the right side of the banner */
.hero__circle {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    width: clamp(340px, 42vw, 620px);
    aspect-ratio: 1;
    right: clamp(-220px, -8vw, -90px);
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle at 36% 34%, var(--yellow-hi), var(--yellow) 52%, var(--yellow-deep) 100%);
    box-shadow: 0 0 120px rgba(255, 216, 93, .28), inset 0 0 90px rgba(255, 255, 255, .12);
    opacity: .96
}

.hero__ring {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 216, 93, .35);
    width: clamp(420px, 52vw, 780px);
    aspect-ratio: 1;
    right: clamp(-320px, -14vw, -180px);
    top: 50%;
    transform: translateY(-50%)
}

/* keep hero text fully legible over the disc */
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, var(--ink) 30%, rgba(6, 0, 9, .55) 55%, transparent 78%)
}

.hero .wrap {
    padding-block: clamp(4rem, 10vw, 7.2rem)
}

.hero__inner {
    max-width: 75ch
}

.hero h1 {
    font-size: clamp(2.6rem, 6.6vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -.015em
}

.hero__desc {
    margin-top: 1.4rem;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: #cfcdd2;
    max-width: 49ch
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2.2rem
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2rem;
    margin-top: 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    color: var(--gray)
}

.hero__meta b {
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    display: block
}

.hero__meta small {
    font-size: 1rem;
}

@media (max-width: 640px) {
    .hero__circle {
        width: clamp(140px, 44vw, 205px);
        right: -52px;
        top: -72px;
        transform: none;
        opacity: .9
    }

    .hero__ring {
        display: none
    }

    .hero__scrim {
        background: none
    }
}

/* ============================================================
   BENEFITY  (light)
   ============================================================ */
.benefits {
    background: var(--paper)
}

.benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .9;
    background-image: linear-gradient(90deg, transparent calc(50% - 246px), var(--line-light) calc(50% - 246px),
    var(--line-light) calc(50% - 245px), transparent calc(50% - 245px),
    transparent calc(50% + 245px), var(--line-light) calc(50% + 245px),
    var(--line-light) calc(50% + 246px), transparent calc(50% + 246px))
}

.benefits__head {
    margin-bottom: clamp(2rem, 5vw, 3.2rem)
}

.benefits h2 {
    font-size: clamp(1.9rem, 4.4vw, 3rem)
}

.cards-3 {
    display: grid;
    gap: var(--gap);
    grid-template-columns:repeat(3, 1fr)
}

@media (max-width: 880px) {
    .cards-3 {
        grid-template-columns:1fr
    }
}

.benefit {
    background: #fff;
    border: 1px solid var(--line-ink);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease
}

.benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.benefit__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--yellow);
    margin-bottom: 1.3rem
}

.benefit__icon svg {
    width: 32px;
    height: 32px
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: .6rem
}

.benefit p {
    color: var(--muted)
}

/* ============================================================
   HUBY  (now light, with the yellow circle motif behind)
   ============================================================ */
.hubs {
    background: var(--paper-2);
    color: var(--text)
}

.hubs .deco-circle {
    width: clamp(420px, 60vw, 810px);
    aspect-ratio: 1;
    right: calc(18vw + 40px);
    bottom: -320px;
    opacity: .9
}

.hubs__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: clamp(2rem, 5vw, 3.2rem)
}

.hubs h2 {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    max-width: 20ch
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--line-ink);
    color: var(--text);
    font-weight: 700;
    font-size: .85rem;
    padding: .55rem 1rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm)
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow-deep);
    box-shadow: 0 0 0 0 rgba(242, 197, 61, .7);
    animation: pulse 2.4s infinite
}

@media (prefers-reduced-motion: reduce) {
    .badge .dot {
        animation: none
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 197, 61, .55)
    }
    70% {
        box-shadow: 0 0 0 10px rgba(242, 197, 61, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 197, 61, 0)
    }
}

.cards-2 {
    display: grid;
    gap: var(--gap);
    grid-template-columns:repeat(2, 1fr)
}

@media (max-width: 820px) {
    .cards-2 {
        grid-template-columns:1fr
    }
}

.hub {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line-ink);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.hub:hover, .hub:focus-within {
    transform: translateY(-6px);
    border-color: rgba(242, 197, 61, .6);
    box-shadow: 0 34px 70px -34px rgba(6, 0, 9, .5)
}

.hub__head {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden
}

.hub__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 0, 9, .1), rgba(6, 0, 9, .82)),
    linear-gradient(135deg, #2a2233, #120d19);
    background-size: cover;
    background-position: center top;
    filter: grayscale(1) contrast(1.02);
    transition: filter .35s ease, transform .5s ease
}

.hub:hover .hub__media, .hub:focus-within .hub__media {
    filter: grayscale(0);
    transform: scale(1.04)
}

.hub__tags {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem
}

.tag {
    background: rgba(6, 0, 9, .72);
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 600;
    padding: .28rem .7rem;
    border-radius: var(--radius-pill)
}

.hub__body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1
}

.hub__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem
}

.hub__title h3 {
    font-size: 1.45rem
}

.hub__play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: var(--yellow);
    transition: transform .25s ease;
    box-shadow: 0 8px 18px -8px rgba(242, 197, 61, .8)
}

.hub:hover .hub__play {
    transform: scale(1.12)
}

.hub__play span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent var(--ink);
    margin-left: 2px
}

.hub__rows {
    display: flex;
    flex-direction: column;
    gap: .55rem
}

.hub__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .95rem;
    padding-bottom: .55rem;
    border-bottom: 1px dashed var(--line-ink)
}

.hub__row:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.hub__row .k {
    color: var(--muted)
}

.hub__row .v {
    font-weight: 600;
    text-align: right
}

.hub__price {
    margin-top: .3rem;
    display: flex;
    align-items: baseline;
    gap: .5rem
}

.hub__price .pre {
    color: var(--muted);
    font-size: .85rem;
    align-self: center
}

.hub__price .amount {
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--text)
}

.hub__price .amount b {
    background: linear-gradient(transparent 60%, var(--yellow) 60%)
}

.hub__price .unit {
    color: var(--muted);
    font-size: .9rem
}

/* ============================================================
   KONTAKT  (yellow — bright closing CTA)
   ============================================================ */
.contact {
    background: var(--yellow);
    color: var(--ink);
    text-align: center;
    box-shadow: 0px -5px 50px 0px #0000002e;
}

.contact::before {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    width: min(560px, 86vw);
    aspect-ratio: 1;
    left: 50%;
    top: -46%;
    transform: translateX(-50%);
    border: 1.5px solid rgba(6, 0, 9, .10)
}

.contact__inner {
    max-width: 46ch;
    margin-inline: auto
}

.contact .eyebrow {
    color: var(--ink);
    justify-content: center
}

.contact h2 {
    font-size: clamp(2rem, 5vw, 3.2rem)
}

.contact p {
    margin-top: 1.1rem;
    color: #4a3f18;
    font-size: 1.12rem
}

.contact .btn {
    margin-top: 2rem;
    font-size: 1.05rem;
    padding: 1.05rem 2rem
}

.contact__note {
    margin-top: 1rem;
    font-size: .88rem;
    color: #4a3f18
}

.contact__note a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px
}

/* ============================================================
   FOOTER  (dark)
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: var(--gray);
    border-top: 1px solid var(--line);
    padding-block: clamp(2.5rem, 5vw, 3.5rem)
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.6rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--line)
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2.2rem
}

.footer-contact a {
    color: #fff;
    font-weight: 600
}

.footer-contact a:hover {
    color: var(--yellow)
}

.socials {
    display: flex;
    gap: .6rem
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--gray);
    transition: .2s ease
}

.socials a:hover {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow)
}

.socials svg {
    width: 18px;
    height: 18px
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .8rem 1.5rem;
    align-items: center;
    padding-top: 1.6rem;
    font-size: .85rem
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem
}

.footer-bottom a:hover {
    color: var(--yellow)
}

.to-main a {
    color: var(--yellow)
}

/* ---- scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}