/* DCD Contact Page */

.dcd-contact-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 0 64px;
}

.dcd-contact-hero {
    max-width: 780px;
    margin-bottom: 40px;
}

.dcd-contact-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    color: #52718b;
    margin-bottom: 12px;
}

.dcd-contact-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -.025em;
    margin-bottom: 16px;
}

.dcd-contact-hero > p:last-child {
    font-size: 16px;
    line-height: 1.7;
    color: #526273;
}

.dcd-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.dcd-contact-information > h2,
.dcd-contact-form-heading h2 {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 18px;
}

.dcd-contact-topics {
    display: grid;
    gap: 12px;
}

.dcd-contact-topic {
    padding: 19px 21px;
    background: #f7f9fb;
    border: 1px solid #e4e9ee;
    border-radius: 12px;
}

.dcd-contact-topic h3 {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 7px;
}

.dcd-contact-topic p {
    font-size: 13px;
    line-height: 1.6;
    color: #617080;
}

.dcd-contact-form-panel {
    padding: 30px;
    border: 1px solid #e0e6eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(24 47 69 / 4%);
}

.dcd-contact-form-heading {
    margin-bottom: 25px;
}

.dcd-contact-form-heading h2 {
    margin-bottom: 9px;
}

.dcd-contact-form-heading p {
    color: #617080;
    font-size: 14px;
    line-height: 1.65;
}

.dcd-contact-fields {
    display: grid;
    gap: 19px;
}

.dcd-contact-field-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.dcd-contact-form .field > label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 7px;
}

.dcd-contact-form .form-input {
    width: 100%;
    min-width: 0;
}

.dcd-contact-form textarea {
    min-height: 145px;
    resize: vertical;
}

.dcd-contact-optional {
    font-weight: 400;
    color: #788697;
    font-size: 12px;
    margin-left: 4px;
}

.dcd-contact-submit {
    margin-top: 24px;
}

.dcd-contact-submit .btn {
    min-height: 46px;
    padding-left: 24px;
    padding-right: 24px;
}

.dcd-contact-direct {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8ed;
}

.dcd-contact-details h2 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dcd-contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
}

.dcd-contact-detail > span {
    color: #6c7b8a;
    font-size: 12px;
}

.dcd-contact-detail a {
    font-weight: 650;
    overflow-wrap: anywhere;
}

.dcd-contact-details > p {
    color: #617080;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 16px;
}

@media (max-width: 850px) {
    .dcd-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .dcd-contact-hero {
        margin-bottom: 30px;
    }
}

@media (max-width: 540px) {
    .dcd-contact-page {
        padding-top: 12px;
    }

    .dcd-contact-form-panel {
        padding: 20px 16px;
    }

    .dcd-contact-field-pair {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ============================================================
   Contact page: readable text on light surfaces
   ============================================================ */

.dcd-contact-page .dcd-contact-topic {
    color: #17263a;
}

.dcd-contact-page .dcd-contact-topic h3 {
    color: #101d30;
    font-weight: 700;
}

.dcd-contact-page .dcd-contact-topic p {
    color: #526477;
}

.dcd-contact-page .dcd-contact-form-panel {
    color: #17263a;
}

.dcd-contact-page .dcd-contact-form-heading h2 {
    color: #101d30;
}

.dcd-contact-page .dcd-contact-form-heading p {
    color: #526477;
}

.dcd-contact-page .dcd-contact-form .field > label {
    color: #253750;
    font-weight: 650;
}

.dcd-contact-page .dcd-contact-form .form-input {
    background: #fff;
    color: #17263a;
    border-color: #bdc9d6;
}

.dcd-contact-page .dcd-contact-form .form-input::placeholder {
    color: #798798;
    opacity: 1;
}

.dcd-contact-page .dcd-contact-form select option {
    background: #fff;
    color: #17263a;
}

.dcd-contact-page .dcd-contact-optional {
    color: #6a7888;
}

.dcd-contact-page .dcd-contact-form .form-input:focus {
    border-color: #0d4de0;
    outline-color: #0d4de0;
}


/* ============================================================
   Interactive contact enquiry cards
   ============================================================ */

.dcd-contact-topic-button {
    display: block;
    width: 100%;
    text-align: left;
    appearance: none;
    cursor: pointer;
    font: inherit;
    color: #17263a;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        box-shadow .15s ease;
}

.dcd-contact-topic-title {
    display: block;
    color: #101d30;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 7px;
}

.dcd-contact-topic-description {
    display: block;
    color: #526477;
    font-size: 13px;
    line-height: 1.6;
}

.dcd-contact-topic-button:hover {
    border-color: #a8bdec;
    background-color: #f5f8ff;
}

.dcd-contact-topic-button.is-selected {
    border-color: #1753d8;
    background-color: #f1f6ff;
    box-shadow: inset 3px 0 0 #1753d8;
}

.dcd-contact-topic-button:focus-visible {
    outline: 2px solid #1753d8;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .dcd-contact-topic-button {
        transition: none;
    }
}

/* Basket-to-contact delivery enquiry; remains hidden for ordinary enquiries. */
.dcd-contact-page .dcd-delivery-quote-notice:not([hidden]) {
    display: grid;
    gap: .45rem;
    margin: 0 0 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--dcd-border, #cbd5e1);
    border-radius: .7rem;
    color: var(--dcd-fg, inherit);
    background: var(--dcd-surface, transparent);
}
.dcd-contact-page .dcd-delivery-quote-notice strong { font-size: .95rem; }
.dcd-contact-page .dcd-delivery-quote-notice p { margin: 0; line-height: 1.55; font-size: .86rem; }
