﻿/* =========================================================
   CHESHIRE PROPERTY DESIGN
   ========================================================= */

:root {
    --navy: #01284c;
    --navy-dark: #001d38;
    --cream: #faf7ef;
    --gold: #ebc47a;
    --gold-dark: #d8aa55;
    --ink: #1c2732;
    --muted: #66717b;
    --line: #ddd7cb;
    --white: #ffffff;
    --max: 1180px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--navy-dark);
    color: var(--white);
    min-height: 58px;
    display: flex;
    align-items: center;
}

    .topbar .container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 32px;
    }

    .topbar a {
        color: var(--white);
        text-decoration: none;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        transition: color 0.2s ease;
    }

        .topbar a:hover {
            color: var(--gold);
        }

.topbar-phone {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .topbar-phone::before {
        content: "☎";
        color: var(--gold);
        font-size: 1rem;
    }


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

    .logo img {
        width: 220px;
        height: 72px;
        object-fit: contain;
        object-position: center;
    }


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .main-nav a {
        color: var(--white);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.92rem;
        transition: color 0.2s ease, background 0.2s ease;
    }

        .main-nav a:hover {
            color: var(--gold);
        }


/* Contact button */

.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 10px 17px;
    border-radius: 2px;
}

    .nav-cta:hover {
        background: var(--gold-dark);
        color: var(--navy) !important;
    }


/* Mobile menu button */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--white);
        margin: 5px;
    }


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

.hero {
    background: var(--cream);
    padding: 92px 0 82px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--navy);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    margin: 14px 0 20px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 0 0 18px;
}

h3 {
    font-size: 1.35rem;
    margin: 0 0 10px;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 680px;
}

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


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

.button {
    display: inline-block;
    padding: 13px 21px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--navy);
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .button:hover {
        background: var(--navy-dark);
        border-color: var(--navy-dark);
    }

    .button.secondary {
        background: transparent;
        color: var(--navy);
        border-color: var(--gold);
    }

        .button.secondary:hover {
            background: var(--gold);
        }

    .button.gold {
        background: var(--gold);
        color: var(--navy);
        border-color: var(--gold);
    }

        .button.gold:hover {
            background: var(--gold-dark);
            border-color: var(--gold-dark);
        }


/* =========================================================
   IMAGES
   ========================================================= */

.image-placeholder {
    min-height: 430px;
    background: linear-gradient( 135deg, #e8e0d2, #f7f4ed );
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
    padding: 30px;
    overflow: hidden;
}

    .image-placeholder img {
        width: 100%;
        height: 100%;
        min-height: 430px;
        object-fit: cover;
    }

    .image-placeholder span {
        max-width: 300px;
    }


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

.section {
    padding: 85px 0;
}

    .section.cream {
        background: var(--cream);
    }

.section-header {

    margin-bottom: 42px;
    text-align:center;
}
    .section-header .lead {
        max-width: unset;
    }


/* =========================================================
   SERVICE CARDS
   ========================================================= */

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

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0;
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.card:hover .card-image img {
    transform: scale(1.03);
}

.card-content {
    padding: 30px;
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.service-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
}

    .service-link:hover {
        color: var(--navy);
    }


/* =========================================================
   SPLIT CONTENT
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}


/* =========================================================
   LIST
   ========================================================= */

.list {
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
}

    .list li {
        padding: 11px 0 11px 28px;
        border-bottom: 1px solid var(--line);
        position: relative;
    }

        .list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 19px;
            width: 9px;
            height: 9px;
            background: var(--gold);
        }


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

.page-hero {
    padding: 70px 0;
    background: var(--cream);
}

    .page-hero h1 {
        font-size: clamp(2.4rem, 5vw, 4rem);
        max-width: 850px;
    }

.breadcrumb {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}

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

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfc8bb;
    padding: 13px 14px;
    font: inherit;
    background: var(--white);
}

textarea {
    min-height: 160px;
    resize: vertical;
}


/* =========================================================
   CAMPAIGN
   ========================================================= */

.campaign {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0;
}

    .campaign h1,
    .campaign h2 {
        color: var(--white);
    }

    .campaign p {
        color: #d9e0e7;
    }

    .campaign .button.secondary {
        color: var(--white);
        border-color: var(--gold);
    }


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

.site-footer {
    background: var(--navy-dark);
    color: #dce2e8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 45px;
}

.footer-brand {
    font: 700 1.45rem Georgia, serif;
    color: var(--white);
}

.site-footer h3 {
    color: var(--white);
    font-size: 1.1rem;
}

.site-footer p {
    color: #aeb9c3;
    max-width: 430px;
}

.site-footer a {
    display: block;
    color: #dce2e8;
    text-decoration: none;
    margin: 5px 0;
}

    .site-footer a:hover {
        color: var(--gold);
    }

