/* GAS */
.gas {
    margin-bottom: 70px;
    margin-top: 54px;
}

.gas .container {
    max-width: 1220px;
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
}

.gas__container {
    width: calc(100% - 251px - 20px);
}

/* SOCIAL */
.gas__social {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 20px 24px;
    min-width: 251px;
    text-align: center;
    position: sticky;
    top: 20px;
}

.gas__social p {
    font-weight: 400;
    font-size: 16px;
    margin: 2px 0 0;
    text-align: left;
}

.gas__social p.silver {
    color: #818181;
    font-size: 13px;
    line-height: 15px;
}

.gas__social a {
    color: #2C6150;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    margin-top: 8px;
    margin-bottom: 16px;
    display: block;
}

.main-button {
    background: #2C6150;
    border-radius: 8px;
    width: 100%;
    max-width: 200px;
    padding: 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    border: 1px solid #2C6150;
    color: #ffffff;
    cursor: pointer;
    transition: color .2s ease-in-out, background-color .2s ease-in-out;
}

.main-button:hover {
    background: #ffffff;
    color: #2C6150;
}
/* GRID */

.grid {
    display: flex;
    column-gap: 40px;
    row-gap: 24px;
    margin-bottom: 32px;
}

.grid__image {
    background: #F9F9F9;
    border-radius: 26px;
    width: 264px;
    min-width: 264px;
    height: 264px;
}

.grid__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.grid__title {
    font-weight: 700;
    font-size: 36px;
    color: #2c6150;
    margin: 0;
}

.grid__subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 23px;
    color: #212121;
    margin-bottom: 0;
}

.grid__texts {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.grid__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #212121;
    margin: 0;
    padding: 4px 0;
}

.grid__text--light {
    color: #818181;
    font-size: 13px;
    line-height: 15px;
}

.details-table {
    margin-bottom: 40px;
}

.details-table__wrapper {
    width: 100%;
    overflow: auto;
}

.details-table--blue table th {
    background: #0883D9;
}

.details-table--orange table th {
    background: #E6A300;
}

.details-table--red table th {
    background: #C6491B;
}

.details-table--green table th {
    background: #A8C105;
}

.details-table table {
    width: 100%;
    margin-top: 16px;
    border: 1px solid #F9F9F9;
    border-radius: 12px;
    overflow: hidden;
    border-spacing: 0;
}

.details-table table th,
.details-table table td {
    padding: 0;
    margin: 0;
    border: 0;
}

.details-table table th {
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-align: left;
    padding: 8px 16px;
    color: #ffffff;
    width: 154px;
    white-space: nowrap;
}

.details-table table tr:nth-child(2) th {
    padding-top: 0;
}

.details-table table th:last-child {
    text-align: center;
}


.details-table__cell-detailed tr:first-child th {
    padding-bottom: 4px;
    padding-right: 0;
}

.details-table__cell-detailed tr:last-child th {
    vertical-align: bottom;
    margin-top: 4px;
}

.details-table__cell-detailed tr:first-child th:last-child {
    padding-right: 16px;
}

.details-table table th.details-table__cell-between ,
.details-table table td.details-table__cell-between {
    /*padding-right: 30px;*/
}

.details-table table th.details-table__cell-bottom {
    vertical-align: bottom;
}

.details-table table b {
    font-weight: 700;
}

.details-table table .details-table__cell-between b,
.details-table table .details-table__cell-between p {
    margin-top: 4px;
    display: flex;
    gap: 8px;
}

.details-table table .details-table__cell-between b span,
.details-table table .details-table__cell-between p span {
    width: 50%;
    text-align: left;
    display: inline-block;
}

.details-table table td.details-table__cell-between p {
    margin: 0;
}

.details-table table td {
    padding: 14px 16px;
    white-space: nowrap;
}

.details-table table tr:nth-child(2n) td {
    background: #F9F9F9;
}

.details-table table td:last-child {
    text-align: center;
}

.details-table table td.text-left {
    text-align: left;
}

.details-table table td[rowspan] {
    border-left: 1px solid #F9F9F9;
    border-right: 1px solid #F9F9F9;
    vertical-align: middle;
}

.details-table table td a {
    display: inline-block;
    transition: filter .3s ease-in-out;
}

.details-table table td a:hover {
    filter: brightness(1.5);
}

.details-table table th p {
    margin: 0;
    font-weight: 400;
}

/* MODAL */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.modal__container {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
}

.modal__container h2 {
    margin-top: 0;
    margin-bottom: 32px;
}

.modal__container .gas__social {
    min-width: 192px;
    margin-top: 56px;
}

.modal__close {
    position: absolute;
    top: 37px;
    right: 37px;
    z-index: 1;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.modal__close:hover {
    opacity: .7;
}

.modal__form form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal__form form label {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

.modal__form form label input {
    display: block;
    margin-top: 8px;
    height: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    padding: 4px 8px;
    width: 100%;
}

.modal__form form label textarea {
    display: block;
    margin-top: 8px;
    height: 54px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    padding: 4px 8px;
    width: 100%;
    resize: none;
}

.modal__form form button {
    max-width: 100%;
}

/* MODAL */

@media screen and (max-width: 1208px) {
    .gas .container {
        flex-direction: column;
        gap: 0;
    }

    .gas__container {
        width: 100%;
    }

    .gas__social {
        width: 100%;
        margin-top: 0;
    }

    .gas__social p {
        text-align: center;
    }

    .gas__social button {
        max-width: 280px;
    }

    /* modal */

    .modal {
        align-items: flex-start;
        padding: 20px;
        overflow: auto;
    }

    .modal__container {
        flex-direction: column;
    }

    .modal__container .gas__social {
        margin-top: 0;
    }

    .modal__close {
        top: 12px;
        right: 12px;
    }

    .modal__close img {
        width: 20px;
    }
}

@media screen and (max-width: 768px) {
    .grid {
        flex-direction: column;
    }

    .grid__image {
        width: 100%;
    }
}

@media screen and (max-width: 550px) {

}
