* {
    box-sizing: border-box;
}

:root {
    --blue: #07579c;
    --dark-blue: #073f70;
    --light-blue: #eaf5ff;
    --green: #20a36a;
    --orange: #f47b20;
    --text: #123e67;
    --muted: #5f7891;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

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

.site-header {
    background: var(--white);
    border-bottom: 1px solid #e7eef5;
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 10px 4%;
}

.brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.brand-icon {
    font-size: 42px;
    margin-right: 10px;
}

.brand-name {
    font-size: 36px;
    font-weight: 800;
    color: #0866b6;
    line-height: 1;
}

.brand-name span {
    color: #15955f;
}

.brand-name small {
    font-size: 27px;
    color: #0866b6;
}

.tagline {
    color: #7890a5;
    font-size: 14px;
    margin-top: 5px;
}

.location {
    font-size: 16px;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    padding: 10px 4px;
}

nav a.active {
    color: var(--blue);
    font-weight: 700;
    border-bottom: 3px solid var(--blue);
}

.hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 48, 86, .92) 0%, rgba(3, 48, 86, .72) 35%, rgba(3, 48, 86, .10) 78%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: auto;
    padding: 34px 4% 30px;
    color: white;
}

.welcome {
    font-size: 19px;
    margin: 0 0 10px;
}

h1 {
    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.02;
    margin: 0;
}

h1 span {
    color: #79d5ff;
}

.hero-text {
    max-width: 690px;
    font-size: 19px;
    line-height: 1.45;
    margin: 18px 0;
}

.postcode-search {
    display: flex;
    max-width: 750px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    height: 60px;
}

.postcode-search .pin {
    color: var(--blue);
    font-size: 22px;
    padding: 18px 8px 18px 20px;
}

.postcode-search input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 17px;
    min-width: 0;
}

.postcode-search button {
    border: 0;
    background: var(--green);
    color: white;
    padding: 0 34px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.notice-options {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.notice-card {
    min-height: 210px;
    border-radius: 13px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.planning {
    background: #eaf5ff;
}

.roads {
    background: #fff3e9;
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: white;
    display: grid;
    place-items: center;
    font-size: 35px;
    font-weight: bold;
    margin-right: 22px;
    flex: 0 0 auto;
}

.planning .card-icon {
    background: #087ee1;
}

.roads .card-icon {
    background: var(--orange);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h2 {
    margin: 0 0 12px;
    font-size: 29px;
}

.card-content p {
    max-width: 450px;
    line-height: 1.45;
    font-size: 16px;
}

.card-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
}

.planning .card-button {
    background: #087ee1;
}

.roads .card-button {
    background: var(--orange);
}

.card-button span {
    margin-left: 25px;
    font-size: 20px;
}

.card-illustration {
    position: absolute;
    right: 30px;
    bottom: 18px;
    font-size: 75px;
    opacity: .18;
}

.trust-strip {
    max-width: 1400px;
    margin: 0 auto 22px;
    padding: 18px 4%;
    background: #edf6fc;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    border-radius: 8px;
}

.trust-strip div {
    padding: 0 18px;
    border-right: 1px solid #cbdbe7;
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong {
    font-size: 15px;
}

.trust-strip p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.latest {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 4%;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dbe6ef;
}

.section-heading h2 {
    font-size: 28px;
    margin: 14px 0;
}

.section-heading a {
    color: var(--blue);
    font-weight: bold;
}

.latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.notice-row {
    display: grid;
    grid-template-columns: 125px 1fr 25px;
    gap: 15px;
    padding: 20px 10px;
    border-bottom: 1px solid #dbe6ef;
    align-items: start;
}

.badge {
    border-radius: 20px;
    padding: 7px 13px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}

.planning-badge {
    background: #087ee1;
}

.roads-badge {
    background: var(--orange);
}

.notice-row h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.notice-row p,
.notice-row small {
    color: var(--muted);
    margin: 4px 0;
}

.arrow {
    font-size: 28px;
    color: var(--blue);
}

footer {
    background: var(--dark-blue);
    color: white;
    padding: 20px 4%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .location {
        order: 3;
        width: 100%;
    }

    .notice-options,
    .latest-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .brand-name {
        font-size: 25px;
    }

    .brand-name small {
        font-size: 18px;
    }

    nav {
        gap: 12px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-overlay {
        background: rgba(3, 48, 86, .76);
    }

    .postcode-search {
        height: auto;
        flex-wrap: wrap;
    }

    .postcode-search input {
        height: 58px;
    }

    .postcode-search button {
        width: 100%;
        height: 52px;
    }

    .notice-card {
        padding: 20px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        margin-left: 4px;
        margin-right: 4px;
    }

    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid #cbdbe7;
        padding-bottom: 12px;
    }

    .trust-strip div:last-child {
        border-bottom: 0;
    }

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

    footer {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}
