/**
 * BGD Landing Pages - High Converting Template Styles
 * All classes prefixed with bgd- to avoid conflicts
 */

/* ============================================
   THEME COMPATIBILITY
   Minimal fixes to ensure landing page content
   doesn't conflict with theme headers/footers
============================================= */

/* Ensure landing page content sits below any fixed/sticky headers */
.bgd-landing-page {
    position: relative;
    z-index: 1;
}

/* ============================================
   CSS CUSTOM PROPERTIES (THEMING)
============================================= */

:root {
    --bgd-primary: #2B6CB0;
    --bgd-primary-dark: #215387;
    --bgd-primary-light: #3B7CC0;
    --bgd-accent: #D4A853;
    --bgd-accent-light: #E0BC73;
    --bgd-accent-bg: #FDF6E3;
    --bgd-accent-text: #8B6914;
    --bgd-btn-primary: var(--bgd-primary);
    --bgd-btn-primary-hover: var(--bgd-primary-dark);
    --bgd-btn-secondary: var(--bgd-primary);
    --bgd-btn-secondary-hover: var(--bgd-primary);
    --bgd-text: #1a1a1a;
    --bgd-text-muted: #6b7280;
    --bgd-text-light: #4b5563;
    --bgd-bg: #ffffff;
    --bgd-bg-alt: #f9fafb;
    --bgd-bg-section: #f8fafc;
    --bgd-border: #e5e7eb;
    --bgd-stars: #fbbf24;
}

/* ============================================
   BASE STYLES
============================================= */

.bgd-landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--bgd-text);
    line-height: 1.6;
}

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

.bgd-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bgd-section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.bgd-section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
============================================= */

.bgd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
}

.bgd-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.bgd-btn-primary {
    background: var(--bgd-btn-primary);
    color: white !important;
}

.bgd-btn-primary:hover {
    background: var(--bgd-btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
    color: white !important;
    text-decoration: none;
}

.bgd-btn-outline {
    background: transparent;
    border: 2px solid var(--bgd-btn-secondary);
    color: var(--bgd-btn-secondary) !important;
}

.bgd-btn-outline:hover {
    background: var(--bgd-btn-secondary-hover);
    color: white !important;
    text-decoration: none;
}

.bgd-btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white !important;
}

.bgd-btn-outline-light:hover {
    background: white;
    color: var(--bgd-primary) !important;
    text-decoration: none;
}

.bgd-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   SECTION 1: HERO
============================================= */

.bgd-hero {
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.bgd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 30%,
        rgba(255, 255, 255, 0.7) 55%,
        rgba(255, 255, 255, 0.25) 75%,
        rgba(255, 255, 255, 0) 100%
    );
}

.bgd-hero .bgd-container {
    position: relative;
    z-index: 2;
    width: 100% !important;
}

.bgd-hero .bgd-hero-content {
    max-width: 560px !important;
}

.bgd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.bgd-stars {
    color: #fbbf24;
    letter-spacing: -2px;
}

.bgd-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.bgd-hero-subheadline {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bgd-hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bgd-hero-trust {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem;
}

.bgd-hero-avatars {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-shrink: 0;
}

.bgd-landing-page .bgd-hero-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50% !important;
    overflow: hidden;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    display: inline-flex;
}

.bgd-landing-page .bgd-hero-avatar:first-child {
    margin-left: 0;
}

.bgd-landing-page .bgd-hero-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}

