/* ============================================================
   Candor Property - Commercial landing page
   Scoped to the commercial page; Bootstrap 4.5.3 does layout.
============================================================ */

.cp-commercial-hero,
.cp-commercial-services,
.cp-commercial-contact {
    font-family: 'Manrope', sans-serif;
}

.cp-commercial-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background: #f7f7f8 url('../images/Candor-Website-Background-Circles-13.png') no-repeat right bottom;
    background-size: 440px auto;
}

.cp-commercial-hero-content {
    position: relative;
    z-index: 2;
}

.cp-commercial-title {
    margin: 0;
    max-width: 680px;
    color: #302d67;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.cp-commercial-title span {
    color: #aea290;
}

.cp-commercial-intro {
    max-width: 640px;
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.cp-commercial-hero-image-wrap {
    position: relative;
    max-width: 560px;
    margin-left: auto;
}

.cp-commercial-hero-image {
    display: block;
    width: 100%;
    height: auto;
    /* Keep the PNG's wave cut-out transparent: no background or shadow. */
}

.cp-commercial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 4px;
}

.cp-commercial-button .material-icons {
    font-size: 19px;
}

.cp-commercial-services {
    background: #fff;
    scroll-margin-top: 85px;
    padding-top: 72px !important;
    padding-bottom: 56px !important;
}

.cp-commercial-section-intro {
    color: #55555d;
    line-height: 1.75;
}

.cp-commercial-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 34px;
    border: 1px solid #e8e8ed;
    border-top: 3px solid #aea290;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(31, 31, 49, .055);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.cp-commercial-card:hover {
    border-color: #d8d3e3;
    border-top-color: #302d67;
    box-shadow: 0 14px 30px rgba(48, 45, 103, .12);
    transform: translateY(-3px);
}

.cp-commercial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 23px;
    border-radius: 6px;
    background: #f5f4f1;
    color: #302d67;
}

.cp-commercial-icon .material-icons {
    font-size: 29px;
}

.cp-commercial-card h3 {
    margin-bottom: 14px;
    color: #302d67;
    font-size: 1.33rem;
    line-height: 1.35;
    font-weight: 700;
}

.cp-commercial-card p {
    margin-bottom: 25px;
    color: #55555d;
    line-height: 1.75;
}

.cp-commercial-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: #302d67;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
}

.cp-commercial-card-link .material-icons {
    font-size: 20px;
    transition: transform .2s ease;
}

.cp-commercial-card-link:hover,
.cp-commercial-card-link:focus {
    color: #605a9b;
    text-decoration: underline;
}

.cp-commercial-card-link:hover .material-icons,
.cp-commercial-card-link:focus .material-icons {
    transform: translateX(3px);
}

.cp-commercial-contact {
    background: #f5f4f1;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
}

.cp-commercial-contact p {
    color: #55555d;
    line-height: 1.75;
}

.cp-commercial-contact p a {
    color: #302d67;
    font-weight: 700;
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
    .cp-commercial-card,
    .cp-commercial-card-link .material-icons {
        transition: none;
    }

    .cp-commercial-card:hover {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .cp-commercial-hero {
        padding: 46px 0 54px;
        background-size: 260px auto;
    }

    .cp-commercial-title {
        font-size: 2.05rem;
    }

    .cp-commercial-intro {
        font-size: 1rem;
        line-height: 1.7;
    }

    .cp-commercial-hero-image-wrap {
        max-width: 540px;
        margin: 0 auto;
    }

    .cp-commercial-services {
        padding-top: 52px !important;
        padding-bottom: 36px !important;
    }

    .cp-commercial-card {
        min-height: 0;
        padding: 28px 25px;
    }

    .cp-commercial-card h3 {
        font-size: 1.2rem;
    }

    .cp-commercial-button {
        width: 100%;
    }
}

/* Previously sold commercial property */
.cp-commercial-sold {
    background: #f7f7f8;
    font-family: 'Manrope', sans-serif;
    padding-top: 66px !important;
    padding-bottom: 70px !important;
}

.cp-commercial-sold-card {
    overflow: hidden;
    max-width: 1020px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(31,31,49,.065);
}

.cp-commercial-sold-image-link {
    display: block;
    height: 100%;
    min-height: 275px;
    overflow: hidden;
    background: #ebe8e3;
}

.cp-commercial-sold-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 275px;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.cp-commercial-sold-image-link:hover .cp-commercial-sold-image,
.cp-commercial-sold-image-link:focus .cp-commercial-sold-image {
    transform: scale(1.025);
}

.cp-commercial-sold-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 34px 40px;
}

.cp-commercial-sold-status {
    display: inline-block;
    padding: 6px 12px;
    background: #302d67;
    color: #fff;
    border-radius: 3px;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .10em;
}

