* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #092746;
    font-family: "DM Sans", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    max-width: 1280px;
    margin: auto;
    padding: 0 40px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    background: #ffffff;
    color: #092746;
    border-bottom: 1px solid #e5e9ee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.brand-logo-link {
    display: flex;
    align-items: center;
    height: 100px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 220px;
    height: 95px;
    object-fit: contain;
    object-position: left center;
}

/* NAV LINKS */

.nav nav {
    display: flex;
    gap: 34px;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.nav nav a {
    color: #092746;
    transition: color .2s ease;
}

.nav nav a:hover {
    color: #1976d2;
}

/* LOGIN */

.login-btn,
.nav nav .login-btn {
    border: 1px solid #1976d2;
    padding: 12px 25px;
    border-radius: 8px;
    color: #1976d2 !important;
    background: #ffffff;
}

/* LIST YOUR HOME */

.nav-cta {
    background: #1976d2 !important;
    color: #ffffff !important;
    border: 1px solid #1976d2 !important;
    padding: 13px 28px;
    border-radius: 8px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 520px;
    padding: 75px 0;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.97) 0%,
            rgba(255,255,255,.91) 38%,
            rgba(255,255,255,.55) 65%,
            rgba(255,255,255,.15) 100%
        ),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1800&q=90")
        center center / cover no-repeat;
}

.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    font-size: 14px;
    letter-spacing: .08em;
    color: #1976d2;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(54px, 6vw, 82px);
    line-height: .98;
    font-weight: 700;
    margin: 22px 0 25px;
    color: #092746;
    letter-spacing: -2px;
}

.hero h1 em {
    color: #1976d2;
    font-style: normal;
    font-weight: 700;
}

.lead {
    font-size: 20px;
    line-height: 1.55;
    max-width: 650px;
    color: #17385b;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-top: 30px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border: 0;
    padding: 15px 28px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s ease;
}

.btn.primary,
.primary {
    background: #1976d2;
    color: #ffffff;
}

.btn.primary:hover,
.primary:hover {
    background: #125fa8;
}

.btn.secondary,
.secondary {
    border: 2px solid #1976d2;
    background: #ffffff;
    color: #1976d2;
}

.btn.secondary:hover,
.secondary:hover {
    background: #f1f7fd;
}

.outline {
    border: 1px solid #1976d2;
    background: transparent;
    color: #1976d2;
}

.full {
    width: 100%;
    text-align: center;
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
    background: rgba(255,255,255,.96);
    color: #092746;
    padding: 42px;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(9,39,70,.18);
    border: 1px solid rgba(255,255,255,.8);
    max-width: 440px;
    margin-left: auto;
}

.hero-card-top {
    font-size: 12px;
    letter-spacing: .16em;
    color: #1976d2;
    font-weight: 700;
}

.hero-card .big {
    font-family: "DM Sans", sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 22px 0;
    color: #092746;
}

