*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#f2f2f2;
    display: contents;
    justify-content:center;
    padding:20px 0;
}

.wrapper{
    width:100%;
}

.video-box{
    position:relative;
    width:100%;
    max-width:730px;          /* як на прикладі */
    margin:25px auto 35px;
    border-radius:10px;
    overflow:hidden;
    background:#000;
}

/* Основне відео */

#player{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    background:#000;
}

/* Preview */

#previewVideo{
    border-radius:10px;
}

/* Plyr */

.plyr{
    width:100%;
    border-radius:10px;
    overflow:hidden;
    font-family:inherit;
}

.plyr--video{
    background:#000;
}

.plyr__video-wrapper{
    aspect-ratio:16/9;
    background:#000;
}

.plyr video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Нижня панель */

.plyr--full-ui input[type=range]{
    color:#00a62c;
}

.plyr__control--overlaid{
    background:rgba(0,166,44,.9);
}

.plyr__controls{
    padding:10px 12px;
}

.plyr__progress input[type=range]{
    color:#00a62c;
}

/* ===========================
   SOUND POPUP
=========================== */

.sound-popup{

    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    z-index:50;

    background:rgba(0,0,0,.35);

    text-align:center;

    transition:.3s;
}

.popup-title{

    color:#fff;
    font-size:28px;
    font-weight:700;
    margin-bottom:18px;

}

.sound-btn{

    width:95px;
    height:95px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#00a62c;

    cursor:pointer;

    animation:pulse 1.2s infinite;

}

.sound-btn svg{

    width:46px;
    height:46px;

}

.popup-text{

    margin-top:18px;

    color:#fff;

    font-size:22px;
    font-weight:600;

}

@keyframes pulse{

    0%{
        transform:scale(1);
        box-shadow:0 0 0 0 rgba(0,166,44,.7);
    }

    70%{
        transform:scale(1.08);
        box-shadow:0 0 0 20px rgba(0,166,44,0);
    }

    100%{
        transform:scale(1);
        box-shadow:0 0 0 0 rgba(0,166,44,0);
    }

}


/* FORM */

.form-wrap{
    width:100%;
    max-width:520px;
    margin:35px auto 0;
    background:#c5e0c963;
    padding:28px 18px;
    border-radius:35px;
}

.input,
.phone{
    width:100%;
    height:58px;
    border:none;
    outline:none;
    border-radius:35px;
    padding:0 22px;
    font-size:18px;
    margin-bottom:14px;
    background:#fff;
}

.btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:35px;
    background:#8d2013;
    color:#fff;
    font-size:22px;
    font-weight:800;
    cursor:pointer;
    transition:.2s;
}

.btn:hover{
    transform:scale(1.02);
}

/* FOOTER */

.footer{
    text-align:center;
    margin-top:35px;
    color:#8b8b8b;
    font-size:14px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 10px;
}
.header h1 {
    font-weight: 900;
    font-size: 43px;
    line-height: 52px;
    text-align: center;
    color: #009320;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-top: 40px;
}
    
    .comments {
    margin: 50px auto 60px;
    padding: 42px 250px;    
}
.comments .container {
    background: #ffffff05;
    padding: 32px;
    border-radius: 16px;
}
.comments__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00861D;
    background: #00861D;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    margin: -32px -32px 20px;
}
.comments__input-wrapper {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: flex-end;
}
.comments__input-wrapper2 {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.comment__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
}
.comments__input {
    flex: 1;
    min-height: 40px;
    padding: 10px 15px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    background-color: #f5f5f5;
    resize: vertical;
    transition: border-color 0.2s;
    resize: none;
    color: #333;
}
.comment__btn {
    background: transparent;
    border: none;
    color: #00861D;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 15px;
    transition: opacity 0.2s;
    text-transform: lowercase;
}
.comments__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comment {
    display: flex;
    gap: 12px;
    padding: 7px 0;
}
.comment__content {
    flex: 1;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 18px;
}
.comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.comment__author {
    font-weight: 700;
    font-size: 14px;
    color: #000;
}
.comment__text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 8px;
}
.comment__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.action__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment__link {
    color: #00861D;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: text-decoration 0.2s;
}
@media(max-width:768px){

    body{
        padding:0;
        background:#f2f2f2;
    }

    .wrapper{
        width:100%;
        max-width:100%;
        padding:0 12px;
    }

    .video-box{
        width:95%;
        margin:20px auto;
        border-radius:8px;
    }

    .plyr{
        width:100%;
        height:auto !important;
    }

    .plyr video{
        width:100%;
        height:100%;
       
    }

    .form-wrap{
        width:calc(100% - 24px);
        max-width:100%;
        margin:20px auto 0;
        border-radius:32px;
        padding:24px 16px;
    }

    .input,
    .phone{
        height:52px;
        font-size:16px;
    }

    .btn{
        height:56px;
        font-size:18px;
    }

    .sound-popup{
        width:100%;
        padding:24px 16px;
        border-radius:24px;
    }

    .popup-title{
        font-size:16px;
    }

    .popup-text{
        font-size:15px;
    }
    .header h1 {
        font-size: 28px;
        line-height: 36px;
    }
        .header{
        padding-left: 16px;
        padding-right: 16px;
    }
    .comments {
        margin: 0px;
        padding-inline: 12px;
    }
    .comments .container {
        padding: 20px 15px;
    }
    .comments__title {
        margin: -20px -15px 15px;
    }
   

}