/* Homepage contact and footer only. No hero, header or shared page overrides. */
#hp-content #cin-contact,
#footer .tfp-home-footer {
    --tfp-bottom-ink: #172b41;
    --tfp-bottom-muted: #66758b;
    --tfp-bottom-purple: #7438dd;
    --tfp-bottom-line: #e4e0ef;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#hp-content #cin-contact *,
#footer .tfp-home-footer * { box-sizing: border-box; min-width: 0; }
#hp-content #cin-contact {
    padding: 36px 0 28px;
    margin: 0;
    color: var(--tfp-bottom-ink);
    background: #f5f3fa;
    scroll-margin-top: 112px;
}
#hp-content #cin-contact .hp-wrap {
    width: min(1480px, calc(100% - 64px)) !important;
    margin: 0 auto !important;
}
#hp-content #cin-contact .tfp-help-card {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: start;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--tfp-bottom-line);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgb(32 27 65 / 4%);
}
#hp-content #cin-contact .tfp-help-heading { display: flex; gap: 16px; align-items: center; }
#hp-content #cin-contact .tfp-help-icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    color: var(--tfp-bottom-purple);
    background: #f2edfd;
    border-radius: 15px;
}
#hp-content #cin-contact svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
#hp-content #cin-contact .tfp-help-icon svg { width: 28px; height: 28px; }
#hp-content #cin-contact #tfp-home-help-title {
    color: var(--tfp-bottom-ink) !important;
    font-size: clamp(23px, 2vw, 29px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.7px !important;
    margin: 0 0 7px !important;
}
#hp-content #cin-contact .tfp-help-heading p {
    color: var(--tfp-bottom-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}
#hp-content #cin-contact .tfp-help-message { border: 0; margin: 26px 0 0; padding: 0; }
#hp-content #cin-contact .tfp-help-message > summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
    padding: 13px 18px;
    color: #fff !important;
    background: var(--tfp-bottom-purple) !important;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
#hp-content #cin-contact .tfp-help-message > summary:hover { background: #6327ca !important; }
#hp-content #cin-contact .tfp-help-message > summary span { color: inherit !important; }
#hp-content #cin-contact .tfp-help-message-arrow { margin-left: auto; width: 20px; height: 20px; }
#hp-content #cin-contact .tfp-help-message-close { display: none; }
#hp-content #cin-contact .tfp-help-message[open] .tfp-help-message-label { display: none; }
#hp-content #cin-contact .tfp-help-message[open] .tfp-help-message-close { display: inline; }
#hp-content #cin-contact .tfp-help-message[open] .tfp-help-message-arrow { transform: rotate(-90deg); }
#hp-content #cin-contact .tfp-help-email {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    margin: 12px 0 0;
    color: #425477;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}
#hp-content #cin-contact .tfp-help-email span { overflow-wrap: anywhere; }
#hp-content #cin-contact .tfp-help-email svg { width: 20px; height: 20px; }
#hp-content #cin-contact .tfp-help-email:hover { color: var(--tfp-bottom-purple); }
#hp-content #cin-contact .tfp-help-phones {
    padding-left: 30px;
    border-left: 1px solid var(--tfp-bottom-line);
}
#hp-content #cin-contact .tfp-help-phones > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 0 12px;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--tfp-bottom-ink);
    cursor: pointer;
}
#hp-content #cin-contact .tfp-help-phone-mark {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #f5f0fd;
    border-radius: 50%;
    color: var(--tfp-bottom-purple);
}
#hp-content #cin-contact .tfp-help-phone-mark svg { width: 18px; height: 18px; }
#hp-content #cin-contact .tfp-help-chevron { margin-left: auto; width: 18px; height: 18px; }
#hp-content #cin-contact .tfp-help-phones[open] .tfp-help-chevron { transform: rotate(180deg); }
#hp-content #cin-contact .tfp-help-contacts { list-style: none; padding: 0; margin: 0; }
#hp-content #cin-contact .tfp-help-contacts li { padding: 0; margin: 0; border-top: 1px solid var(--tfp-bottom-line); }
#hp-content #cin-contact .tfp-help-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 13px 0;
    color: var(--tfp-bottom-ink);
    text-decoration: none;
}
#hp-content #cin-contact .tfp-help-person-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 3px;
    flex: 1;
}
#hp-content #cin-contact .tfp-help-person-copy strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
#hp-content #cin-contact .tfp-help-person-copy small {
    grid-column: 1;
    font-size: 12px;
    line-height: 1.4;
    color: var(--tfp-bottom-muted);
}
#hp-content #cin-contact .tfp-help-number {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
#hp-content #cin-contact .tfp-help-call {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #e4d8fc;
    border-radius: 50%;
    color: var(--tfp-bottom-purple);
}
#hp-content #cin-contact .tfp-help-call svg { width: 17px; height: 17px; }
#hp-content #cin-contact .tfp-help-person:hover { color: var(--tfp-bottom-purple); }
#hp-content #cin-contact .tfp-help-person:hover .tfp-help-call { background: #f3edfd; }
#hp-content #cin-contact summary::-webkit-details-marker,
#footer .tfp-home-footer summary::-webkit-details-marker { display: none; }