.cp-commercial-sold-title {
    color: #302d67;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.25;
}

.cp-commercial-sold-location {
    color: #77717c;
    font-weight: 600;
    font-size: .94rem;
}

.cp-commercial-sold-description {
    color: #55555d;
    line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
    .cp-commercial-sold-image { transition: none; }
    .cp-commercial-sold-image-link:hover .cp-commercial-sold-image,
    .cp-commercial-sold-image-link:focus .cp-commercial-sold-image { transform: none; }
}

@media (max-width: 767.98px) {
    .cp-commercial-sold {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }
    .cp-commercial-sold-image-link,
    .cp-commercial-sold-image { min-height: 210px; }
    .cp-commercial-sold-image {
        height: 235px;
    }
    .cp-commercial-sold-content {
        padding: 28px 25px 32px;
    }
    .cp-commercial-sold-title { font-size: 1.45rem; }
}

/* Dedicated commercial enquiry form */
.cp-commercial-contact {
    scroll-margin-top: 90px;
}
.cp-commercial-form-panel {
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    padding: 36px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31,31,49,.06);
}
.cp-commercial-form-panel h3 {
    color: #302d67;
    font-weight: 700;
}
.cp-commercial-form-panel label {
    color: #3f3c52;
    font-weight: 600;
    font-size: .94rem;
}
.cp-commercial-form-panel .form-control {
    border-color: #dcdbe2;
    border-radius: 4px;
    min-height: 45px;
}
.cp-commercial-form-panel textarea.form-control {
    min-height: 125px;
}
.cp-commercial-form-panel .form-control:focus {
    border-color: #6f68a5;
    box-shadow: 0 0 0 .2rem rgba(48,45,103,.12);
}
.cp-commercial-form-panel .form-check-label {
    font-weight: 400;
    line-height: 1.55;
}
.cp-commercial-form-panel .small a {
    color: #302d67;
    text-decoration: underline;
}
.cp-commercial-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    overflow-wrap: anywhere;
    white-space: normal;
}
@media (max-width: 767.98px) {
    .cp-commercial-form-panel { padding: 27px 22px; }
    .cp-commercial-form-panel .cp-commercial-button { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .cp-commercial-title { font-size: 2.45rem; }
}
@media (max-width: 575.98px) {
    .cp-commercial-title { font-size: 1.88rem; }
}


/* ============================================================
   OPTION 2 - PROPERTY-OWNER / INSTRUCTIONS FOCUS
   Extra styles only, scoped to this alternate commercial page.
============================================================ */
.cp-commercial-support {
    color: #5b5b62;
    max-width: 640px;
    line-height: 1.7;
}
.cp-commercial-hero-actions { gap: 0; }
.cp-commercial-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    color: #302d67;
    background: transparent;
    border: 1px solid #302d67;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}
.cp-commercial-outline-button:hover,
.cp-commercial-outline-button:focus {
    color: #fff;
    background: #302d67;
    text-decoration: none;
}
.cp-commercial-value-cta {
    background: #302d67;
    color: #fff;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
    font-family: 'Manrope', sans-serif;
}
.cp-commercial-value-cta .cp-section-eyebrow { color: #d3c3a9; }
.cp-commercial-value-heading {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.75rem, 2.7vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}
.cp-commercial-value-copy {
    max-width: 680px;
    color: rgba(255,255,255,.86);
    line-height: 1.8;
}
.cp-commercial-value-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 23px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: 700;
    color: #302d67;
    white-space: normal;
}
.cp-commercial-value-button:hover,
.cp-commercial-value-button:focus {
    color: #fff;
    background: #aea290;
    border-color: #aea290;
    text-decoration: none;
}
.cp-commercial-hero { scroll-margin-top: 80px; }
@media(max-width: 767.98px) {
    .cp-commercial-hero-actions .cp-commercial-button,
    .cp-commercial-hero-actions .cp-commercial-outline-button,
    .cp-commercial-value-button { width: 100%; }
    .cp-commercial-hero { padding-top: 48px; }
    .cp-commercial-value-cta { padding-top: 48px !important; padding-bottom: 48px !important; }
}


/* =============================================================
   Approved Commercial page - simple enquiry layout
   Mirrors the earlier test-site version without a white form card.
   These rules only adjust presentation; form function unchanged.
============================================================= */
.cp-commercial-contact .cp-commercial-form-panel {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.cp-commercial-contact .cp-commercial-form-panel h3 {
    color: #252525;
    font-weight: 500;
}
.cp-commercial-contact .cp-commercial-form-panel label {
    font-weight: 500;
}
@media (max-width: 767.98px) {
    .cp-commercial-contact .cp-commercial-form-panel { padding: 0; }
}
