/* Professional Emergency Locksmith Website - Enhanced Styling */

/* CSS Variables for consistent theming */
:root {
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-light: #fef2f2;
    --primary-green: #16a34a;
    --primary-green-dark: #15803d;
    --dark-gray: #1f2937;
    --medium-gray: #374151;
    --light-gray: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Styling */
.btn-call:hover {
    background: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section Enhancements */
.hero {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 50%, #4b5563 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-subhead {
    font-size: 20px;
    color: #e5e7eb;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-hero {
    padding: 18px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 280px;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1.3;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-intro {
    font-size: 20px;
    color: var(--light-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Enhanced Professional Card Styling */
.service-card, .area-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before, .area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.03), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before, .area-card:hover::before {
    left: 100%;
}

.service-card:hover, .area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-red);
}

.service-icon, .area-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-red-light), #fef2f2);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon,
.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3, .area-card h3 {
    color: var(--dark-gray);
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
}

.service-card h3 a, .area-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card:hover h3 a, .area-card:hover h3 a {
    color: var(--primary-red);
}

.service-card p, .area-card p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul, .area-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding: 10px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 32px;
    line-height: 1.5;
}

/* Area card list items - clean style without checkmarks */
.area-card li {
    padding: 8px 0;
    color: var(--medium-gray);
    line-height: 1.5;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    color: var(--primary-green);
    font-weight: 900;
    font-size: 14px;
}

/* Grid Layouts */
.services-grid, .areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Section Headers */
section h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-green));
    border-radius: 2px;
}

