:root {
    --navy:         #1a1a1a;
    --navy-light:   #2d2d2d;
    --navy-mid:     #404040;
    --steel:        #555555;
    --orange:       #f97316;
    --orange-dark:  #d95f00;
    --orange-light: #ffb380;
    --white:        #ffffff;
    --gray-100:     #f8f8f8;
    --gray-200:     #eeeeee;
    --gray-300:     #dddddd;
    --gray-500:     #888888;
    --gray-700:     #444444;
    --text:         #1a1a1a;
    --radius:       8px;
    --shadow:       0 2px 12px rgba(0,0,0,.10);
    --shadow-lg:    0 8px 32px rgba(0,0,0,.15);
    --transition:   .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

.skip-link {
    position: absolute; top: -100px; left: 8px;
    background: var(--orange); color: var(--white);
    padding: 8px 16px; border-radius: var(--radius); z-index: 9999;
    transition: top var(--transition);
}
.skip-link:focus { top: 8px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); text-decoration: underline; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ─── Header ─── */
.site-header {
    background: var(--navy);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.logo img { height: 38px; width: auto; }
.logo-footer img { height: 34px; width: auto; }

.main-nav ul {
    display: flex; gap: 4px; align-items: center;
}
.main-nav a {
    color: var(--gray-300); font-size: 15px; padding: 6px 12px;
    border-radius: var(--radius); transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--white); background: var(--navy-light); text-decoration: none;
}
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--white); transition: transform var(--transition), opacity var(--transition);
}

/* ─── Buttons ─── */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: var(--radius);
    font-weight: 600; font-size: 16px; cursor: pointer; border: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none; text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); box-shadow: 0 4px 16px rgba(249,115,22,.4); }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; }

/* ─── Hero ─── */
.hero {
    background: var(--navy);
    padding: 80px 0 60px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(249,115,22,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(249,115,22,.15); color: var(--orange);
    border: 1px solid rgba(249,115,22,.3);
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    margin-bottom: 20px; letter-spacing: .5px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 46px); font-weight: 800;
    color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero-lead {
    font-size: 18px; color: #bbb; margin-bottom: 32px; line-height: 1.7;
}
.hero-trust {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 8px;
    color: #aaa; font-size: 14px;
}
.hero-trust-item svg { color: var(--orange); flex-shrink: 0; }

/* ─── Lead Form Card ─── */
.form-card {
    background: var(--white); border-radius: 12px;
    padding: 32px 28px; box-shadow: var(--shadow-lg);
}
.form-card h2 {
    font-size: 20px; font-weight: 700; color: var(--navy);
    margin-bottom: 6px;
}
.form-card .form-subtitle {
    font-size: 13px; color: var(--gray-500); margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--gray-700); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-300);
    border-radius: var(--radius); font-size: 15px; color: var(--text);
    background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-privacy {
    font-size: 12px; color: var(--gray-500); text-align: center; margin-top: 10px;
}

/* ─── Sections ─── */
section { padding: 72px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-label {
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(24px, 3vw, 36px); font-weight: 800;
    color: var(--navy); line-height: 1.25; margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-lead {
    font-size: 18px; color: var(--gray-500); max-width: 680px; margin-bottom: 48px;
}
.section-dark .section-lead { color: #aaa; }
.section-header { margin-bottom: 48px; }

/* ─── Cards Grid ─── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white); border-radius: 12px;
    padding: 28px 24px; border: 1.5px solid var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
    border-color: var(--orange); box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card-icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 14px; color: var(--gray-500); margin-bottom: 14px; }
.card .cost-range {
    font-size: 13px; font-weight: 600; color: var(--orange);
}
.card-link { font-size: 14px; font-weight: 600; color: var(--orange); }
.card-link:hover { color: var(--orange-dark); }

/* ─── How It Works ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--orange); color: var(--white);
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--gray-500); }
.section-dark .step p { color: #aaa; }
.section-dark .step h3 { color: var(--white); }

/* ─── States Grid ─── */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.state-link {
    display: block; padding: 10px 14px;
    background: var(--gray-100); border-radius: var(--radius);
    font-size: 14px; color: var(--navy); font-weight: 500;
    border: 1.5px solid var(--gray-200);
    transition: all var(--transition);
    text-decoration: none;
}
.state-link:hover {
    background: var(--orange); color: var(--white);
    border-color: var(--orange); text-decoration: none;
}

/* ─── Trust Bar ─── */
.trust-bar {
    background: var(--orange);
    padding: 20px 0;
}
.trust-items {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); font-weight: 600; font-size: 15px;
}
.trust-item svg { flex-shrink: 0; }

/* ─── Stat Strip ─── */
.stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    text-align: center; padding: 48px 0;
}
.stat-num {
    font-size: 36px; font-weight: 800;
    color: var(--orange); margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--gray-500); }
