.python-contact-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(112deg, rgba(4, 20, 32, .96), rgba(0, 82, 109, .78), rgba(230, 173, 42, .3)), url("/images/header.jpg") center/cover no-repeat;
    color: #fff;
    padding: 72px 0;
}

.python-contact-hero__content {
    max-width: 780px;
}

.python-contact-eyebrow,
.python-contact-kicker {
    margin: 0 0 10px;
    color: #0b7894;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.python-contact-hero .python-contact-eyebrow {
    color: #ffd86a;
}

.python-contact-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: 0;
}

.python-contact-hero p:last-child {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.7;
}

.python-contact-page {
    background: #f5f8fb;
    padding: 64px 0 72px;
}

.python-contact-panel {
    background: #fff;
    border: 1px solid #d7e4ea;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(12, 33, 46, .07);
}

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

.python-contact-section-heading {
    margin-bottom: 28px;
}

.python-contact-section-heading h2,
.python-contact-card h2 {
    margin: 0 0 12px;
    color: #0b1f2a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.python-contact-section-heading p:last-child,
.python-contact-card p {
    color: #465c67;
    font-size: 16px;
    line-height: 1.65;
}

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

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

.python-contact-field--wide {
    grid-column: 1 / -1;
}

.python-contact-field--hidden {
    display: none;
}

.python-contact-label {
    display: block;
    margin-bottom: 7px;
    color: #263442;
    font-size: 14px;
    font-weight: 800;
}

.python-contact-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c9dbe2;
    border-radius: 6px;
    background: #fff;
    color: #17242d;
    font-size: 15px;
    line-height: 1.4;
    padding: 10px 12px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.python-contact-input:focus {
    border-color: #087f9d;
    box-shadow: 0 0 0 3px rgba(8, 127, 157, .16);
    outline: none;
}

.python-contact-inline,
.python-contact-security {
    display: flex;
    align-items: center;
    gap: 10px;
}

.python-contact-ext {
    max-width: 92px;
}

.python-contact-state {
    max-width: 120px;
}

.python-contact-zip {
    max-width: 180px;
}

.python-contact-textarea {
    min-height: 190px;
    resize: vertical;
}

.python-contact-security {
    flex-wrap: wrap;
}

.python-contact-security-code {
    max-width: 140px;
}

.python-contact-recaptcha {
    overflow-x: auto;
    padding-top: 2px;
}

.python-contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.python-contact-submit {
    min-height: 48px;
    border: 1px solid #076a83;
    border-radius: 6px;
    background: #087f9d;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    padding: 0 24px;
    transition: background .16s ease, transform .16s ease;
}

.python-contact-submit:hover,
.python-contact-submit:focus {
    background: #06657d;
    color: #fff;
    transform: translateY(-1px);
}

.python-contact-alert {
    display: block;
    margin: 0 0 20px;
    border-left: 4px solid #c0392b;
    background: #fff3f1;
    color: #8a1f13;
    font-weight: 800;
    line-height: 1.5;
    padding: 12px 14px;
}

.python-contact-alert--bottom {
    margin: 0;
}

.python-contact-sidebar {
    display: grid;
    gap: 22px;
}

.python-contact-card {
    padding: 30px;
}

.python-contact-card--primary {
    border-top: 4px solid #087f9d;
}

.python-contact-list {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.python-contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
}

.python-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #edf8fb;
    color: #087f9d;
    font-size: 18px;
}

.python-contact-item h3 {
    margin: 0 0 5px;
    color: #0b1f2a;
    font-size: 16px;
    font-weight: 800;
}

.python-contact-item p {
    margin: 0;
}

.python-contact-item a,
.python-contact-card a {
    color: #06657d;
    font-weight: 800;
}

.python-contact-checklist {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.python-contact-checklist li {
    position: relative;
    margin-bottom: 12px;
    color: #465c67;
    line-height: 1.55;
    padding-left: 26px;
}

.python-contact-checklist li:before {
    position: absolute;
    left: 0;
    top: 2px;
    color: #e6ad2a;
    content: "\f00c";
    font-family: FontAwesome;
}

@media (max-width: 767px) {
    .python-contact-hero {
        min-height: 300px;
        padding: 54px 0;
    }

    .python-contact-hero h1 {
        font-size: 34px;
    }

    .python-contact-page {
        padding: 40px 0 52px;
    }

    .python-contact-form-panel,
    .python-contact-card {
        padding: 24px;
    }

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

    .python-contact-inline {
        align-items: stretch;
        flex-direction: column;
    }

    .python-contact-ext,
    .python-contact-state,
    .python-contact-zip {
        max-width: none;
    }
}
