:root {
    --brand-red: #9E1B12;
    --brand-red-dark: #76120C;
    --brand-red-bright: #E23A2E;
    --accent: #F04432;
    --accent-hover: #D83224;
    --technology-blue: #2878C8;
    --dark-navy: #15263A;
    --light-background: #F5F7FA;
    --white: #000000;
}

.button-primary,
.btn-primary {
    color: var(--white);
    background-color: var(--accent);
    border-color: var(--accent);
}

.button-primary:hover,
.button-primary:focus,
.button-primary:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: var(--white);
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.rd-navbar-transparent.rd-navbar-static,
.rd-navbar-transparent.rd-navbar-static.rd-navbar--is-stuck,
.rd-navbar-transparent.rd-navbar-static.rd-navbar--is-clone,
.rd-navbar-fixed .rd-navbar-panel,
.rd-navbar-fixed .rd-navbar-nav-wrap,
.rd-navbar-fixed .rd-navbar-collapse {
    background: linear-gradient(90deg, var(--brand-red-dark) 0%, var(--brand-red) 100%);
}

.rd-navbar-transparent.rd-navbar-static .rd-nav-item.active .rd-nav-link,
.rd-navbar-transparent.rd-navbar-static .rd-nav-item.focus .rd-nav-link,
.rd-navbar-transparent.rd-navbar-static .rd-nav-item.opened .rd-nav-link,
.rd-navbar-transparent.rd-navbar-static .rd-nav-link:hover {
    border-color: var(--brand-red-bright);
}

.rd-navbar-fixed .rd-nav-item:hover .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.focus .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.active .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.opened .rd-nav-link {
    background: rgba(226, 58, 46, 0.55);
}

.swiper-slider-1 .swiper-slide::before {
    display: block;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgb(255 255 255 / 0.82) 0%,
        rgb(255 255 255 / 0.62) 38%,
        rgb(251 248 248 / 0) 65%,
        rgba(10, 15, 25, 0) 80%
    );
    pointer-events: none;
}



.swiper-slider-1 .swiper-slide-caption {
    position: relative;
    z-index: 1;
}

.swiper-slider-1 .hero-content {
    max-width: 680px;
}

.swiper-slider-1 .hero-content h1 {
    color: var(--white);
}


.swiper-slider-1 .hero-content > span,
.swiper-slider-1 .hero-content p {
    color: rgb(0 0 0 / 0.92);
}

.ui-to-top {
    background: var(--brand-red);
}

.ui-to-top:hover,
.ui-to-top:focus {
    background: var(--accent-hover);
}

.section-negative {
    background-color: var(--light-background);
}



.blurb-boxed .icon {
    font-size: 60px;
    line-height: 1.1;
    color: #81140e;
}

.quote-icon {
    margin-left: -.23em;
    transform: rotate(180deg);
    font-size: 44px;
    line-height: 1;
    color: #83150e;
}

.bg-primary-gradient {
    background-image: linear-gradient(to right, #80140e, #9e1b12);
}

.button-primary, .btn-primary {
    color: var(--white);
    background-color: #CAC8C8;
    border-color: var(--accent);
}

.section-negative {
    background-color: #81150E;
}


.blurb-icon-bordered .icon {
    font-size: 60px;
    line-height: 100px;
    color: #9e1b12;
}


.blurb-icon-bordered .icon > span {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
    color: #ffffff;
    background: #000;
    border-radius: 50%;
}

.assurance-process-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-background) 100%);
}

.assurance-process-grid > [class*="col-"] {
    display: flex;
}

.assurance-process-grid > .col-12 {
    display: block;
}

.assurance-process-card {
    width: 100%;
    height: 100%;
    padding: 18px 16px 24px;
    text-align: left;
    border: 1px solid #e3e9f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(21, 38, 58, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.assurance-process-card:hover {
    border-color: rgba(240, 68, 50, 0.32);
    box-shadow: 0 22px 46px rgba(21, 38, 58, 0.13);
    transform: translateY(-4px);
}

.assurance-process-media {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.assurance-process-counter {
    position: relative;
    flex: 0 0 46px;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red-dark), var(--accent));
    box-shadow: 0 10px 22px rgba(158, 27, 18, 0.22);
}

.assurance-process-section .index-counter::after {
    content: counter(counter, decimal);
    counter-increment: counter;
}

.assurance-process-image {
    display: block;
    flex: 1 1 auto;
    width: calc(100% - 60px);
    max-width: 168px;
    height: 112px;
    object-fit: cover;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #eef2f6;
    box-shadow: 0 12px 26px rgba(21, 38, 58, 0.16);
}

