:root {
    --color-black-title: #1B3662;
    --color-red: #C24036;
    --color-black: #33373D;
    --color-mid_blue: #345DA0;
    --color-blue: #2978E1;
}

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

html, body {
    padding: 0;
    margin: 0;
    font-family: FuturaPT, sans-serif;
}

p, ul {
    margin-top: 0;
    margin-bottom: 0;
}

.logo-text {
    color: var(--color-black-title);
    font-size: 22px;
    line-height: 20px;
    font-weight: 700;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 275px;
}

.header-nav {
    display: flex;
    gap: 50px;
}

.header-nav > a {
    color: var(--color-black-title);
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: ease 200ms;
}

.header-nav > a:hover {
    color: var(--color-blue);
}

.header-phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone::before {
    content: ' ';
    display: block;
    width: 16px;
    height: 16px;
    background: url('images/morgue-template/red-phone.svg') no-repeat center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 10px;
}

.section-heading {
    font-size: 41px;
    line-height: 44px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 30px;
    margin-top: 0;
}

.section-text {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-black);
}

.section-block {
    margin-top: 100px;
    margin-bottom: 100px;
}

.tables-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--color-mid_blue);
}

.tables-section .section-heading, .tables-section .section-text {
    color: #fff;
}

.table-heading {
    font-size: 36px;
    line-height: 28px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 30px;
}

.table-list {
    background-color: #fff;
    border-radius: 20px;
    padding: 50px 70px;
    padding-top: 20px;
}

.table-list-item {
    font-size: 24px;
    line-height: 28px;
    padding-top: 30px;
    padding-bottom: 30px;
    color: var(--color-black-title);
    border-bottom: 1px solid rgba(27, 54, 98, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-list-item__price {
    white-space: nowrap;
    padding-left: 10px;
}

.table-list-wrapper {
    margin-top: 40px;
}

.accordion-item {
    border: 2px solid #CAD8EF;
    border-radius: 20px;
    padding-left: 118px;
    padding-right: 282px;
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 16px;
}

.accordion-item-head {
    font-size: 24px;
    line-height: 35px;
    font-weight: 700;
    color: var(--color-black);
    position: relative;
    cursor: pointer;
}

.accordion-item-head::before {
    content: ' ';
    display: block;
    background: url('images/morgue-template/ask.svg') no-repeat center;
    width: 41px;
    height: 41px;
    position: absolute;
    left: -72px;
    top: -5px;
}

.accordion-item-head::after {
    content: ' ';
    display: block;
    background: url('images/morgue-template/arrow-down.svg') no-repeat center;
    width: 29px;
    height: 29px;
    position: absolute;
    right: -250px;
    top: 0;
}

.accordion-item-body {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-black);
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: ease 200ms;
}

.accordion-item-body p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.accordion-item.active .accordion-item-body {
    height: auto;
    opacity: 1;
}

.accordion-item.active .accordion-item-head {
    color: var(--color-mid_blue);
}

.accordion-item.active {
    padding-bottom: 60px;
    border-color: var(--color-mid_blue);
}

.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--color-mid_blue);
}

.contact-section .section-heading, .contact-section .section-text {
    color: #fff;
}

.main-section .section-heading {
    font-size: 58px;
    line-height: 78px;
    color: #fff;
    font-weight: 700;
}

.main-section .section-text {
    color: #fff;
}

.location-address {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 130px;
}

.location-address::before {
    content: ' ';
    display: block;
    min-width: 70px;
    width: 70px;
    height: 70px;
    background: url('images/morgue-template/tool.svg') no-repeat center;
    background-color: #9FB4D8;
    border-radius: 50%;
}

.section__inner {
    position: relative;
    z-index: 1;
}

.main-section {
    position: relative;
    background: linear-gradient(0deg, rgba(27, 54, 98, 0.7), rgba(27, 54, 98, 0.7));
    padding-top: 80px;
    padding-bottom: 100px;
    margin-top: 0;
}

.main-section .section-text {
    max-width: 724px;
}

.main-section .section-heading {
    max-width: 1085px;
}