/* Keep the existing form, field names, consent and submit handler. */
#hp-content #cin-contact .tfp-help-message-body { padding-top: 18px; }
#hp-content #cin-contact #contact { padding: 0 !important; margin: 0 !important; background: transparent !important; scroll-margin-top: 112px; }
#hp-content #cin-contact #contact > .container { width: 100% !important; margin: 0 !important; }
#hp-content #cin-contact #contact .contact-pro__shell { display: block !important; padding: 0 !important; }
#hp-content #cin-contact #contact .contact-pro__content,
#hp-content #cin-contact #contact .contact-pro__card-head { display: none !important; }
#hp-content #cin-contact #contact .contact-pro__card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid var(--tfp-bottom-line) !important;
    border-radius: 14px !important;
    background: #fbfaff !important;
}
#hp-content #cin-contact #contact .contact-pro__grid { gap: 12px !important; }
#hp-content #cin-contact #contact .form-group { min-width: 0; }
#hp-content #cin-contact #contact .form-input {
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 46px !important;
    padding: 11px 12px !important;
    border: 1px solid #dad7e6 !important;
    background: #fff !important;
    color: var(--tfp-bottom-ink) !important;
    font-size: 16px !important;
    box-shadow: none !important;
}
#hp-content #cin-contact #contact textarea.form-input { min-height: 125px !important; resize: vertical; }
#hp-content #cin-contact #contact .form-label { color: #43516a !important; font-size: 13px !important; }
#hp-content #cin-contact #contact .contact-chips { display: flex; flex-wrap: wrap; gap: 7px; }
#hp-content #cin-contact #contact .contact-chips button {
    min-height: 40px !important;
    padding: 8px 10px !important;
    color: #6330b4 !important;
    background: #f0eafb !important;
    border: 1px solid #e4d9f7 !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}
#hp-content #cin-contact #contact .contact-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px !important; line-height: 1.55; }
#hp-content #cin-contact #contact .contact-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tfp-bottom-purple); }
#hp-content #cin-contact #contact .contact-consent a { color: #6330b4; text-decoration: underline; }
#hp-content #cin-contact #contact button[type="submit"] {
    width: 100%;
    min-height: 48px !important;
    color: #fff !important;
    background: var(--tfp-bottom-purple) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 15px !important;
}
#hp-content #cin-contact #contact button[type="submit"]:disabled { opacity: .65; cursor: wait; }
#hp-content #cin-contact #contact .contact-form-status { margin: 12px 0; padding: 12px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
#hp-content #cin-contact #contact .contact-form-status.is-error { color: #9f2442; background: #fff0f3; }
#hp-content #cin-contact #contact .contact-form-status.is-success { color: #16624c; background: #eaf8f2; }
#hp-content #cin-contact #contact .contact-form-status[hidden] { display: none !important; }

/* A separate homepage footer avoids changing footers on other pages. */
#footer .tfp-home-footer { padding: 0 0 20px; margin: 0; background: #f5f3fa; }
#footer .tfp-home-footer-wrap {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    padding: 26px 32px 12px;
    color: #e9edf6;
    background: #071b2c;
    border: 1px solid #183145;
    border-radius: 18px;
}
#footer .tfp-home-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
#footer .tfp-home-footer-brand { flex-shrink: 0; }
#footer .tfp-home-footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
#footer .tfp-home-footer-logo img { display: block; width: 222px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
#footer .tfp-home-footer-origin { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #cfdaea; }
#footer .tfp-home-footer-origin svg { flex: 0 0 26px; width: 26px; height: 16px; border-radius: 2px; }
#footer .tfp-home-footer-legal > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 0;
    color: #e9edf6;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