.footer-bottom {
    margin-top: 45px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    color: #9eabb6;
    font-size: 0.85rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .main-nav {
        gap: 14px;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 35px;
    }

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min( calc(100% - 28px), var(--max) );
    }


   


    /* Navigation */

    .menu-toggle {
        display: block;
    }

    .site-header {
        position: sticky;
    }

    .logo img {
        width: 185px;
        height: 64px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

        .main-nav.open {
            display: flex;
        }

        .main-nav a {
            padding: 12px 10px;
        }

    .nav-cta {
        text-align: center;
        margin-top: 5px;
    }


    /* Hero */

    .hero {
        padding: 65px 0;
    }


    /* Sections */

    .section {
        padding: 65px 0;
    }


    /* Cards */

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

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 22px;
    }


    /* Images */

    .image-placeholder {
        min-height: 300px;
    }

        .image-placeholder img {
            min-height: 300px;
        }


    /* Forms */

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


    /* Footer */

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

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}
/* =========================================================
   CONSIDERED APPROACH
   ========================================================= */

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

.approach-card {
    position: relative;
    min-height: 330px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 34px 34px 38px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .approach-card:hover {
        transform: translateY(-4px);
        border-color: var(--gold);
        box-shadow: 0 14px 35px rgba(0, 29, 56, 0.08);
    }


/* Large architectural number */

.approach-number {
    position: absolute;
    top: 18px;
    right: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    color: rgba(235, 196, 122, 0.28);
    pointer-events: none;
}


/* Gold accent */

.approach-line {
    width: 42px;
    height: 4px;
    background: var(--gold);
    margin-top: 72px;
    margin-bottom: 28px;
}


/* Content */

.approach-content {
    position: relative;
    z-index: 1;
    max-width: 390px;
}

    .approach-content h3 {
        margin: 0 0 16px;
        font-size: 1.45rem;
    }

    .approach-content p {
        margin: 0;
        color: var(--muted);
        font-size: 1rem;
        line-height: 1.7;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .approach-card {
        min-height: auto;
        padding: 30px;
    }

    .approach-line {
        margin-top: 58px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .approach-card {
        padding: 26px 24px 30px;
    }

    .approach-number {
        top: 15px;
        right: 20px;
        font-size: 4rem;
    }

    .approach-line {
        width: 34px;
        height: 3px;
        margin-top: 54px;
        margin-bottom: 22px;
    }

    .approach-content h3 {
        font-size: 1.3rem;
    }

    .approach-content p {
        font-size: 0.96rem;
    }
}





/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}


/* Contact details */

.contact-details {
    padding-right: 20px;
}

    .contact-details h2 {
        margin-top: 10px;
    }

    .contact-details > p {
        color: var(--muted);
        font-size: 1.05rem;
        max-width: 500px;
    }


/* Contact methods */

.contact-methods {
    margin-top: 35px;
}

.contact-method {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

    .contact-method:first-child {
        border-top: 1px solid var(--line);
    }

    .contact-method h3 {
        font-size: 1rem;
        margin: 0 0 5px;
    }

    .contact-method a {
        color: var(--navy);
        text-decoration: none;
        font-weight: 600;
    }

        .contact-method a:hover {
            color: var(--gold-dark);
        }


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

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 38px;
}

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

.field {
    margin-bottom: 20px;
}

    .field label {
        display: block;
        margin-bottom: 7px;
        color: var(--navy);
        font-size: 0.92rem;
        font-weight: 700;
    }

        .field label span {
            color: var(--gold-dark);
        }


    /* Inputs */

    .field input,
    .field select,
    .field textarea {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #cfc8bb;
        border-radius: 0;
        background: var(--white);
        color: var(--ink);
        font: inherit;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .field input,
    .field select {
        min-height: 49px;
    }

    .field textarea {
        min-height: 170px;
        resize: vertical;
    }


        /* Focus */

        .field input:focus,
        .field select:focus,
        .field textarea:focus {
            outline: none;
            border-color: var(--gold-dark);
            box-shadow: 0 0 0 3px rgba(235, 196, 122, 0.18);
        }


        /* Placeholder */

        .field input::placeholder,
        .field textarea::placeholder {
            color: #929aa1;
        }


    /* Select */

    .field select {
        appearance: auto;
        cursor: pointer;
    }


/* =========================================================
   CONSENT
   ========================================================= */

.form-consent {
    margin: 5px 0 24px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    cursor: pointer;
}

    .checkbox input {
        width: auto;
        margin: 4px 0 0;
        flex-shrink: 0;
        accent-color: var(--gold-dark);
    }


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-form .button {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 14px 24px;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .contact-form .button:hover {
        transform: translateY(-1px);
    }


/* =========================================================
   FORM NOTE
   ========================================================= */

.form-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
    border-color: #b66a5c;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-details {
        padding-right: 0;
    }

    .contact-form {
        padding: 30px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-grid {
        gap: 35px;
    }

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

    .contact-form {
        padding: 24px 20px;
    }

    .field {
        margin-bottom: 17px;
    }

        .field input,
        .field select {
            min-height: 48px;
        }

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

    .contact-form .button {
        width: 100%;
        text-align: center;
    }

    .contact-methods {
        margin-top: 25px;
    }
}

@media (max-width: 760px) {

    .topbar {
        min-height: 48px;
    }

        .topbar .container {
            justify-content: center;
            gap: 18px;
        }

        .topbar a {
            font-size: 0.95rem;
        }

    .topbar-phone::before {
        display: none;
    }
}