/* ==========================================
   DESIGN SYSTEM - LOCAL SEO SERVICES
   ========================================== */

:root {
    --primary-blue: #1e3a8a;
    --primary-blue-light: #2563eb;
    --primary-orange: #f97316;
    --primary-orange-light: #ea580c;
    --primary-green: #10b981;
    --primary-dark: #0f172a;
    --primary-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* System */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Header & Navigation */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-subtle);
}

.top-bar {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span i {
    color: var(--primary-orange);
    margin-right: 6px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary-orange);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-blue-light);
}

/* Call Buttons */
.btn-call {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    filter: brightness(1.05);
}

.btn-call i {
    animation: wiggle 1.5s infinite;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #ffffff;
}

.hero-tagline {
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* Trust Section */
.trust-badges-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.trust-badge i {
    font-size: 1.8rem;
    color: var(--primary-orange);
}

/* Services Grid Portal */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-card-image {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent);
}

.service-card-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 1.5rem;
}

.service-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.service-features-list li i {
    color: var(--primary-green);
}

/* Reviews / Testimonials */
.reviews-section {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 5rem 2rem;
}

.reviews-section h2 {
    color: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.reviewer-name {
    font-weight: 700;
    font-family: var(--font-heading);
}

.reviewer-loc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Coverage Zipcodes Section */
.coverage-section {
    background: #ffffff;
}

.zip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
}

.zip-tag {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.zip-tag:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 99;
    display: none;
}

.floating-cta .btn-call {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1.2rem;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none; /* simple mobile nav override */
    }
}

/* Animations */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-10deg); }
    30% { transform: rotate(12deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(9deg); }
    75% { transform: rotate(-4deg); }
    90% { transform: rotate(0deg); }
}

/* ==========================================
   LOCAL SEO ENHANCEMENT UTILITIES
   ========================================== */
.local-coverage-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-subtle);
}

.local-coverage-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 1.5rem;
}

.local-challenges-list {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.local-coverage-title {
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.local-reviews-section {
    background: var(--primary-dark);
    padding: 4rem 2rem;
    border-radius: 24px;
    margin-top: 3rem;
    color: white;
}

.local-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.local-review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.local-review-stars {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.local-review-text {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.local-reviewer-info {
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .local-coverage-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LEAD CAPTURE FORM STYLING
   ========================================== */
.lead-form-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-subtle);
}

.lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.lead-form-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.lead-form-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lead-form-element {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary-blue-light);
}

.btn-submit {
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--primary-blue-light);
}

@media (max-width: 768px) {
    .lead-form-grid {
        grid-template-columns: 1fr;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================
   SPLIT HERO LAYOUT FOR CORE WEB VITALS
   ========================================== */
.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #17252a 100%);
    color: #ffffff;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2rem;
}

.hero-text {
    max-width: 580px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 380px;
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem 3rem;
        text-align: center;
    }
    .hero-text {
        margin: 0 auto;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* Mobile Responsive Navbar & Buttons Fix */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    .nav-btn {
        padding: 0.5rem 0.9rem !important;
        font-size: 0.82rem !important;
        white-space: nowrap;
    }
}