.assurance-process-card .title {
    color: var(--dark-navy);
    line-height: 1.28;
}

.assurance-process-card * + .title {
    margin-top: 0;
}

.assurance-process-card .exeption,
.assurance-process-card .exeption p {
    color: #5e6b7c;
    line-height: 1.58;
}

.assurance-process-card * + .exeption {
    margin-top: 10px;
}

.assurance-process-card .exeption p:last-child {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .assurance-process-card {
        max-width: 360px;
        margin: 0 auto;
    }
}


.footer-1 {
    padding: 40px 0;
    background: #320505;
    color: #aeb1be;
}

.footer-1 .rights {
    color: rgb(255, 255, 255);
}

.footer-1 .rights a {
    color: #ffffff;
    transition: color 0.22s ease;
}

.footer-1 .rights a:hover,
.footer-1 .rights a:focus {
    color: #ff8a7d;
}

.benefits-section .isotope-filters {
    margin-top: 28px;
    margin-bottom: 18px;
}

.benefits-section .isotope-filters-line .isotope-filters-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(21, 38, 58, 0.08);
}

.benefits-section .isotope-filters-line .isotope-filters-list > li {
    display: block;
    margin: 0;
}

.benefits-section .isotope-filters-line .isotope-filters-list > li > a {
    display: inline-flex;
    min-width: 150px;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 14px 24px;
    color: var(--dark-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f5f7fa;
    box-shadow: inset 0 0 0 1px rgba(21, 38, 58, 0.04);
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.benefits-section .isotope-filters-line .isotope-filters-list > li > a:hover,
.benefits-section .isotope-filters-line .isotope-filters-list > li > a:focus {
    color: #ffffff;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 12px 24px rgba(158, 27, 18, 0.18);
    transform: translateY(-1px);
}

.benefits-section .isotope-filters-line .isotope-filters-list > li > a.active {
    color: #ffffff;
    border-color: var(--brand-red-dark);
    background: linear-gradient(135deg, var(--brand-red-dark), var(--accent));
    box-shadow: 0 14px 28px rgba(158, 27, 18, 0.24);
}

@media (min-width: 992px) {
    .benefits-section .isotope-filters-line .isotope-filters-list > li > a {
        min-width: 174px;
        min-height: 68px;
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .benefits-section .isotope-filters-line .isotope-filters-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .benefits-section .isotope-filters-line .isotope-filters-list > li > a {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 12px 14px;
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .benefits-section .isotope-filters-line .isotope-filters-list {
        grid-template-columns: 1fr;
    }
}

.consultation-form-section {
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 78px;
    scroll-margin-top: 86px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(21, 38, 58, 0.97) 0%, rgba(118, 18, 12, 0.95) 54%, rgba(158, 27, 18, 0.96) 100%),
        var(--dark-navy);
}

.consultation-form-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.15;
}

.consultation-form-section .container {
    position: relative;
    z-index: 1;
}

.consultation-form-title {
    color: #ffffff;
}

.consultation-form-intro {
    max-width: 820px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.88);
}

.consultation-form {
    max-width: 1080px;
    margin: 36px auto 0;
    padding: 30px 22px;
    color: var(--dark-navy);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-top: 5px solid var(--accent);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 30px 70px rgba(10, 18, 30, 0.35);
}

.consultation-form .row-14,
.consultation-form .row-10 {
    margin-top: -16px;
}

.consultation-form .row-14 > [class*="col-"],
.consultation-form .row-10 > [class*="col-"] {
    margin-top: 16px;
}

.consultation-form-group {
    margin-top: 34px;
}

.consultation-form-group:first-of-type {
    margin-top: 0;
}

.consultation-form-group + .consultation-form-group {
    padding-top: 30px;
    border-top: 1px solid #e4eaf1;
}

.consultation-form-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--dark-navy);
    font-size: 24px;
    line-height: 1.25;
}

.consultation-form-group h3::before {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 28px;
    border-radius: 4px;
    background: var(--accent);
}

.consultation-field-label,
.consultation-checkbox-group legend {
    display: block;
    margin-bottom: 8px;
    color: #203247;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.consultation-form .form-input {
    min-height: 54px;
    color: var(--dark-navy);
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.consultation-form .form-input:hover {
    border-color: #b9c6d4;
}

.consultation-form .form-input:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(240, 68, 50, 0.13);
}

