@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* General Body Styles */
*, *::before, *::after {
    box-sizing: border-box;
}
html,body { padding: 0; margin: 0; width: 100%; height: 100%; min-height: 100vh; }

body {
    position: relative;
    font-family: 'Rubik', sans-serif;
    line-height: 1.15;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #090A0C;
}
a,button {
    -webkit-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0; 
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
img {
    display: block;
    border-style: none;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 14px;
    }
}
/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    text-decoration: none;
}
.logo span {
    color: #090A0C;
}

.logo img {
    width: 120px;
}

.navigation a {
    color: #555;
    text-decoration: none;
    margin-left: 30px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #007bff;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 17px;
    cursor: pointer;
}
.burger span {
    display: block;
    height: 2px;
    background-color: #757575;
    border-radius: 2px;
}

@media (max-width: 767px) {
    .burger {
        display: flex;
    }
    .navigation {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 0 0 14px;
        z-index: 10;
    }
    .navigation.active {
        display: flex;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 14px 0;
        gap: 14px;
    }
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.main-title {
    text-align: center;
    font-size: 2.2rem;
    line-height: normal;
    color: #090A0C;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2.6rem;
    margin-top: 0rem;
}

.content-wrapper {
    display: flex;
    gap: 1.4rem;
}

/* Filters */
.filters {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-self: flex-start;
    width: 260px;
    flex-shrink: 0;
}

.filters h2 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-size: 1rem;
    font-weight: normal;
    color: #929292;
}

.filters .reset-btn {
    background: transparent;
    padding: 0;
    margin: 12px auto 0;
    text-align: center;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    color: #595a5d;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group .group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
}
.filter-group span {
    font-weight: 500;
}

/* Общие стили */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    transition: background 0.3s;
    cursor: pointer;
}

/* При наведении */
input[type="range"]:hover {
    background: #d0d0d0;
}

/* Chrome, Safari, Edge (Webkit) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #28a745;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #218838;
    transform: scale(1.1);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #28a745;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #218838;
    transform: scale(1.1);
}

/* Firefox трек */
input[type="range"]::-moz-range-track {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
}

/* IE / Edge (старый) */
input[type="range"]::-ms-thumb {
    width: 18px;
    height: 18px;
    background: #28a745;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-ms-track {
    height: 6px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type="range"]::-ms-fill-lower {
    background: #e0e0e0;
    border-radius: 3px;
}

input[type="range"]::-ms-fill-upper {
    background: #e0e0e0;
    border-radius: 3px;
}

.filter-group input[type="checkbox"] {
    margin-top: 2px;
}

.filter-button {
    width: 100%;
    padding: 12px;
    background-color: #eeeeee;
    color: #090A0C;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-button:hover {
    background-color: #28a745;
    color: #fff;
}

@media (max-width: 767px) {
    .filters {
        width: 100%;
        padding: 1.2rem;
    }
    .subtitle {
        margin-bottom: 1.2rem;
    }
}

/* Offers List */
.offers-list {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
}

.offer-card {
    background: #fff;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex: 0 1 calc((100% - 1.2rem) / 3);
    max-width: calc((100% - 1.2rem) / 3);
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.offer-logo {
    width: 100%;
}

.offer-logo a {
    display: flex!important;
    justify-content: center;
}

.offer-logo img {
    max-width: 150px;
    display: block;
}

.offer-details {
    width: 100%;
    margin-bottom: 12px;
}

.offer-details h5 {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 10px 0 5px 0;
    padding: 10px 0;
    font-size: 16px;
    border-top: 2px solid #ededed;
    border-bottom: 2px solid #ededed;
    text-transform: uppercase;
}

.offer-details ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    text-align: center;
}

.offer-details ul li {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}
.offer-details ul li:last-child {
    margin-bottom: 0;
}

.offer-details ul li strong {
    font-weight: 500;
}

.offers-list .offer-present-text {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
}
.offers-list .offer-present-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.offers-list .offer-present-inner div {
    font-size: 15px;
    font-weight: normal;
    flex: 0 0 calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
    text-align: center;
}
.offers-list .offer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 16px 0;
}
.offers-list .offer-links a {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    color: #1974fa;
}

.offer-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.cta-button {
    display: inline-block;
    width: 100%;
    background-color: #28a745;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.approval-chance {
    font-size: 0.8rem;
    color: #28a745;
    margin-top: 8px;
}

#no-results {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
}
#no-results .filter-button {
    background-color: #28a745;
    color: #fff;
}

