
body {
    margin: 0;
    background: #F5F5F5;
    font-family: 'Roboto', Arial, sans-serif;
}

.mort-main {
    background: #F5F5F5;
}

.mort-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.mort-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 24px 0 30px;
}

.mort-breadcrumbs a {
    font-size: 16px;
    color: #767676;
    text-decoration: none;
    transition: color 0.2s;
}

.mort-breadcrumbs a:hover {
    color: #48924E;
}

.mort-breadcrumbs-sep {
    font-size: 16px;
    color: #767676;
    margin: 0 8px;
}

.mort-breadcrumbs-current {
    font-size: 16px;
    color: #000;
}

.mort-row-top {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
}

.mort-info-card {
    flex: 1;
    min-height: 296px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.mort-info-image {
    flex-shrink: 0;
    width: 340px;
    position: relative;
    overflow: hidden;
}

.mort-info-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    pointer-events: none;
}

.mort-info-text {
    flex: 1;
    padding: 32px 32px 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mort-info-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #000;
    margin: 0;
}

.mort-info-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin: 0;
}

.mort-calc-card {
    flex: 0 0 385px;
    min-height: 296px;
    background: #48924E;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.mort-calc-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
    pointer-events: none;
    opacity: 1;
}

.mort-calc-content {
    position: relative;
    z-index: 2;
    padding: 28px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
    gap: 16px;
}

.mort-calc-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mort-calc-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #fff;
    margin: 0;
}

.mort-calc-time-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mort-calc-time-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.mort-calc-banks-img {
    width: 88px;
    height: 32px;
    object-fit: contain;
}

.mort-calc-btn {
    width: 100%;
    max-width: 305px;
    min-height: 63px;
    border-radius: 6px;
    border: none;
    background: #fff;
    box-shadow: 0px 3px 0px 0px #256F2B;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: background 0.25s, color 0.25s;
    padding: 10px 16px;
    box-sizing: border-box;
    margin-top: auto;
}

.mort-calc-btn:hover {
    background: #EA8F13;
    color: #fff;
}

.mort-banks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.mort-bank-card {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 114px;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}

.mort-bank-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mort-bank-img--small {
    width: 65% !important;
    height: 65% !important;
}

.mort-calc-heading {
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    color: #000;
    margin: 0 0 16px;
}

.mort-calc-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 32px;
}

.mort-sliders-card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mort-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mort-slider-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin-bottom: 8px;
}

.mort-slider-box {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mort-slider-inner {
    background: #F5F5F5;
    border-radius: 6px;
    padding: 12px 14px;
    box-sizing: border-box;
    margin-bottom: 6px;
    position: relative;
    border-bottom: 4px solid rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.mort-slider-value {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #000;
    margin-bottom: 0;
    box-sizing: border-box;
    width: 100%;
}

.mort-slider-track-wrap {
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    display: flex;
    align-items: center;
}

.mort-slider-track {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 2px;
}

.mort-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    background: #48924E;
    border-radius: 2px;
    pointer-events: none;
}

.mort-range {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    z-index: 2;
}

.mort-slider-track::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 19.5px;
    height: 19.5px;
    border-radius: 50%;
    background: #48924E;
    border: 2px solid #fff;
    pointer-events: none;
    left: var(--thumb-pos, 50%);
    margin-left: -9.75px;
    z-index: 1;
}

.mort-slider-minmax {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.mort-slider-minmax span {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #979797;
}

.mort-result-card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.mort-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
}

.mort-result-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin-bottom: 4px;
}

.mort-result-value {
    font-weight: 500;
    font-size: 30px;
    line-height: 20px;
    color: #48924E;
}

.mort-result-divider {
    width: 100%;
    height: 1px;
    background: #CFCFCF;
    margin: 26px 0;
}

.mort-result-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.mort-btn-green {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: none;
    background: #48924E;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
    0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s;
}

.mort-btn-green:hover {
    background: #59AD60;
}

.mort-btn-orange {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: none;
    background: #EA8F13;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
    0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s;
}

.mort-btn-orange:hover {
    background: #FFA326;
}

.mort-types-section {
    margin-top: 8px;
}