.consultation-form .form-input::placeholder {
    color: #7d8795;
    opacity: 1;
}

.consultation-form textarea.form-input {
    min-height: 132px;
    padding-top: 16px;
    line-height: 1.5;
}

.consultation-form select.form-input {
    padding-right: 34px;
    -webkit-appearance: menulist;
    appearance: auto;
}

.consultation-form .form-validation {
    color: var(--accent-hover);
}

.consultation-checkbox-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.consultation-checkbox-group .row > [class*="col-"] {
    position: relative;
}

.consultation-checkbox-input {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid #a7b3c3;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    opacity: 1;
    transform: translateY(-50%);
    transition: border-color 0.22s ease, background-color 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.consultation-checkbox-input::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 11px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    opacity: 0;
    transform: rotate(45deg);
}

.consultation-checkbox-input:checked {
    border-color: var(--accent);
    background: var(--accent);
}

.consultation-checkbox-input:checked::after {
    opacity: 1;
}

.consultation-checkbox-label {
    position: relative;
    display: flex;
    min-height: 56px;
    align-items: center;
    margin: 0;
    padding: 13px 14px 13px 46px;
    color: #24354a;
    line-height: 1.35;
    border: 1px solid #d8e0e9;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(21, 38, 58, 0.06);
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.consultation-checkbox-label:hover {
    border-color: #b9c6d4;
    box-shadow: 0 10px 22px rgba(21, 38, 58, 0.1);
    transform: translateY(-1px);
}

.consultation-checkbox-input:checked + .consultation-checkbox-label {
    color: var(--brand-red-dark);
    border-color: var(--accent);
    background: linear-gradient(180deg, #fff7f6 0%, #ffffff 100%);
    box-shadow: 0 12px 26px rgba(158, 27, 18, 0.14);
}

.consultation-checkbox-input:focus {
    outline: 2px solid rgba(40, 120, 200, 0.45);
    outline-offset: 2px;
}

.consultation-submit-group {
    margin-top: 40px;
}

.consultation-submit-button {
    min-height: 62px;
    width: 100%;
    color: #ffffff;
    border-color: var(--accent);
    border-radius: 40px;
    background-color: var(--accent);
    box-shadow: 0 14px 26px rgba(158, 27, 18, 0.24);
    white-space: normal;
}

.consultation-submit-button:hover,
.consultation-submit-button:focus,
.consultation-submit-button:active {
    color: #ffffff;
    border-color: var(--accent-hover);
    background-color: var(--accent-hover);
    box-shadow: 0 10px 22px rgba(118, 18, 12, 0.28);
    transform: translateY(-1px);
}

.consultation-success {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 28px;
    color: var(--dark-navy);
    text-align: center;
    border-top: 5px solid var(--accent);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 70px rgba(10, 18, 30, 0.35);
}

.consultation-success h2 {
    color: var(--dark-navy);
}

.consultation-success p {
    margin-top: 14px;
    color: #46576c;
}

@media (min-width: 768px) {
    .consultation-form {
        padding: 38px;
    }
}

@media (min-width: 1200px) {
    .consultation-form-section {
        padding-top: 84px;
        padding-bottom: 92px;
    }

    .consultation-form {
        padding: 44px 46px;
    }
}

@media (max-width: 575px) {
    .consultation-form-section {
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .consultation-form {
        padding: 24px 16px;
    }

    .consultation-form-group h3 {
        font-size: 21px;
    }

    .consultation-submit-button {
        margin-top: 8px;
    }
}



.post-modern .post-author img {
    border-radius: 0%;
    max-height: 80px!important;
    width: auto;
}
@media (min-width: 1600px) {
    .post-modern .post-body {
        padding: 0 29px 24px;
        min-height: 300px;
    }
}

.banner-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    margin-top: 20px;
}

.swiper-slider-1 .swiper-slide .banner-actions .button {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0;
    padding-right: 12px;
    padding-left: 12px;
}

.banner-video-modal {
    z-index: 20001;
}

.banner-video-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
}

body.banner-video-open .modal-backdrop {
    z-index: 20000;
    background-color: #07111c;
    transition: opacity 0.3s ease;
}

body.banner-video-open .modal-backdrop.show {
    opacity: 0.82;
}

@media (max-width: 575px) {
    .banner-actions {
        gap: 8px;
    }

    .swiper-slider-1 .swiper-slide .banner-actions .button {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .banner-actions {
        margin-top: 36px;
    }
}

@media (min-width: 1200px) {
    .banner-actions {
        margin-top: 42px;
    }
}
