:root {
    --sv-paper: #fbf8f4;
    --sv-card: #ffffff;
    --sv-ink: #2b2622;
    --sv-mute: #7a6f66;
    --sv-clay: #c0643f;
    --sv-clay-deep: #a14f2f;
    --sv-sand: #f3ebe2;
    --sv-line: #e8ddd1;
    --sv-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sv-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--sv-paper);
    color: var(--sv-ink);
    font-family: var(--sv-font);
    font-size: 16px;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

/* шапка */
.sv-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px 18px;
    background: var(--sv-sand);
    border-bottom: 1px solid var(--sv-line);
}

.sv-top__site {
    color: var(--sv-ink);
    text-decoration: none;
    font-family: var(--sv-serif);
    font-size: 21px;
    letter-spacing: .02em;
    text-align: center;
}

.sv-top__site:hover {
    color: var(--sv-clay);
}

/* заголовок */
.sv-lead {
    max-width: 820px;
    margin: 40px auto 26px;
    padding: 0 16px;
    text-align: center;
    font-family: var(--sv-serif);
    font-weight: 400;
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.22;
}

.sv-lead__hl {
    color: var(--sv-clay);
    font-style: italic;
}

/* відео */
#sv-stage {
    padding: 0 16px;
}

#sv-screen {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
    box-shadow: 0 1px 0 var(--sv-line), 0 18px 40px -24px rgba(43, 38, 34, .45);
}

#sv-film {
    display: block;
    width: 100%;
    height: auto;
}

#sv-go {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(43, 38, 34, .32);
    cursor: pointer;
    transition: opacity .25s ease, visibility .25s ease;
}

.sv-go__round {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--sv-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-go__pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    animation: sv-ring 2.2s ease-out infinite;
}

.sv-go__pulse--late {
    animation-delay: 1.1s;
}

@keyframes sv-ring {
    from {
        transform: scale(.9);
        opacity: .9;
    }
    to {
        transform: scale(1.35);
        opacity: 0;
    }
}

.sv-go__tri {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-style: solid;
    border-width: 13px 0 13px 21px;
    border-color: transparent transparent transparent var(--sv-clay);
}

.sv-go__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 12px;
}

.sv-go__main {
    font-size: 18px;
    font-weight: 600;
}

.sv-go__sub {
    font-size: 13px;
    opacity: .85;
}

#sv-go:hover .sv-go__round {
    transform: scale(1.04);
}

.sv-go--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#sv-wide {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#sv-wide:hover {
    background: #fff;
}

#sv-wide svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--sv-ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#sv-screen:fullscreen,
#sv-screen:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

#sv-screen:fullscreen #sv-film,
#sv-screen:-webkit-full-screen #sv-film {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* форма */
.sv-request {
    padding: 46px 16px 12px;
}

.sv-sheet {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 30px 26px 24px;
    background: var(--sv-card);
    border: 1px solid var(--sv-line);
    border-top: 4px solid var(--sv-clay);
    border-radius: 4px;
}

.sv-sheet__head {
    margin: 0 0 18px;
    text-align: center;
    font-family: var(--sv-serif);
    font-weight: 400;
    font-size: 25px;
}

.sv-sheet__pic {
    margin: 0 0 14px;
    padding: 14px;
    background: var(--sv-sand);
    border-radius: 4px;
}

.sv-sheet__pic img {
    margin: 0 auto;
    max-height: 280px;
    width: auto;
    object-fit: contain;
}

.sv-sheet__avail {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.sv-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    font-size: 13px;
    color: #3f6b3a;
    background: #eef5ea;
    border-radius: 999px;
}

.sv-chip__led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f9a45;
}

.sv-sheet__hp {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.sv-sheet__row {
    margin-bottom: 14px;
}

.sv-sheet__cap {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--sv-mute);
}

.sv-sheet__box {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    color: var(--sv-ink);
    background: var(--sv-paper);
    border: 1px solid var(--sv-line);
    border-radius: 4px;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.sv-sheet__box:focus {
    border-color: var(--sv-clay);
    background: #fff;
}

.sv-sheet__box--tel {
    letter-spacing: .03em;
}

.sv-sheet__btn {
    width: 100%;
    margin-top: 6px;
    padding: 15px 18px;
    font: inherit;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    background: var(--sv-clay);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s ease;
}

.sv-sheet__btn:hover {
    background: var(--sv-clay-deep);
}

.sv-sheet__fine {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--sv-mute);
}

/* підвал */
.sv-bottom {
    margin-top: 44px;
    border-top: 1px solid var(--sv-line);
    background: var(--sv-card);
}

.sv-bottom__in {
    max-width: 860px;
    margin: 0 auto;
    padding: 26px 16px 32px;
    text-align: center;
}

.sv-bottom__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 14px;
}

.sv-bottom__links a {
    color: var(--sv-ink);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--sv-line);
}

.sv-bottom__links a:hover {
    color: var(--sv-clay);
    border-color: var(--sv-clay);
}

.sv-bottom__copy {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--sv-mute);
}

.sv-bottom__warn {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--sv-mute);
}

@media (max-width: 600px) {
    .sv-lead {
        margin-top: 28px;
    }
    .sv-sheet {
        padding: 24px 16px 20px;
    }
    .sv-sheet__pic img {
        max-height: 220px;
    }
    .sv-go__round {
        width: 64px;
        height: 64px;
    }
}