.mort-types-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0;
    border-bottom: none;
    margin-bottom: 0;
    padding-left: 40px;
}

.mort-type-tab {
    min-width: 187px;
    height: 86px;
    background: #F5F5F5;
    border: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #000;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, font-weight 0.2s;
    padding: 0 20px;
    text-align: center;
}

.mort-type-tab.active {
    background: #fff;
    font-weight: 500;
    color: #48924E;
}

.mort-type-tab:not(.active):hover {
    background: #F5F5F5;
}

.mort-types-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.mort-type-panel {
    display: none;
}

.mort-type-panel.active {
    display: block;
}

.mort-type-body {
    display: flex;
    gap: 0;
    align-items: flex-start;
    padding: 32px 40px;
}

.mort-type-left {
    flex: 0 0 385px;
    display: flex;
    flex-direction: column;
}

.mort-type-img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 24px;
}

.mort-type-left-text {
    padding: 0;
}

.mort-type-left-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    margin: 0 0 12px;
}

.mort-type-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.mort-type-list li {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin-bottom: 8px;
}

.mort-type-right {
    flex: 1;
    padding: 0 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mort-type-title {
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    color: #000;
    margin: 0 0 24px;
}

.mort-type-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    margin-bottom: 24px;
}

.mort-stat-item--wide {
    grid-column: 1 / -1;
}

.mort-stat-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin-bottom: 2px;
}

.mort-stat-value {
    font-weight: 500;
    font-size: 30px;
    line-height: 20px;
    color: #48924E;
    margin-top: 6px;
}

.mort-type-divider {
    width: 100%;
    height: 1px;
    background: #CFCFCF;
    margin-bottom: 24px;
}

.mort-features-card {
    background: rgba(72, 146, 78, 0.1);
    border: 1px solid #48924E;
    border-radius: 10px;
    padding: 32px 40px;
    display: flex;
    gap: 40px;
}

.mort-features-card--3col {
    gap: 0;
    flex-direction: column;
}

.mort-feature-item {
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.mort-feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.mort-feature-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.mort-feature-desc {
    font-weight: 400;
    font-size: 13.5px;
    line-height: 20px;
    color: #000;
    margin-top: 4px;
}

.mort-features-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin: 0 0 16px;
}

.mort-features-link {
    color: #48924E;
    text-decoration: underline;
}

.mort-features-subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000;
    margin: 0 0 20px;
}

.mort-features-icons {
    display: flex;
    gap: 24px;
}

.mort-features-card--3col .mort-feature-title {
    font-weight: 400;
}

.mort-types-accordion {
    display: none;
}

.srv-form-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-cta {
    margin-bottom: 0;
    overflow: visible;
    padding-top: 40px;
}