.hero-card p {
    color: #304b68;
    line-height: 1.7;
    font-size: 16px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 80px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.section h2 {
    font-family: "DM Sans", sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 12px 0 0;
    color: #092746;
}

.text-link {
    color: #1976d2;
    font-weight: 700;
}


/* =========================================================
   SEARCH
   ========================================================= */

.searchbar {
    display: grid;
    grid-template-columns: 1.5fr 1fr .7fr auto;
    gap: 10px;
    margin-bottom: 35px;
}

.searchbar input,
.searchbar select {
    padding: 15px;
    border: 1px solid #d5dde5;
    background: #ffffff;
    font: inherit;
    border-radius: 6px;
    color: #092746;
}


/* =========================================================
   PROPERTY CARDS
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property {
    background: #ffffff;
    border: 1px solid #e1e7ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(9,39,70,.07);
}

.property-img {
    height: 230px;
    background-size: cover;
    background-position: center;
}

.property-body {
    padding: 22px;
}

.tag {
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #1976d2;
}

.verified {
    display: inline-block;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #27704f;
    background: #e8f4ec;
    padding: 4px 7px;
    margin-left: 7px;
}

.property h3 {
    font-size: 25px;
    font-weight: 700;
    margin: 8px 0;
    color: #092746;
}

.property p {
    line-height: 1.55;
    color: #59697a;
}

.muted {
    font-size: 13px;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    color: #526171;
}

.property-meta b {
    font-size: 20px;
    color: #092746;
}

.property-meta small {
    font-size: 12px;
    font-weight: 400;
}

.empty {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    border: 1px dashed #cfc8bb;
    color: #667;
}


/* =========================================================
   FORM PAGES
   ========================================================= */

.form-page {
    min-height: 70vh;
    padding: 80px 0;
}

.form-card {
    max-width: 600px;
    margin: auto;
    background: #ffffff;
    padding: 38px;
    border: 1px solid #e1e7ed;
    border-radius: 10px;
}

.form-card h1 {
    font-size: 42px;
    font-weight: 700;
    color: #092746;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    margin: 14px 0;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dde5;
    font: inherit;
    border-radius: 5px;
}

.field textarea {
    min-height: 130px;
}

.notice {
    padding: 12px 14px;
    background: #eef6ff;
    color: #24527a;
    margin: 15px 0;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard {
    padding: 70px 0;
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.dashboard h1 {
    font-size: 44px;
    font-weight: 700;
}

.dashboard-block {
    margin-top: 45px;
}

.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.inline-form input,
.inline-form select {
    padding: 12px;
    border: 1px solid #d5dde5;
    background: #fff;
    font: inherit;
}


/* =========================================================
   TABLE
   ========================================================= */

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 15px;
    border-bottom: 1px solid #e6eaf0;
    text-align: left;
    font-size: 14px;
}

.table-wrap {
    overflow: auto;
}


/* =========================================================
   PROPERTY DETAIL
   ========================================================= */

.property-detail {
    padding: 70px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 45px;
}

.detail-img,
.gallery-main {
    height: 520px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.detail-card {
    background: #fff;
    padding: 35px;
    border: 1px solid #e1e7ed;
    height: max-content;
    border-radius: 10px;
}

.detail-card h1 {
    font-size: 44px;
    font-weight: 700;
    margin: 8px 0;
}

.contact-box {
    margin-top: 25px;
    padding: 20px;
    background: #f2f7fc;
}

.phone {
    font-size: 24px;
    font-weight: 700;
    color: #1976d2;
}


/* =========================================================
   GALLERY
   ========================================================= */

.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow: auto;
}

.thumbs div {
    width: 90px;
    height: 65px;
    flex: 0 0 auto;
    background-size: cover;
    background-position: center;
}

.availability,
.reviews {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e4e8ed;
}

.date-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.date-chips span {
    font-size: 12px;
    background: #edf4fa;
    padding: 7px 9px;
}

.review {
    padding: 15px 0;
    border-bottom: 1px solid #e8edf2;
}

.review p {
    color: #59697a;
    line-height: 1.6;
}

.review-form textarea,
.review-form select {
    width: 100%;
    margin: 7px 0;
    padding: 12px;
    border: 1px solid #d5dde5;
    font: inherit;
}

.review-form textarea {
    min-height: 90px;
}


/* =========================================================
   LEGAL
   ========================================================= */

.accept-box {
    margin: 24px 0;
    padding: 18px;
    background: #f2f7fc;
    border: 1px solid #d8e2ec;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0;
    color: #4f5e6e;
}

.check input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.check a {
    color: #1976d2;
    text-decoration: underline;
}

.legal-card {
    max-width: 850px;
}

.legal-card h1 {
    margin-bottom: 24px;
}

.legal-card h3 {
    font-size: 18px;
    margin: 28px 0 8px;
}

.legal-card p {
    line-height: 1.7;
    color: #536274;
}

.legal-intro {
    background: #eef6ff;
    border-left: 3px solid #1976d2;
    padding: 18px;
}

.legal-note {
    font-size: 12px !important;
    border-top: 1px solid #ddd5c7;
    padding-top: 18px;
    margin-top: 30px;
}


/* =========================================================
   ADMIN
   ========================================================= */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 25px 0 45px;
}

.admin-stats > div {
    background: #fff;
    border: 1px solid #e1e7ed;
    padding: 22px;
    border-radius: 8px;
}

.admin-stats b {
    display: block;
    font-size: 36px;
    color: #092746;
}

.admin-stats span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #1976d2;
}


/* =========================================================
   OPPORTUNITY
   ========================================================= */

.opportunity-card {
    text-align: center;
    max-width: 760px;
}

.opportunity-card h1 {
    font-size: 62px;
    color: #1976d2;
}

.opportunity-card h2 {
    font-size: 40px;
    margin: 8px 0 22px;
}

.opportunity-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #586879;
}

.opportunity-card .hero-actions {
    justify-content: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #092746;
    color: #c9d4df;
    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid b {
    color: #fff;
}

.footer-brand-box {
    display: inline-flex;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    align-items: center;
    width: fit-content;
}

.footer-logo {
    display: block;
    width: 185px;
    height: 66px;
    object-fit: contain;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 40px;
    padding-top: 15px;
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .nav-inner {
        height: 95px;
    }

    .brand-logo-link {
        height: 90px;
    }

    .brand-logo {
        width: 185px;
        height: 82px;
    }

    .nav nav {
        gap: 18px;
        font-size: 14px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-card {
        margin-left: 0;
        max-width: 520px;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

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


@media (max-width: 700px) {

    .wrap {
        padding: 0 20px;
    }

    .nav-inner {
        height: auto;
        min-height: 80px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand-logo {
        width: 150px;
        height: 70px;
    }

    .nav nav {
        gap: 10px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .login-btn,
    .nav nav .login-btn {
        padding: 8px 12px;
    }

    .nav-cta {
        padding: 9px 12px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -1px;
    }

    .lead {
        font-size: 17px;
    }

    .hero-card {
        padding: 30px;
    }

    .hero-card .big {
        font-size: 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .searchbar {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        display: block;
    }

    .section h2 {
        font-size: 34px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-img,
    .gallery-main {
        height: 330px;
    }
}


@media (max-width: 480px) {

    .nav nav a:nth-child(3),
    .nav nav a:nth-child(4),
    .nav nav a:nth-child(5) {
        display: none;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}