/* 1. CSS VARIABLES, FONTS & RESET */
:root {
    --primary: #c25916;        
    --primary-hover: #e06619; 
    --dark: #121413;           
    --dark-secondary: #1f2421; 
    --gray-bg: #f8f9fa;
    --border: #e9ecef;
    --text-main: #495057;
    --text-muted: #6c757d;
    --white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--gray-bg); 
    line-height: 1.7;
}

h1, h2, h3, h4, .logo, .badge, .label {
    font-family: var(--font-heading);
    color: var(--dark);
}

/* 2. LAYOUT & BUTTON UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(194, 89, 22, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 89, 22, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-block { width: 100%; }

/* 3. TOP BAR & STICKY NAVBAR */
.top-bar {
    background-color: var(--dark);
    color: #b5b5b5;
    font-size: 0.85rem;
    padding: 0.6rem 0;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-content i { color: var(--primary); margin-right: 5px; }

.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* Dynamic State added by JS on scroll */
.navbar.scrolled {
    padding: 0.8rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: transparent;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 2px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

.nav-cta {
    background-color: var(--dark);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    border: 2px solid var(--dark);
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--dark) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

/* 4. HERO SECTION (SLIDESHOW) */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 6rem 0 10rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    margin-bottom: -4rem; 
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; 
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(18, 20, 19, 0.95) 0%, rgba(18, 20, 19, 0.5) 100%);
    z-index: 1; 
}

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

.badge { display: inline-flex; align-items: center; gap: 8px; background-color: var(--primary); color: var(--white); padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; font-weight: 900; color: var(--white); text-transform: uppercase; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; color: #e0e0e0; max-width: 650px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 5. TRUST STRIP */
.trust-bar {
    position: relative;
    z-index: 3; 
    background-color: var(--dark-secondary);
    color: var(--white);
    padding: 2rem 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.check {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* 6. SERVICES GRID */
.services-section { padding: 8rem 0 5rem 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
}

.header-accent {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 1rem auto 1.5rem;
}

.header-accent-left {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 1rem 0 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background-color: var(--white);
    border-top: 5px solid var(--primary);
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.service-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(194, 89, 22, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 7. BEFORE / AFTER COMPARISON */
.comparison-section { padding: 5rem 0; }
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    border: 4px solid var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    user-select: none;
}
.image-after, .image-before {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.image-before-wrapper {
    position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; z-index: 2;
}
.image-before-wrapper .image-before { width: 1000px; }
@media (max-width: 1050px) {
    .comparison-container { height: 400px; }
    .image-before-wrapper .image-before { width: 100vw; }
}
.slider-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background-color: var(--white); z-index: 3; cursor: ew-resize;
}
.handle-arrows {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 45px; height: 45px; background-color: var(--primary); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: 0 0 15px rgba(0,0,0,0.5); border: 3px solid var(--white);
}
.label {
    position: absolute; bottom: 20px; padding: 6px 15px;
    background-color: var(--dark); color: var(--white); font-size: 0.85rem;
    border-radius: 3px; z-index: 4; letter-spacing: 1px;
}
.label-before { left: 20px; }
.label-after { right: 20px; }

/* 8. FAQ ACCORDION */
.faq-section { padding: 5rem 0; background-color: var(--gray-bg); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.accordion-header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; padding: 1.5rem 2rem;
    font-size: 1.1rem; font-weight: 700; color: var(--dark); text-align: left;
    cursor: pointer; transition: color 0.2s ease;
}
.accordion-header:hover { color: var(--primary); }
.accordion-icon { font-size: 1.2rem; color: var(--primary); transition: transform 0.3s ease; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body p { padding: 0 2rem 1.5rem; color: var(--text-muted); font-size: 1rem; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-item.active { border-left: 4px solid var(--primary); }

/* 9. QUOTE / LEAD FORM */
.quote-section { 
    background-color: var(--dark-secondary); 
    color: var(--white);
    padding: 6rem 0; 
}
.quote-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.quote-text h2 { font-size: 2.5rem; color: var(--white); text-transform: uppercase; letter-spacing: -0.5px; }
.quote-text p { color: #e0e0e0; margin-bottom: 2rem; font-size: 1.1rem; }
.emergency-box {
    background-color: rgba(255, 255, 255, 0.05); border-left: 4px solid var(--primary); padding: 1.5rem;
}
.emergency-box strong { display: block; color: var(--white); margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.1rem; }
.emergency-box i { color: var(--primary); margin-right: 5px; }
.emergency-box a { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1.2rem; }

.quote-form {
    background-color: var(--white); padding: 3rem 2.5rem; border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-top: 6px solid var(--primary);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { 
    display: block; font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.5rem; 
    font-size: 0.8rem; color: var(--dark); text-transform: uppercase; letter-spacing: 1px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 3px;
    font-family: inherit; font-size: 1rem; background-color: var(--gray-bg); transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(194, 89, 22, 0.15);
}
.form-feedback { margin-top: 1.5rem; font-weight: 600; text-align: center; color: var(--dark); }
.form-feedback.success { color: #1a7a3b; padding: 1rem; background: #e8f5e9; border-radius: 4px; }

/* 10. FOOTER */
.main-footer { 
    background-color: var(--dark); 
    color: #aeb5b0; 
    padding: 5rem 0 2rem 0; 
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { color: var(--white); margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; }
.main-footer h3 {
    color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem;
    text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-heading);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #aeb5b0; text-decoration: none; transition: color 0.3s ease; font-weight: 500;}
.footer-links a:hover { color: var(--primary); }
.footer-contact p { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.footer-contact i { color: var(--primary); font-size: 1.2rem; }
.social-icons { margin-top: 1.5rem; }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background-color: rgba(255,255,255,0.05);
    color: var(--white); border-radius: 4px; font-size: 1.3rem; text-decoration: none; transition: all 0.3s ease;
}
.social-icons a:hover { background-color: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem;
}

/* 11. ADVANCED UX: PREMIUM HIGHLIGHTS & SCROLLBAR */
::selection { background-color: var(--primary); color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 6px; border: 3px solid var(--dark); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }

/* 12. ADVANCED UX: SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.services-section.active .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-section.active .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-section.active .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-section.active .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-section.active .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-section.active .service-card:nth-child(6) { transition-delay: 0.6s; }

/* 13. ADVANCED CRO: MOBILE STICKY ACTION BAR */
.mobile-bottom-bar {
    display: none; 
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,0.15); z-index: 2000;
}
.mobile-bar-btn {
    flex: 1; text-align: center; padding: 1rem 0; font-family: var(--font-heading);
    font-weight: 800; font-size: 0.95rem; text-decoration: none; text-transform: uppercase;
}
.mobile-bottom-bar .call-btn { background-color: var(--primary); color: var(--white); }
.mobile-bottom-bar .quote-btn { background-color: var(--dark); color: var(--white); }

/* 14. RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
    .quote-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--white); padding: 1.5rem; border-bottom: 2px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05); gap: 1.2rem;
    }
    .nav-links.active { display: flex; }
    .top-bar-content { justify-content: center; text-align: center; }
    .trust-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
    
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 60px; } 
}