/* LORPAVI HVAC Emergency Landing Page Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-primary) 0%, #003d82 100%);
    color: var(--white);
    padding: 64px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.phone-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

.phone-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Urgency Bar */
.urgency-bar {
    background: var(--yellow-accent);
    color: var(--gray-dark);
    padding: 16px 0;
    text-align: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Pain Points Section */
.pain-points {
    padding: 64px 0;
    background: var(--white);
}

.pain-points h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--blue-primary);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.pain-point-card {
    background: var(--white);
    padding: 32px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.pain-point-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 24px;
}

.pain-point-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--blue-primary);
}

.pain-point-card p {
    font-size: 16px;
    line-height: 1.6;
}

.pain-points-cta {
    text-align: center;
    margin-top: 32px;
}

.pain-points-cta a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}

.pain-points-cta a:hover {
    text-decoration: underline;
}

/* Trust Section */
.trust-section {
    background: var(--gray-light);
    padding: 64px 0;
}

.trust-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--blue-primary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-display img {
    height: 24px;
    width: auto;
}

.rating-text {
    font-weight: 600;
    color: var(--blue-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--yellow-accent);
    font-size: 20px;
    margin-bottom: 16px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.review-card cite {
    font-weight: 600;
    color: var(--blue-primary);
}

/* Coverage Map Section */
.coverage-map {
    padding: 64px 0;
    background: var(--white);
}

.coverage-map h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--blue-primary);
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.map-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.service-areas h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--blue-primary);
}

.areas-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.areas-list li {
    padding: 8px 16px;
    background: var(--gray-light);
    border-radius: 6px;
    font-weight: 600;
}

.coverage-note {
    font-style: italic;
    color: var(--gray-dark);
}

.coverage-note a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}

.coverage-note a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 64px 0;
    background: var(--gray-light);
}

.faq-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--blue-primary);
}

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

.faq-item {
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--blue-primary);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 200px;
}

.faq-answer p {
    line-height: 1.6;
    color: var(--gray-dark);
}

/* Footer */
.footer {
    background: var(--blue-primary);
    color: var(--white);
    padding: 48px 0 24px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-info address {
    font-style: normal;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 6px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-dark);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--gray-light);
}

.modal h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--blue-primary);
}

/* Form Styles */
.lead-form {
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--blue-primary);
}

.radio-group {
    margin-bottom: 32px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
    z-index: 1;
    user-select: none;
}

.radio-option:hover {
    border-color: var(--blue-primary);
    background: var(--gray-light);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-dark);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: border-color 0.3s;
}

.radio-option input[type="radio"]:checked + .radio-custom,
.radio-option.selected .radio-custom {
    border-color: var(--blue-primary);
    background: var(--blue-primary);
}

.radio-option input[type="radio"]:checked + .radio-custom::after,
.radio-option.selected .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option input[type="radio"]:checked ~ .radio-label,
.radio-option.selected .radio-label {
    color: var(--blue-primary);
    font-weight: 600;
}

.radio-option.selected {
    border-color: var(--blue-primary) !important;
    background: rgba(0, 87, 183, 0.05) !important;
}

/* More obvious hover states */
.radio-option:hover {
    border-color: var(--blue-primary) !important;
    background: rgba(0, 87, 183, 0.02);
}

.radio-option:active {
    background: rgba(0, 87, 183, 0.1) !important;
}

.radio-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--blue-primary);
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--blue-primary);
}

.form-buttons {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.thank-you-content {
    text-align: center;
}

.thank-you-content h4 {
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.thank-you-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.urgent-note {
    font-weight: 600;
    color: var(--blue-primary);
}

.urgent-note a {
    color: var(--blue-primary);
    text-decoration: none;
}

.urgent-note a:hover {
    text-decoration: underline;
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.mobile-cta .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Header */
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .phone-link {
        font-size: 16px;
    }
    
    /* Hero */
    .hero {
        padding: 48px 0;
        min-height: 500px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Sections */
    .pain-points,
    .trust-section,
    .coverage-map,
    .faq-section {
        padding: 48px 0;
    }
    
    .pain-points h2,
    .trust-section h2,
    .coverage-map h2,
    .faq-section h2 {
        font-size: 28px;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .map-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 24px;
    }
    
    /* Footer */
    .footer {
        padding: 32px 0 16px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    /* Modal */
    .modal-content {
        margin: 16px;
        padding: 24px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    /* Mobile CTA */
    .mobile-cta {
        display: block;
    }
    
    /* Add bottom padding to body to account for sticky CTA */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-secondary,
    .hero-buttons .phone-badge {
        width: 100%;
        text-align: center;
    }
    
    .pain-points h2,
    .trust-section h2,
    .coverage-map h2,
    .faq-section h2 {
        font-size: 24px;
    }
}

/* Performance Optimizations */
.hero-image img,
.map-image img {
    will-change: transform;
}

.btn-primary,
.btn-secondary {
    will-change: transform;
}

/* Print Styles */
@media print {
    .header,
    .mobile-cta,
    .modal {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: var(--gray-dark) !important;
    }
}