/* Site-wide Book a Day footer CTA */

.site-book-a-day-cta {
    margin-top: 0;
}

.home-bad-section.souq-cta-1 {
    padding-top: 300px;
    margin-bottom: 0;
}

.home-bad-section__panel {
    background: #fff;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.home-bad-section__panel h2,
.home-bad-section__panel p,
.home-bad-section__panel a {
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.home-bad-section__panel::before {
    display: none !important;
}

.home-bad-section__lead {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.75;
    color: #666;
}

.home-bad-section__form {
    margin: 0;
}

.home-bad-section__fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 6px;
}

.home-bad-section__field {
    min-width: 0;
    position: relative;
}

.home-bad-section__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-bad-section__field--submit {
    flex: 1;
    min-width: 0;
}

.home-bad-section__field--learn-more {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.home-bad-section__learn-more {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #999;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.home-bad-section__learn-more:hover {
    color: #111;
    border-bottom-color: #111;
    text-decoration: none;
}

.home-bad-section__input {
    width: 100%;
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    background: #fff;
    font-size: 12px;
    color: #111;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease;
}

.home-bad-section__input::placeholder {
    color: #999;
}

.home-bad-section__input:focus {
    border-color: #c98862;
    box-shadow: none;
}

.home-bad-section__input.is-invalid {
    border-color: #d9534f;
}

.home-bad-section__input--phone {
    padding-left: 48px;
}

.home-bad-section__field .iti {
    width: 100%;
}

.home-bad-section__field .iti__selected-flag {
    height: 36px;
}

.home-bad-section__error {
    display: block;
    min-height: 14px;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.3;
    color: #d9534f;
}

.home-bad-section__submit {
    width: 100%;
    min-height: 36px;
    height: 36px;
    padding: 0 16px;
    line-height: 36px;
    border: 0;
    border-radius: 0;
    font-size: 11px;
}

.home-bad-section__submit:hover:not(:disabled) {
    background-color: #666;
    color: #fff;
}

.home-bad-section__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.home-bad-section__form-note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
}

.home-bad-section__form-note.is-success {
    color: #2f7a4f;
}

.home-bad-section__form-note.is-error {
    color: #d9534f;
}

.home-scroll-section--cta .home-bad-section {
    margin-top: 0;
}

.home-scroll-section--cta .home-scroll-item--zoom {
    transform: none;
    opacity: 1;
    filter: none;
}

@media (min-width: 768px) {
    .home-bad-section__fields-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: 0 4px;
        align-items: start;
    }

    .home-bad-section__field:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .home-bad-section__field:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .home-bad-section__field--phone {
        grid-column: 3;
        grid-row: 1;
    }

    .home-bad-section__actions {
        grid-column: 4;
        grid-row: 1;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .home-bad-section__field--submit {
        flex: none;
    }

    .home-bad-section__field--learn-more {
        justify-content: flex-end;
        margin-left: 0;
    }

    .home-bad-section__error {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        min-height: 0;
        margin-top: 0;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .home-bad-section.souq-cta-1 {
        padding-top: 300px;
    }
}

@media (max-width: 767.98px) {
    .home-bad-section.souq-cta-1 {
        padding-top: 0;
        margin-top: 0 !important;
        background-image: none !important;
        background-color: #fff;
    }

    .home-bad-section__panel {
        padding: 28px 20px 24px;
    }

    .home-bad-section__lead {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .home-bad-section__field--phone {
        grid-column: 1 / -1;
    }

    .home-bad-section__actions {
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .home-bad-section__panel {
        padding: 24px 16px 20px;
    }
}
