/* BizBilt custom site styling */

/* Normalize the theme's plain text site title into the BizBilt wordmark. */
.wp-block-site-title a,
.site-title a {
    color: #171717 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-decoration: none !important;
    text-transform: none;
}

.wp-block-site-title a:hover,
.wp-block-site-title a:focus-visible,
.site-title a:hover,
.site-title a:focus-visible {
    color: #c90000 !important;
}

.bizbilt-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px;
}

.bizbilt-section h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 0 20px;
}

.bizbilt-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 16px;
}

.bizbilt-section h3 {
    margin-top: 0;
    font-size: 22px;
}

.bizbilt-lead {
    font-size: 20px;
    line-height: 1.5;
    max-width: 850px;
    margin-bottom: 32px;
}

.bizbilt-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.bizbilt-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-top: 5px solid #d00000;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bizbilt-card p {
    margin-bottom: 0;
    line-height: 1.5;
}

.bizbilt-note {
    background: #f7f7f7;
    border-left: 5px solid #111111;
    padding: 18px 20px;
    margin: 32px 0;
    line-height: 1.5;
}

.bizbilt-contact-box {
    background: #f7f7f7;
    border-left: 6px solid #d00000;
    padding: 28px;
    border-radius: 6px;
    max-width: 850px;
}

.bizbilt-contact-box p {
    line-height: 1.5;
}

.bizbilt-contact-box a {
    font-weight: 700;
}

.bizbilt-quote-cta {
    background: #111111;
    color: #ffffff;
    padding: 36px 30px;
    margin: 44px 0 0;
    border-radius: 8px;
}

.bizbilt-quote-cta h2 {
    color: #ffffff;
    margin-top: 0;
}

.bizbilt-quote-cta p {
    max-width: 780px;
    line-height: 1.5;
}

.bizbilt-button {
    display: inline-block;
    background: #d00000;
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 14px;
}

.bizbilt-button:hover {
    background: #a80000;
    color: #ffffff !important;
}

.bizbilt-footer-custom {
    background: #111111;
    color: #ffffff;
    padding: 42px 24px;
    margin-top: 48px;
}

.bizbilt-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bizbilt-footer-custom h2 {
    color: #ffffff;
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: 0.02em;
}

.bizbilt-footer-custom p {
    margin: 8px 0;
    line-height: 1.5;
}

.bizbilt-footer-custom a {
    color: #ffffff;
    text-decoration: underline;
}

.bizbilt-copyright {
    margin-top: 22px;
    font-size: 14px;
    opacity: 0.8;
}

