﻿body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
}

/* ===========================
   CONTAINER
=========================== */

.mortgage-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
}


/* ===========================
   HERO
=========================== */

.hero {
    text-align: center;
    padding: 80px 30px;
    border-radius: 25px;
    color: white;
    background: linear-gradient(135deg,#7f1d1d 0%,#ef4444 50%,#7f1d1d 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    margin-bottom: 50px;
}

    .hero h1 {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .hero p {
        max-width: 750px;
        margin: auto;
        font-size: 20px;
        line-height: 1.7;
    }


/* ===========================
   GRID
=========================== */

.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}


/* ===========================
   MAIN CONTENT
=========================== */

.content {
    background: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

    .content h2 {
        margin-top: 35px;
        margin-bottom: 18px;
        font-size: 32px;
        background: linear-gradient(135deg,#7f1d1d,#ef4444);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

        .content h2:first-child {
            margin-top: 0;
        }

    .content p {
        color: #475569;
        line-height: 1.8;
        font-size: 17px;
    }

    .content ul {
        margin-top: 15px;
        margin-bottom: 30px;
        padding-left: 25px;
    }

    .content li {
        margin-bottom: 12px;
        color: #475569;
        line-height: 1.7;
    }


/* ===========================
   SIDEBAR
=========================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* ===========================
   CARDS
=========================== */

.card {
    background: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .3s;
}

    .card:hover {
        transform: translateY(-6px);
    }

    .card h3 {
        margin-top: 0;
        margin-bottom: 15px;
        background: linear-gradient(135deg,#7f1d1d,#ef4444);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 26px;
    }

    .card p {
        color: #475569;
        line-height: 1.7;
    }


    /* ===========================
   LINKS
=========================== */

    .card a {
        display: block;
        margin-top: 15px;
        padding: 14px 18px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        color: #7f1d1d;
        background: #fff5f5;
        transition: .3s;
    }

        .card a:hover {
            background: #ef4444;
            color: white;
        }


/* ===========================
   HIGHLIGHT CARD
=========================== */

.highlight {
    background: #fff5f5;
    border-left: 5px solid #ef4444;
}


/* ===========================
   MOBILE
=========================== */

@media (max-width:768px) {

    .hero {
        padding: 60px 25px;
    }

        .hero h1 {
            font-size: 36px;
        }

        .hero p {
            font-size: 18px;
        }

    .grid {
        grid-template-columns: 1fr;
    }

    .content,
    .card {
        padding: 25px;
    }

        .content h2 {
            font-size: 28px;
        }

        .card h3 {
            font-size: 22px;
        }
}