.section-dark .stat-label { color: #aaa; }

/* ─── Content + Sidebar ─── */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.content-sidebar {
    position: sticky;
    top: 90px;
}
.sidebar-card {
    background: var(--gray-100); border-radius: 12px;
    padding: 24px; border: 1.5px solid var(--gray-200);
    margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }

/* ─── FAQ Accordion ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; background: var(--white);
    padding: 18px 20px; font-size: 16px; font-weight: 600;
    cursor: pointer; border: none; display: flex; justify-content: space-between;
    align-items: center; gap: 12px; color: var(--navy); font-family: inherit;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question.active { background: var(--navy); color: var(--white); }
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform var(--transition); }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-answer.open { padding: 16px 20px; max-height: 600px; }
.faq-answer p { color: var(--gray-700); font-size: 15px; line-height: 1.7; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
    background: var(--navy);
    padding: 56px 0 48px;
}
.page-hero-inner { max-width: 760px; }
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    font-size: 13px; color: #888; margin-bottom: 16px;
}
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: #666; }
.page-hero h1 {
    font-size: clamp(24px, 3.5vw, 42px); font-weight: 800;
    color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.page-hero .hero-lead { margin-bottom: 0; }

/* ─── Type/State/City Detail ─── */
.detail-meta {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.meta-chip {
    background: var(--gray-100); border: 1px solid var(--gray-200);
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    color: var(--gray-700);
}
.meta-chip.orange { background: rgba(249,115,22,.1); color: var(--orange); border-color: rgba(249,115,22,.2); }

.uses-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.uses-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--gray-700);
}
.uses-list li::before {
    content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0;
}

/* ─── City List in State Page ─── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px; margin-top: 20px;
}
.city-link {
    display: block; padding: 10px 14px;
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); font-size: 14px; color: var(--navy);
    transition: all var(--transition); text-decoration: none;
}
.city-link:hover {
    border-color: var(--orange); color: var(--orange); text-decoration: none;
}

/* ─── Pricing Table ─── */
.pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.pricing-table th, .pricing-table td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--gray-200); font-size: 15px;
}
.pricing-table th {
    background: var(--navy); color: var(--white); font-weight: 700;
}
.pricing-table tr:nth-child(even) td { background: var(--gray-100); }
.pricing-table .price { color: var(--orange); font-weight: 700; }

/* ─── Provider Form ─── */
.provider-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.benefit-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.benefit-item p { font-size: 14px; color: var(--gray-500); }

/* ─── Article Content ─── */
.article-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 14px; color: var(--navy); }
.article-content h3 { font-size: 19px; font-weight: 700; margin: 24px 0 10px; color: var(--navy); }
.article-content p { margin-bottom: 18px; line-height: 1.75; color: var(--gray-700); }
.article-content ul, .article-content ol {
    margin: 0 0 18px 20px; color: var(--gray-700);
}
.article-content li { margin-bottom: 8px; line-height: 1.65; }
.article-content strong { color: var(--navy); }

/* ─── Alert / Notice ─── */
.alert {
    padding: 16px 20px; border-radius: var(--radius);
    border-left: 4px solid var(--orange);
    background: rgba(249,115,22,.08); margin: 20px 0;
    font-size: 15px; color: var(--gray-700);
}

/* ─── Chat Widget ─── */
.chat-widget {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
}
.chat-toggle {
    display: flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    border: none; border-radius: 32px; padding: 12px 20px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 16px rgba(249,115,22,.4);
    transition: background var(--transition), transform var(--transition);
}
.chat-toggle:hover { background: var(--orange-dark); transform: translateY(-1px); }
.chat-box {
    position: absolute; bottom: 68px; right: 0;
    width: 320px; background: var(--white);
    border-radius: 12px; box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.chat-header {
    background: var(--navy); color: var(--white);
    padding: 14px 16px; display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 15px;
}
.chat-close {
    background: none; border: none; color: var(--white);
    font-size: 22px; cursor: pointer; padding: 0 4px; line-height: 1;
}
.chat-messages {
    height: 220px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
    max-width: 85%; padding: 10px 14px; border-radius: var(--radius);
    font-size: 14px; line-height: 1.5;
}
.chat-msg.bot { background: var(--gray-100); color: var(--navy); align-self: flex-start; }
.chat-msg.user { background: var(--orange); color: var(--white); align-self: flex-end; }
.chat-form {
    display: flex; border-top: 1px solid var(--gray-200);
}
.chat-form input {
    flex: 1; padding: 12px 14px; border: none; outline: none;
    font-size: 14px; font-family: inherit;
}
.chat-form button {
    padding: 0 16px; background: var(--orange); color: var(--white);
    border: none; font-weight: 700; cursor: pointer; font-size: 14px;
    transition: background var(--transition);
}
.chat-form button:hover { background: var(--orange-dark); }

/* ─── Form Success / Error ─── */
.form-message {
    padding: 16px; border-radius: var(--radius); margin-top: 12px;
    font-weight: 600; text-align: center; font-size: 15px;
}
.form-message.success { background: #d1fae5; color: #065f46; }
.form-message.error { background: #fee2e2; color: #991b1b; }

/* ─── Footer ─── */
.site-footer { background: var(--navy); color: #aaa; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: #888; margin-top: 14px; line-height: 1.7; }
.footer-col h3 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #888; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
    border-top: 1px solid var(--navy-light); padding-top: 24px;
    font-size: 13px; color: #666;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: var(--orange); }
.footer-disclaimer { margin-top: 8px; font-size: 12px; color: #555; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 40px; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .content-sidebar { display: none; }
    .provider-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 70px; left: 0; right: 0;
        background: var(--navy-light); padding: 0;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 16px; }
    .main-nav a { display: block; padding: 10px 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .trust-items { justify-content: flex-start; gap: 20px; }
    .states-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .stats-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
    .chat-box { width: 290px; }
    .form-card { padding: 24px 18px; }
}
