/* Formular sluzeb - mobile first, primo na tmavem pozadi webu (#192025).
   Formular sedi v levem sloupci .rozdeleni (misto fotogalerie), text stranky je vpravo v .text. */

.fs-wrap {
    min-width: 0;
    padding: 24px 16px 100px;
}

.fs-karta {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

.fs-sekce {
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.fs-sekce legend {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 6px;
    border-bottom: 2px solid #d4b26c;
    color: #ffeeca;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fs-mrizka {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

/* Textova pole */
.fs-pole {
    margin: 0;
}

.fs-pole label {
    display: block;
    margin: 0 0 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* 16px brani automatickemu zoomu pri fokusu na iOS */
.fs-pole input,
.fs-pole textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.fs-pole textarea {
    min-height: 130px;
    resize: vertical;
}

.fs-pole input::placeholder,
.fs-pole textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.fs-pole input:focus,
.fs-pole textarea:focus {
    border-color: #d4b26c;
}

/* Sluzby - cely radek je klikaci */
.fs-sluzba {
    position: relative;
    display: block;
    cursor: pointer;
}

.fs-sluzba input {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 22px;
    height: 22px;
    margin: -11px 0 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent no-repeat center / 16px 16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    cursor: pointer;
}

.fs-sluzba input:checked {
    background-color: #d4b26c;
    border-color: #d4b26c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23192025' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fs-sluzba span {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 48px;
    padding: 10px 12px 10px 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
}

.fs-sluzba:hover span {
    border-color: #d4b26c;
}

.fs-sluzba input:checked + span {
    background: rgba(212, 178, 108, 0.14);
    border-color: #d4b26c;
    color: #ffeeca;
}

.fs-pole input:focus-visible,
.fs-pole textarea:focus-visible,
.fs-sluzba input:focus-visible,
.fs-odeslat:focus-visible {
    outline: 2px solid #d4b26c;
    outline-offset: 2px;
}

/* Odeslani */
.fs-chyba {
    margin: 0 0 14px;
    padding: 12px;
    background: rgba(246, 75, 47, 0.15);
    border-left: 4px solid #f64b2f;
    color: #ffc2b6;
    font-size: 15px;
}

.fs-chyba a {
    color: inherit;
}

/* Potvrzeni po odeslani */
.fs-stav {
    padding: 24px 0;
    border-top: 2px solid #d4b26c;
    border-bottom: 2px solid #d4b26c;
}

.fs-stav h2 {
    margin: 0;
    color: #ffeeca;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: normal;
    line-height: 1.2;
}

.fs-stav p {
    margin: 0;
}

.fs-stav a {
    color: #d4b26c;
}

.fs-akce {
    margin: 0;
}

.fs-odeslat {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 32px;
    background: #d4b26c;
    border: 0;
    border-radius: 4px;
    color: #192025;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.fs-odeslat:hover {
    background: #ffeeca;
}

/* Pravy sloupec s textem stranky: nesmi se roztahnout pres sirku obrazovky */
.rozdeleni > .fs-text {
    min-width: 0;
}

/* Dva sloupce: na sirokem mobilu/tabletu (formular pres celou sirku)
   a na sirokem desktopu. Mezi 769-1099 px je formular jen v 60% sloupci, proto jeden sloupec. */
@media only screen and (min-width: 600px) and (max-width: 768px), only screen and (min-width: 1100px) {
    .fs-mrizka {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 769px) {
    .fs-wrap {
        padding: 40px 30px;
    }
}

/* Uzky 40% sloupec - velky nadpis z text.css (450 %) by pretekal */
@media only screen and (min-width: 769px) and (max-width: 1199px) {
    .text.fs-text h1 {
        font-size: 5vw;
    }
}

@media only screen and (min-width: 900px) {
    .fs-odeslat {
        display: inline-block;
        width: auto;
    }
}