.bizbilt-team-access a {
    color: #bdbdbd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.bizbilt-team-access a:hover,
.bizbilt-team-access a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.bizbilt-team-visit-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.bizbilt-team-visit-button:hover,
.bizbilt-team-visit-button:focus-visible {
    background: #d00000;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Replace the generated Hostinger starter footer with the BizBilt footer. */
footer.site-footer.wp-block-template-part {
    display: none !important;
}

.bizbilt-global-footer {
    margin-top: 56px;
    padding: 48px max(24px, calc((100vw - 1100px) / 2));
    background: #171d27;
    color: #ffffff;
}

.bizbilt-global-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(150px, 0.7fr) minmax(220px, 0.9fr);
    gap: clamp(36px, 6vw, 80px);
}

.bizbilt-global-footer p {
    margin: 0 0 8px;
    line-height: 1.5;
}

.bizbilt-global-footer a {
    color: #ffffff;
}

.bizbilt-global-footer-name {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.bizbilt-global-footer-service {
    max-width: 520px;
    margin-top: 18px !important;
    color: #cbd0d8;
    font-size: 14px;
}

.bizbilt-global-footer-heading {
    margin-bottom: 16px !important;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bizbilt-global-footer-nav {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.bizbilt-global-footer-nav a,
.bizbilt-global-footer-contact a {
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.bizbilt-global-footer-contact span {
    display: block;
    color: #aeb5c0;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bizbilt-global-footer-contact p {
    margin-bottom: 17px;
}

.bizbilt-global-footer-quote {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 15px;
    border-radius: 6px;
    background: #d00000;
    font-weight: 800;
    text-decoration: none !important;
}

.bizbilt-global-footer-quote:hover,
.bizbilt-global-footer-quote:focus-visible {
    background: #a80000;
}

.bizbilt-global-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #aeb5c0;
    font-size: 12px;
}

.bizbilt-global-footer-bottom p {
    margin: 0;
}

.bizbilt-global-footer-bottom a {
    color: #aeb5c0;
    font-weight: 750;
}

/* Quote request form */
.bizbilt-request-quote {
    max-width: 960px;
}

.bizbilt-request-quote > h2 {
    position: relative;
    padding-bottom: 16px;
}

.bizbilt-request-quote > h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: #d00000;
    content: "";
}

.bizbilt-quote-form {
    margin-top: 32px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e2e2e2;
    border-top: 6px solid #d00000;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.bizbilt-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.bizbilt-quote-form p {
    margin: 0 0 24px;
}

.bizbilt-form-grid p {
    margin: 0;
}

.bizbilt-quote-form label {
    display: block;
    margin-bottom: 8px;
    color: #222222;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.bizbilt-quote-form input,
.bizbilt-quote-form select,
.bizbilt-quote-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    background: #ffffff;
    color: #181818;
    font: inherit;
    line-height: 1.4;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.bizbilt-quote-form input,
.bizbilt-quote-form select {
    min-height: 50px;
    padding: 11px 13px;
}

.bizbilt-quote-form textarea {
    min-height: 170px;
    padding: 13px;
    resize: vertical;
}

.bizbilt-quote-form input::placeholder,
.bizbilt-quote-form textarea::placeholder {
    color: #6f6f6f;
    opacity: 1;
}

.bizbilt-quote-form input:hover,
.bizbilt-quote-form select:hover,
.bizbilt-quote-form textarea:hover {
    border-color: #777777;
}

.bizbilt-quote-form input:focus,
.bizbilt-quote-form select:focus,
.bizbilt-quote-form textarea:focus {
    border-color: #d00000;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(208, 0, 0, 0.16);
}

.bizbilt-form-note {
    margin: 28px 0 !important;
    padding: 14px 16px;
    border-left: 4px solid #d00000;
    background: #f7f7f7;
    color: #4b4b4b;
    font-size: 14px;
    line-height: 1.55;
}

.bizbilt-form-success,
.bizbilt-form-errors {
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 7px;
    line-height: 1.5;
}

.bizbilt-form-success {
    border: 1px solid #9ac7a6;
    border-left: 5px solid #257a3e;
    background: #f0f8f2;
    color: #174d28;
}

.bizbilt-form-success p {
    margin: 0;
}

.bizbilt-form-success .bizbilt-form-success-title {
    margin-bottom: 6px;
    color: #123d20;
    font-size: 18px;
    font-weight: 800;
}

.bizbilt-form-errors {
    border: 1px solid #e2a7a7;
    border-left: 5px solid #b00000;
    background: #fff4f4;
    color: #750000;
}

.bizbilt-form-errors p {
    margin: 0 0 8px;
}

.bizbilt-form-errors ul {
    margin: 0;
    padding-left: 22px;
}

.bizbilt-quote-form .bizbilt-button {
    min-height: 50px;
    margin-top: 0;
    border: 0;
    box-shadow: 0 5px 14px rgba(208, 0, 0, 0.2);
    font: inherit;
    font-weight: 700;
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bizbilt-quote-form .bizbilt-button:hover:not(:disabled) {
    box-shadow: 0 7px 18px rgba(168, 0, 0, 0.28);
    transform: translateY(-1px);
}

.bizbilt-quote-form .bizbilt-button:focus-visible {
    outline: 3px solid rgba(208, 0, 0, 0.28);
    outline-offset: 3px;
}


@media (max-width: 900px) {
    .bizbilt-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bizbilt-section {
        padding: 36px 18px;
    }

    .bizbilt-card-grid {
        grid-template-columns: 1fr;
    }

    .bizbilt-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bizbilt-quote-form {
        padding: 24px 18px;
        border-radius: 8px;
    }

    .bizbilt-quote-form .bizbilt-button {
        width: 100%;
    }

    .bizbilt-submit-feedback {
        display: block;
        margin: 12px 0 0;
        text-align: center;
    }

    .bizbilt-contact-box,
    .bizbilt-quote-cta {
        padding: 24px 20px;
    }

    .bizbilt-global-footer {
        padding: 38px 22px 76px;
    }

    .bizbilt-global-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bizbilt-global-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Temporary cleanup: hide generated starter-site footer widgets */
footer .wp-block-social-links,
footer .wp-block-search,
footer .wp-block-buttons,
footer form,
footer input[type="email"],
footer [class*="social"],
footer [class*="newsletter"],
footer [class*="subscribe"] {
    display: none !important;
}

/* Hide leftover starter-footer headings */
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    display: none !important;
}

.bizbilt-button-disabled,
.bizbilt-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.bizbilt-form-submitting {
    opacity: 0.85;
}

.bizbilt-submit-feedback {
    display: inline-block;
    margin-left: 12px;
    font-weight: 700;
}

.bizbilt-submit-feedback[hidden] {
    display: none;
}
