.ap-form-message {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 14px;
}

.ap-form-message-error {
    background: #fff3f1;
    border: 1px solid #f0b2a8;
    color: #7f2012;
}

.ap-form-message-list {
    margin: 0;
    padding-left: 20px;
}

.ap-days-note {
    margin-top: 8px;
}

.ap-days-hidden {
    display: none !important;
}

.ap-date-input {
    width: 100%;
}

.ap-price-tier-group {
    display: none !important;
}

.ap-field-invalid .t-input {
    border-color: #d2432d !important;
}

.ap-step-divider {
    margin-top: 10px;
}

.t-input-group_st,
.t-input-group_st .t-input-block,
.t-input-group_st .t-form-step-divider {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.ap-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.ap-step-label {
    flex: 1;
    text-align: center;
    color: #1a4796;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.ap-step-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #1a4796;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.ap-step-button-back {
    background: #d8e6ff;
    color: #1a4796;
}

.ap-video-fallback {
    min-height: 320px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(232, 171, 86, 0.28), transparent 36%),
        linear-gradient(135deg, #132744 0%, #1a4796 52%, #0d2348 100%);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(18, 40, 74, 0.28);
}

.ap-video-fallback__inner {
    display: flex;
    height: 100%;
    min-height: 320px;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.ap-video-fallback__eyebrow {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ap-video-fallback__title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.1;
}

.ap-video-fallback__text {
    margin: 0 0 18px;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.ap-video-fallback__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #ffffff;
}

.ap-map-embed {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #dfe9f8;
}

.ap-map-embed__frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

.ap-blog-feed {
    margin-top: 24px;
}

.ap-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ap-blog-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border-radius: 28px;
    background: #ffffff;
    padding: 26px;
    box-shadow: 0 22px 50px rgba(18, 36, 67, 0.08);
}

.ap-blog-card__meta {
    margin-bottom: 14px;
    color: #1a4796;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ap-blog-card__title {
    margin: 0 0 14px;
    color: #132744;
    font-size: 28px;
    line-height: 1.08;
}

.ap-blog-card__summary {
    margin: 0 0 18px;
    color: #556276;
    line-height: 1.65;
}

.ap-blog-card__link {
    margin-top: auto;
    color: #1a4796;
    font-weight: 700;
    text-decoration: none;
}

.ap-blog-articles {
    display: grid;
    gap: 26px;
    margin-top: 36px;
}

.ap-blog-article {
    border-radius: 28px;
    background: #ffffff;
    padding: 34px;
    box-shadow: 0 18px 42px rgba(18, 36, 67, 0.08);
}

.ap-blog-article__meta {
    margin-bottom: 12px;
    color: #1a4796;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ap-blog-article__title {
    margin: 0 0 18px;
    color: #132744;
    font-size: 34px;
    line-height: 1.08;
}

.ap-blog-article__paragraph {
    margin: 0 0 14px;
    color: #445267;
    line-height: 1.8;
}

.ap-blog-article__cta {
    display: inline-flex;
    margin-top: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #e8ab56;
    color: #132744;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (max-width: 980px) {
    .ap-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .ap-step-actions {
        flex-wrap: wrap;
    }

    .ap-step-label {
        order: -1;
        width: 100%;
    }

    .ap-step-button {
        flex: 1 1 0;
    }

    .ap-video-fallback__inner,
    .ap-blog-card,
    .ap-blog-article {
        padding: 24px;
    }

    .ap-video-fallback__title,
    .ap-blog-card__title,
    .ap-blog-article__title {
        font-size: 24px;
    }
}
