.occf-contact,
.occf-contact * {
    box-sizing: border-box;
}

.occf-contact {
    max-width: 1280px;
    margin: 42px auto;
    padding: 0 22px;
    color: var(--occf-text, #142536);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.occf-contact svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.occf-contact__header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.occf-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--occf-primary, #e67b4e);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.occf-contact__header h2 {
    margin: 0 0 12px;
    color: var(--occf-heading, #0f2c45);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.occf-contact__header p {
    max-width: 690px;
    margin: 0 auto;
    color: var(--occf-muted, #6f7d89);
    font-size: 16px;
    line-height: 1.7;
}

.occf-contact__layout {
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--occf-border, #e6edf2);
    border-radius: 20px;
    box-shadow: 0 14px 42px rgba(23, 45, 65, .075);
}

.occf-contact__layout--form-only {
    display: block;
    max-width: 850px;
    margin-inline: auto;
}

.occf-contact__details {
    display: flex;
    flex-direction: column;
    padding: 34px;
    background: var(--occf-soft, #f5f8fa);
    border-right: 1px solid var(--occf-border, #e6edf2);
}

.occf-details-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.occf-icon-box {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--occf-primary, #e67b4e);
    background: var(--occf-icon-bg, #eaf6fb);
    border-radius: 14px;
}

.occf-details-heading h3 {
    margin: 1px 0 6px;
    color: var(--occf-heading, #0f2c45);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.occf-details-heading p {
    margin: 0;
    color: var(--occf-muted, #6f7d89);
    font-size: 13px;
    line-height: 1.55;
}

.occf-contact-options {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.occf-contact-options a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px 14px;
    color: var(--occf-heading, #0f2c45) !important;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid var(--occf-border, #e6edf2);
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(23, 45, 65, .04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.occf-contact-options a:hover {
    border-color: var(--occf-primary, #e67b4e);
    box-shadow: 0 9px 22px rgba(23, 45, 65, .07);
    transform: translateY(-1px);
}

.occf-contact-options a > svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    color: var(--occf-primary, #e67b4e);
}

.occf-contact-options span,
.occf-contact-options small,
.occf-contact-options strong {
    display: block;
    min-width: 0;
}

.occf-contact-options small {
    margin-bottom: 2px;
    color: var(--occf-muted, #6f7d89);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.occf-contact-options strong {
    overflow-wrap: anywhere;
    color: var(--occf-heading, #0f2c45);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.occf-details-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: auto;
    padding-top: 28px;
    color: var(--occf-muted, #6f7d89);
}

.occf-details-note svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--occf-primary, #e67b4e);
}

.occf-details-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
}

.occf-form {
    display: grid;
    gap: 16px;
    padding: 34px;
    background: #fff;
}

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

.occf-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.occf-field > span {
    display: block;
    margin-bottom: 7px;
    color: #4a5b68;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.occf-field > span b {
    color: var(--occf-primary, #e67b4e);
    font-weight: 800;
}

.occf-form input[type="text"],
.occf-form input[type="email"],
.occf-form input[type="tel"],
.occf-form select,
.occf-form textarea {
    width: 100%;
    margin: 0;
    color: var(--occf-text, #142536);
    background: var(--occf-field-bg, #f8fafb);
    border: 1px solid var(--occf-border, #e6edf2) !important;
    border-radius: 11px;
    outline: none;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.occf-form input[type="text"],
.occf-form input[type="email"],
.occf-form input[type="tel"],
.occf-form select {
    min-height: 49px;
    padding: 0 13px;
}

.occf-form textarea {
    min-height: 145px;
    padding: 12px 13px;
    line-height: 1.55;
    resize: vertical;
}

.occf-form input:focus,
.occf-form select:focus,
.occf-form textarea:focus {
    background: #fff;
    border-color: var(--occf-primary, #e67b4e) !important;
    box-shadow: 0 0 0 3px rgba(var(--occf-primary-rgb, 230, 123, 78), .10) !important;
}

.occf-field--error input,
.occf-field--error select,
.occf-field--error textarea {
    border-color: #d86b6b !important;
}

.occf-field-error {
    display: block;
    margin-top: 5px;
    color: #a13b3b;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
}

.occf-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 9px;
    margin: 0;
    color: var(--occf-muted, #6f7d89);
    cursor: pointer;
}

.occf-consent input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--occf-primary, #e67b4e);
}

.occf-consent span {
    font-size: 12px;
    line-height: 1.55;
}

.occf-consent a {
    color: var(--occf-primary, #e67b4e) !important;
    font-weight: 700;
}

.occf-consent--error span {
    color: #8f3a3a;
}

.occf-submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin-top: 2px;
    padding: 0 22px;
    color: var(--occf-button-text, #fff) !important;
    background: var(--occf-primary, #e67b4e);
    border: 0 !important;
    border-radius: 12px;
    box-shadow: 0 9px 22px rgba(var(--occf-primary-rgb, 230, 123, 78), .24);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.occf-submit:hover {
    color: var(--occf-button-text, #fff) !important;
    background: var(--occf-primary-dark, #cf653a);
    box-shadow: 0 11px 26px rgba(var(--occf-primary-rgb, 230, 123, 78), .30);
    transform: translateY(-1px);
}

.occf-submit svg {
    width: 18px;
    height: 18px;
}

.occf-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 850px;
    margin: 0 auto 18px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.occf-notice svg {
    flex: 0 0 auto;
}

.occf-notice--success {
    color: #196b4e;
    background: #eaf8f2;
    border: 1px solid #c9eadc;
}

.occf-notice--error {
    color: #9f3131;
    background: #fff0f0;
    border: 1px solid #f2cccc;
}

.occf-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .occf-contact__layout {
        grid-template-columns: 1fr;
    }

    .occf-contact__details {
        border-right: 0;
        border-bottom: 1px solid var(--occf-border, #e6edf2);
    }

    .occf-contact-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .occf-details-note {
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .occf-contact {
        margin: 28px auto;
        padding: 0 14px;
    }

    .occf-contact__header {
        margin-bottom: 22px;
    }

    .occf-contact__header h2 {
        font-size: 32px;
    }

    .occf-contact__layout {
        border-radius: 16px;
    }

    .occf-contact__details,
    .occf-form {
        padding: 22px 18px;
    }

    .occf-form-row,
    .occf-contact-options {
        grid-template-columns: 1fr;
    }
}

/* Styled enquiry dropdown */
.occf-select {
    position: relative;
    width: 100%;
}

.occf-select--ready > select {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.occf-select__trigger {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 0 13px;
    color: var(--occf-text, #142536) !important;
    background: var(--occf-field-bg, #f8fafb) !important;
    border: 1px solid var(--occf-border, #e6edf2) !important;
    border-radius: 11px !important;
    outline: none;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.occf-select__trigger--placeholder {
    color: var(--occf-muted, #6f7d89) !important;
}

.occf-select__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.occf-select__chevron {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #61717e;
    transition: transform .18s ease, color .18s ease;
}

.occf-select__chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.occf-select.is-open .occf-select__trigger,
.occf-select__trigger:focus-visible {
    background: #fff !important;
    border-color: var(--occf-primary, #e67b4e) !important;
    box-shadow: 0 0 0 3px rgba(var(--occf-primary-rgb, 230, 123, 78), .10) !important;
}

.occf-select.is-open .occf-select__chevron {
    color: var(--occf-primary, #e67b4e);
    transform: rotate(180deg);
}

.occf-select__menu {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: none;
    max-height: 300px;
    padding: 6px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--occf-border, #e6edf2);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(23, 45, 65, .14);
}

.occf-select.is-open .occf-select__menu {
    display: block;
    animation: occf-dropdown-in .14s ease-out;
}

.occf-select__option {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    color: var(--occf-text, #142536) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}

.occf-select__option:hover,
.occf-select__option:focus-visible {
    color: var(--occf-heading, #0f2c45) !important;
    background: var(--occf-soft, #f5f8fa) !important;
    outline: none;
}

.occf-select__option.is-selected {
    color: var(--occf-primary, #e67b4e) !important;
    background: rgba(var(--occf-primary-rgb, 230, 123, 78), .09) !important;
    font-weight: 750;
}

.occf-select__option--placeholder {
    color: var(--occf-muted, #6f7d89) !important;
}

.occf-field--error .occf-select__trigger {
    border-color: #d86b6b !important;
}

@keyframes occf-dropdown-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
