/* VBannaCorp — Amber & Slate stylesheet
   Brand: #F4852F (amber) / #2E3A45 (slate) / #14100D (dark) / #F7F3EC (cream)
   -----------------------------------------------------------------------------
   Variables are injected inline via brand.php brand_css_vars(). */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--slate-dark);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--amber); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--amber);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(20,16,13,.06);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--slate-dark); }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--amber); color: var(--white); font-weight: 800; font-size: 16px;
}
.logo-text { font-size: 20px; letter-spacing: -.5px; }
.logo-accent { color: var(--amber); }
.logo-img { height: 44px; width: auto; }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; justify-content: center; }
.nav-list > li > a {
    display: block; padding: 10px 14px; border-radius: 6px;
    color: var(--slate); font-weight: 500; font-size: 15px;
}
.nav-list > li > a:hover, .nav-list > li > a.active { background: var(--amber-light); color: var(--amber-dark); }

/* Mega menu */
.has-mega { position: static; }
.mega-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 3px solid var(--amber);
    box-shadow: 0 12px 32px rgba(20,16,13,.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .2s; padding: 32px 0;
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mega-col h4 {
    font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
    color: var(--amber-dark); margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.mega-col ul li { margin-bottom: 6px; }
.mega-col ul li a { font-size: 14px; color: var(--slate); }
.mega-col ul li a:hover { color: var(--amber-dark); }

.btn {
    display: inline-block; padding: 10px 22px; border-radius: 6px;
    font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: all .15s;
}
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--slate); border: 2px solid var(--slate); }
.btn-outline:hover { background: var(--slate); color: var(--white); }
.btn-client-login { background: var(--slate); color: var(--white); padding: 9px 20px; white-space: nowrap; }
.btn-client-login:hover { background: var(--slate-dark); color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 3px; background: var(--slate); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--slate); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(244,133,47,.15) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin-bottom: 20px; font-weight: 800; }
.hero h1 .accent { color: var(--amber); }
.hero p { font-size: 19px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-title { font-size: 32px; font-weight: 700; color: var(--slate-dark); margin-bottom: 12px; }
.section-title .accent { color: var(--amber); }
.section-subtitle { font-size: 18px; color: var(--slate-light); margin-bottom: 40px; max-width: 680px; }

/* Service category cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
    background: var(--white); border-radius: 12px; padding: 28px;
    border: 1px solid var(--border); transition: all .2s;
}
.card:hover { border-color: var(--amber); box-shadow: 0 8px 24px rgba(20,16,13,.08); transform: translateY(-2px); }
.card-icon {
    width: 48px; height: 48px; border-radius: 10px; background: var(--amber-light);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    font-size: 22px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--slate-dark); }
.card p { color: var(--slate-light); font-size: 15px; margin-bottom: 16px; }
.card a.read-more { font-weight: 600; color: var(--amber-dark); }

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white);
    border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(20,16,13,.06); }
.pricing-table thead { background: var(--slate); color: var(--white); }
.pricing-table th { padding: 16px; text-align: left; font-size: 14px; font-weight: 600; }
.pricing-table td { padding: 16px; border-top: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.pricing-table tbody tr:hover { background: var(--amber-light); }
.pricing-table .price { font-weight: 700; color: var(--slate-dark); white-space: nowrap; }
.pricing-table .rush-badge { display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: var(--amber-light); color: var(--amber-dark); font-size: 12px; font-weight: 600; }
.pricing-table .na { color: var(--slate-light); font-style: italic; }

/* Trust signals */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.trust-item .trust-num { font-size: 40px; font-weight: 800; color: var(--amber); }
.trust-item p { color: var(--slate-light); margin-top: 4px; }

/* ---------- Jurisdiction comparison ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px; border: 1px solid var(--border); text-align: left; }
.compare-table thead th { background: var(--slate); color: var(--white); }
.compare-table tbody th { background: var(--cream); font-weight: 600; color: var(--slate-dark); width: 220px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: 12px; padding: 36px; box-shadow: 0 4px 16px rgba(20,16,13,.06); max-width: 680px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--slate-dark); font-size: 14px; }
.form-group label .req { color: var(--amber-dark); }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 15px; font-family: inherit; transition: border-color .15s; }
.form-control:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-light); }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--slate-light); margin-top: 8px; }
.form-success { background: #E8F5EE; border: 1px solid var(--success); color: var(--success);
    padding: 14px; border-radius: 8px; margin-bottom: 20px; }
.form-error { background: #FDECEC; border: 1px solid #C0392B; color: #C0392B;
    padding: 14px; border-radius: 8px; margin-bottom: 20px; }

/* Progress steps */
.steps { display: flex; gap: 8px; margin-bottom: 32px; }
.step { flex: 1; padding: 10px; text-align: center; border-radius: 6px; background: var(--cream);
    font-size: 13px; color: var(--slate-light); border: 1px solid var(--border); }
.step.active { background: var(--amber); color: var(--white); border-color: var(--amber); font-weight: 600; }
.step.done { background: var(--success); color: var(--white); border-color: var(--success); }
.form-step { display: none; }
.form-step.active { display: block; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-tag { display: inline-block; padding: 3px 10px; border-radius: 4px;
    background: var(--amber-light); color: var(--amber-dark); font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.blog-card h3 { font-size: 19px; margin-bottom: 8px; }
.blog-card p { color: var(--slate-light); font-size: 15px; }
.blog-card .blog-meta { font-size: 13px; color: var(--slate-light); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-dark); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 56px 0; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 14px; }
.footer-col a:hover { color: var(--amber); }
.footer-tagline { font-size: 14px; margin-bottom: 12px; }
.footer-logo { max-width: 220px; height: auto; margin-bottom: 16px; }
.footer-entity { font-size: 13px; line-height: 1.5; }
.footer-entity strong { color: var(--white); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0; font-size: 13px; line-height: 1.6; }
.footer-disclaimer p { margin-bottom: 10px; }
.footer-disclaimer strong, .footer-disclaimer em { color: var(--white); }
.footer-pdpa, .footer-entity-note { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-copy { margin-top: 16px; font-size: 12px; opacity: .6; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--slate); color: var(--white); padding: 56px 0; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-hero h1 .accent { color: var(--amber); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 680px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
        background: var(--white); padding: 16px; gap: 0; box-shadow: 0 8px 24px rgba(0,0,0,.1);
        display: none;
    }
    .nav-list.open { display: flex; }
    .nav-list > li { width: 100%; }
    .nav-list > li > a { padding: 12px; }
    .has-mega .mega-menu { position: static; box-shadow: none; padding: 8px 16px; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-mega.open .mega-menu { display: block; }
    .mega-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero { padding: 56px 0; }
    .form-row { grid-template-columns: 1fr; }
    section { padding: 48px 0; }
    .btn-client-login { display: none; }
}