.bgd-landing-page .bgd-hero-avatar-placeholder {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.bgd-landing-page .bgd-hero-avatar-placeholder span {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.bgd-hero-social-proof {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
}

/* No image fallback: show warm gradient when no hero image is set */
.bgd-hero:not([style*="background-image"]) {
    background: linear-gradient(160deg, #fefdfb 0%, #f8f6f1 40%, #f0ece3 100%);
    min-height: auto;
}

.bgd-hero:not([style*="background-image"]) .bgd-hero-overlay {
    display: none;
}

.bgd-solution-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
}

.bgd-placeholder-content {
    text-align: center;
    color: #9ca3af;
}

.bgd-placeholder-content svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.bgd-placeholder-content span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bgd-placeholder-content small {
    font-size: 0.8rem;
}

/* ============================================
   SECTION 2: OUTCOMES
============================================= */

.bgd-outcomes {
    padding: 2rem 0;
    background: var(--bgd-primary);
}

.bgd-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bgd-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: white;
}

.bgd-outcome-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgd-outcome-icon svg {
    width: 18px;
    height: 18px;
    color: var(--bgd-accent);
}

.bgd-outcome-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.bgd-outcome-text span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   SECTION 3: PAIN POINT
============================================= */

.bgd-pain {
    padding: 5rem 0;
    background: #f8fafc;
}

.bgd-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bgd-pain-full {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bgd-pain-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bgd-pain h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.bgd-pain p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

/* ============================================
   SECTION 4: SOLUTION
============================================= */

.bgd-solution {
    padding: 5rem 0;
    background: white;
}

.bgd-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bgd-solution h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.bgd-solution p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.bgd-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.bgd-credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--bgd-primary);
    font-weight: 500;
}

.bgd-credential svg {
    width: 20px;
    height: 20px;
    color: var(--bgd-accent);
    flex-shrink: 0;
}

.bgd-solution-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bgd-solution-video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bgd-solution-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   LOCAL EXPERTISE SECTION
============================================= */

.bgd-local-expertise {
    padding: 5rem 0;
    background: var(--bgd-bg);
    border-top: 1px solid var(--bgd-border);
    border-bottom: 1px solid var(--bgd-border);
}

.bgd-local-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.bgd-local-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bgd-text);
}

.bgd-local-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bgd-text-light);
    margin-bottom: 1.5rem;
}

.bgd-local-tip {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f0fdf4;
    border-radius: 0.75rem;
    border-left: 4px solid var(--bgd-accent);
}

.bgd-local-tip svg {
    width: 24px;
    height: 24px;
    color: var(--bgd-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.bgd-local-tip strong {
    display: block;
    color: var(--bgd-accent-text);
    margin-bottom: 0.25rem;
}

.bgd-local-tip span {
    color: var(--bgd-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bgd-local-details {
    background: var(--bgd-bg-section);
    padding: 2rem;
    border-radius: 1rem;
}

.bgd-neighborhoods h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bgd-text);
}

.bgd-neighborhood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.bgd-neighborhood-tag {
    background: var(--bgd-bg);
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--bgd-text-light);
    border: 1px solid var(--bgd-border);
}

.bgd-location-about {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--bgd-text-muted);
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--bgd-border);
}

@media (max-width: 1024px) {
    .bgd-local-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bgd-local-expertise {
        padding: 3rem 0;
    }

    .bgd-local-content h2 {
        font-size: 1.5rem;
    }

    .bgd-local-intro {
        font-size: 1rem;
    }
}

/* ============================================
   SECTION 5: BENEFITS
============================================= */

.bgd-benefits {
    padding: 5rem 0;
    background: #f9fafb;
}

.bgd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bgd-benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bgd-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bgd-benefit-icon {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.bgd-benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bgd-accent);
}

.bgd-benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.bgd-benefit-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* ============================================
   SECTION 6: PROCESS
============================================= */

.bgd-process {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--bgd-border);
    border-bottom: 1px solid var(--bgd-border);
}

.bgd-process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.bgd-process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.bgd-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--bgd-primary);
    color: var(--bgd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.bgd-step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.bgd-step-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.bgd-step-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem 0;
}

.bgd-step-arrow svg {
    width: 20px;
    height: 20px;
    color: #d1d5db;
}

/* ============================================
   SECTION 7: TESTIMONIALS
============================================= */

.bgd-testimonials {
    padding: 5rem 0;
    background: #f9fafb;
}

.bgd-testimonial-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.bgd-testimonial-video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
}

.bgd-testimonial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bgd-testimonial-media img {
    width: 100%;
    border-radius: 0.75rem;
}

.bgd-testimonial-content {
    padding: 1rem 0;
}

