/* Shared forms and floating actions */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.wp-block-heading {
    color: var(--primary-color);
    border-left: 6px solid var(--accent-color);
    padding-left: 1.2rem;
}

.page-content .wpcf7 {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 8px;
    background: var(--secondary-color);
    box-shadow: var(--shadow-soft);
}

.audit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.page-content .wpcf7 p {
    margin: 0 0 1.2rem;
}

.page-content .wpcf7 label {
    color: var(--primary-color);
    font-weight: 700;
}

.page-content .wpcf7 input[type="text"],
.page-content .wpcf7 input[type="tel"],
.page-content .wpcf7 input[type="email"],
.page-content .wpcf7 select,
.page-content .wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 51, 102, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
}

.page-content .wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.page-content .wpcf7-list-item {
    display: block;
    margin: 0.45rem 0;
}

.page-content .wpcf7-submit {
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.page-content .wpcf7-submit:hover {
    background: var(--primary-color);
}

.bizinc-hp-wrap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.floating-actions {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 1200;
}

.floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    word-break: keep-all;
    box-shadow: var(--shadow-strong);
}

.floating-action-primary {
    background: var(--accent-color);
}

.floating-action-phone {
    background: #ffcf33;
    color: #07182c;
    font-weight: 900;
}

.floating-action-remote {
    background: #00a86b;
    color: #fff;
}

.floating-action:hover {
    background: #fff;
    color: var(--primary-color);
}

.floating-action-remote:hover {
    background: #eafff6;
    color: #006b45;
}

.floating-action-phone:hover {
    background: #fff7d6;
    color: #07182c;
}

@media (max-width: 720px) {
    .audit-form-grid {
        grid-template-columns: 1fr;
    }

    .page-content .wpcf7 {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .floating-actions {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-action {
        padding: 0.7rem 0.5rem;
        font-size: clamp(0.58rem, 2.55vw, 0.72rem);
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
        letter-spacing: 0;
    }
}
