/******** Centrálny dizajnový systém: tu meníme farby a základné hodnoty. **********/

:root{
    --navy:#273872;
    --navy-deep:#17356f;
    --gold:#f1b533;
    --red:#eb293b;
    --ink:#20385f;
    --soft-blue:#eef4fa;
    --paper:#fff;
    --container:1320px;
    --radius:24px}

*{
    box-sizing:border-box}
    
html{
    scroll-behavior:smooth}
    
body{
    margin:0;
    background:var(--paper);
    font-family:"Segoe UI",Arial,sans-serif;
    color:var(--ink);
    -webkit-font-smoothing:antialiased}

#o-nas {
    scroll-margin-top: 120px;
}    
    
a{
    color:inherit;
    text-decoration:none}
    
button{
    font:inherit}
    
.container{
    width:min(calc(100% - 72px),var(--container));
    margin-inline:auto}
    
.button{
    min-height:54px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    padding:14px 27px;
    border-radius:999px;
    font-weight:700;
    font-size:15px;
    transition:transform .2s,box-shadow .2s,background .2s;
    border:1.5px solid transparent;
    white-space:nowrap}
    
.button:hover{
    transform:translateY(-2px)}
    
.button:focus-visible,a:focus-visible,button:focus-visible{
    outline:3px solid var(--gold);
    outline-offset:4px}
    
.button-blue{background:var(--navy-deep);
    color:#fff;
    box-shadow:0 10px 23px rgba(23,53,111,.17)}
    
.button-blue:hover{
    background:#112a5d}
    
.button-gold{
    background:var(--gold);
    color:#122956}
    
.button-outline{
    background:#fff;
    color:var(--navy-deep);
    border-color:var(--navy)}
    
.eyebrow{
    text-transform:uppercase;
    letter-spacing:.22em;
    font-weight:600;
    font-size:12px;
    color:var(--navy)}
    
.coming-soon{
    min-height:65vh;
    padding-block:110px 100px}
    
.coming-soon h1{
    font-family:Georgia,serif;
    font-size:clamp(44px,6vw,76px);
    color:var(--navy);
    margin:0}
    
.coming-soon p:not(.eyebrow){
    font-size:19px;
    line-height:1.7;
    margin:24px 0 32px}



/* ==================================
   TLAČIDLO SPÄŤ HORE
   ================================== */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;

    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;

    background: var(--navy-deep);
    color: #ffffff;

    font-size: 28px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(17, 42, 93, .20);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .3s ease;
}

/* Zobrazenie po odscrollovaní */

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

.back-to-top:hover {
    background: #294a8a;
    transform: translateY(-4px);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* MOBIL */

@media (max-width: 760px) {
    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

    
@media(max-width:640px){
    .container{
        width:min(calc(100% - 38px),var(--container))}
    .button{
        min-height:52px}}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}        