.bgd-testimonial-summary {
    display: inline-block;
    background: var(--bgd-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bgd-testimonial-featured blockquote {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 1.5rem;
    font-style: italic;
}

.bgd-testimonial-author {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.bgd-testimonial-author strong {
    color: #1a1a1a;
}

.bgd-testimonial-author span {
    color: #6b7280;
}

.bgd-testimonial-project {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}

.bgd-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bgd-testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bgd-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.bgd-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bgd-avatar-placeholder {
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgd-avatar-placeholder span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}

.bgd-testimonial-card .bgd-testimonial-summary {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
}

.bgd-testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 1rem;
    font-style: italic;
}

.bgd-testimonial-card .bgd-testimonial-author {
    font-size: 0.875rem;
}

/* ============================================
   SECTION 8: FEATURES
============================================= */

.bgd-features {
    padding: 5rem 0;
    background: var(--bgd-primary);
    color: white;
}

.bgd-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bgd-features-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.bgd-features-text p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.bgd-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bgd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.bgd-feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--bgd-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.bgd-feature-item span {
    font-size: 0.95rem;
}

/* ============================================
   SECTION 9: FAQ
============================================= */

.bgd-faq {
    padding: 5rem 0;
    background: white;
}

.bgd-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.bgd-faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.bgd-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.bgd-faq-question svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.bgd-faq-item.bgd-active .bgd-faq-question svg {
    transform: rotate(180deg);
}

.bgd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bgd-faq-item.bgd-active .bgd-faq-answer {
    max-height: 500px;
}

.bgd-faq-answer p {
    padding: 0 0 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   QUOTE FORM SECTION
============================================= */

.bgd-quote-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.bgd-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bgd-quote-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.bgd-quote-content > p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.bgd-quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bgd-quote-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bgd-quote-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--bgd-accent);
    flex-shrink: 0;
}

.bgd-quote-benefit span {
    color: #4b5563;
}

.bgd-quote-form-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    overflow: hidden;
}

.bgd-form {
    width: 100%;
}

.bgd-form *,
.bgd-form *::before,
.bgd-form *::after {
    box-sizing: border-box;
}

/* ============================================
   FORM STYLES
============================================= */

.bgd-form .bgd-form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.bgd-form .bgd-form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.bgd-form .bgd-form-group {
    min-width: 0;
}

.bgd-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
}

.bgd-form input,
.bgd-form select,
.bgd-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: #1a1a1a;
    box-sizing: border-box;
}

.bgd-form input:focus,
.bgd-form select:focus,
.bgd-form textarea:focus {
    outline: none;
    border-color: var(--bgd-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.bgd-form input::placeholder,
.bgd-form textarea::placeholder {
    color: #9ca3af;
}

.bgd-btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.bgd-form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
}

.bgd-form-message.bgd-success {
    display: block;
    background: var(--bgd-accent);
    color: white;
}

.bgd-form-message.bgd-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================
   SECTION 10: FINAL CTA
============================================= */

.bgd-final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bgd-primary) 0%, var(--bgd-primary-dark) 100%);
    text-align: center;
    color: white;
}

.bgd-final-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.bgd-final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bgd-final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   AREAS SECTION
============================================= */

.bgd-areas {
    padding: 3rem 0;
    background: #f3f4f6;
    text-align: center;
}

.bgd-areas h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #374151;
}

.bgd-areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.bgd-area-link {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 0.375rem;
    color: #4b5563 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.bgd-area-link:hover {
    background: var(--bgd-primary);
    color: white !important;
    border-color: var(--bgd-primary);
    text-decoration: none;
}

/* ============================================
   OTHER SERVICES CAROUSEL
============================================= */

.bgd-other-services {
    padding: 5rem 0;
    background: var(--bgd-bg);
}

.bgd-services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bgd-carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bgd-bg);
    border: 2px solid var(--bgd-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.bgd-carousel-btn:hover {
    background: var(--bgd-primary);
    border-color: var(--bgd-primary);
    color: white;
}

.bgd-carousel-btn:hover svg {
    stroke: white;
}

.bgd-carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--bgd-text-muted);
    transition: stroke 0.2s;
}

.bgd-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bgd-carousel-btn:disabled:hover {
    background: var(--bgd-bg);
    border-color: var(--bgd-border);
}

.bgd-carousel-btn:disabled:hover svg {
    stroke: var(--bgd-text-muted);
}