@media (max-width: 1100px) {
    .mort-banks-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .mort-calc-card {
        flex: 0 0 320px;
    }

    .mort-info-image {
        width: 260px;
    }

    .mort-type-left {
        flex: 0 0 320px;
    }

    .mort-features-card {
        padding: 24px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .mort-banks-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mort-bank-card {
        height: 90px;
    }

    .mort-info-image {
        width: 220px;
    }

    .mort-calc-card {
        flex: 0 0 280px;
    }

    .mort-calc-content {
        padding: 22px 28px;
    }

    .mort-calc-title {
        font-size: 18px;
        line-height: 26px;
    }

    .mort-type-body {
        padding: 24px;
    }

    .mort-type-left {
        flex: 0 0 280px;
    }

    .mort-type-left-text {
        padding: 0;
    }

    .mort-type-right {
        padding: 0 0 0 24px;
    }

    .mort-type-title {
        font-size: 24px;
    }

    .mort-stat-value {
        font-size: 24px;
    }

    .mort-result-value {
        font-size: 24px;
    }

    .mort-type-tab {
        min-width: 140px;
        height: 72px;
        font-size: 14px;
    }

    .mort-features-card {
        padding: 20px;
        gap: 16px;
    }

    .mort-feature-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .mort-container {
        padding: 0 16px 32px;
    }

    .mort-breadcrumbs {
        padding: 16px 0;
    }

    .mort-breadcrumbs a,
    .mort-breadcrumbs-sep,
    .mort-breadcrumbs-current {
        font-size: 14px;
    }

    .mort-row-top {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mort-info-card {
        flex-direction: column;
        min-height: auto;
    }

    .mort-info-image {
        width: 100%;
        height: auto;
        position: static;
        order: 2;
    }

    .mort-info-img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: unset;
        content: url('../../image/info/mortgage/mortgage-family-mobile.webp');
        margin-top: -80px;
    }

    .mort-info-text {
        order: 1;
        padding: 20px 20px 16px;
    }

    .mort-info-title {
        font-size: 18px;
        line-height: 26px;
    }

    .mort-calc-card {
        flex: none;
        width: 100%;
        min-height: auto;
    }

    .mort-calc-content {
        padding: 24px 20px;
        gap: 20px;
    }

    .mort-calc-bg {
        width: 95px;
    }

    .mort-calc-title {
        font-size: 18px;
        line-height: 26px;
    }

    .mort-calc-btn {
        max-width: 100%;
    }

    .mort-banks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mort-bank-card {
        height: 80px;
    }

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

    .mort-calc-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .mort-sliders-card {
        padding: 20px 16px;
        gap: 20px;
    }

    .mort-result-card {
        padding: 20px 16px;
    }

    .mort-result-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
    }

    .mort-result-value {
        font-size: 20px;
    }

    .mort-types-tabs {
        display: none;
    }

    .mort-types-content {
        display: none;
    }

    .mort-types-accordion {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mort-acc-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
    }

    .mort-acc-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 86px;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 8px;
        padding: 0 16px;
        cursor: pointer;
        text-align: left;
        box-sizing: border-box;
        gap: 12px;
        transition: border-color 0.2s;
    }

    .mort-acc-btn span {
        font-weight: 400;
        font-size: 13px;
        line-height: 16px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #000;
        flex: 1;
    }

    .mort-acc-item.acc-open .mort-acc-btn {
        border-color: #48924E;
    }

    .mort-acc-item.acc-open .mort-acc-btn span {
        color: #48924E;
    }

    .mort-acc-arrow {
        flex-shrink: 0;
        transform: rotate(0deg);
        transition: transform 0.3s;
    }

    .mort-acc-item.acc-open .mort-acc-arrow {
        transform: rotate(180deg);
    }

    .mort-acc-body {
        display: none;
        padding: 0 16px 20px;
    }

    .mort-acc-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        display: block;
        margin-bottom: 20px;
        margin-top: 16px;
    }

    .mort-features-icons {
        flex-direction: column;
        gap: 16px;
    }

    .mort-features-icons .mort-feature-item {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .mort-features-icons .mort-feature-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .mort-features-card--3col {
        gap: 0;
        flex-direction: column;
    }

    .mort-features-card {
        padding: 20px;
        margin-top: 16px;
    }

    .mort-acc-item.acc-open .mort-acc-body {
        display: block;
    }

    .mort-acc-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        margin-bottom: 16px;
        padding-top: 4px;
    }

    .mort-acc-stats .mort-stat-value {
        font-size: 20px;
        line-height: 26px;
        margin-top: 4px;
    }

    .mort-acc-text {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #000;
        margin: 0 0 8px;
    }

    .mort-type-list li {
        font-size: 13px;
        line-height: 19px;
    }

    .faq-cta {
        padding-top: 0;
    }

    .srv-form-container {
        padding: 0 16px;
    }
}

@media (min-width: 581px) and (max-width: 768px) {
    .mort-info-image {
        height: 460px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .mort-info-title {
        font-size: 16px;
        line-height: 22px;
    }

    .mort-info-image {
        height: auto;
        overflow: visible;
    }

    .mort-banks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mort-calc-heading {
        font-size: 20px;
    }

    .mort-result-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mort-result-value {
        font-size: 18px;
    }

    .mort-result-label {
        font-size: 12px;
    }

    .mort-acc-stats {
        grid-template-columns: 1fr 1fr;
    }

    .mort-acc-stats .mort-stat-value {
        font-size: 17px;
    }
}

.mortgage input[type="range"] {
    cursor: grab;
}
