:root {
    --cpc-primary: #00684a;
    --cpc-primary-dark: #004d36;
    --cpc-primary-light: #e6f7f2;
    --cpc-accent: #0284c7;
    --cpc-amber: #f59e0b;
    --cpc-ink: #0f172a;
    --cpc-muted: #64748b;
    --cpc-bg: #f8fafc;
    --cpc-border: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public-body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cpc-ink);
    background: #ffffff;
    line-height: 1.6;
}

/* Top Utility Bar */
.pub-topbar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 12.5px;
    padding: 8px 0;
}
.pub-topbar a { color: #e2e8f0; text-decoration: none; }
.pub-topbar a:hover { color: #34d399; }

/* Main Navbar */
.pub-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--cpc-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.pub-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.pub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
}
.pub-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--cpc-ink);
}
.pub-brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cpc-primary), #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(0, 104, 74, 0.22);
}
.pub-brand-title { font-weight: 800; font-size: 17px; line-height: 1.15; display: block; }
.pub-brand-sub { font-size: 11.5px; color: var(--cpc-muted); font-weight: 600; display: block; }

.pub-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pub-nav-link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.pub-nav-link:hover, .pub-nav-link.active {
    color: var(--cpc-primary);
    background: var(--cpc-primary-light);
}

.pub-dropdown { position: relative; }
.pub-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--cpc-border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    z-index: 1040;
}
.pub-dropdown:hover .pub-dropdown-menu { display: block; }
.pub-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}
.pub-dropdown-menu a:hover { background: var(--cpc-primary-light); color: var(--cpc-primary); }

.pub-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pub-primary {
    background: var(--cpc-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 104, 74, 0.24);
}
.btn-pub-primary:hover { background: var(--cpc-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-pub-outline {
    background: #fff;
    color: var(--cpc-ink);
    border-color: #cbd5e1;
}
.btn-pub-outline:hover { border-color: var(--cpc-primary); color: var(--cpc-primary); background: var(--cpc-primary-light); }
.btn-pub-amber {
    background: var(--cpc-amber);
    color: #0f172a;
}
.btn-pub-amber:hover { background: #d97706; color: #fff; }

.pub-mobile-toggle {
    display: none;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--cpc-ink);
    cursor: pointer;
}

/* Hero Section */
.pub-hero {
    position: relative;
    background: linear-gradient(125deg, #022c22 0%, #064e3b 52%, #0f172a 100%);
    color: #fff;
    padding: 72px 0;
    overflow: hidden;
}
.pub-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}
.pub-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 36px;
    align-items: center;
}
.pub-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #a7f3d0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 16px;
}
.pub-hero h1 {
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px 0;
}
.pub-hero p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 0 26px 0;
    max-width: 600px;
}
.pub-hero-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--cpc-ink);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

/* Sections */
.pub-section { padding: 68px 0; }
.pub-section-muted { background: var(--cpc-bg); border-top: 1px solid var(--cpc-border); border-bottom: 1px solid var(--cpc-border); }
.pub-section-head { text-align: center; max-width: 720px; margin: 0 auto 42px auto; }
.pub-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 800;
    color: var(--cpc-primary);
    background: var(--cpc-primary-light);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.pub-section-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--cpc-ink);
}
.pub-section-head p { color: var(--cpc-muted); margin: 0; font-size: 15.5px; }

/* Page Banner */
.pub-page-banner {
    background: linear-gradient(125deg, #064e3b 0%, #0f172a 100%);
    color: #fff;
    padding: 52px 0;
}
.pub-page-banner h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 8px 0; }
.pub-page-banner p { color: #cbd5e1; margin: 0; max-width: 680px; font-size: 15.5px; }

/* Cards */
.pub-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pub-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pub-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.pub-card {
    background: #fff;
    border: 1px solid var(--cpc-border);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.pub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    border-color: #bbf7d0;
}
.pub-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cpc-primary-light);
    color: var(--cpc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.pub-service-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #f1f5f9;
}

.pub-price-tag {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Stats Band */
.pub-stats-band {
    background: linear-gradient(120deg, #00684a, #047857);
    color: #fff;
    padding: 48px 0;
}
.pub-stat-val { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.pub-stat-lbl { font-size: 13.5px; color: #d1fae5; font-weight: 600; margin-top: 4px; }

/* FAQ Accordion */
.pub-faq-item {
    background: #fff;
    border: 1px solid var(--cpc-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.pub-faq-q {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--cpc-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.pub-faq-a {
    display: none;
    padding: 0 20px 18px 20px;
    color: #475569;
    font-size: 14px;
    border-top: 1px solid #f1f5f9;
}
.pub-faq-item.open .pub-faq-a { display: block; padding-top: 14px; }

/* Form inputs */
.pub-form-control {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--cpc-ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pub-form-control:focus {
    border-color: var(--cpc-primary);
    box-shadow: 0 0 0 3px rgba(0, 104, 74, 0.14);
}
.pub-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

/* Footer */
.pub-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 58px 0 24px 0;
}
.pub-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 14px 0; }
.pub-footer a { color: #cbd5e1; text-decoration: none; font-size: 13.5px; }
.pub-footer a:hover { color: #34d399; }
.pub-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pub-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.pub-social-btn:hover { background: var(--cpc-primary); color: #fff; }

@media (max-width: 1024px) {
    .pub-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-hero-grid { grid-template-columns: 1fr; }
}
.pub-nav-drawer { display: none; }
@media (max-width: 900px) {
    .pub-nav-links, .pub-nav-actions { display: none; }
    .pub-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .pub-nav-drawer.open {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 14px 20px 20px 20px;
        border-top: 1px solid var(--cpc-border);
        background: #fff;
    }
}
@media (min-width: 901px) {
    .pub-nav-drawer { display: none !important; }
}
@media (max-width: 720px) {
    .pub-grid-3, .pub-grid-2, .pub-grid-4 { grid-template-columns: 1fr; }
}