.main-section__bg {
    position: absolute;
    z-index: -1;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-section .work-time {
    background-color: #fff;
    padding: 28px 42px;
    border-radius: 20px;
    margin-top: 77px;
}

.main-section .work-time__title {
    font-size: 18px;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 15px;
}

.main-section .work-time__phone {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-section .work-time__phone > a {
    font-size: 34px;
    line-height: 30px;
    color: var(--color-mid_blue);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
}

.main-section .work-time__phone > a::before {
    content: ' ';
    display: block;
    background: url('images/morgue-template/article.svg') no-repeat center;
    width: 28px;
    height: 28px;
}

.main-section .work-time__list {
    margin-top: 15px;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-black);
}

.main-section .work-time__list ul {
    list-style: none;
    padding-left: 0;
}

.main-section .work-time__list li {
    display: flex;
    gap: 14px;
    align-items: baseline;
}

.main-section .work-time__list li::before {
    content: ' ';
    background-color: var(--color-mid_blue);
    border-radius: 50%;
    display: block;
    width: 8px;
    height: 8px;
}

.section-heading-link {
    color: #3763AD;
    font-size: 18px;
    float: right;
}

.contacts-list-item__icon {
    background-color: rgb(186 230 255 / 20%);
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-list-item__icon::after {
    content: ' ';
    display: block;
    width: 24px;
    height: 24px;
}

.contacts-list-item--phone .contacts-list-item__icon::after {
    background: url('images/morgue-template/white-phone.svg') no-repeat center;
    background-size: contain;
}

.contacts-list-item--address .contacts-list-item__icon::after {
    background: url('images/morgue-template/tool.svg') no-repeat center;
    background-size: contain;
}

.contacts-list-item--work-time .contacts-list-item__icon::after {
    background: url('images/morgue-template/work-time.svg') no-repeat center;
    background-size: contain;
}

.contacts-list-item--phone a {
    font-size: 36px;
    text-decoration: none;
}

.contacts-list-item__title {
    color: #8497BB;
    font-size: 14px;
    margin-bottom: 12px;
}

.contacts-list-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contacts-list-item__body {
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    font-weight: 500;
}

.contacts-list-item__body a {
    color: inherit;
}

.contacts-list-item__body p {
    margin-top: 0px;
    margin-bottom: 12px;
}

.contact-section-left {
    max-width: 412px;
}

.contact-section-row {
    display: flex;
    gap: 55px;
    margin-top: 50px;
}

.form-section .section-heading {
    line-height: 56px;
}

.form-section .section-heading a {
    display: inline-block;
    color: var(--color-mid_blue);
}

.footer-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-nav > a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav > a:hover {
    text-decoration: underline;
}

.footer-line-inner {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

footer {
    background-color: var(--color-mid_blue);
    color: #C6C6C6;
    font-size: 16px;
    line-height: 20px;
}

footer a {
    color: inherit;
}

.footer-warning {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.slider-section .media-slider {
    margin-top: 70px;
}

.media-slider .slick-slide {
    margin-right: 10px;
}

.media-slider .slick-slide > img, .media-slider .slick-slide > iframe {
    border-radius: 8px;
    display: block;
    width: 100%;
    height: 388px;
    object-fit: cover;
}

.media-slider .slick-slide:last-child {
    margin-right: 0;
}

.media-slider .slick-arrow {
    background-color: #ffffff8c;
    height: 100%;
    width: 64px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-slider .slick-prev {
    left: 0;
}

.media-slider .slick-next {
    right: 0;
}

.media-slider .slick-disabled {
    visibility: hidden;
}

.media-slider .slick-arrow:before {
    content: ' ';
    width: 40px;
    height: 40px;
    display: block;
    background-color: #fff;
    background-image: url('images/arrow.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    border-radius: 50%;
    transform: rotateY(180deg);
}

.media-slider .slick-prev:before {
    transform: rotateY(0deg);
}

.contact-section .map {
    height: 435px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.contact-section-right {
    width: calc(100% - 412px);
}

.form-text {
    color: #8A8A8A;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 18px;
}

.form-section__form .wpcf7-text {
    border: none;
    border-bottom: 2px solid #A3B4D3;
    padding: 30px 40px;
    font-size: 24px;
    color: #8497BB;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.form-section__form .wpcf7-text:active, .form-section__form .wpcf7-text:focus {
    outline: none;
    border-bottom-color: var(--color-mid_blue);
}

.confident-check__label {
    font-size: 14px;
    color: #999999;
}

.confident-check__label a {
    color: #216C5B;
}

.confident-check__box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 2px solid #216C5B;
}

.confident-check input {
    display: none;
}

.confident-check input:checked + .confident-check__box::after {
    content: ' ';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M 26.980469 5.9902344 A 1.0001 1.0001 0 0 0 26.292969 6.2929688 L 11 21.585938 L 4.7070312 15.292969 A 1.0001 1.0001 0 1 0 3.2929688 16.707031 L 10.292969 23.707031 A 1.0001 1.0001 0 0 0 11.707031 23.707031 L 27.707031 7.7070312 A 1.0001 1.0001 0 0 0 26.980469 5.9902344 z'%3E%3C/path%3E%3C/svg%3E");
    transform: translate(-1px, -4px);
}

.confident-check {
    display: flex;
    align-items: center;
    gap: 30px;
}

.form-section__form .wpcf7-submit {
    background-color: var(--color-red);
    color: #fff;
    padding: 12px 62px;
    font-size: 16px;
    font-weight: 500;
    line-height: 36px;
    border-radius: 20px;
    border: 2px solid var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: ease 200ms;
}

.form-section__form .wpcf7-submit:hover {
    background-color: #882c26;
}

.form-section__form .wpcf7-form-control-wrap {
    margin-bottom: 50px;
    display: block;
}

.mobile-menu {
    display: none;
}

.burger {
    display: none;
    background: url('images/burger.svg') no-repeat center;
    background-size: contain;
    border: none;
    width: 40px;
    height: 40px;
}

.accordion .media-slider .slick-slide > img, .accordion .media-slider .slick-slide > iframe {
    height: 250px;
}

header {
    position: fixed;
    z-index: 10;
    background-color: #fff;
    top: 0;
    width: 100%;
}

body {
    padding-top: 100px;
}

/* xxl */

@media (max-width: 1400px) { /* xl */

}

@media (max-width: 1200px) { /* lg */
    .header-nav {
        gap: 15px;
    }
    .location-address {
        margin-top: 60px;
    }
    .main-section .work-time {
        margin-top: 60px;
    }
    .section-heading {
        font-size: 38px;
        line-height: 40px;
    }
    .media-slider .slick-slide > img, .media-slider .slick-slide > iframe {
        height: 280px;
    }
    .accordion-item {
        padding-right: 180px;
    }
    .accordion-item-head::after {
        right: -150px;
    }
    .logo {
        gap: 10px;
        max-width: 255px;
    }
}

@media (max-width: 992px) { /* md */
    .main-section .section-heading {
        font-size: 38px;
        line-height: 58px;
    }
    .section-block {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .main-section {
        margin-top: 0;
    }

    .section-heading {
        font-size: 30px;
    }

    .media-slider .slick-slide > img, .media-slider .slick-slide > iframe {
        height: 200px;
    }

    .accordion-item {
        padding-right: 80px;
    }

    .accordion-item-head::after {
        right: -50px;
    }

    .contact-section-row {
        gap: 25px;
    }

    .header-inner > .header-nav {
        display: none;
    }

    .header-nav {
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 30px;
        align-items: center;
    }

    body.menu-open .mobile-menu {
        display: block;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 768px) { /* sm */
    .main-section .section-heading {
        font-size: 28px;
        line-height: 38px;
    }

    .location-address {
        margin-top: 30px;
    }

    .main-section .work-time {
        margin-top: 30px;
    }

    .section-block {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .main-section {
        margin-top: 0;
        padding-top: 50px;
        padding-bottom: 60px;
    }
    
    .slider-section .media-slider {
        margin-top: 40px;
    }

    .section-heading {
        font-size: 22px;
        line-height: 30px;
    }

    .tables-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-text {
        font-size: 16px;
        line-height: 26px; 
    }

    .table-heading {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .table-list {
        padding: 30px;
        padding-top: 10px;
    }

    .table-list-item {
        font-size: 20px;
        line-height: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .accordion-item-head {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-section-row {
        flex-direction: column;
    }

    .contact-section-left {
        max-width: initial;
    }

    .contact-section-right {
        width: 100%;
    }

    .contact-section .map {
        height: 280px;
    }

    .contact-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-nav > a {
        font-size: 18px;
    }

    .form-section .section-heading {
        line-height: 36px;
    }

    .form-section__form .wpcf7-submit {
        padding: 12px 36px;
    }

    .accordion-item {
        padding-left: 30px;
        padding-right: 30px;
    }

    .accordion-item-head::before {
        left: -51px;
        top: -10px;
    }

    .accordion-item-head {
        margin-left: 33px;
    }

    .accordion-item-head::after {
        right: -10px;
        top: -6px;
    }

    .accordion .media-slider .slick-slide > img, .accordion .media-slider .slick-slide > iframe {
        height: 210px;
    }
}

@media (max-width: 576px) { /* mobile */
    .header-phone::before {
        width: 32px;
        height: 32px;
        background-size: contain;
    }

    .form-section__form .wpcf7-text {
        padding: 14px 30px;
        font-size: 18px;
    }

    .form-section__form .wpcf7-form-control-wrap {
        margin-bottom: 20px;
    }

    .confident-check {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer-nav {
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 425px) {
    .main-section .section-heading {
        font-size: 22px;
        line-height: 30px;
    }
    .logo-text {
        font-size: 18px;
        line-height: 18px;
    }
    .logo {
        max-width: 228px;
    }
    .location-address {
        font-size: 16px;
        line-height: 22px;
        gap: 15px;
    }
    .main-section .work-time {
        padding-left: 20px;
        padding-right: 20px;
    }
    .media-slider .slick-slide > img, .media-slider .slick-slide > iframe {
        height: 160px;
    }
    .table-list {
        padding: 15px;
    }
    .table-list-item {
        font-size: 18px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .accordion-item-head::before {
        display: none;
    }
    .accordion-item-head {
        margin-left: 0px;
        padding-right: 36px;
    }
    .accordion-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .accordion-item-head::after {
        right: 0px;
        top: -4px;
    }
    .accordion .media-slider .slick-slide > img, .accordion .media-slider .slick-slide > iframe {
        height: 130px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    .contacts-list-item--phone a {
        font-size: 30px;
    }
    .contacts-list-item {
        margin-bottom: 20px;
    }
    .contact-section-row {
        margin-top: 20px;
    }
    .form-section .section-heading {
        font-size: 20px;
        line-height: 28px;
    }
    .form-text {
        font-size: 16px;
        line-height: 22px;
    }
    .footer-line-inner {
        flex-direction: column;
        gap: 15px;
    }
    .logo-img {
        height: 38px;
    }
    .header-inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    body {
        padding-top: 50px;
    }
    header {
        box-shadow: 0px 10px 20px 0 #0000000f;
    }
}