#footer .tfp-home-footer-legal > summary svg { width: 17px; height: 17px; flex-shrink: 0; }
#footer .tfp-home-footer-legal[open] > summary svg { transform: rotate(180deg); }
#footer .tfp-home-footer-legal nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; column-gap: 22px; }
#footer .tfp-home-footer-legal a { display: flex; align-items: center; min-height: 44px; padding: 5px 0; color: #d5deec; font-size: 13px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
#footer .tfp-home-footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#footer .tfp-home-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 10px; border-top: 1px solid #294052; }
#footer .tfp-home-footer-bottom p { margin: 0; font-size: 12px; line-height: 1.5; color: #bac9dc; }
#footer .tfp-home-cookie-settings {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 6px 0;
    color: #d5deec !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}
#footer .tfp-home-cookie-settings:hover { color: #fff !important; text-decoration: underline; }
#hp-content #cin-contact :is(a, summary, button, input, textarea):focus-visible { outline: 3px solid #9667ec !important; outline-offset: 4px !important; }
#footer .tfp-home-footer :is(a, summary, button):focus-visible { outline: 3px solid #bda1ff; outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1120px) {
    #hp-content #cin-contact .tfp-help-person-copy { grid-template-columns: minmax(0, 1fr); }
    #hp-content #cin-contact .tfp-help-number { grid-column: 1; grid-row: auto; }
    #hp-content #cin-contact .tfp-help-person { min-height: 88px; }
    #footer .tfp-home-footer-top { align-items: flex-start; }
    #footer .tfp-home-footer-legal nav { column-gap: 18px; }
}
@media (max-width: 860px) {
    #hp-content #cin-contact .tfp-help-card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
    #hp-content #cin-contact .tfp-help-phones { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--tfp-bottom-line); }
    #hp-content #cin-contact .tfp-help-person { min-height: 84px; padding: 12px 0; }
    #footer .tfp-home-footer-top { display: block; }
    #footer .tfp-home-footer-legal { margin-top: 18px; padding-top: 8px; border-top: 1px solid #294052; }
    #footer .tfp-home-footer-legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 700px) {
    #hp-content #cin-contact { padding: 24px 0 16px; }
    #hp-content #cin-contact .hp-wrap { width: calc(100% - 32px) !important; }
    #hp-content #cin-contact .tfp-help-card { padding: 20px; border-radius: 18px; gap: 20px; }
    #hp-content #cin-contact .tfp-help-heading { gap: 12px; align-items: flex-start; }
    #hp-content #cin-contact .tfp-help-icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; }
    #hp-content #cin-contact .tfp-help-icon svg { width: 25px; height: 25px; }
    #hp-content #cin-contact #tfp-home-help-title { font-size: 24px !important; letter-spacing: -.5px !important; }
    #hp-content #cin-contact .tfp-help-heading p { font-size: 14px; }
    #hp-content #cin-contact .tfp-help-message { margin-top: 20px; }
    #hp-content #cin-contact .tfp-help-message > summary { padding: 12px 14px; font-size: 15px; }
    #hp-content #cin-contact .tfp-help-email { font-size: 13px; gap: 9px; }
    #hp-content #cin-contact #contact .contact-pro__grid { grid-template-columns: minmax(0, 1fr) !important; }
    #hp-content #cin-contact #contact .contact-pro__card { padding: 15px !important; }
    #footer .tfp-home-footer { padding-bottom: 16px; }
    #footer .tfp-home-footer-wrap { width: calc(100% - 32px); padding: 22px 20px 10px; border-radius: 16px; }
    #footer .tfp-home-footer-logo img { width: 200px; }
    #footer .tfp-home-footer-origin { font-size: 12px; }
    #footer .tfp-home-footer-bottom { flex-wrap: wrap; margin-top: 14px; gap: 0 18px; }
    #footer .tfp-home-footer-bottom p { min-height: 36px; display: flex; align-items: center; }
}
@media (max-width: 360px) {
    #hp-content #cin-contact .tfp-help-card { padding: 16px; }
    #hp-content #cin-contact .tfp-help-heading { gap: 10px; }
    #hp-content #cin-contact #tfp-home-help-title { font-size: 22px !important; }
    #hp-content #cin-contact .tfp-help-email { font-size: 12px; }
    #hp-content #cin-contact .tfp-help-message > summary { gap: 9px; padding: 12px; font-size: 14px; }
    #hp-content #cin-contact .tfp-help-phones > summary { font-size: 15px; gap: 9px; }
    #footer .tfp-home-footer-wrap { padding-right: 16px; padding-left: 16px; }
    #footer .tfp-home-footer-legal nav { column-gap: 14px; }
}
