/* P & D Plumbing — page template CSS shared by: contact.html, thank-you.html */
:root {
            --navy: #072D52; --navy-2: #0B3E70; --ink: #16232F; --muted: #5B6B7B;
            --action: #0A6FE8; --action-dark: #0857BC; --wash: #F2F7FC; --card: #FFFFFF;
            --line: #E3EAF2; --radius: 14px;
            --shadow-sm: 0 1px 3px rgba(7,45,82,0.07), 0 1px 2px rgba(7,45,82,0.05);
            --shadow-md: 0 8px 28px rgba(7,45,82,0.10);
            /* legacy token names mapped to the new palette */
            --primary: #072D52; --accent: #0A6FE8; --secondary: #0B3E70;
            --light: #F2F7FC; --white: #FFFFFF; --text: #16232F; --border: #E3EAF2;
            --gold: #F5A93B; --red: #D93025;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        img { max-width: 100%; height: auto; }
        body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
        
        /* Navigation */
        nav { position: fixed; top: 0; width: 100%; background: #ffffff; backdrop-filter: blur(10px); box-shadow: none; border-bottom: none; z-index: 1000; padding: 0.5rem 0; }
        .nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
        .logo-big { display: flex; align-items: center; }
        .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
        .nav-links a { color: var(--primary); text-decoration: none; font-weight: 600; transition: color 0.3s ease; font-size: 1.05rem; }
        .nav-links a:hover { color: var(--accent); }
        
        .nav-cta { background: var(--accent); color: var(--white); padding: 0.9rem 2rem; border-radius: 10px; font-weight: 700; }
        /* Services Dropdown */
        .nav-dropdown { position: relative; }
        .nav-dropdown .dropdown-toggle { cursor: pointer; }
        .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 220px; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); padding: 0.5rem 0; z-index: 2000; border: 1px solid var(--border); }
        .dropdown-menu a { display: block; padding: 0.6rem 1.2rem; color: var(--primary); font-weight: 500; font-size: 0.92rem; transition: background 0.2s; }
        .dropdown-menu a:hover { background: var(--light); color: var(--accent); }
        .nav-dropdown:hover .dropdown-menu { display: block; }

        
        /* Page Header */
        .page-header { margin-top: 0; padding-top: 8.5rem; padding-bottom: 4rem; padding-left: 2rem; padding-right: 2rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); text-align: center; }
        .page-header h1 { font-family: 'Archivo', 'Inter', sans-serif; font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
        
        /* Contact Section */
        .contact-section { padding: 5rem 2rem; background: var(--white); }
        .contact-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
        
        /* Contact Info */
        .contact-info h2 { font-family: 'Archivo', 'Inter', sans-serif; font-size: 2.5rem; color: var(--primary); margin-bottom: 2rem; }
        .info-block { margin-bottom: 2rem; }
        .info-block h3 { font-size: 1.3rem; color: var(--accent); margin-bottom: 0.5rem; font-weight: 700; }
        .info-block p { font-size: 1.1rem; line-height: 1.8; }
        .info-block a { color: var(--primary); text-decoration: none; font-weight: 600; }
        .info-block a:hover { color: var(--accent); }
        
        /* Emergency Box */
        .emergency-box { 
            background: var(--red); 
            color: var(--white); 
            padding: 1.5rem; 
            border-radius: 8px; 
            margin: 1.5rem 0;
        }
        .emergency-box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }
        .emergency-box p { font-size: 0.95rem; margin-bottom: 0.5rem; }
        .emergency-box a { color: var(--white); font-size: 1.4rem; font-weight: 700; text-decoration: none; display: block; }
        
        /* Contact Form */
        .contact-form { background: var(--light); padding: 3rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
        .contact-form h2 { font-family: 'Archivo', 'Inter', sans-serif; font-size: 2.5rem; color: var(--primary); margin-bottom: 2rem; }
        .form-group { margin-bottom: 1.5rem; }
        .form-group label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
        .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 1rem; border: 2px solid var(--border); border-radius: 6px; font-size: 1rem; font-family: 'Inter', system-ui, sans-serif; transition: border-color 0.3s ease; }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
        .form-group textarea { min-height: 150px; resize: vertical; }
        .submit-btn { background: var(--accent); color: var(--white); padding: 1.2rem 3rem; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; width: 100%; }
        .submit-btn:hover { background: var(--secondary); transform: translateY(-2px); }
        
        /* Map */
        .map-section { padding: 0; background: var(--light); }
        .map-container { max-width: 1400px; margin: 0 auto; height: 500px; }
        .map-container iframe { width: 100%; height: 100%; border: 0; }
        
        /* Footer */
        footer { background: var(--primary); color: var(--white); padding: 3rem 2rem 1.5rem; }
        .footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
        .footer-section h3 { font-family: 'Archivo', 'Inter', sans-serif; font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent); }
        .footer-section p, .footer-section a { color: rgba(255, 255, 255, 0.9); text-decoration: none; display: block; margin-bottom: 0.5rem; }
        .footer-section a:hover { color: var(--accent); }
        .licenses { font-size: 0.9rem; line-height: 1.6; }
        .footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7); }
        
        @media (max-width: 968px) {
            .nav-links { display: none; }
            .contact-container { grid-template-columns: 1fr; gap: 3rem; }
            .page-header h1 { font-size: 2.5rem; }
        }
        /* Social Media Icons */
        .social-icons { display: flex; gap: 0.8rem; align-items: center; margin-left: 1rem; }
        .social-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white); border-radius: 50%; transition: all 0.3s ease; text-decoration: none; font-size: 16px; }
        .social-icon:hover { background: var(--secondary); transform: translateY(-2px); }
        @media (max-width: 968px) { .social-icons { display: none; } }
    
        /* MOBILE HAMBURGER MENU */
        .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1002; background: none; border: none; }
        .hamburger span { width: 28px; height: 3px; background: var(--primary); border-radius: 3px; transition: all 0.3s ease; display: block; }
        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
        /* Intermediate tablet band: keep phone + Book Online, collapse links to hamburger */
        @media (min-width: 969px) and (max-width: 1050px) {
            .nav-links { display: flex; margin-left: auto; gap: 0.75rem; align-items: center; }
            .nav-links > li { display: none; }
            .nav-links > li:nth-last-child(-n + 2) { display: block; }
            .hamburger { display: flex; }
        }
        
        /* Mobile overlay menu */
        .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #003366; z-index: 1001; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
        .mobile-menu-overlay.active { display: flex; }
        .mobile-menu-overlay a { color: white; text-decoration: none; font-size: 1.4rem; font-weight: 600; padding: 0.8rem 2rem; transition: all 0.3s ease; border-radius: 8px; }
        .mobile-menu-overlay a:hover { background: var(--accent); }
        .mobile-menu-overlay .mobile-emergency { background: var(--red); color: white; padding: 0.8rem 2rem; border-radius: 25px; font-weight: 700; animation: flash 2s infinite; margin-bottom: 1rem; text-decoration: none; font-size: 1.1rem; }
        .mobile-menu-overlay .mobile-call-btn { background: var(--accent); color: white; padding: 1rem 3rem; border-radius: 8px; font-size: 1.3rem; font-weight: 700; margin-top: 1rem; text-decoration: none; }
        
        /* Sticky mobile call bar */
        .mobile-call-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--accent); z-index: 999; padding: 0; }
        .mobile-call-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem; padding: 1rem; width: 100%; }
        
        @media (max-width: 968px) {
            .hamburger { display: flex; }
            .nav-links { display: none !important; }
            .mobile-call-bar { display: block; }
            body { padding-bottom: 60px; }
            nav { padding: 0.3rem 0; }
            .page-header { margin-top: 0; padding: 3rem 1.5rem; padding-top: 7rem; }
            .page-header h1 { font-size: 2.2rem; }
            .hero { margin-top: 0; padding: 4rem 1.5rem; min-height: 70vh; }
            .hero h1 { font-size: 2.2rem; }
            .hero .subtitle { font-size: 1.2rem; }
            .hero p { font-size: 1rem; }
            .hero-buttons { flex-direction: column; gap: 0.8rem; }
            .hero-buttons .btn { text-align: center; width: 100%; }
            .section-header h2 { font-size: 2.5rem; }
            .google-badge { flex-direction: column; text-align: center; padding: 1rem 1.5rem; }
            .footer-container { grid-template-columns: 1fr; }
            .nav-container { padding: 0 1rem; }
            .social-icons { display: none; }
        }

    
    /* Social Proof Strip */
    .social-proof-strip { background: var(--primary); padding: 0.5rem 1rem; text-align: center; position: relative; z-index: 999; border-bottom: 2px solid var(--accent); }
    .proof-inner { display: flex; align-items: center; justify-content: center; gap: 0.8rem; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
    .proof-stars { font-size: 0.85rem; }
    .proof-text { color: rgba(255,255,255,0.9); font-size: 0.82rem; font-weight: 500; }
    .proof-text a { color: var(--gold); text-decoration: none; font-weight: 700; }
    .proof-text a:hover { text-decoration: underline; }
    .proof-text strong { color: var(--gold); }
    .proof-sep { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
    @media (max-width: 600px) { .proof-sep { display: none; } .proof-inner { gap: 0.4rem; } .proof-text { font-size: 0.75rem; } }

    
    /* Floating Text Us Button */
    .float-call { background: var(--accent); color: white; }
    @media (max-width: 968px) { 
        .float-call { display: none; } /* Already have sticky call bar on mobile */
    }

    
    /* Mobile Menu Close + Social */
    .mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; z-index: 1002; line-height: 1; padding: 0.5rem; }
    .mobile-close:hover { color: var(--gold); }
    .mobile-social { display: flex; gap: 1.5rem; margin-top: 1rem; }
    .mobile-social a { font-size: 1rem !important; color: var(--gold) !important; font-weight: 600; padding: 0.5rem 1rem !important; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; }
    .mobile-social a:hover { background: var(--accent); color: white !important; }
    
    /* Contact form improvements */
    input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15); outline: none; }
    
    /* Response time badge */
    .response-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #e8f5e9; color: #2e7d32; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; margin-bottom: 1.5rem; }
    .response-dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; animation: pulse-dot 2s infinite; }
    @keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

    /* Smooth scroll */
    html { scroll-behavior: smooth; }
    
    /* Promotion Banner */
    
    /* Improved card hover */
    .service-card, .testimonial-card, .svc-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .service-card:hover, .testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0, 153, 255, 0.2); }
    
    /* Gradient text accent */
    .gradient-text { background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    
        @media (max-width: 968px) { .footer-container { grid-template-columns: 1fr !important; text-align: center; padding: 0 1rem; } .footer-section { padding: 0 1rem; } }

    /* === MOBILE-ONLY FIXES === */
    @media (max-width: 968px) {
        /* 1. Logo bigger on mobile */
        
        /* 2. Review cards - shorter, no blue borders */
        .slide-card { 
            padding: 1.2rem !important; 
            border: 1px solid #e0e0e0 !important; 
            background: #f8f9fa !important;
            min-height: auto !important;
        }
        .slide-card p { font-size: 0.9rem !important; }
        .slider-track-container { margin: 0 2.5rem !important; }
        .slider-dots { gap: 0.3rem !important; margin-top: 1rem !important; }
        .slider-dot { width: 8px !important; height: 8px !important; }
        
        /* 3. Footer - one solid blue, centered everything */
        footer { background: var(--primary) !important; }
        .footer-section { text-align: center !important; }
        .footer-section div[style*="display: flex"][style*="gap: 1rem"] { justify-content: center !important; }
        
        /* 4. Areas buttons centered */
        .service-areas div[style*="display: flex"][style*="gap: 1rem"][style*="flex-wrap"] { justify-content: center !important; }
        
        /* 5. Mobile menu cleaner */
        .mobile-menu-overlay { gap: 0.8rem !important; padding: 1rem !important; overflow-y: auto !important; }
        .mobile-menu-overlay a { font-size: 1.1rem !important; padding: 0.5rem 1.5rem !important; }
        .mobile-menu-overlay a[style*="font-size: 1.1rem"] { font-size: 0.95rem !important; padding: 0.3rem 1rem 0.3rem 2rem !important; }
        .mobile-close { font-size: 2.5rem !important; top: 10px !important; right: 20px !important; }
        
        /* 6. Review section buttons centered */
        .view-google-link { display: block !important; text-align: center !important; margin: 0.5rem auto !important; max-width: 280px !important; }
    }


    /* Nav social icons (mobile only) */
    .nav-social-mobile { display: none; }
    @media (max-width: 968px) {
        .nav-social-mobile { display: flex; gap: 0.6rem; align-items: center; margin-right: 0.8rem; }
        .nav-social-mobile a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
    }
    
    /* Collapsible mobile menu sections */
    .mobile-section { width: 80%; text-align: center; }
    .mobile-section-toggle { background: none; border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1.3rem; font-weight: 700; padding: 0.7rem 2rem; cursor: pointer; width: 100%; border-radius: 8px; font-family: 'Inter', system-ui, sans-serif; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
    .mobile-section-toggle:hover { background: rgba(255,255,255,0.1); }
    .mobile-arrow { font-size: 0.8rem; transition: transform 0.3s; }
    .mobile-section.open .mobile-arrow { transform: rotate(180deg); }
    .mobile-section-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .mobile-section.open .mobile-section-links { max-height: 500px; }
    .mobile-section-links a { display: block !important; font-size: 1rem !important; padding: 0.5rem 1rem !important; opacity: 0.85; }
    
    /* Footer logo centered on mobile */
    @media (max-width: 968px) {
        .footer-section img { margin: 0 auto 1rem auto !important; display: block !important; }
    }


    /* === MOBILE TIGHTENING === */
    @media (max-width: 968px) {
        /* Global: reduce section padding */
        section:not(.hero) { padding: 2.5rem 1.2rem !important; }
        
        /* Smaller section headers */
        .section-header { margin: 0 auto 1.5rem !important; }
        .section-header h2 { font-size: 2rem !important; letter-spacing: 1.5px !important; margin-bottom: 0.4rem !important; }
        .section-header p { font-size: 0.9rem !important; line-height: 1.5 !important; }
        
        /* Hero - shorter */
        .hero { padding-top: 9rem !important; padding-bottom: 2rem !important; padding-left: 1.2rem !important; padding-right: 1.2rem !important; min-height: auto !important; }
        .hero h1 { font-size: 1.8rem !important; }
        .hero .subtitle { font-size: 1rem !important; }
        .hero p { font-size: 0.9rem !important; margin-bottom: 1rem !important; }
        .hero-buttons .btn { padding: 11px 16px !important; font-size: 0.95rem !important; }
        
        /* Trust badges - compact 2x2 */
        .trust-badges { padding: 1.5rem 1rem !important; }
        .trust-badges .badge-card,
        .trust-badges div[style*="text-align: center"] { padding: 0.8rem 0.5rem !important; }
        .trust-badges h3 { font-size: 0.85rem !important; }
        .trust-badges p { font-size: 0.75rem !important; }
        
        /* Intro section - tighter */
        .intro-section { padding: 2rem 1.2rem !important; }
        .intro-content h2 { font-size: 2rem !important; margin-bottom: 0.8rem !important; }
        .intro-content p { font-size: 0.9rem !important; line-height: 1.6 !important; margin-bottom: 0.8rem !important; }
        
        /* Services - compact cards */
        .services-grid { gap: 0.8rem !important; }
        .service-card { padding: 1.2rem !important; }
        .service-card h3 { font-size: 1.05rem !important; margin-bottom: 0.4rem !important; }
        .service-card p { font-size: 0.85rem !important; line-height: 1.5 !important; }
        .service-card svg { width: 32px !important; height: 32px !important; }
        .service-card div[style*="margin-bottom: 1rem"] { margin-bottom: 0.5rem !important; }
        
        /* Reviews - already compact from earlier fix */
        .testimonials-preview { padding: 2.5rem 1.2rem !important; }
        
        /* Recent jobs - show fewer, tighter */
        div[style*="minmax(340px"] { grid-template-columns: 1fr !important; gap: 0.8rem !important; }
        div[style*="minmax(340px"] > div:nth-child(n+4) { display: none !important; }
        div[style*="minmax(340px"] img { height: 150px !important; }
        div[style*="minmax(340px"] div[style*="padding: 1.5rem"] { padding: 1rem !important; }
        
        /* Video section compact */
        .home-video-section { padding: 2rem 1.2rem !important; }
        .home-video-inner video,
        .home-video-inner div { max-width: 280px !important; }
        
        /* Who We Serve - tighter */
        div[style*="grid-template-columns: repeat(auto-fit, minmax(250px"] { gap: 0.8rem !important; }
        
        /* Areas section - tighter */
        .service-areas { padding: 2rem 1.2rem !important; }
        
        /* Blog section - compact */
        div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"][style*="gap: 2rem"] { gap: 0.8rem !important; }
        
        /* CTA sections tighter */
        .cta-section { padding: 2rem 1.2rem !important; }
        
        /* Process cards if any */
        .process-step { padding: 1rem !important; }
        
        /* General text tightening */
        p { line-height: 1.5 !important; }
        
        /* Stat counters smaller */
        .stat-number { font-size: 2rem !important; }
        .stat-label { font-size: 0.75rem !important; }
        
        /* Footer tighter */
        footer { padding: 2rem 1rem !important; }
        .footer-section { margin-bottom: 1rem !important; }
        .footer-section h3 { font-size: 1rem !important; margin-bottom: 0.5rem !important; }
        .footer-section p, .footer-section a { font-size: 0.8rem !important; }
    }


    /* === STANDARDIZED NAV (match homepage) === */
    nav { position: fixed; top: 0; width: 100%; background: #ffffff; backdrop-filter: blur(10px); box-shadow: none; border-bottom: none; z-index: 1000; padding: 0.5rem 0; }
    .nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
    .logo-big { display: flex; align-items: center; }
    .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
    .nav-links a { color: var(--primary); text-decoration: none; font-weight: 600; transition: color 0.3s ease; font-size: 1.05rem; }
    .nav-links a:hover { color: var(--accent); }
    .nav-cta { background: var(--accent); color: var(--white) !important; padding: 0.9rem 2rem; border-radius: 10px; font-weight: 700; }
    .nav-cta:hover { background: var(--secondary); color: var(--white) !important; }
    .nav-dropdown { position: relative; }
    .nav-dropdown .dropdown-toggle { cursor: pointer; }
    .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 220px; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); padding: 0.5rem 0; z-index: 2000; border: 1px solid var(--border); }
    .dropdown-menu a { display: block; padding: 0.6rem 1.2rem; color: var(--primary); font-weight: 500; font-size: 0.92rem; transition: background 0.2s; }
    .dropdown-menu a:hover { background: var(--light); color: var(--accent); }
    .nav-dropdown:hover .dropdown-menu { display: block; }
    .social-icons { display: flex; gap: 0.8rem; align-items: center; margin-left: 1rem; }
    .social-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white); border-radius: 50%; transition: all 0.3s ease; text-decoration: none; font-size: 16px; }
    .social-icon:hover { background: var(--secondary); transform: translateY(-2px); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1002; background: none; border: none; }
    .hamburger span { width: 28px; height: 3px; background: var(--primary); border-radius: 3px; transition: all 0.3s ease; display: block; }
    @media (max-width: 968px) {
        .social-icons { display: none; }
        .hamburger { display: flex; }
        .nav-links { display: none !important; }
        .mobile-call-bar { display: block; }
        body { padding-bottom: 60px; }
        nav { padding: 0.3rem 0; }
        .nav-container { padding: 0 1rem; }
    }


    /* === PAGE CONTENT POSITIONING (clear fixed nav) === */
    .page-header { margin-top: 0 !important; padding-top: 8.5rem !important; }
    @media (max-width: 968px) {
        .page-header { margin-top: 0 !important; padding-top: 6.5rem !important; padding: 2.5rem 1.2rem !important; }
    }


    /* === PHOTO LIGHTBOX === */
    .lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 3000; justify-content: center; align-items: center; cursor: pointer; }
    .lightbox.active { display: flex; }
    .lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,0.5); object-fit: contain; }
    .lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: white; font-size: 2.5rem; cursor: pointer; z-index: 3001; font-weight: 300; }
    .lightbox-close:hover { color: #ccc; }
    img[onclick] { cursor: pointer; }


/* === Accessibility additions === */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 0.8rem 1.5rem; z-index: 3000; font-weight: 700; border-radius: 0 0 8px 0; text-decoration: none; }
.skip-link:focus { left: 0; }
.nav-dropdown:focus-within .dropdown-menu { display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}
