body.kata-contact-page {
    margin: 0;
    background: #05070b;
    color: #f8fafc;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

/* Light content theme. */
body.kata-contact-page,
.kata-contact-page .page-container,
.kata-contact-page .page-container > .body-content,
.kata-contact-page .page-container > .body-content > .referenced-content,
.kata-contact-section {
    background: #f4f7fb !important;
    color: #172033;
}

.kata-contact-hero {
    background: linear-gradient(180deg, #eaf4fc, #f8fafc);
    border-bottom-color: #d8e3ee;
}

.kata-contact-hero h1,
.kata-contact-company h2,
.kata-contact-form-panel h2,
.kata-contact-map-heading h2,
.kata-contact-support-note strong {
    color: #101827;
}

.kata-contact-hero-inner > div:first-child > p:last-child,
.kata-contact-form-intro,
.kata-contact-support-note span {
    color: #526174;
}

.kata-contact-quick-links,
.kata-contact-company,
.kata-contact-form-panel,
.kata-contact-map-panel {
    background: #fff;
    border-color: #d8e3ee;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.kata-contact-quick-links a,
.kata-contact-company-details dl > div {
    border-color: #d8e3ee;
}

.kata-contact-quick-links a:hover,
.kata-contact-quick-links a:focus,
.kata-contact-support-note {
    background: #eef7fd;
}

.kata-contact-quick-links span,
.kata-contact-company-details dt {
    color: #64748b;
}

.kata-contact-quick-links strong,
.kata-contact-company-details dd,
.kata-contact-field label {
    color: #263449;
}

.kata-contact-company-details a,
.kata-contact-required {
    color: #0078d4;
}

.kata-contact-field input[type="text"],
.kata-contact-field textarea {
    background: #f8fafc !important;
    border-color: #cbd7e4 !important;
    color: #172033 !important;
}

.kata-contact-field input[type="text"]:focus,
.kata-contact-field textarea:focus {
    background: #fff !important;
    border-color: #0788d4 !important;
    box-shadow: 0 0 0 3px rgba(7, 136, 212, .14) !important;
}

.kata-contact-cancel {
    border-color: #9eb3c8 !important;
    color: #263449 !important;
}

.kata-contact-cancel:hover,
.kata-contact-cancel:focus {
    background: #eef7fd !important;
    border-color: #0788d4 !important;
}

.kata-contact-page .kata-contact-chrome,
.kata-contact-page .kata-contact-main {
    min-height: 0;
}

.kata-contact-page .clientcontext,
.kata-contact-page .page-container > .header,
.kata-contact-page .page-container > .banner,
.kata-contact-page .page-container > .footer-content,
.kata-contact-page .page-container > .legalfooter-content,
.kata-contact-page .page-container .body-content > .decorative-box {
    display: none !important;
}

.kata-contact-page .page-container,
.kata-contact-page .page-container > .body-content,
.kata-contact-page .page-container > .body-content > .referenced-content {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #05070b !important;
}

.kata-contact-page .page-container {
    position: static !important;
}

.kata-contact-page .kata-contact-main,
.kata-contact-page .kata-contact-main * {
    box-sizing: border-box;
}

.kata-contact-hero {
    border-bottom: 1px solid #223142;
    background: #08111d;
}

.kata-contact-hero-inner {
    min-height: 350px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, .9fr);
    gap: 72px;
    align-items: center;
    padding: 64px 0;
}

.kata-contact-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.kata-contact-hero-inner > div:first-child > p:last-child {
    max-width: 620px;
    margin: 22px 0 0;
    color: #c3cfdb;
    font-size: 18px;
    line-height: 1.6;
}

.kata-contact-quick-links {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #2b3d50;
    background: #0a1724;
}

.kata-contact-quick-links a {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid #2b3d50;
    color: #fff;
}

.kata-contact-quick-links a:last-child {
    border-bottom: 0;
}

.kata-contact-quick-links a:hover,
.kata-contact-quick-links a:focus {
    background: #102234;
}

.kata-contact-quick-links span {
    color: #8fa4b7;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.kata-contact-quick-links strong {
    color: #fff;
    font-size: 15px;
    text-align: right;
}

.kata-contact-section {
    padding: 82px 0 90px;
    background: #05070b;
}

.kata-contact-grid {
    display: grid;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
    gap: 24px;
    align-items: stretch;
}

.kata-contact-company,
.kata-contact-form-panel {
    border: 1px solid #293b4d;
    background: #08131f;
}

.kata-contact-company {
    padding: 34px;
}

.kata-contact-form-panel {
    padding: 34px 38px 38px;
}

.kata-contact-kicker {
    margin: 0 0 16px;
    color: #00bff3;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
}

.kata-contact-company h2,
.kata-contact-form-panel h2,
.kata-contact-map-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.kata-contact-company-details dl {
    margin: 30px 0 0;
}

.kata-contact-company-details dl > div {
    padding: 16px 0;
    border-top: 1px solid #293b4d;
}

.kata-contact-company-details dt {
    margin-bottom: 6px;
    color: #8297aa;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.kata-contact-company-details dd {
    margin: 0;
    color: #e8eef4;
    font-size: 15px;
    line-height: 1.6;
}

.kata-contact-company-details a {
    color: #5cd4ff;
}

.kata-contact-support-note {
    margin-top: 26px;
    padding: 18px;
    border-left: 3px solid #00bff3;
    background: #102131;
}

.kata-contact-support-note strong,
.kata-contact-support-note span {
    display: block;
}

.kata-contact-support-note strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: 14px;
}

.kata-contact-support-note span {
    color: #aab9c6;
    font-size: 13px;
    line-height: 1.55;
}

.kata-contact-form-intro {
    max-width: 670px;
    margin: 14px 0 0;
    color: #aebdca;
    font-size: 15px;
    line-height: 1.6;
}

.kata-contact-required {
    margin: 12px 0 26px;
    color: #5cd4ff;
    font-size: 13px;
    font-weight: 700;
}

.kata-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.kata-contact-field {
    min-width: 0;
}

.kata-contact-field-full {
    grid-column: 1 / -1;
}

.kata-contact-field label {
    display: block;
    margin-bottom: 9px;
    color: #f5f7fa;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.kata-contact-field input[type="text"],
.kata-contact-field textarea {
    width: 100% !important;
    max-width: none !important;
    display: block;
    margin: 0 !important;
    border: 1px solid #395066 !important;
    border-radius: 0 !important;
    outline: 0;
    background: #06111c !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px;
    box-shadow: none !important;
}

.kata-contact-field input[type="text"] {
    height: 46px !important;
    padding: 0 14px !important;
}

.kata-contact-field textarea {
    min-height: 150px;
    padding: 13px 14px !important;
    resize: vertical;
}

.kata-contact-field input[type="text"]:focus,
.kata-contact-field textarea:focus {
    border-color: #00bff3 !important;
}

.kata-contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.kata-contact-submit,
.kata-contact-cancel {
    min-width: 130px;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 44px !important;
    text-align: center;
    cursor: pointer;
    box-shadow: none !important;
}

.kata-contact-submit {
    border: 1px solid #f05a28 !important;
    background: #f05a28 !important;
    color: #fff !important;
}

.kata-contact-submit:hover,
.kata-contact-submit:focus {
    border-color: #ff7548 !important;
    background: #d94a1c !important;
}

.kata-contact-cancel {
    border: 1px solid #455b70 !important;
    background: transparent !important;
    color: #fff !important;
}

.kata-contact-cancel:hover,
.kata-contact-cancel:focus {
    border-color: #fff !important;
    background: #132231 !important;
}

.kata-contact-status {
    flex: 1 1 100%;
    display: block;
    color: #f5b78f;
    font-size: 13px;
    line-height: 1.5;
}

.kata-contact-map-panel {
    margin-top: 24px;
    padding: 34px;
    border: 1px solid #293b4d;
    background: #08131f;
}

.kata-contact-map-heading {
    margin-bottom: 24px;
}

.kata-contact-map {
    width: 100%;
    height: 430px;
    display: block;
    border: 0;
    background: #101923;
}

.kata-contact-page .kata-footer {
    background: #05070b;
    border-top-color: #223142;
    color: #9fb0c0;
}

.kata-contact-page .kata-footer-links {
    color: #fff;
}

@media (max-width: 1020px) {
    .kata-contact-hero-inner,
    .kata-contact-grid {
        grid-template-columns: 1fr;
    }

    .kata-contact-hero-inner {
        gap: 38px;
    }
}

/* Keep light theme overrides after legacy responsive rules. */
body.kata-contact-page,
.kata-contact-page .page-container,
.kata-contact-page .page-container > .body-content,
.kata-contact-page .page-container > .body-content > .referenced-content,
.kata-contact-section { background: #f4f7fb !important; color: #172033; }
.kata-contact-hero { background: linear-gradient(180deg, #eaf4fc, #f8fafc); border-color: #d8e3ee; }
.kata-contact-hero h1, .kata-contact-company h2, .kata-contact-form-panel h2, .kata-contact-map-heading h2, .kata-contact-support-note strong { color: #101827; }
.kata-contact-hero-inner > div:first-child > p:last-child, .kata-contact-form-intro, .kata-contact-support-note span { color: #526174; }
.kata-contact-quick-links, .kata-contact-company, .kata-contact-form-panel, .kata-contact-map-panel { background: #fff; border-color: #d8e3ee; box-shadow: 0 18px 44px rgba(15, 23, 42, .08); }
.kata-contact-quick-links a, .kata-contact-company-details dl > div { border-color: #d8e3ee; }
.kata-contact-quick-links a:hover, .kata-contact-quick-links a:focus, .kata-contact-support-note { background: #eef7fd; }
.kata-contact-quick-links span, .kata-contact-company-details dt { color: #64748b; }
.kata-contact-quick-links strong, .kata-contact-company-details dd, .kata-contact-field label { color: #263449; }
.kata-contact-company-details a, .kata-contact-required { color: #0078d4; }
.kata-contact-field input[type="text"], .kata-contact-field textarea { background: #f8fafc !important; border-color: #cbd7e4 !important; color: #172033 !important; }
.kata-contact-field input[type="text"]:focus, .kata-contact-field textarea:focus { background: #fff !important; border-color: #0788d4 !important; box-shadow: 0 0 0 3px rgba(7, 136, 212, .14) !important; }
.kata-contact-cancel { border-color: #9eb3c8 !important; color: #263449 !important; }
.kata-contact-cancel:hover, .kata-contact-cancel:focus { background: #eef7fd !important; border-color: #0788d4 !important; }

@media (max-width: 680px) {
    .kata-contact-hero-inner {
        min-height: 0;
        padding: 46px 0;
    }

    .kata-contact-hero h1 {
        font-size: 36px;
    }

    .kata-contact-hero-inner > div:first-child > p:last-child {
        font-size: 16px;
    }

    .kata-contact-quick-links a {
        min-height: 70px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .kata-contact-quick-links strong {
        text-align: left;
    }

    .kata-contact-section {
        padding: 48px 0 56px;
    }

    .kata-contact-company,
    .kata-contact-form-panel,
    .kata-contact-map-panel {
        padding: 24px 20px;
    }

    .kata-contact-company h2,
    .kata-contact-form-panel h2,
    .kata-contact-map-heading h2 {
        font-size: 24px;
    }

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

    .kata-contact-field-full {
        grid-column: auto;
    }

    .kata-contact-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .kata-contact-submit,
    .kata-contact-cancel {
        width: 100%;
    }

    .kata-contact-map {
        height: 330px;
    }
}
