/* fondira.world — головна */

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

:root {
    --fd-slate: #2f4858;
    --fd-slate-deep: #1f323e;
    --fd-salmon: #e07a5f;
    --fd-salmon-hover: #cc6649;
    --fd-text: #22313a;
    --fd-dim: #5f717c;
    --fd-line: #dde5e8;
    --fd-bg: #f5f7f7;
    --fd-white: #ffffff;
    --fd-font: Verdana, Geneva, "DejaVu Sans", sans-serif;
}

body {
    background: var(--fd-bg);
    color: var(--fd-text);
    font-family: var(--fd-font);
    line-height: 1.55;
}

/* шапка */
.FdMast {
    padding: 15px 20px;
    text-align: center;
    background: var(--fd-slate);
}

.FdMast-name {
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fd-white);
}

.FdMast-name:hover {
    color: var(--fd-salmon);
}

/* заголовок */
.FdTitle {
    max-width: 900px;
    margin: 0 auto;
    padding: 44px 20px 28px;
    text-align: center;
    font-size: clamp(24px, 3.9vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--fd-slate-deep);
}

.FdTitle-accent {
    color: var(--fd-salmon);
}

/* відео */
#FdStage {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 16px;
}

#FdFrame {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
    outline: 1px solid var(--fd-line);
    outline-offset: 6px;
}

#FdClip {
    display: block;
    width: 100%;
    height: auto;
}

#FdGate {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    background: rgba(31, 50, 62, .35);
    transition: opacity .25s ease, visibility .25s ease, background .2s ease;
}

#FdGate:hover {
    background: rgba(31, 50, 62, .5);
}

.FdGate-disc {
    position: relative;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--fd-salmon);
}

.FdGate-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--fd-salmon);
    border-radius: 50%;
    animation: fdWave 1.8s ease-out infinite;
}

.FdGate-ring--late {
    animation-delay: .9s;
}

@keyframes fdWave {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.7); opacity: 0; }
}

.FdGate-arrow {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-style: solid;
    border-width: 13px 0 13px 21px;
    border-color: transparent transparent transparent var(--fd-white);
}

.FdGate-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--fd-white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.FdGate-label {
    font-size: 17px;
    font-weight: 700;
}

.FdGate-hint {
    font-size: 12px;
    opacity: .85;
}

.FdGate--off {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#FdWide {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 20;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    background: rgba(47, 72, 88, .8);
}

#FdWide:hover {
    background: var(--fd-slate);
}

#FdWide svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--fd-white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

@media (max-width: 520px) {
    .FdGate-disc {
        width: 58px;
        height: 58px;
    }
    .FdGate-arrow {
        border-width: 10px 0 10px 16px;
    }
    .FdGate-hint {
        display: none;
    }
}

/* форма */
.FdOrder {
    max-width: 520px;
    margin: 0 auto;
    padding: 44px 16px 0;
}

.FdForm {
    padding: 24px 22px;
    background: var(--fd-white);
    border-radius: 10px;
    box-shadow: 0 8px 26px rgba(31, 50, 62, .1);
}

.FdForm-title {
    margin-bottom: 12px;
    text-align: center;
    font-size: 21px;
    color: var(--fd-slate);
}

.FdForm-photo {
    display: flex;
    justify-content: center;
}

.FdForm-photo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .FdForm-photo img { max-height: 220px; }
}

@media (max-width: 480px) {
    .FdForm-photo img { max-height: 180px; }
}

.FdForm-stock {
    margin: 12px 0 18px;
    text-align: center;
}

.FdForm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--fd-slate);
    border: 1px solid var(--fd-line);
    border-radius: 10px;
}

.FdForm-badgeDot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--fd-salmon);
}

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

.FdForm-field {
    position: relative;
    margin-bottom: 14px;
}

.FdForm-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fd-dim);
}

.FdForm-input {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--fd-font);
    font-size: 15px;
    color: var(--fd-text);
    background: var(--fd-white);
    border: 1px solid var(--fd-line);
    border-left: 4px solid var(--fd-slate);
    border-radius: 6px;
    outline: none;
    transition: border-color .2s ease;
}

.FdForm-input::placeholder {
    color: #9eabb2;
}

.FdForm-input:focus {
    border-color: var(--fd-salmon);
}

.FdForm-submit {
    width: 100%;
    margin-top: 6px;
    padding: 15px;
    cursor: pointer;
    font-family: var(--fd-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--fd-white);
    background: var(--fd-salmon);
    border: 0;
    border-radius: 10px;
    transition: background .2s ease;
}

.FdForm-submit:hover {
    background: var(--fd-salmon-hover);
}

.FdForm-note {
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    line-height: 1.65;
    color: var(--fd-dim);
}

/* підвал */
.FdFoot {
    margin-top: 48px;
    padding: 24px 20px;
    text-align: center;
    background: var(--fd-white);
    border-top: 3px solid var(--fd-salmon);
}

.FdFoot-inner {
    max-width: 860px;
    margin: 0 auto;
}

.FdFoot-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin-bottom: 12px;
}

.FdFoot-nav a {
    font-size: 12px;
    color: var(--fd-slate);
    text-decoration: none;
}

.FdFoot-nav a:hover {
    color: var(--fd-salmon);
}

.FdFoot-copy {
    font-size: 11px;
    color: var(--fd-dim);
}

.FdFoot-legal {
    max-width: 760px;
    margin: 10px auto 0;
    font-size: 11px;
    line-height: 1.7;
    color: #8a989f;
}

.FdForm-tel {
    letter-spacing: .03em;
}