.bgd-services-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    flex: 1;
}

.bgd-services-carousel::-webkit-scrollbar {
    display: none;
}

.bgd-service-card {
    flex: 0 0 calc((100% - 6rem) / 5);
    min-width: 220px;
    max-width: 280px;
    background: var(--bgd-bg);
    border: 1px solid var(--bgd-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--bgd-text);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.bgd-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--bgd-primary);
    text-decoration: none;
    color: var(--bgd-text);
}

.bgd-service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--bgd-bg-section);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.bgd-service-card:hover .bgd-service-card-icon {
    background: var(--bgd-primary);
}

.bgd-service-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--bgd-primary);
    transition: stroke 0.3s;
}

.bgd-service-card:hover .bgd-service-card-icon svg {
    stroke: white;
}

.bgd-service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bgd-text);
}

.bgd-service-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}

.bgd-service-card-list li {
    font-size: 0.875rem;
    color: var(--bgd-text-muted);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
}

.bgd-service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    background: var(--bgd-accent);
    border-radius: 50%;
}

.bgd-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bgd-primary);
    margin-top: auto;
}

.bgd-service-card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.bgd-service-card:hover .bgd-service-card-link svg {
    transform: translateX(4px);
}

/* ============================================
   SMOOTH SCROLLING
============================================= */

html {
    scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE STYLES
============================================= */

@media (max-width: 1024px) {
    .bgd-solution-grid,
    .bgd-features-content,
    .bgd-quote-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bgd-testimonial-featured {
        grid-template-columns: 1fr;
    }

    .bgd-benefits-grid,
    .bgd-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bgd-process-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .bgd-process-step {
        max-width: 400px;
    }

    .bgd-step-arrow {
        display: none;
    }

    .bgd-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bgd-hero {
        padding: 3rem 0 3.5rem;
        min-height: auto;
        background-position: center;
    }

    .bgd-hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.88) 60%,
            rgba(255, 255, 255, 0.7) 100%
        );
    }

    .bgd-hero .bgd-hero-content {
        max-width: 100%;
    }

    .bgd-hero h1 {
        font-size: 2rem;
    }

    .bgd-hero-subheadline {
        font-size: 1.1rem;
    }

    .bgd-hero-cta {
        flex-direction: column;
    }

    .bgd-hero-cta .bgd-btn {
        width: 100%;
    }

    .bgd-outcomes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bgd-pain-grid {
        grid-template-columns: 1fr;
    }

    .bgd-benefits-grid,
    .bgd-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .bgd-credentials {
        grid-template-columns: 1fr;
    }

    .bgd-section-header h2 {
        font-size: 1.75rem;
    }

    .bgd-pain h2,
    .bgd-solution h2,
    .bgd-quote-content h2 {
        font-size: 1.5rem;
    }

    .bgd-final-cta h2 {
        font-size: 1.75rem;
    }

    .bgd-final-cta p {
        font-size: 1.1rem;
    }

    .bgd-final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .bgd-final-cta-buttons .bgd-btn {
        width: 100%;
        max-width: 300px;
    }

    /* Carousel responsive */
    .bgd-carousel-btn {
        display: none;
    }

    .bgd-services-carousel {
        padding: 1rem 0.5rem;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bgd-service-card {
        flex: 0 0 280px;
        min-width: 260px;
    }
}

@media (max-width: 600px) {
    .bgd-form .bgd-form-row-2 {
        grid-template-columns: 1fr;
    }

    .bgd-pain,
    .bgd-solution,
    .bgd-benefits,
    .bgd-process,
    .bgd-testimonials,
    .bgd-features,
    .bgd-faq,
    .bgd-quote-section,
    .bgd-final-cta {
        padding: 3rem 0;
    }

    .bgd-testimonial-featured {
        padding: 1.5rem;
    }

    .bgd-testimonial-featured blockquote {
        font-size: 1.1rem;
    }

    .bgd-faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }
}

/* ============================================
   PRINT STYLES
============================================= */

@media print {
    .bgd-hero-cta,
    .bgd-quote-section,
    .bgd-final-cta,
    .bgd-areas {
        display: none;
    }
}