@media (min-width: 767px) {
    .offer-details br {
        display: none;
    }
}
@media (max-width: 1200px) {
    .offers-list .offer-present-text,
    .offers-list .offer-present-inner div {
        font-size: 14px;
    }
    .offers-list .offer-links a {
        max-width: 130px;
    }
}
@media (max-width: 767px) {
    .offer-details ul li {
        margin-bottom: 0;
    }
    .offers-list .offer-present-inner {
        flex-direction: column;
        gap: 1px;
    }
    .offers-list .offer-present-text {
        max-width: 140px;
        margin: 0 auto;
    }
    .offers-list .offer-present-text,
    .offers-list .offer-present-inner div {
        font-size: 12px;
    }
    .offers-list .offer-present-inner div {
        flex: 1;
        max-width: 100%;
    }
    .offers-list .offer-links {
        gap: 4px;
    }
    .offers-list .offer-links a {
        font-size: 10px;
        flex: 0 0 calc((100% - 4px) / 2);
        max-width: calc((100% - 4px) / 2);
    }
}
@media (max-width: 365px) {
    .offers-list .offer-links a {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .offer-card {
        padding: .6rem;
        flex: 0 1 calc((100% - .6rem) / 2);
        max-width: calc((100% - .6rem) / 2);
    }
    .cta-button {
        padding: 12px 5px;
        font-size: 14px;
    }
    .offer-action {
        margin-top: 0;
    }
    .offer-details h5 {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: #343a40;
    color: #f8f9fa;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
}
.footer .divider {
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: .2;
    margin: 1.6rem 0;
}
.footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8rem;
}
.footer .footer-top p {
    flex: 3;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}
.footer .footer-top .contact {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}
.footer .footer-top .contact {
    font-size: 14px;
}
.footer .footer-top .contact a,
.footer .footer-bot a {
    color: #28a745;
    font-size: 14px;
}
.footer .footer-bot {
    display: flex;
    justify-content: space-between;
}
.footer .footer-bot p {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .main-title {
        font-size: 1.6rem;
    }
    .footer .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    .footer .footer-top .contact,
    .footer .footer-bot p {
        text-align: left;
    }
    .footer .footer-bot p,
    .footer .footer-bot a {
        width: 50%;
        font-size: 12px;
    }
    .footer .footer-bot a {
        text-align: right;
    }
}

@media (max-width: 576px) {
    .header .container {
        gap: 10px;
    }
    
    .navigation a {
        margin: 0 10px;
    }
}



/* ------------------------------------------------------------- *
 * FAQ
/* ------------------------------------------------------------- */
.faq {
    padding-top: 80px;
}
.faq .row {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
}
.faq .text {
    align-self: flex-start;
    width: 260px;
    flex-shrink: 0;
}
.faq .text .main-title {
    font-size: 1.2rem;
    text-align: left;
}
.accordion {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.accordion-item {
    flex-grow: 1;
    width: 100%;
    background: #fff;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all .2s ease-in;
}
.accordion-header {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}
.accordion-header .accordion-title {
    width: 70%;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
    transition: all .2s ease-in;
}
.accordion-header .accordion-title span {
/*    font-weight: 600;*/
}
.accordion-header .arrow-accord {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 25px;
    height: 25px;
    transition: all .2s;
}
.accordion-header .arrow-accord span {
    width: 17px;
    height: 1.2px;
    background: #333;
    transition: all .2s;
}
.accordion-header .arrow-accord span:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(90deg);
}
.accordion-item.active .arrow-accord span:nth-child(2) {
    transform: translate(-50%,-50%) rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 16px 0 0 0;
    max-width: 94%;
}
.accordion-content p {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 14px;
    transition: all .2s ease-in;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}
.accordion-content ul {
    padding-left: 14px;
}
.accordion-content ul li {
    font-size: 14px;
    list-style: disc;
}
.accordion-item.active .accordion-content {
    display: block;
}
@media (max-width: 767px) {
    .faq .row {
        flex-direction: column;
    }
    .faq .text {
        width: 100%;
    }
    .accordion {
        flex-direction: column;
    }
    .accordion-item {
        flex: 1;
        max-width: 100%;
    }
    .accordion-header .accordion-title {
        width: calc(100% - 65px);
        font-size: 14px;
        font-weight: 500;
    }
    .accordion-header .arrow-accord {
        width: 20px;
        height: 20px;
    }
    .accordion-header .arrow-accord span {
        width: 14px;
    }
    .accordion-content p {
        font-size: 12px;
        margin-bottom: 0;
    }

}