/* Enhanced Trust Elements */
.availability-card {
    background: linear-gradient(135deg, var(--bg-white), #f8fafc);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-green);
    position: relative;
}

.availability-status {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.status-indicator {
    font-size: 32px;
    margin-right: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.eta-badge {
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
}

/* Professional Color Enhancements */
.emergency-banner {
    background: linear-gradient(135deg, var(--primary-red), #b91c1c);
    animation: emergencyGlow 3s ease-in-out infinite alternate;
}

@keyframes emergencyGlow {
    0% { box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); }
    100% { box-shadow: 0 2px 20px rgba(220, 38, 38, 0.6); }
}

/* Professional Footer Styling */
.footer {
    background: linear-gradient(135deg, var(--dark-gray), #111827);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--primary-red);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #e5e7eb;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 14px;
    color: #6b7280;
}

/* Enhanced Form Styling */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
    transform: translateY(-2px);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4) !important;
}

/* Area Content Styling */
.area-content {
    background: var(--bg-white);
    padding: 80px 0;
}

.area-main p {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 40px;
}

.area-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.service-highlights h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 32px;
    position: relative;
}

.service-highlights h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.service-list {
    list-style: none;
    margin-bottom: 40px;
}

.service-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-list li::before {
    content: '🔧';
    font-size: 18px;
}

.service-list li a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.service-list li a:hover {
    color: var(--primary-red);
}

/* Area CTA Mid Section */
.area-cta-mid {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: translateY(0);
    transition: transform 0.3s;
}

.area-cta-mid:hover {
    transform: translateY(-4px);
}

.area-cta-mid h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.area-cta-mid p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.mid-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mid-ctas .btn-call,
.mid-ctas .btn-whatsapp {
    background: white;
    color: var(--dark-gray);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.mid-ctas .btn-call:hover {
    background: #f9fafb;
    color: var(--primary-red);
}

.mid-ctas .btn-whatsapp:hover {
    background: #f9fafb;
    color: var(--primary-green);
}

/* Area Info Sidebar */
.area-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.response-info,
.coverage-areas,
.local-info {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.response-info h3,
.coverage-areas h3,
.local-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.response-box {
    text-align: center;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.response-time {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
    display: block;
}

.response-box p {
    color: var(--light-gray);
    font-size: 14px;
    margin: 0;
}

.nearby-areas {
    list-style: none;
}

.nearby-areas li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.nearby-areas li:last-child {
    border-bottom: none;
}

.nearby-areas a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nearby-areas a::before {
    content: '📍';
    font-size: 14px;
}

.nearby-areas a:hover {
    color: var(--primary-red);
}

.postcodes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.postcodes span {
    background: white;
    color: var(--dark-gray);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    color: #e5e7eb;
    margin-bottom: 40px;
}

.final-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Enhancement */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 14px;
    font-weight: 600;
    color: #fbbf24 !important;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .area-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        font-size: 15px;
        padding: 16px 20px;
    }
    
    .final-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .mid-ctas {
        flex-direction: column;
    }
    
    .postcodes {
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .area-content {
        padding: 60px 0;
    }
    
    .final-cta-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Add animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero-subhead,
.hero-ctas {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subhead {
    animation-delay: 0.2s;
}

.hero-ctas {
    animation-delay: 0.4s;
}

/* Trust badges and professional elements */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Professional card styling for service areas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Homepage-specific sections */
.services-section,
.areas-section,
.quote-section {
    padding: 80px 0;
}

.services-section {
    background: var(--bg-white);
}

.areas-section {
    background: var(--bg-light);
}

.quote-section {
    background: var(--bg-white);
}

.services-section h2,
.areas-section h2,
.quote-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 16px;
}

/* Service Cards - use common styling from above */

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.service-card h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.service-card h3 a:hover {
    color: var(--primary-red);
}

.service-card p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0;
    color: var(--dark-gray);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* Areas Grid - Centered */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.area-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.area-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.area-card h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.area-card h3 a:hover {
    color: var(--primary-red);
}

.area-card > p {
    color: var(--light-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.area-list {
    list-style: none;
}

.area-list li {
    padding: 6px 0;
}

.area-list a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.area-list a:hover {
    color: var(--primary-red);
}

/* Quote Form */
.quote-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.quote-form input,
.quote-form select {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.quote-form input:focus,
.quote-form select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Availability Section */
.availability-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.availability-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 500px;
    margin: 0 auto;
}

.availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.status-indicator {
    font-size: 24px;
}

.eta-badge {
    background: #dcfce7;
    color: var(--primary-green);
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 12px;
}

.location-hint {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
}


/* Screen reader only content */
.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;
}

/* Keyboard navigation enhancement */
.keyboard-navigation *:focus {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
}

/* Additional mobile optimizations for new sections */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-section,
    .areas-section,
    .quote-section {
        padding: 60px 0;
    }
    
    .service-card,
    .area-card {
        padding: 24px;
    }
    
    .quote-form {
        padding: 24px;
        margin: 0 20px;
    }
    
    
    .availability-card {
        margin: 0 20px;
        padding: 24px;
    }
}

/* Locksmith Availability Checker */
.locksmith-checker-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.locksmith-checker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(100,116,139,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.locksmith-checker-section .container {
    position: relative;
    z-index: 2;
}

.locksmith-checker-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 16px;
}

.checker-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

#postcodeInput {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    text-transform: uppercase;
}

.btn-check {
    padding: 16px 24px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-check:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-check:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    transform: none;
}

.availability-results {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
}

.availability-results h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 24px;
}

.locksmith-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.locksmith-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    border-left: 4px solid var(--primary-green);
}

.locksmith-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.locksmith-info {
    flex: 1;
}

.locksmith-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.locksmith-details {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 8px;
}

.locksmith-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.locksmith-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.btn-contact {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-contact.call {
    background: var(--primary-red);
    color: white;
}

.btn-contact.whatsapp {
    background: var(--primary-green);
    color: white;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile optimizations for checker */
@media (max-width: 768px) {
    .locksmith-checker-section {
        padding: 60px 0;
    }
    
    .checker-form {
        flex-direction: column;
        margin: 0 20px 40px;
    }
    
    .locksmith-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .locksmith-actions {
        flex-direction: row;
        min-width: auto;
        width: 100%;
    }
    
    .availability-results {
        margin: 0 20px;
    }
}
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #dc2626;
    border-radius: 6px;
    transition: all 0.3s;
}

.service-link:hover {
    background: #dc2626;
    color: white;
}

/* Availability Summary Display */
.availability-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #22c55e;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    text-align: center;
}

.locksmith-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-number {
    font-size: 48px;
    font-weight: 900;
    color: #22c55e;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(34, 197, 94, 0.2);
}

.count-text {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 5px;
    line-height: 1.2;
}

.urgency-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.urgency-icon {
    font-size: 24px;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.urgency-text {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    line-height: 1.3;
}

.eta-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eta-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.eta-text {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.availability-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-emergency-call,
.btn-emergency-whatsapp {
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 220px;
    border: 3px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-emergency-call {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-color: #dc2626;
    animation: buttonPulse 2s infinite;
}

.btn-emergency-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

.btn-emergency-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #22c55e;
}

.btn-emergency-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 0 8px 20px rgba(0,0,0,0.1), 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% { 
        box-shadow: 0 8px 20px rgba(0,0,0,0.1), 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

/* Mobile responsiveness for availability checker */
@media (max-width: 768px) {
    .availability-summary {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .count-number {
        font-size: 36px;
    }
    
    .urgency-message {
        padding: 0;
        order: -1;
    }
    
    .urgency-text {
        font-size: 14px;
    }
    
    .availability-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-emergency-call,
    .btn-emergency-whatsapp {
        min-width: auto;
        width: 100%;
        max-width: 90vw;
        padding: 18px 20px;
        font-size: 16px;
        white-space: nowrap;
        overflow: visible;
        box-sizing: border-box;
        line-height: 1.4;
        display: block;
        text-align: center;
        border-radius: 12px;
        font-weight: 700;
        min-height: 56px;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.area-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.area-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.area-card h3 a {
    color: #1f2937;
    text-decoration: none;
}

.area-card h3 a:hover {
    color: #dc2626;
}

.area-card ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

/* Remove duplicate - already defined above */

.area-card a {
    color: #6b7280;
    text-decoration: none;
}

.area-card a:hover {
    color: #dc2626;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: #f8fafc;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.price-range {
    font-size: 36px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 12px;
}

.price-note {
    color: #6b7280;
    margin-bottom: 24px;
    font-style: italic;
}

.price-includes {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.price-includes li {
    padding: 8px 0;
    color: #374151;
}

.pricing-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #dc2626;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Quick Quote Section */
.quick-quote-section {
    background: #1f2937;
    color: white;
}

.quote-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quote-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.quote-card p {
    color: #d1d5db;
    margin-bottom: 32px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quote-form input,
.quote-form select {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.quote-form input:focus,
.quote-form select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #fecaca;
    margin-bottom: 32px;
}

.final-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 4px 0;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 14px;
    color: #fbbf24;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-content {
    padding: 20px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 16px;
    color: #374151;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-accept,
.btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background: #16a34a;
    color: white;
}

.btn-accept:hover {
    background: #15803d;
}

.btn-decline {
    background: #f3f4f6;
    color: #374151;
}

.btn-decline:hover {
    background: #e5e7eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .final-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile header adjustments - Force centered logo and buttons below */
    header {
        padding: 20px 0 !important;
        text-align: center !important;
    }
    
    .header-content { 
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px !important;
        min-height: auto !important;
        padding: 0 15px !important;
        width: 100% !important;
        margin: 0 auto !important;
        max-width: none !important;
    }
    
    .logo {
        margin: 0 auto !important;
        order: 1 !important;
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    
    .logo img {
        height: 360px !important;
        transform: scaleX(1.5) !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .header-ctas { 
        gap: 8px !important; 
        flex-shrink: 0 !important;
        order: 2 !important;
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .btn-call, .btn-whatsapp { 
        padding: 4px 8px !important; 
        font-size: 10px !important;
        min-width: 50px !important;
        flex: 1 !important;
        max-width: 70px !important;
        border-radius: 4px !important;
    }
    
    /* Add bottom padding to account for mobile dock */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 18px 0 !important;
        text-align: center !important;
    }
    
    .header-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 18px !important;
        padding: 0 15px !important;
        width: 100% !important;
        margin: 0 auto !important;
        max-width: none !important;
    }
    
    .logo {
        width: 100% !important;
        display: flex !important;
        text-align: center !important;
        margin: 0 auto !important;
        justify-content: center !important;
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    
    .logo img {
        height: 320px !important;
        transform: scaleX(1.5) !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .header-ctas {
        flex-direction: row !important;
        gap: 6px !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        order: 2 !important;
        display: flex !important;
    }
    
    .btn-call,
    .btn-whatsapp {
        padding: 6px 10px !important;
        font-size: 11px !important;
        width: 100% !important;
        max-width: 100px !important;
        text-align: center !important;
        display: block !important;
        flex: none !important;
        border-radius: 4px !important;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-bullets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 100px; /* Above mobile dock */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .feature-card,
    .faq-item {
        border: 2px solid #000;
    }
    
    .btn-call,
    .btn-whatsapp {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .emergency-banner,
    .mobile-dock,
    .cookie-banner {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .final-cta-section {
        background: white !important;
        color: black !important;
    }
}

/* Animation classes for enhanced UX */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Focus visible for better accessibility */
.btn-call:focus-visible,
.btn-whatsapp:focus-visible,
.service-link:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "...";
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { color: rgba(0,0,0,0); text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    40% { color: black; text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    60% { text-shadow: .25em 0 0 black, .5em 0 0 rgba(0,0,0,0); }
    80%, 100% { text-shadow: .25em 0 0 black, .5em 0 0 black; }
}
