/* =============================================
   Small Business SEO Landing Page
   /css/small-business-seo.css
   ============================================= */

/* --- Hero Split Layout --- */

/* Override the flex layout from .hero-page .container */
.lp-hero .container {
    display: block;
}

.lp-hero .lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.lp-hero .lp-hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.lp-hero .lp-hero-content h1 {
    font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.lp-hero .lp-hero-content > p {
    font-size: var(--text-lg);
    color: var(--color-gray-300);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

/* --- Hero Trust Badges --- */

.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.lp-hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.9);
}

.lp-hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* --- Hero Form Card --- */

.lp-hero-form-wrapper {
    position: relative;
    z-index: 2;
}

.lp-hero-form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
    color: var(--color-secondary);
}

.lp-hero-form-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-1);
}

.lp-hero-form-subtitle {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-5);
}

.lp-hero-form-card .form-group {
    margin-bottom: var(--space-3);
}

.lp-hero-form-card .form-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-secondary);
    margin-bottom: var(--space-1);
    display: block;
}

.lp-hero-form-card .form-input {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--color-secondary);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    height: 42px;
}

.lp-hero-form-card .form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-ultra-light);
}

.lp-hero-form-card .form-input::placeholder {
    color: var(--color-gray-300);
}

.lp-hero-form-card .form-input.form-error {
    border-color: var(--color-error);
}

.lp-hero-form-card .form-error-message {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: 2px;
}

.lp-hero-form-card .btn-submit {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    margin-top: var(--space-2);
}

.lp-hero-form-reassurance {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-gray-400);
    margin-top: var(--space-3);
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.lp-hero-form-reassurance span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-hero-form-reassurance svg {
    width: 14px;
    height: 14px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* --- Form Success State --- */

.lp-form-success {
    text-align: center;
    padding: var(--space-8) var(--space-4);
}

.lp-form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--color-success);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.lp-form-success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.lp-form-success h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.lp-form-success p {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* --- Benefits Grid --- */

.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.lp-benefit-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--color-gray-100);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.lp-benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.lp-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-ultra-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.lp-benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.lp-benefit-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.lp-benefit-text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    line-height: var(--leading-relaxed);
}

/* --- Services Grid --- */

.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.lp-service-item {
    text-align: center;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-100);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.lp-service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.lp-service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--color-primary-ultra-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.lp-service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.lp-service-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.lp-service-text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    line-height: var(--leading-relaxed);
}

/* --- Process Timeline Override --- */

.lp-process .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
}

/* --- Mobile Sticky Bar Override --- */

.lp-sticky-audit {
    white-space: nowrap;
}

/* --- Responsive --- */

@media (max-width: 767px) {
    /* Hero: stack vertically */
    .lp-hero .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .lp-hero .lp-hero-content {
        text-align: center;
    }

    .lp-hero .lp-hero-content h1 {
        font-size: var(--text-2xl);
    }

    .lp-hero .lp-hero-content > p {
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
    }

    /* Hide trust items on mobile hero (they're in trust bar below) */
    .lp-hero-trust {
        display: none;
    }

    /* Compact form on mobile */
    .lp-hero-form-card {
        padding: var(--space-5);
    }

    .lp-hero-form-title {
        font-size: var(--text-lg);
    }

    .lp-hero-form-subtitle {
        font-size: var(--text-xs);
        margin-bottom: var(--space-3);
    }

    .lp-hero-form-card .form-group {
        margin-bottom: var(--space-2);
    }

    .lp-hero-form-card .form-label {
        font-size: var(--text-xs);
    }

    .lp-hero-form-card .form-input {
        height: 38px;
        font-size: var(--text-sm);
        padding: var(--space-2);
    }

    .lp-hero-form-card .btn-submit {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }

    .lp-hero-form-reassurance {
        gap: var(--space-3);
    }

    /* Benefits: single column */
    .lp-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Services: single column */
    .lp-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .lp-service-item {
        display: flex;
        text-align: left;
        gap: var(--space-4);
        align-items: flex-start;
        padding: var(--space-4);
    }

    .lp-service-icon {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }

    .lp-service-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Process: single column */
    .lp-process .process-timeline {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .lp-hero .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        max-width: 600px;
        margin: 0 auto;
    }

    .lp-hero .lp-hero-content {
        text-align: center;
    }

    .lp-hero-trust {
        justify-content: center;
    }

    .lp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
