.python-homepage {
    background: #f5f8fb;
    color: #263442;
}

.python-home-hero {
    position: relative;
    min-height: 500px;
    max-height: none !important;
    padding: 94px 0 84px !important;
    background-position: center center !important;
    overflow: hidden;
}

.python-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, rgba(4, 20, 32, .96), rgba(0, 82, 109, .82), rgba(230, 173, 42, .34));
    z-index: 0;
}

.python-home-hero > .container {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.python-home-hero-copy {
    max-width: 790px;
    text-align: left;
}

.python-home-kicker {
    margin: 0 0 10px !important;
    color: #0b7894 !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.python-home-hero .python-home-kicker {
    color: #ffd86a !important;
}

.python-home-hero h1 {
    margin: 0 0 20px !important;
    color: #fff !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0;
    text-transform: none !important;
}

.python-home-hero p:not(.python-home-kicker) {
    max-width: 730px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 21px !important;
    line-height: 1.55 !important;
}

.python-home-actions,
.python-home-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.python-home-actions a,
.python-home-final-actions a,
.python-home-contact-card a,
.python-home-work-grid a {
    display: inline-block;
    border: 1px solid #076a83;
    border-radius: 6px;
    background: #087f9d;
    color: #fff !important;
    font-weight: 800;
    line-height: 1.3;
    padding: 13px 18px;
    text-align: center;
    text-decoration: none !important;
}

.python-home-actions a + a,
.python-home-final-actions a + a,
.python-home-contact-card a + a {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .12);
}

.python-home-actions a:hover,
.python-home-actions a:focus,
.python-home-final-actions a:hover,
.python-home-final-actions a:focus,
.python-home-contact-card a:hover,
.python-home-contact-card a:focus,
.python-home-work-grid a:hover,
.python-home-work-grid a:focus {
    border-color: #054f63;
    background: #06657d;
    color: #fff !important;
}

.python-home-shell {
    padding: 56px 0 74px !important;
    background: #f5f8fb;
}

.python-home-shell > .container {
    max-width: 1160px;
}

.python-home-content {
    color: #314253;
    text-align: left !important;
}

.python-home-content h1,
.python-home-content h2,
.python-home-content h3 {
    color: #0b1f2a;
    font-weight: 800;
    letter-spacing: 0;
    text-align: left !important;
}

.python-home-content h1 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.18;
}

.python-home-content h2 {
    margin: 0 0 18px;
    font-size: 29px;
    line-height: 1.25;
}

.python-home-content h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.python-home-content p,
.python-home-content li {
    color: #314253;
    font-size: 17px;
    line-height: 1.72;
}

.python-home-content a {
    color: #087f9d;
    font-weight: 800;
    text-decoration: none;
}

.python-home-content a:hover,
.python-home-content a:focus {
    color: #054f63;
    text-decoration: underline;
}

.python-home-intro,
.python-home-video-section,
.python-home-section,
.python-home-proof,
.python-home-final-cta {
    border: 1px solid #d7e4ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(12, 33, 46, .07);
    margin-bottom: 24px;
    padding: 34px;
}

.python-home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 28px;
    align-items: start;
    border-top: 4px solid #087f9d;
}

.python-home-contact-card {
    border: 1px solid #d7e4ea;
    border-top: 4px solid #e6ad2a;
    border-radius: 8px;
    background: #fbfdff;
    padding: 24px;
}

.python-home-contact-card h2 {
    font-size: 23px;
}

.python-home-contact-card a {
    display: block;
    margin-top: 10px;
}

.python-home-contact-card a + a {
    border-color: #c9dbe2;
    background: #f6fbfd;
    color: #06657d !important;
}

.python-home-video-section {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.python-home-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(8, 30, 58, .18);
}

.python-home-service-grid,
.python-home-work-grid,
.python-home-project-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.python-home-service-grid,
.python-home-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.python-home-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.python-home-service-grid article,
.python-home-work-grid article,
.python-home-project-grid div {
    border: 1px solid #d7e4ea;
    border-left: 4px solid #087f9d;
    border-radius: 8px;
    background: #fbfdff;
    padding: 22px;
}

.python-home-project-grid div {
    border-left-color: #e6ad2a;
}

.python-home-card-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bddae3;
    border-radius: 8px;
    background: #edf8fb;
    color: #087f9d;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 16px;
}

.python-home-card-icon i {
    line-height: 1;
}

.python-home-card-label {
    display: block;
    margin-bottom: 14px;
    color: #0b7894;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.python-home-service-grid p,
.python-home-work-grid p,
.python-home-project-grid p {
    margin-bottom: 0;
}

.python-home-work-grid a {
    margin-top: 16px;
}

.python-home-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 28px;
    align-items: start;
}

.python-home-proof-list {
    display: grid;
    gap: 12px;
}

.python-home-proof-list div {
    border: 1px solid #d7e4ea;
    border-radius: 8px;
    background: #edf8fb;
    padding: 18px 20px;
}

.python-home-proof-list strong {
    display: block;
    color: #0b1f2a;
    font-size: 18px;
    line-height: 1.3;
}

.python-home-proof-list span {
    display: block;
    color: #465c67;
    line-height: 1.55;
    margin-top: 4px;
}

.python-home-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 0;
    background: linear-gradient(135deg, #092331, #0b4a5d);
}

.python-home-final-cta h2,
.python-home-final-cta p,
.python-home-final-cta .python-home-kicker {
    color: #fff !important;
}

.python-home-final-cta .python-home-kicker {
    color: #ffd86a !important;
}

@media (max-width: 980px) {
    .python-home-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .python-home-intro,
    .python-home-video-section,
    .python-home-proof,
    .python-home-final-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .python-home-hero {
        min-height: 380px;
        padding: 66px 0 58px !important;
    }

    .python-home-hero h1 {
        font-size: 36px !important;
    }

    .python-home-hero p:not(.python-home-kicker) {
        font-size: 18px !important;
    }

    .python-home-intro,
    .python-home-video-section,
    .python-home-section,
    .python-home-proof,
    .python-home-final-cta {
        padding: 24px;
    }

    .python-home-content h1 {
        font-size: 30px;
    }

    .python-home-service-grid,
    .python-home-work-grid,
    .python-home-project-grid {
        grid-template-columns: 1fr;
    }

    .python-home-actions,
    .python-home-final-actions {
        flex-direction: column;
    }
}
