/* Elena Execution Mobile Performance CSS - Sub-1 Second Load Priority - Fairfax Mold Remediation */

/* Mobile-First Emergency Banner */
.top-emergency-banner {
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: white;
    text-align: center;
    padding: 12px 8px;
    font-weight: bold;
    position: relative;
    z-index: 1000;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.top-emergency-banner .banner-text {
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.3;
    margin: 0;
}

.top-emergency-banner .banner-phone {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 900;
    color: #FFD700;
    text-decoration: none;
    display: inline-block;
    margin: 4px 0;
}

/* Mobile-First Navigation */
.nav {
    background: rgba(0,0,0,0.95);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(16px, 4vw, 32px);
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: clamp(18px, 3.5vw, 26px);
    font-weight: 800;
    color: #8B4513;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.emergency-call {
    background: #8B4513;
    color: white;
    padding: clamp(10px, 2.5vw, 16px) clamp(16px, 4vw, 24px);
    border: none;
    border-radius: 25px;
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: callPulse 3s infinite;
}

@keyframes callPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139, 69, 19, 0.7); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(139, 69, 19, 0); }
}

.emergency-call:hover {
    background: #A0522D;
    transform: scale(1.05);
}

/* Mobile-Optimized Hero Section */
.emergency-hero-fairfax {
    padding: clamp(24px, 6vw, 60px) clamp(16px, 4vw, 32px);
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)),
                radial-gradient(circle at 30% 50%, rgba(139, 69, 19, 0.2), transparent 50%),
                linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    min-height: clamp(400px, 60vh, 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: clamp(16px, 4vw, 32px);
}

.emergency-hero-fairfax h2 {
    font-size: clamp(24px, 5.5vw, 48px);
    font-weight: 900;
    margin-bottom: clamp(16px, 4vw, 32px);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hook-connector {
    display: block;
    margin-top: clamp(12px, 3vw, 20px);
    font-size: 0.85em;
    color: #fff;
    font-weight: 600;
}

.medical-emergency-parallel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 4vw, 32px);
    margin: clamp(20px, 5vw, 40px) auto;
    max-width: 800px;
    padding: 0 clamp(16px, 4vw, 32px);
}

.medical-side, .restoration-side {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: clamp(20px, 4vw, 32px);
    text-align: center;
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.restoration-side {
    border-color: #8B4513;
}

.medical-side:hover, .restoration-side:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.emergency-action {
    margin-top: clamp(20px, 5vw, 40px);
}

.emergency-call-mobile {
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: white;
    padding: clamp(14px, 3.5vw, 20px) clamp(24px, 6vw, 40px);
    border: none;
    border-radius: 30px;
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    animation: mobilePulse 2s infinite;
}

.emergency-call-mobile:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
}

/* Mobile-Optimized Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: clamp(24px, 5vw, 32px);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-left: 4px solid #8B4513;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card.mold-emergency {
    border-left-color: #DC143C;
}

.service-card.black-mold-emergency {
    border-left-color: #800000;
}

.service-card.toxic-mold-emergency {
    border-left-color: #FF4500;
}

.service-card.prevention-emergency {
    border-left-color: #228B22;
}

.service-icon {
    font-size: clamp(32px, 8vw, 48px);
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    color: #8B4513 !important;
    margin-bottom: 12px;
    font-size: clamp(18px, 4vw, 24px);
    line-height: 1.3;
    font-weight: 700;
}

.service-card p {
    color: #4b5563 !important;
    line-height: 1.6;
}

.service-card ul {
    text-align: left;
    margin-top: 16px;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 6px;
    color: #374151 !important;
    font-size: clamp(14px, 3.5vw, 16px);
}

.service-card strong {
    color: #dc2626;
}

/* Authority Section */
.authority-section {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 12px;
}

.authority-section h2 {
    text-align: center;
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: clamp(32px, 6vw, 50px);
    color: #8B4513;
}

.authority-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.authority-point {
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 12px;
    border-left: 4px solid #8B4513;
}

.authority-point h3 {
    color: #8B4513;
    margin-bottom: 12px;
    font-size: clamp(18px, 4vw, 22px);
}

.authority-point p {
    color: #4b5563;
    line-height: 1.6;
}

/* Specialist Network */
.specialist-network {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.specialist-network h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: clamp(20px, 4vw, 30px);
    color: #8B4513;
}

.specialist-network p {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: clamp(30px, 6vw, 40px);
    color: #fff;
}

.specialist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.specialist-card {
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    border: 2px solid rgba(139, 69, 19, 0.3);
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.specialist-icon {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
}

.specialist-title {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 8px;
}

.specialist-subtitle {
    font-size: clamp(14px, 3vw, 16px);
    color: #666;
}

/* Emergency Triage */
.emergency-triage {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
    max-width: 800px;
    margin: 0 auto;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.emergency-triage h2 {
    text-align: center;
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: clamp(20px, 4vw, 30px);
    color: #DC143C;
}

.triage-form {
    text-align: center;
}

.triage-form label {
    display: block;
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 16px;
    color: #fff;
    font-weight: 600;
}

.triage-select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #DC143C;
    border-radius: 8px;
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 20px;
}

.triage-action {
    margin-top: 20px;
}

/* CTA Section */
.cta-section {
    padding: clamp(60px, 10vw, 100px) clamp(16px, 4vw, 32px);
    text-align: center;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 12px;
    margin: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
}

.cta-section h2 {
    font-size: clamp(28px, 6vw, 42px);
    margin-bottom: clamp(20px, 4vw, 30px);
    color: #FFD700;
}

.cta-section p {
    font-size: clamp(18px, 4vw, 22px);
    margin-bottom: clamp(30px, 6vw, 40px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.primary-cta, .secondary-cta {
    padding: clamp(14px, 3.5vw, 18px) clamp(24px, 6vw, 32px);
    border-radius: 30px;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-cta {
    background: #FFD700;
    color: #8B4513;
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #fff;
}

.primary-cta:hover {
    background: #FFF8DC;
    transform: scale(1.05);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #000;
    padding: clamp(40px, 8vw, 60px) clamp(16px, 4vw, 32px);
    text-align: center;
    color: #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(30px, 6vw, 40px);
}

.emergency-contact h3 {
    color: #DC143C;
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 16px;
}

.emergency-contact a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.service-areas h4 {
    color: #8B4513;
    margin-bottom: 12px;
}

.authority-footer p {
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
    }

    .specialist-grid {
        grid-template-columns: 1fr;
    }

    .medical-emergency-parallel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .authority-content {
        grid-template-columns: 1fr;
    }
}