/**
 * Root Technologies — Bootstrap 5 + Advanced Custom CSS
 * Brand tokens, layout components, Bootstrap coexistence, extra utilities.
 */

:root {
    --bs-primary: #e11d24;
    --bs-primary-rgb: 225, 29, 36;
    --bs-secondary: #6b7280;
    --bs-secondary-rgb: 107, 114, 128;
    --bs-body-font-family: 'Inter', system-ui, sans-serif;
    --bs-body-color: #111827;
    --bs-body-bg: #ffffff;
    --bs-link-color: var(--primary-hex, #e11d24);
    --bs-link-hover-color: var(--primary-dark-hex, #b91c1c);
    --bs-border-radius-lg: 1rem;
    --bs-border-radius-xl: 1.5rem;
    --site-container-max: 1400px;
    --site-header-height: 4.5rem;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    font-family: var(--bs-body-font-family);
    color: #111827;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Site header (Bootstrap navbar + custom grid) ─── */
.site-header {
    z-index: 1030;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header .navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-padding-x: 0;
}

.site-header-pad {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

@media (min-width: 992px) {
    .site-header-pad {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.site-header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 992px) {
    .site-header-row {
        gap: 1rem;
    }
}

.site-header-nav {
    grid-column: 2;
    min-width: 0;
}

.site-header-cta {
    grid-column: 3;
}

.site-mobile-toggle {
    grid-column: 3;
    justify-self: end;
    background: transparent;
    border: none;
    color: #111827;
    line-height: 1;
    transition: color 0.2s ease;
}

.site-mobile-toggle:hover {
    color: var(--primary-hex, #e11d24);
}

.site-brand {
    max-width: 10.5rem;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 1280px) {
    .site-brand {
        max-width: 12.5rem;
    }
}

.site-brand-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--primary-hex, #e11d24);
    line-height: 1;
}

@media (min-width: 768px) {
    .site-brand-text {
        font-size: 1.5rem;
    }
}

.site-header-phone {
    font-size: 0.75rem;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-header-phone:hover {
    color: var(--primary-hex, #e11d24);
}

.site-header-phone svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary-hex, #e11d24);
    flex-shrink: 0;
}

/* ─── Footer (Bootstrap row + custom) ─── */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .site-footer {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
}

.site-footer-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
}

.site-footer-glow--tr {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.1);
}

.site-footer-glow--bl {
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: hsl(var(--secondary) / 0.1);
    filter: blur(100px);
}

.site-footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .site-footer-title {
        margin-bottom: 2rem;
    }
}

.site-footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-link:hover {
    color: #fff;
}

.site-footer-social {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-footer-social:hover {
    color: #fff;
    background: var(--primary-hex, #e11d24);
    border-color: rgba(var(--primary-rgb, 225, 29, 36), 0.5);
}

.site-footer-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-footer-icon-box--primary {
    background: hsl(var(--primary) / 0.2);
    color: #fca5a5;
}

.site-footer-icon-box--secondary {
    background: hsl(var(--secondary) / 0.2);
    color: #fecaca;
}

.site-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-legal {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-legal:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .site-footer-legal {
        font-size: 0.75rem;
    }
}

/* ─── Bootstrap reboot: protect site chrome ─── */
#main-header a,
#nav-container a,
.site-mobile-menu a,
.site-footer a {
    text-decoration: none;
}

#nav-container .nav-menu,
#nav-container .nav-dropdown,
.site-mobile-menu__nav,
.site-mobile-menu__subnav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

#nav-container .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
}

/* Custom buttons vs Bootstrap .btn-primary */
a.btn-primary,
button.btn-primary,
.btn-outline,
.nav-cta-btn,
.site-mobile-menu__cta {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-hex, #e11d24);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb, 225, 29, 36), 0.15);
}

.font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.text-ink {
    color: #111827 !important;
}

.bg-ink {
    background-color: #111827 !important;
}

/* Bootstrap utility name clashes — restore brand tokens */
.text-primary {
    --bs-text-opacity: 1;
    color: hsl(var(--primary) / var(--bs-text-opacity, 1)) !important;
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground)) !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: hsl(var(--primary) / var(--bs-bg-opacity, 1)) !important;
}

.text-secondary {
    color: hsl(var(--secondary)) !important;
}

.bg-secondary {
    background-color: hsl(var(--secondary)) !important;
}

a.btn-primary:not(.btn),
button.btn-primary:not(.btn),
.btn-primary:not(.btn) {
    color: #fff !important;
    background-color: var(--primary-hex, #e11d24) !important;
    border: none !important;
    border-radius: 9999px !important;
}

/* ─── Advanced layout helpers (Bootstrap stack — not Tailwind) ─── */
.stack-4 > * + * { margin-top: 1rem; }
.stack-6 > * + * { margin-top: 1.5rem; }
.stack-8 > * + * { margin-top: 2rem; }

.icon-16 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-20 { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-24 { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

.skip-to-main {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: var(--primary-hex, #e11d24);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.skip-to-main:focus {
    left: 1rem;
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.city-links__item:hover {
    color: var(--primary-hex, #e11d24) !important;
}

.blog-pagination .page-link {
    color: #374151;
    border-color: #e5e7eb;
    border-radius: 0.5rem;
    min-width: 2.5rem;
    text-align: center;
}

.blog-pagination .page-item.active .page-link {
    background-color: var(--primary-hex, #e11d24);
    border-color: var(--primary-hex, #e11d24);
    color: #fff;
}

.blog-pagination .page-link:hover {
    color: var(--primary-hex, #e11d24);
    border-color: rgba(var(--primary-rgb, 225, 29, 36), 0.35);
}

/* Homepage — stats bridge between hero and first content section */
.hero-next-section + .section-block {
    padding-top: 3rem;
    border-top: none;
}

@media (min-width: 768px) {
    .hero-next-section + .section-block {
        padding-top: 4.5rem;
    }
}

/* Homepage — alternating section backgrounds (plain ↔ brand gradient) */
.home-section--white {
    background: #ffffff;
}

.home-section--plain {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.home-section--gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        rgba(var(--primary-rgb, 225, 29, 36), 0.05) 22%,
        #fff8f8 48%,
        rgba(var(--secondary-rgb, 30, 41, 59), 0.04) 72%,
        #ffffff 100%
    );
    border-top: 1px solid rgba(var(--primary-rgb, 225, 29, 36), 0.12);
}

.home-section--gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 60% at 0% 0%, rgba(var(--primary-rgb, 225, 29, 36), 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 65% 55% at 100% 100%, rgba(var(--secondary-rgb, 30, 41, 59), 0.08) 0%, transparent 52%);
    z-index: 0;
}

.home-section--gradient > .site-container {
    position: relative;
    z-index: 1;
}

.home-section-head {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--primary-rgb, 225, 29, 36), 0.1);
}

.home-section--plain .home-section-head {
    border-bottom-color: #e5e7eb;
}

.home-solutions-grid {
    margin-top: 0.25rem;
}

.home-services-grid {
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .home-section-head {
        margin-bottom: 3rem;
    }
}

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.text-brand { color: var(--primary-hex, #e11d24) !important; }
.text-body-muted { color: #6b7280; }
.text-body-sm { font-size: 0.875rem; }

.section-pad-lg {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
    .section-pad-lg {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-kicker {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-hex, #e11d24);
}

.rounded-super { border-radius: 2.5rem; }
.rounded-card { border-radius: 2rem; }

.bg-section-muted { background-color: #f9fafb; }
.bg-section-dark { background-color: #111827; }

.site-footer-desc {
    max-width: 20rem;
    line-height: 1.6;
    color: #94a3b8;
}
.site-footer-muted { color: #94a3b8; }
.site-footer-text { color: #cbd5e1; line-height: 1.6; }

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.list-check li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.media-frame {
    overflow: hidden;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    width: 100%;
}
.media-frame img {
    display: block;
    width: 100%;
}

/* Portfolio card */
.portfolio-card {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #111827;
}

.portfolio-card__media {
    position: relative;
    background: #111827;
}

.portfolio-card__media .ratio {
    --bs-aspect-ratio: 75%;
}

.portfolio-card__media > .portfolio-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.portfolio-card__media > .portfolio-card__overlay a {
    pointer-events: auto;
}

.portfolio-card__media .ratio > .portfolio-card__img {
    object-fit: cover;
}

.portfolio-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.7s ease, opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-card__img {
    transform: scale(1.08);
    opacity: 0.72;
}

.portfolio-card__overlay {
    background: linear-gradient(to top, rgba(17, 24, 39, 0.68) 0%, rgba(17, 24, 39, 0.28) 55%, rgba(17, 24, 39, 0.08) 100%);
}
.portfolio-card__title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.portfolio-card__meta {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-hex, #e11d24);
    margin-bottom: 0.75rem;
    display: block;
}
.portfolio-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.portfolio-card__link:hover { color: #fff; }

/* Blog card */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.blog-card__media {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.blog-card__media .blog-card__img,
.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.ratio > .blog-card__img {
    position: absolute;
    inset: 0;
}
.blog-card__media--list {
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.blog-card__media--list .blog-card__img {
    position: absolute;
    inset: 0;
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: calc(100% - 2rem);
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 900;
    border-radius: 9999px;
    color: var(--primary-hex, #e11d24);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-card--list {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border-radius: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card--list:hover {
    border-color: rgba(var(--primary-rgb, 225, 29, 36), 0.22);
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}
.blog-card--list .blog-card__body {
    min-width: 0;
    padding: 1.25rem 1.25rem 1.35rem;
}
.blog-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}
.blog-card__category {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-hex, #e11d24);
    line-height: 1.2;
}
.blog-card__meta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    line-height: 1.2;
}
.blog-card__heading {
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink, #111827);
    margin: 0 0 0.5rem;
}
.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-hex, #e11d24);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.blog-card__read-more:hover {
    gap: 0.55rem;
    color: var(--primary-dark-hex, #b91c1c);
}
@media (min-width: 768px) {
    .blog-card--list {
        flex-direction: row;
        align-items: stretch;
    }
    .blog-card--list .blog-card__media--list {
        width: 260px;
        max-width: 260px;
        min-height: 220px;
        height: auto;
        aspect-ratio: auto;
        align-self: stretch;
    }
    .blog-card--list .blog-card__body {
        padding: 1.35rem 1.5rem 1.5rem;
        justify-content: center;
    }
    .blog-card__meta-row {
        margin-bottom: 0.75rem;
    }
}
@media (min-width: 992px) {
    .blog-card--list .blog-card__media--list {
        width: 300px;
        max-width: 300px;
    }
    .blog-card--list .blog-card__body {
        padding: 1.5rem 1.75rem;
    }
}
.blog-card__title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 1rem;
    flex-grow: 1;
    transition: color 0.2s ease;
}
.blog-card:hover .blog-card__title { color: var(--primary-hex, #e11d24); }
.blog-card__excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card--list .blog-card__excerpt {
    -webkit-line-clamp: 3;
}

/* Blog detail — featured image */
.blog-detail-featured {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.blog-detail-featured__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-detail-content {
    max-width: 100%;
    width: 100%;
}

.blog-detail-content::after {
    content: "";
    display: block;
    clear: both;
}

.blog-detail-content :where(p, div, section, article) {
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
}

.blog-detail-content :where(p) {
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
    line-height: 1.75;
}

.blog-detail-content :where(img, table, iframe) {
    max-width: 100% !important;
}

.blog-detail-content :where(p:first-child) {
    margin-top: 0;
}

.blog-detail-content :where(p:last-child) {
    margin-bottom: 0;
}

/* FAQ card (legacy static cards) */
.faq-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover {
    border-color: rgba(var(--primary-rgb, 225, 29, 36), 0.2);
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.05);
}
.faq-card__q {
    font-size: 1.125rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}
.faq-card:hover .faq-card__q { color: var(--primary-hex, #e11d24); }
.faq-card__a {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Homepage FAQ accordion */
.faq-accordion {
    --bs-accordion-border-color: #f3f4f6;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb, 225, 29, 36), 0.15);
}

.faq-accordion__item {
    margin-bottom: 0.75rem;
    border: 1px solid #f3f4f6 !important;
    border-radius: 1rem !important;
    overflow: hidden;
    background: #f9fafb;
}

.faq-accordion__item:last-child {
    margin-bottom: 0;
}

.faq-accordion__btn {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #111827;
    background: #f9fafb;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-accordion__btn:not(.collapsed) {
    color: var(--primary-hex, #e11d24);
    background: #fff;
    box-shadow: none;
}

.faq-accordion__btn::after {
    background-size: 1.125rem;
}

.faq-accordion__body {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.65;
    padding: 0 1.5rem 1.25rem;
    background: #fff;
}

/* Testimonial card */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 20px 25px -5px rgba(229, 231, 235, 0.5);
    border: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
    .testimonial-card { padding: 2.5rem; }
}

/* Lead section */
.lead-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%) !important;
}

.lead-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 50% at 15% 20%, rgba(var(--primary-rgb), 0.32) 0%, transparent 62%),
        radial-gradient(ellipse 58% 48% at 85% 82%, rgba(var(--secondary-rgb), 0.28) 0%, transparent 64%),
        linear-gradient(120deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.14), rgba(var(--primary-rgb), 0.1));
    background-size: 140% 140%, 140% 140%, 220% 220%;
    animation: service-pricing-aurora 9s ease-in-out infinite;
    opacity: 1;
}

.lead-section > .site-container {
    position: relative;
    z-index: 1;
}

.lead-section .section-heading,
.lead-section .text-white,
.lead-section .small.fw-bold.text-uppercase {
    color: var(--ink) !important;
}

.lead-section .section-kicker {
    color: var(--primary-hex) !important;
}
.lead-form-card {
    background: #fff;
    border-radius: 2.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .lead-form-card { padding: 3rem; }
}
.lead-form-card .form-label {
    font-family: var(--site-font-ui, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: var(--site-fs-label, 0.8125rem);
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.lead-form-card .form-input,
.lead-form-card .form-control,
.lead-form-card .form-select {
    min-height: var(--site-input-height, 2.75rem);
    padding: 0.625rem 0.875rem;
    background: var(--site-input-bg, #f9fafb);
    border: 1px solid var(--site-input-border, #e5e7eb);
    border-radius: var(--site-input-radius, 0.75rem);
    font-family: var(--site-font-ui, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: var(--site-fs-input, 0.875rem);
    font-weight: 600;
}
.lead-form-card .form-input:focus,
.lead-form-card .form-control:focus,
.lead-form-card .form-select:focus {
    border-color: var(--primary-hex, #e11d24);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 225, 29, 36), 0.1);
}

/* City links */
.city-links a {
    font-size: 10px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
@media (min-width: 768px) {
    .city-links a { font-size: 0.75rem; }
}
.city-links a:hover {
    color: var(--primary-hex, #e11d24);
    transform: scale(1.05);
}

.stat-inline-num {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--primary-hex, #e11d24);
    line-height: 1.1;
}

.stat-inline-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.col > .solution-card {
    height: 100%;
}

.ratio-21x9 { --bs-aspect-ratio: 42.857%; }

.lead-section .text-body-muted {
    color: #64748b !important;
}

.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5); }

/* Admin panel on Bootstrap */
html.admin-panel body {
    overflow: hidden;
}

.admin-panel .btn-primary.btn {
    background-color: var(--primary-hex, #e11d24);
    border-color: var(--primary-hex, #e11d24);
}

.admin-panel .btn-primary.btn:hover {
    background-color: var(--primary-dark-hex, #b91c1c);
    border-color: var(--primary-dark-hex, #b91c1c);
}
