:root {
    --navy: #0a2148;
    --blue: #1559d6;
    --royal: #2563eb;
    --royal-deep: #1e40af;
    --navy-deep: #0b1f4d;
    --cyan: #14b8c8;
    --accent: #f4b740;
    --ink: #132238;
    --muted: #6c7a90;
    --surface: #f5f8fd;
    --soft: #eef4ff;
    --radius: 1.25rem;
    --shadow: 0 18px 45px rgba(10, 33, 72, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

img,
svg,
iframe {
    max-width: 100%;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container { max-width: 1200px; }
.brand-logo { object-fit: contain; }
.footer-brand strong { display:block; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.footer-brand small { display:block; color: rgba(255,255,255,.7); }
.navbar-brand {
    margin-right: 1.5rem;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    border-radius: 1rem;
    padding: .45rem .65rem;
    box-shadow: 0 12px 24px rgba(8, 24, 51, .18);
}
.navbar-brand img { width: 72px; height: 90px; }
.mobile-nav-title {
    display: none;
}
.mobile-nav-bar {
    position: relative;
    width: auto;
}
.navbar .nav-link { color: var(--ink); font-weight: 600; padding: .75rem 1rem; border-radius: 999px; }
.navbar .nav-link:hover { color: var(--blue); background: rgba(21, 89, 214, .08); }
.navbar .nav-link.active { color: var(--navy); background: #eaf2ff; }
.navbar .nav-link.nav-cta {
    background: linear-gradient(135deg, var(--royal), #1d4ed8);
    color: #fff;
    text-align: center;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .28);
}
.navbar .nav-link.nav-cta:hover,
.navbar .nav-link.nav-cta:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--royal-deep), #1d4ed8);
    box-shadow: 0 14px 28px rgba(30, 64, 175, .34);
}
.btn { border-radius: 999px; padding: .9rem 1.4rem; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1f6fff); border: 0; box-shadow: 0 10px 25px rgba(21, 89, 214, .22); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline-primary { border-color: rgba(21, 89, 214, .3); color: var(--blue); }
.btn-dark { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-light { color: var(--navy); }
.btn-premium, .btn-phone, .btn, .card, .feature-card, .story-card, .pricing-panel, .embed-frame { transition: all .25s ease; }
.btn-phone {
    white-space: nowrap;
    background: linear-gradient(135deg, var(--navy-deep), #081833);
    border-color: #081833;
    box-shadow: 0 12px 24px rgba(8, 24, 51, .25);
}
.btn-phone:hover,
.btn-phone:focus-visible {
    background: linear-gradient(135deg, #081833, #061126);
    border-color: #061126;
}
.eyebrow { display:inline-block; text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:800; color:var(--blue); margin-bottom:1rem; }
.section-heading .lead { max-width: 760px; }
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10,33,72,.96) 0%, rgba(10,33,72,.90) 45%, rgba(21,89,214,.68) 100%),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -35% auto;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,200,.18), transparent 65%);
}
.hero-copy { padding: 4rem 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.hero .hero-copy p { color: rgba(255,255,255,.82); max-width: 640px; }
.hero-image-wrap { position: relative; z-index: 1; }
.hero-portrait {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    object-fit: cover;
    min-height: 560px;
}
.hero-metrics { row-gap: .9rem; }
.hero-metrics .metric {
    position: relative;
    display:flex;
    gap: .9rem;
    align-items:flex-start;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: .95rem 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(7, 22, 47, .12);
}
.hero-metrics .metric::before {
    content: '';
    position: absolute;
    inset: -35% auto auto -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 219, 255, .22), transparent 68%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.hero-metrics i { color: #8edbff; font-size: 1.4rem; margin-top: .1rem; }
.hero-metrics .metric strong { display:block; font-size: .98rem; line-height: 1.25; margin-bottom: .25rem; }
.hero-metrics .metric span { display:block; font-size: .94rem; line-height: 1.45; }
.hero-metrics .metric:hover,
.hero-metrics .metric:focus-within {
    transform: translateY(-4px) scale(1.015);
    background: rgba(255,255,255,.12);
    border-color: rgba(142, 219, 255, .45);
    box-shadow: 0 18px 34px rgba(20, 184, 200, .18), 0 0 0 1px rgba(142, 219, 255, .16);
}
.hero-metrics .metric:hover::before,
.hero-metrics .metric:focus-within::before {
    opacity: 1;
}
.hero-metrics .metric:hover i,
.hero-metrics .metric:focus-within i {
    color: #c4eeff;
}
.soft-section { background: var(--surface); }
.trust-band { background:#fff; margin-top:-2rem; position:relative; z-index:4; border-radius:1.5rem; box-shadow:var(--shadow); }
.bureau-logos {
    gap: 1.2rem !important;
    align-items: center !important;
}
.bureau-logos img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 165px;
    object-fit: contain;
    filter: saturate(.95);
}
.feature-card, .story-card, .pricing-panel, .embed-frame, .faq-card, .content-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(10, 33, 72, .06);
}
.feature-card:hover, .story-card:hover, .pricing-panel:hover, .content-card:hover { transform: translateY(-5px); }
.feature-icon {
    width: 68px;
    height: 68px;
    display:grid;
    place-items:center;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(21,89,214,.12), rgba(20,184,200,.12));
    color: var(--blue);
    font-size: 1.5rem;
}
.process-step { position: relative; padding: 2rem; }
.process-step .step-num { width: 58px; height:58px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--blue); font-weight:800; margin-bottom:1rem; }
.gradient-panel { background: linear-gradient(135deg, var(--navy), #123a7a); color:#fff; border-radius: 1.8rem; box-shadow: var(--shadow); }
.gradient-panel .text-secondary, .gradient-panel p { color: rgba(255,255,255,.78) !important; }
.video-frame, .embed-frame iframe { border: 0; border-radius: 1.2rem; width:100%; }
.video-frame { aspect-ratio: 16/9; }
.testimonial-spotlight { min-height: 260px; }
.testimonial-spotlight .stars { color: var(--accent); letter-spacing: .15em; }
.testimonial-spotlight blockquote { font-size: 1.1rem; line-height: 1.75; }
.story-grid .story-card { padding: 1.8rem; height: 100%; }
.story-card .stars { color: var(--accent); letter-spacing: .15em; }
.wow { animation-duration: .8s; animation-fill-mode: both; }
.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInDown { animation-name: fadeInDown; }
.feature-card.wow:hover, .story-card.wow:hover, .pricing-panel.wow:hover, .content-card.wow:hover { transform: translateY(-5px); }
.trust-band.wow,
.cta-strip.wow,
.gradient-panel.wow,
.stat-card.wow,
.metric.wow {
    animation-duration: .9s;
}
.cta-strip {
    background: linear-gradient(90deg, rgba(10,33,72,.96) 0%, rgba(10,33,72,.90) 45%, rgba(21,89,214,.68) 100%), url('../img/footer-hero.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    color:#fff;
    border-radius: 1.7rem;
}
.page-hero {
    background: linear-gradient(135deg, rgba(10,33,72,.94), rgba(21,89,214,.84)), var(--hero-image, url('../img/hero-bg.jpg')) center/cover no-repeat;
    color: #fff;
    padding: 6rem 0 4rem;
}
.page-hero p { color: rgba(255,255,255,.82); max-width: 760px; }
.list-check { list-style:none; padding:0; margin:0; }
.list-check li { position:relative; padding-left:2rem; margin-bottom:1rem; }
.list-check li::before { content:'\f058'; font-family:'Font Awesome 6 Free'; font-weight:900; color:var(--cyan); position:absolute; left:0; top:.1rem; }
.pricing-panel, .faq-card, .content-card { padding: 2rem; }
.embed-frame { padding: 1rem; background: linear-gradient(180deg, #fff, #f8fbff); }
.embed-frame iframe { min-height: 730px; background: #fff; }
.embed-frame.affiliate iframe { min-height: 730px; }
.post-card img, .support-image, .rounded-media { border-radius: 1.2rem; width:100%; object-fit: cover; }
.post-card img { height: 240px; }
.support-image { min-height: 360px; }
.resource-callout { border-left: 4px solid var(--cyan); background: #f8fbff; border-radius: 1rem; padding: 1.5rem; }
.footer-list li, .footer-contact li { margin-bottom: .7rem; }
.site-footer { background: #07162f; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-contact li {
    color: rgba(255,255,255,.86);
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    line-height: 1.6;
}
.footer-contact i {
    color: rgba(255,255,255,.72);
    margin-top: .2rem;
    width: 1rem;
    flex: 0 0 1rem;
}
.social-links a {
    width: 42px; height:42px; display:grid; place-items:center; border-radius:50%; background: rgba(255,255,255,.08); color:#fff; font-weight: 700;
}
.x-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mobile-sms-bubble {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    display:grid;
    place-items:center;
    background: linear-gradient(135deg, #14b8c8, #1559d6);
    color: #fff;
    width: 3.65rem;
    height: 3.65rem;
    border-radius:50%;
    box-shadow: 0 18px 35px rgba(21, 89, 214, .26);
    font-size: 1.15rem;
}
.mobile-sms-bubble:hover { color: #fff; transform: translateY(-2px); }
.stats-row .stat-card { padding: 1.5rem; border-radius: 1.2rem; background: #fff; box-shadow: var(--shadow); height:100%; }
.faq-accordion .accordion-item { border: 0; background: transparent; margin-bottom: 1rem; }
.faq-accordion .accordion-button { border-radius: 1rem !important; background: #fff; box-shadow: var(--shadow); font-weight: 700; }
.faq-accordion .accordion-body { background: #fff; border-radius: 0 0 1rem 1rem; margin-top: .35rem; }
.article-content h2, .article-content h3 { color: var(--navy); margin-top: 2rem; }
.article-content p, .article-content li { color: #37465e; line-height: 1.85; }
.article-content ul { padding-left: 1.2rem; }

:focus-visible { outline: 3px solid rgba(20,184,200,.55); outline-offset: 2px; }

@media (max-width: 1199.98px) {
    .navbar > .container {
        display: block;
    }
    .navbar-collapse {
        width: 100%;
        background: #fff;
        padding-top: 1rem;
    }
    .navbar .nav-link { text-align: left; }
    .navbar .nav-link.nav-cta { display: block; text-align: center; }
    .navbar-collapse .btn { justify-content: center; text-align: center; }
    .mobile-nav-bar {
        display: grid !important;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        width: 100%;
        column-gap: .75rem;
    }
    .mobile-nav-title {
        display: block;
        position: static;
        transform: none;
        text-align: center;
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--navy);
        letter-spacing: -.01em;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none;
        min-width: 0;
    }
    .navbar-toggler {
        margin-left: 0;
        position: relative;
        z-index: 2;
        justify-self: end;
    }
    .navbar-brand {
        margin-right: 0;
        justify-self: start;
    }
}

@media (max-width: 991.98px) {
    .hero-copy { padding: 5rem 0 2rem; }
    .hero-portrait { min-height: 420px; }
    .trust-band { margin-top: 1rem; }
    .embed-frame iframe, .embed-frame.affiliate iframe { min-height: 900px; }
}

@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .site-header,
    .hero,
    .page-hero,
    .soft-section,
    .site-footer,
    .cta-strip,
    .trust-band {
        overflow-x: clip;
    }
    .container,
    .container-fluid {
        max-width: 100%;
    }
    .hero h1 { font-size: 2.6rem; }
    .hero-metrics .metric { width: 100%; }
    .embed-frame iframe, .embed-frame.affiliate iframe { min-height: 1150px; }
    .navbar {
        padding-top: .55rem !important;
        padding-bottom: .55rem !important;
    }
    .navbar-brand {
        margin-right: .75rem;
        padding: .28rem .4rem;
        border-radius: .8rem;
    }
    .navbar-brand img { width: 42px; height: 52px; }
    .mobile-nav-title {
        font-size: 1rem;
        max-width: 100%;
    }
    .navbar-toggler {
        padding: .28rem .45rem;
    }
    .navbar-collapse {
        margin-top: .75rem;
    }
    .navbar-toggler-icon {
        width: 1.15rem;
        height: 1.15rem;
        background-size: 100%;
    }
    .row {
        --bs-gutter-x: 1.25rem;
    }
}
