html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Base badge */
.badge {
    --badge-bg: #eef2f6;
    --badge-fg: #1f2937;
    --badge-bd: transparent;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .5rem;
    border-radius: .5rem;
    font-size: .8125rem;
    line-height: 1;
    font-weight: 600;
    background: var(--badge-bg);
    color: var(--badge-fg);
    border: 1px solid var(--badge-bd);
    white-space: nowrap;
}

/* Pill shape (chips) */
.badge--pill {
    border-radius: 9999px;
}

/* Outline variant */
.badge--outline {
    background: transparent;
    border-color: var(--badge-bg);
    color: var(--badge-bg);
}

/* Close �x� button inside the badge (for removable chips) */
.badge__close {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    font-size: 14px;
    cursor: pointer;
    color: currentColor;
    opacity: .7;
}

    .badge__close:hover {
        opacity: 1;
    }

/* Color themes (tweak to match your brand) */
.badge--primary {
    --badge-bg: #e6f0ff;
    --badge-fg: #0b5ed7;
    --badge-bd: #cfe0ff;
}

.badge--secondary {
    --badge-bg: #ede9fe;
    --badge-fg: #6d28d9;
    --badge-bd: #dbd6fd;
}

.badge--success {
    --badge-bg: #e8f6ef;
    --badge-fg: #1b7f4b;
    --badge-bd: #cfead9;
}

.badge--warning {
    --badge-bg: #fff4e5;
    --badge-fg: #a15c00;
    --badge-bd: #ffe3bf;
}

.badge--danger {
    --badge-bg: #ffebee;
    --badge-fg: #c62828;
    --badge-bd: #f8c7cc;
}

.badge--info {
    --badge-bg: #e5f6ff;
    --badge-fg: #0369a1;
    --badge-bd: #cdefff;
}

.badge--light {
    --badge-bg: #f3f4f6;
    --badge-fg: #111827;
    --badge-bd: #e5e7eb;
}

.badge--dark {
    --badge-bg: #1f2937;
    --badge-fg: #f9fafb;
    --badge-bd: #111827;
}

/* �� Restoration landing pages (water damage funnel) �� */
.restoration-lp-page {
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .restoration-lp-page {
        padding-bottom: 5.5rem;
    }
}

.restoration-lp--hero-phone {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

    .restoration-lp--hero-phone a {
        color: inherit;
        text-decoration: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    }

        .restoration-lp--hero-phone a:hover {
            border-bottom-color: #fff;
        }

.breatcam-section .restoration-lp--hero-phone a {
    color: #fff;
}

.restoration-lp--trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 1.25rem !important;
}

.restoration-lp--cta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.restoration-lp--secondary-cta {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    color: inherit;
    opacity: 0.92;
}

    .restoration-lp--secondary-cta:hover {
        opacity: 1;
    }

.restoration-lp--cross-nav {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

    .restoration-lp--cross-nav a {
        font-weight: 600;
        text-decoration: none;
        color: #0b5ed7;
    }

        .restoration-lp--cross-nav a:hover {
            text-decoration: underline;
        }

.restoration-lp--sticky-cta {
    display: none;
}

@media (max-width: 991.98px) {
    .restoration-lp--sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        padding: 0.75rem 1rem;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

        .restoration-lp--sticky-cta .hendrio-button-alt,
        .restoration-lp--sticky-cta .hendrio-button {
            flex: 1;
            max-width: 100%;
        }

            .restoration-lp--sticky-cta .hendrio-button-alt a,
            .restoration-lp--sticky-cta .hendrio-button a {
                display: block;
                text-align: center;
                width: 100%;
            }
}

.restoration-lp--urgency {
    border-left: 4px solid #c62828;
    padding: 0.75rem 1rem;
    background: #fff8f8;
    border-radius: 0 0.35rem 0.35rem 0;
    margin-top: 1rem;
}
