﻿<style >
:root {
    --navy: #07152e;
    --blue: #1457d9;
    --gold: #f5b51b;
    --cream: #fffaf0;
    --muted: #6b7890
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial,sans-serif;
    background: #f5f7fb;
    color: #10213f
}

header {
    background: #07152e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 9
}

.bar {
    max-width: 1120px;
    margin: auto;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-size: 25px;
    font-weight: 900
}

    .logo span {
        color: #f5b51b
    }

.tag {
    font-size: 12px;
    color: #cbd6e9;
    margin-top: 3px
}

.btn {
    border: 0;
    border-radius: 11px;
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer
}

.gold {
    background: #f5b51b;
    color: #07152e
}

.blue {
    background: #1457d9;
    color: white
}

main {
    max-width: 1120px;
    margin: auto;
    padding: 18px
}

.hero {
    min-height: 500px;
    border-radius: 28px;
    padding: 36px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,#07152e22,#07152edd),url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1600&q=85") center/cover
}

    .hero:after {
        content: "";
        position: absolute;
        right: -90px;
        top: -100px;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        background: #f5b51b33
    }

.heroContent {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 850px
}

.sun {
    font-size: 15px;
    letter-spacing: 3px;
    color: #f5b51b;
    font-weight: 800
}

.hero h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 8px 0
}

.hero p {
    font-size: 18px;
    color: #edf2fb;
    max-width: 680px
}

.search {
    background: white;
    padding: 12px;
    border-radius: 17px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 8px;
    box-shadow: 0 15px 45px #0005
}

input, select, textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    font-size: 15px
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 32px 0 14px
}

    .title h2 {
        margin: 0;
        font-size: 26px
    }

.muted {
    color: var(--muted);
    font-size: 13px
}

.cats {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 10px
}

.cat {
    background: white;
    border-radius: 15px;
    padding: 15px 8px;
    text-align: center;
    box-shadow: 0 2px 15px #172b4d12;
    font-weight: 700;
    font-size: 13px
}

    .cat b {
        font-size: 25px;
        display: block;
        margin-bottom: 7px
    }

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 17px
}

.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 18px #172b4d14
}

.photo {
    height: 205px;
    background-size: cover;
    background-position: center;
    position: relative
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f5b51b;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900
}

.body {
    padding: 15px
}

.price {
    color: #1457d9;
    font-size: 21px;
    font-weight: 900
}

.body h3 {
    margin: 7px 0
}

.actions {
    display: flex;
    gap: 8px;
    margin-top: 12px
}

    .actions .btn {
        flex: 1
    }

.about {
    background: #07152e;
    color: white;
    border-radius: 22px;
    padding: 28px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px
}

.sunbox {
    background: #fffaf0;
    color: #07152e;
    border-radius: 18px;
    padding: 22px;
    text-align: center
}

.sunicon {
    font-size: 70px
}

.form {
    background: white;
    border-radius: 20px;
    padding: 22px;
    margin-top: 28px;
    box-shadow: 0 3px 18px #172b4d14
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

footer {
    background: #07152e;
    color: #dce5f6;
    padding: 32px 18px;
    margin-top: 30px
}

.foot {
    max-width: 1120px;
    margin: auto;
    display: flex;
    justify-content: space-between
}

.phone {
    color: #f5b51b;
    font-weight: 900
}

@media(max-width:800px) {
    .hero h1 {
        font-size: 38px
    }

    .search, .formgrid {
        grid-template-columns: 1fr
    }

    .cats {
        grid-template-columns: repeat(3,1fr)
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .about {
        grid-template-columns: 1fr
    }
}

@media(max-width:520px) {
    main {
        padding: 12px
    }

    .hero {
        padding: 22px;
        min-height: 500px
    }

    .cats {
        grid-template-columns: repeat(2,1fr)
    }

    .grid {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 32px
    }

    .foot {
        display: block
    }
}

</style >
