/* Landing primitives aligned with builders-risk-insurance (shared patterns). */

/* ----- Site header (match get_quote.html / contact.html) ----- */
.section-header--five .section-header__inner {
    background: transparent !important;
}

.bwi-header__logo-img {
    content: url("/assets/images/general/logo-horizontal-dark-3.svg");
}

.bwi-header__inner {
    background: rgba(249, 115, 22, 0.12) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.bwi-nav__link {
    color: #1d1d1f !important;
}

.bwi-nav__link::before {
    background: rgba(0, 0, 0, 0.05) !important;
}

.ribo-verify-hero {
    background: url('/assets/images/production/optimized/license.jpg');
    background: image-set(
        url('/assets/images/production/optimized/license.webp') type('image/webp'),
        url('/assets/images/production/optimized/license.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.ribo-verify-steps-shell {
    background: #fff;
    border-radius: 20px;
    padding: 28px 16px 32px;
}

@media (min-width: 992px) {
    .ribo-verify-steps-shell {
        padding: 36px 28px 40px;
    }
}

/* Stats Section - Dark Gradient */
.stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 90, 31, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 138, 61, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF5A1F 0%, #FF8A3D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-label i {
    color: #FF6B35;
}

/* Section Headers Enhanced */
.section-header-enhanced {
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF5ED 0%, #FFE8D6 100%);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FF5A1F;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title-enhanced {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 16px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle-enhanced {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Intro Cards - Modern Glass Design */
.intro-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.intro-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF5A1F, #FF8A3D);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.intro-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 90, 31, 0.12);
    border-color: rgba(255, 90, 31, 0.2);
}

.intro-card-modern:hover::before {
    opacity: 1;
}

.intro-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FF5A1F 0%, #FF7A45 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 90, 31, 0.3);
}

.intro-icon i {
    font-size: 26px;
    color: #ffffff;
}

.intro-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.intro-desc {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Industry Grid - Modern Pills */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.industry-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.industry-pill:hover {
    background: linear-gradient(135deg, #FFF5ED 0%, #FFE8D6 100%);
    border-color: rgba(255, 90, 31, 0.3);
    transform: translateX(4px);
}

.industry-pill .check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
}

.industry-pill span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a2e;
}

/* Benefit Cards - Modern Glass Design */
.benefit-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF5A1F, #FF8A3D);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 90, 31, 0.12);
    border-color: rgba(255, 90, 31, 0.2);
}

.benefit-card-modern:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FFF5ED 0%, #FFE8D6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.benefit-card-modern:hover .benefit-icon-wrapper {
    background: linear-gradient(135deg, #FF5A1F 0%, #FF8A3D 100%);
    transform: scale(1.08) rotate(5deg);
}

.benefit-icon-wrapper i {
    font-size: 28px;
    color: #FF5A1F;
    transition: color 0.3s ease;
}

.benefit-card-modern:hover .benefit-icon-wrapper i {
    color: #ffffff;
}

.benefit-title-modern {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-desc-modern {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Coverage Cards - Premium Design */
.coverage-card-premium {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.coverage-card-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #FF5A1F, #FF8A3D, #FF5A1F);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coverage-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.coverage-card-premium:hover::after {
    opacity: 1;
}

.coverage-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.coverage-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FFF5ED 0%, #FFE8D6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverage-icon i {
    font-size: 22px;
    color: #FF5A1F;
}

.coverage-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.coverage-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: #4a5568;
    border-bottom: 1px solid #f0f0f0;
}

.coverage-list li:last-child {
    border-bottom: none;
}

.coverage-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #10B981, #059669);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Risk Cards - Modern Alert Style */
.risk-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.risk-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #F59E0B, #D97706);
}

.risk-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15);
}

.risk-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.risk-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-icon i {
    font-size: 18px;
    color: #D97706;
}

.risk-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.risk-desc {
    font-size: 0.92rem;
    color: #6c757d;
    margin-bottom: 16px;
    line-height: 1.55;
}

.risk-example {
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
    border-left: 3px solid #F59E0B;
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #92400E;
    line-height: 1.5;
}

.risk-example strong {
    color: #78350F;
}

/* Background Sections */
.bg-light-warm {
    background: linear-gradient(180deg, #FFFBF7 0%, #FFF8F3 100%);
}

.bg-gradient-soft {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

/* Hero Section Height Fix */
.builders-risk-hero,
.ribo-verify-hero,
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .intro-card-modern {
        padding: 24px;
    }

    .coverage-card-premium {
        padding: 24px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .builders-risk-hero,
    .ribo-verify-hero,
    .hero-section {
        height: auto;
        min-height: 70vh;
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .benefit-card-modern {
        padding: 24px 20px;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .builders-risk-hero,
    .ribo-verify-hero,
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
}

@media (max-width: 991px) {
    .ribo-verify-hero {
        background-attachment: scroll !important;
    }
}

.section-subtitle-enhanced a,
.intro-desc a {
    color: #ff5a1f;
    font-weight: 600;
    text-decoration: none;
}

.section-subtitle-enhanced a:hover,
.intro-desc a:hover {
    text-decoration: underline;
}

.industry-pill a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.industry-pill a:hover {
    text-decoration: underline;
    color: #ff5a1f;
}

/* Mail + contact links (orange, on-brand; beats licenses.css list link color) */
.intro-card-modern.lic-verify-questions-card .intro-desc a.lic-verify-contact-link,
.intro-card-modern.lic-verify-questions-card .intro-desc a.lic-verify-contact-link:visited,
.intro-card-modern.lic-verify-reference-card .lic-verify-ref-list a.lic-verify-contact-link,
.intro-card-modern.lic-verify-reference-card .lic-verify-ref-list a.lic-verify-contact-link:visited {
    color: #ff5a1f;
    font-weight: 600;
    text-decoration: none;
}

.intro-card-modern.lic-verify-questions-card .intro-desc a.lic-verify-contact-link:hover,
.intro-card-modern.lic-verify-questions-card .intro-desc a.lic-verify-contact-link:focus-visible,
.intro-card-modern.lic-verify-reference-card .lic-verify-ref-list a.lic-verify-contact-link:hover,
.intro-card-modern.lic-verify-reference-card .lic-verify-ref-list a.lic-verify-contact-link:focus-visible {
    color: #e65100;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
