/* ===== WeBuy Theme - Global Styles ===== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }

/* Override WordPress block layout interference */
.wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wp-site-blocks > .has-global-padding { padding-right: 0; padding-left: 0; }
.wp-block-template-part { margin-block-start: 0 !important; }
main.wp-block-group { margin-block-start: 0 !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: none; margin-left: auto !important; margin-right: auto !important; }

/* Injected page title for pages without their own H1 */
.page-title-injected { font-size: 2.2em; font-weight: 800; color: #1a365d; letter-spacing: -0.02em; margin: 0 0 24px; line-height: 1.2; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.4em;
    font-weight: 800;
    color: #1a365d;
    letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-img {
    height: 70px;
    width: auto;
}
.logo-text {
    color: #1a365d;
}
.logo-green {
    color: #27ae60;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.header-nav a {
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.header-nav a:hover { color: #1a365d; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a365d;
    font-size: 0.95em;
    text-decoration: none;
}
.header-phone svg { flex-shrink: 0; }

.header-cta {
    background: #27ae60;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}
.header-cta:hover {
    background: #219a52;
    transform: translateY(-1px);
}

/* Header right group */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #1a365d;
}
.mobile-menu-toggle svg { display: block; }

/* Mobile nav open state */
.header-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    gap: 0;
    z-index: 999;
}
.header-nav.mobile-open a {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1em;
}
.header-nav.mobile-open a:last-child { border-bottom: none; }


/* Nav dropdown menus */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger svg { margin-top: 1px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    z-index: 100;
    margin-top: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-dropdown-menu a {
    display: block !important;
    padding: 8px 20px !important;
    font-size: 0.88em !important;
    color: #475569 !important;
    white-space: nowrap;
    transition: all 0.15s;
}
.nav-dropdown-menu a:hover {
    background: #f0fdf4 !important;
    color: #27ae60 !important;
}

/* Mega menu (Areas We Serve) */
.nav-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 100;
    margin-top: 12px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    min-width: 600px;
}
.nav-mega:hover .nav-mega-menu { display: grid; }
.nav-mega-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col a {
    display: block !important;
    padding: 3px 0 !important;
    font-size: 0.82em !important;
    color: #64748b !important;
    white-space: nowrap;
    transition: color 0.15s;
    border-bottom: none !important;
}
.mega-col a:hover { color: #27ae60 !important; background: none !important; }
.mega-col a.mega-heading {
    font-weight: 700 !important;
    color: #1a365d !important;
    font-size: 0.88em !important;
    padding-bottom: 6px !important;
    margin-bottom: 4px;
    border-bottom: 1px solid #e2e8f0 !important;
}
.mega-col a.mega-heading:hover { color: #27ae60 !important; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0f2440 0%, #1a365d 50%, #234876 100%);
    color: #fff;
    padding: 80px 24px 90px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom right, transparent 49.5%, #fff 50%);
}
.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39,174,96,0.15);
    border: 1px solid rgba(39,174,96,0.3);
    color: #68d391;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: #68d391;
    border-radius: 50%;
}
.hero h1 {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: #fff;
}
.hero h1 .accent { color: #68d391; }
.hero-sub {
    font-size: 1.15em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
    background: #27ae60;
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39,174,96,0.4);
}
.btn-secondary {
    color: rgba(255,255,255,0.9) !important;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    border: 2px solid rgba(255,255,255,0.25);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    background: transparent;
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid #1a365d;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: #1a365d;
    transition: all 0.2s;
    text-decoration: none !important;
}
.btn-outline:hover { background: #1a365d; color: #fff !important; }

/* Hero proof points */
.hero-proof { display: flex; gap: 32px; }
.hero-proof-item { display: flex; align-items: center; gap: 10px; }
.hero-proof-icon {
    width: 36px; height: 36px;
    background: rgba(39,174,96,0.15);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1em;
}
.hero-proof-text { font-size: 0.85em; color: rgba(255,255,255,0.7); line-height: 1.3; }
.hero-proof-text strong { color: #fff; display: block; font-size: 1.05em; }

/* Hero Form */
.hero-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: #334155;
}
.hero-form h3 { color: #1a365d; font-size: 1.2em; margin: 0 0 4px; text-align: center; }
.hero-form .form-sub { color: #64748b; font-size: 0.85em; text-align: center; margin: 0 0 20px; }
.hero-form .form-group { margin-bottom: 14px; }
.hero-form label { display: block; font-size: 0.8em; font-weight: 600; color: #475569; margin-bottom: 4px; }
.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95em;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #f8fafc;
}
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus { outline: none; border-color: #27ae60; background: #fff; }
.hero-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-form .form-submit {
    width: 100%; background: #27ae60; color: #fff;
    padding: 14px; border: none; border-radius: 8px;
    font-weight: 700; font-size: 1em; cursor: pointer;
    transition: all 0.2s; margin-top: 4px; font-family: inherit;
}
.hero-form .form-submit:hover { background: #219a52; }
.hero-form .form-note { text-align: center; font-size: 0.75em; color: #94a3b8; margin-top: 12px; }

/* Formidable form inside hero card */
.hero-form-embed .frm_forms { margin: 0; }
.hero-form-embed .frm_form_field { margin-bottom: 12px !important; }
.hero-form-embed .frm_primary_label { font-size: 0.8em !important; font-weight: 600 !important; color: #475569 !important; margin-bottom: 4px !important; }
.hero-form-embed input[type="text"],
.hero-form-embed input[type="email"],
.hero-form-embed input[type="tel"],
.hero-form-embed textarea,
.hero-form-embed select { width: 100% !important; padding: 12px 14px !important; border: 1.5px solid #e2e8f0 !important; border-radius: 8px !important; font-size: 0.95em !important; font-family: inherit !important; background: #f8fafc !important; transition: border-color 0.2s !important; }
.hero-form-embed input:focus,
.hero-form-embed textarea:focus,
.hero-form-embed select:focus { border-color: #27ae60 !important; background: #fff !important; outline: none !important; }
.hero-form-embed .frm_submit button,
.hero-form-embed .frm_submit input[type="submit"] { width: 100% !important; background: #27ae60 !important; color: #fff !important; padding: 14px !important; border: none !important; border-radius: 8px !important; font-weight: 700 !important; font-size: 1em !important; cursor: pointer !important; font-family: inherit !important; transition: background 0.2s !important; }
.hero-form-embed .frm_submit button:hover,
.hero-form-embed .frm_submit input[type="submit"]:hover { background: #219a52 !important; }
.hero-form-embed .frm_checkbox label { font-size: 0.8em !important; color: #64748b !important; }
.hero-form-embed .frm_description { font-size: 0.75em !important; color: #94a3b8 !important; }

/* ===== TRUST BAR ===== */
.trust-bar { background: #fff; padding: 30px 24px; border-bottom: 1px solid #f1f5f9; }
.trust-bar-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
    width: 44px; height: 44px;
    background: #f0fdf4; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3em; flex-shrink: 0;
}
.trust-text { font-size: 0.9em; color: #64748b; line-height: 1.3; }
.trust-text strong { color: #1a365d; display: block; }

/* ===== SECTION STYLES ===== */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8em; font-weight: 700; color: #27ae60;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.section-title {
    font-size: 2.2em; font-weight: 800; color: #1a365d;
    letter-spacing: -0.02em; margin: 0 0 12px;
}
.section-desc { font-size: 1.05em; color: #64748b; max-width: 600px; margin-bottom: 48px; }

/* ===== SOLUTIONS ===== */
.solutions { padding: 80px 24px; background: #f8fafc; }
.solutions-inner { max-width: 1400px; margin: 0 auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.solution-card {
    background: #fff; border-radius: 14px; padding: 32px 24px;
    border: 1px solid #e2e8f0; transition: all 0.3s;
    position: relative; overflow: hidden;
}
.solution-card:hover {
    border-color: #27ae60; transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.solution-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: #27ae60; opacity: 0; transition: opacity 0.3s;
}
.solution-card:hover::before { opacity: 1; }
.solution-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1a365d, #2d5a8e);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4em; margin-bottom: 18px;
}
.solution-card h3 { font-size: 1.1em; color: #1a365d; margin: 0 0 8px; font-weight: 700; }
.solution-card p { font-size: 0.9em; color: #64748b; line-height: 1.6; margin: 0 0 16px; }
.solution-tag {
    display: inline-block; background: #f0fdf4; color: #27ae60;
    font-size: 0.75em; font-weight: 600; padding: 4px 10px; border-radius: 100px;
}
.solution-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85em; font-weight: 600; color: #27ae60;
    margin-top: 8px; text-decoration: none;
}
.solution-link:hover { gap: 10px; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 80px 24px; background: #fff; }
.how-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; margin-top: 48px; position: relative;
}
.steps::before {
    content: ''; position: absolute; top: 36px; left: 15%; right: 15%;
    height: 2px; background: linear-gradient(to right, #e2e8f0, #27ae60, #e2e8f0); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 72px; height: 72px; background: #fff;
    border: 3px solid #27ae60; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5em; font-weight: 800; color: #27ae60;
    margin: 0 auto 20px; box-shadow: 0 4px 15px rgba(39,174,96,0.15);
}
.step h4 { font-size: 1em; color: #1a365d; margin: 0 0 8px; font-weight: 700; }
.step p { font-size: 0.88em; color: #64748b; line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* ===== STATS BAR ===== */
.stats-bar {
    padding: 60px 24px;
    background: linear-gradient(135deg, #0f2440 0%, #1a365d 100%);
    color: #fff;
}
.stats-inner {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; text-align: center;
}
.stat-item h3 { font-size: 2.5em; font-weight: 800; color: #68d391; margin: 0 0 4px; letter-spacing: -0.02em; }
.stat-item p { font-size: 0.9em; color: rgba(255,255,255,0.7); margin: 0; }

/* ===== AREAS ===== */
.areas-section { padding: 80px 24px; background: #f8fafc; }
.areas-inner { max-width: 1400px; margin: 0 auto; }
.areas-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px; margin-top: 32px;
}
.area-chip {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 12px 16px; font-size: 0.9em; font-weight: 500;
    color: #475569; transition: all 0.2s; text-align: center;
    display: block; text-decoration: none;
}
.area-chip:hover { border-color: #27ae60; color: #1a365d; background: #f0fdf4; }
.areas-cta { text-align: center; margin-top: 32px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 80px 24px; background: #fff; }
.testimonials-inner { max-width: 1400px; margin: 0 auto; }
.testimonial-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 48px;
}
.testimonial-card {
    background: #f8fafc; border-radius: 14px; padding: 28px 24px;
    border: 1px solid #f1f5f9;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1em; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95em; color: #475569; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 0.85em; font-weight: 600; color: #1a365d; }
.testimonial-loc { font-size: 0.8em; color: #94a3b8; }

/* ===== FAQ ACCORDION ===== */
.faq-section { padding: 80px 24px; background: #f8fafc; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    margin-bottom: 12px; overflow: hidden;
}
.faq-q {
    padding: 18px 24px; font-weight: 600; color: #1a365d;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-size: 0.95em; background: none; border: none;
    width: 100%; text-align: left; font-family: inherit;
}
.faq-q:hover { background: #f8fafc; }
.faq-a {
    padding: 0 24px 18px; font-size: 0.9em; color: #64748b;
    line-height: 1.7; display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { font-size: 1.3em; color: #27ae60; transition: transform 0.2s; font-weight: 300; }

/* ===== BOTTOM CTA ===== */
.bottom-cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, #0f2440 0%, #1a365d 100%);
    color: #fff; text-align: center;
}
.bottom-cta-inner { max-width: 700px; margin: 0 auto; }
.bottom-cta h2 { font-size: 2.2em; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; color: #fff; }
.bottom-cta p { font-size: 1.1em; color: rgba(255,255,255,0.8); margin: 0 0 32px; }
.bottom-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0c1e33;
    color: rgba(255,255,255,0.6);
    padding: 60px 24px 30px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand { font-size: 1.1em; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: #68d391; }
.footer-desc { font-size: 0.85em; line-height: 1.7; margin-bottom: 16px; }
.footer-phone { color: #68d391; font-weight: 700; font-size: 1.1em; text-decoration: none; }
.footer-phone:hover { color: #fff; }
.footer-col h4 {
    color: #fff; font-size: 0.85em; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px;
}
.footer-col a {
    display: block; font-size: 0.85em; padding: 4px 0;
    transition: color 0.2s; text-decoration: none; color: rgba(255,255,255,0.6);
}
.footer-col a:hover { color: #68d391; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px; display: flex;
    justify-content: space-between; align-items: center; font-size: 0.8em;
}
.footer-legal a { margin-left: 20px; text-decoration: none; color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #68d391; }

/* ===== CONTENT PAGES (single, page) ===== */
.entry-content { max-width: 1400px; margin: 0 auto; padding: 40px 24px; }
.entry-content h1 { margin-bottom: 20px; }
.entry-content h2 { margin: 40px 0 16px; }
.entry-content h3 { margin: 30px 0 12px; }
.entry-content p { margin-bottom: 16px; line-height: 1.8; }
.entry-content ul, .entry-content ol { margin-bottom: 20px; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; line-height: 1.7; }
.entry-content a { color: #27ae60; text-decoration: underline; }
.entry-content a:hover { color: #219a52; }
/* Override narrow Kadence-era inline max-widths */
.entry-content .hiw-timeline { max-width: 1000px !important; }
.entry-content .benefits-grid { max-width: 1200px !important; }
.entry-content .hiw-form-section { max-width: 700px !important; }

.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content th { background: #1a365d; color: #fff; padding: 12px; text-align: left; }
.entry-content td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
.entry-content tr:nth-child(even) { background: #f8fafc; }

/* Single post layout */
.single-post-layout { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.single-content { min-width: 0; }
.single-title { font-size: 2em; font-weight: 800; color: #1a365d; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.2; }
.single-meta { font-size: 0.85em; color: #94a3b8; margin-bottom: 20px; }
.single-meta a { color: #27ae60; text-decoration: none; }
.single-meta a:hover { color: #219a52; }
.single-featured-image { margin-bottom: 32px; }
.single-body h2 { color: #1a365d; margin: 32px 0 12px; }
.single-body h3 { color: #1a365d; margin: 24px 0 10px; }
.single-body p { line-height: 1.8; margin-bottom: 16px; }
.single-body ul, .single-body ol { padding-left: 24px; margin-bottom: 20px; }
.single-body li { margin-bottom: 8px; line-height: 1.7; }
.single-body a { color: #27ae60; }
.single-body a:hover { color: #219a52; }
.single-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.single-body th { background: #1a365d; color: #fff; padding: 12px; text-align: left; }
.single-body td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
.single-body tr:nth-child(even) { background: #f8fafc; }

/* Single sidebar CTA */
.single-sidebar { position: sticky; top: 90px; }
.single-sidebar-cta { background: #b3c7e1; padding: 30px 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; }
.single-sidebar-cta h4 { color: #1a365d; font-size: 1.4em; margin: 0 0 8px; font-weight: 700; }
.single-sidebar-cta .cta-subtitle { color: #4a5568; font-size: 0.95em; margin: 0 0 16px; }
.single-sidebar-cta .cta-prefilled { background: #e5e7eb; border: 1px solid #d1d5db; border-radius: 8px; padding: 12px 14px; margin: 0 0 18px; text-align: left; font-size: 0.9em; color: #4a5568; line-height: 1.5; }
.single-sidebar-cta .cta-prefilled strong { color: #1a365d; }
.single-sidebar-cta .cta-btn { display: block; background: #27ae60; color: #fff !important; padding: 16px 30px; border-radius: 8px; font-weight: 700; font-size: 1.15em; text-decoration: none !important; border: none; cursor: pointer; width: 100%; transition: all 0.3s; box-shadow: 0 4px 15px rgba(39,174,96,0.4); font-family: inherit; }
.single-sidebar-cta .cta-btn:hover { background: #219a52; transform: translateY(-2px); }
.single-sidebar-cta .cta-phone { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(26,54,93,0.2); }
.single-sidebar-cta .cta-phone p { color: #4a5568; margin: 0 0 4px; font-size: 0.9em; }
.single-sidebar-cta .cta-phone a { color: #1a365d; font-size: 1.3em; font-weight: 700; text-decoration: none; }
.single-sidebar-cta .cta-phone a:hover { color: #27ae60; }

/* Single post form modal */
.single-form-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 99998; align-items: center; justify-content: center; }
.single-form-modal.active { display: flex; }
.single-form-modal-content { background: #fff; border-radius: 12px; padding: 30px 25px; max-width: 450px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.single-form-modal-content .modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; color: #6b7280; cursor: pointer; line-height: 1; padding: 0; }
.single-form-modal-content .modal-close:hover { color: #1a365d; }
.single-form-modal-content h3 { color: #1a365d; font-size: 1.3em; margin: 0 0 5px; text-align: center; }
.single-form-modal-content .modal-subtitle { color: #4a5568; font-size: 0.95em; text-align: center; margin: 0 0 20px; }

/* Page with sidebar (situation pages) */
.page-with-sidebar { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.page-main-content { min-width: 0; }
.page-sidebar { position: sticky; top: 90px; }

/* Blog listing */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; padding: 40px 24px; }
.post-card { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-body h3 { font-size: 1.05em; margin: 0 0 8px; }
.post-card-body h3 a { color: #1a365d; text-decoration: none; }
.post-card-body h3 a:hover { color: #27ae60; }
.post-card-body p { font-size: 0.88em; color: #64748b; margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2em; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-proof { justify-content: center; flex-wrap: wrap; }
    .hero-form { max-width: 450px; margin: 0 auto; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .single-post-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; max-width: 500px; margin: 0 auto; }
    .page-with-sidebar { grid-template-columns: 1fr; }
    .page-sidebar { position: static; max-width: 500px; margin: 0 auto; }

    /* Mobile dropdowns */
    .header-nav.mobile-open .nav-dropdown,
    .header-nav.mobile-open .nav-mega { width: 100%; }
    .header-nav.mobile-open .nav-dropdown-trigger svg { display: none; }
    .header-nav.mobile-open .nav-dropdown-menu,
    .header-nav.mobile-open .nav-mega-menu {
        display: block !important; position: static; transform: none;
        border: none; box-shadow: none; padding: 0 0 0 16px;
        margin: 0; min-width: unset; border-radius: 0;
        grid-template-columns: 1fr !important;
    }
    .header-nav.mobile-open .nav-dropdown-menu a,
    .header-nav.mobile-open .mega-col a {
        padding: 10px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .header-nav.mobile-open .nav-dropdown-trigger {
        padding: 12px 0; border-bottom: 1px solid #f1f5f9;
        font-size: 1em; width: 100%;
    }
    .header-nav.mobile-open .mega-col { margin-bottom: 8px; }
    .header-nav.mobile-open .mega-col a.mega-heading { font-size: 0.95em !important; padding: 10px 0 !important; }
}

@media (max-width: 640px) {
    .hero { padding: 50px 20px 70px; }
    .hero h1 { font-size: 1.8em; }
    .hero-actions { flex-direction: column; }
    .hero-proof { flex-direction: column; gap: 16px; align-items: center; }
    .solutions-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .trust-bar-inner { flex-direction: column; gap: 20px; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .bottom-cta h2 { font-size: 1.6em; }
    .section-title { font-size: 1.6em; }
    .post-grid { grid-template-columns: 1fr; }
    .header-phone { display: none; }
}