/* ServiceFind Global Design System - 2026 */
:root { 
    --sf-blue: #0284c7; 
    --sf-green: #01a982; 
    --sf-navy: #0f172a; 
    --sf-slate: #334155; 
}

body { font-family: 'Roboto', sans-serif; background-color: #fcfcfc; color: #334155; overflow-x: hidden; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Lato', sans-serif; }

/* Navbar Overrides */
#sf-header { border-bottom: 1px solid #eee; padding: 15px 0; background: #fff; }
#sf-header .navbar-brand { font-weight: 800; color: var(--sf-navy) !important; font-size: 1.5rem; }
#sf-header .navbar-brand span { color: #0f172a; }
#sf-header .btn-blue-cta { background-color: var(--sf-blue); color: #fff !important; border-radius: 50px; font-weight: bold; padding: 10px 25px; border: none; transition: 0.3s; }
#sf-header .btn-blue-cta:hover { background-color: #0369a1; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Typography Helpers */
.sf-underline { text-decoration: underline; }
.sf-list-standard { font-size: 1.1rem; line-height: 1.8; }
.sf-lead-text { font-size: 1.1rem; line-height: 1.7; }
.sf-text-navy { color: #0f172a; }
.section-header-green { color: #01a982; }

/* Visual Proof Arsenal */
.proof-badge { background: #e6f6f3; color: #01a982; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 5px 14px; border-radius: 20px; display: inline-block; margin-bottom: 12px; }
.proof-stars-container { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; background: #fefce8; border: 1px solid #fde68a; border-radius: 12px; padding: 6px 16px; }
.proof-stars { color: #facc15; font-size: 16px; }
.proof-rating { font-weight: 900; font-size: 18px; color: #0f172a; }
.proof-count { font-size: 12px; color: #6b7280; }
.proof-card-wrap { border-radius: 14px; overflow: hidden; height: 220px; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.proof-img { width: 100%; height: 100%; object-fit: cover; }
.proof-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); padding: 16px; color: #fff; font-size: 12px; font-weight: 700; }

/* Review Cards */
.review-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 30px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); height: 100%; transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.review-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--sf-green); margin-bottom: 15px; }
.star-rating { color: #facc15; font-size: 0.9rem; margin-bottom: 10px; }
.review-text { font-style: italic; color: #475569; margin-bottom: 15px; }
.review-author { font-weight: bold; color: var(--sf-navy); margin-bottom: 2px; }
.review-location { color: var(--sf-green); font-weight: 600; font-size: 0.85rem; }

/* AI Calculator */
.sf-calc-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff; }
.sf-calc-badge { background: rgba(1,169,130,.2); color: #01a982; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(1,169,130,.3); display: inline-block; margin-bottom: 16px; }
.sf-calc-desc { color: #94a3b8 !important; max-width: 600px; margin: 0 auto; }
.sf-calc-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 32px; }
.sf-calc-label { color: #94a3b8; font-size: 12px; font-weight: 700; letter-spacing: .5px; margin-bottom: 6px; display: block; }
.sf-calc-input { background: #1e293b !important; color: #e2e8f0 !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 10px !important; padding: 12px !important; }
.sf-calc-submit { width: 100%; background: linear-gradient(90deg, #01a982, #0284c7); border: none; color: #fff; border-radius: 12px; padding: 14px; font-weight: 900; font-size: 15px; cursor: pointer; letter-spacing: .5px; transition: .2s; }
.sf-calc-submit:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(1,169,130,0.4); }
.sf-calc-result-placeholder { color: #94a3b8; height: 100%; display: flex; align-items: center; justify-content: center; }
.sf-calc-icon { font-size: 60px; margin-bottom: 16px; }
.sf-calc-hint { background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 8px; font-size: 11px; color: #64748b; }

/* Urgency Buttons */
.sf-urgency-btn { border-radius: 10px; padding: 10px; font-size: 12px; font-weight: 700; transition: all 0.2s ease; border: 1px solid transparent; }
.sf-urgency-btn.active { transform: scale(1.05); box-shadow: 0 0 15px rgba(255,255,255,0.1); }
.sf-urgency-btn-emergency { background: rgba(239,68,68,.15); color: #fca5a5; border-color: rgba(239,68,68,.3); }
.sf-urgency-btn-week { background: rgba(245,158,11,.15); color: #fcd34d; border-color: rgba(245,158,11,.3); }
.sf-urgency-btn-planned { background: rgba(1,169,130,.15); color: #6ee7b7; border-color: rgba(1,169,130,.3); }

/* Map & Footer */
.sf-map-header { background: #f8fafc; text-align: center; padding: 40px 20px 0; }
.sf-map-header h2 { color: #0f172a; }
.sf-map-container { height: 420px; overflow: hidden; }
.sf-map-iframe { border: 0; display: block; }
#sf-footer { background-color: #0f172a; color: #94a3b8; padding: 80px 0 40px; }
.sf-footer-text { line-height: 1.8; }
.disclaimer { font-size: 11px; opacity: 0.7; line-height: 1.8; margin-top: 20px; }
.copyright { letter-spacing: 2px; font-weight: 700; text-transform: uppercase; margin-top: 30px; font-size: 11px; }

/* Messaging / Bot UI */
.sf-msg-bot { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 13px; color: #334155; max-width: 90%; align-self: flex-start; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 10px; }
.sf-msg-user { background: #01a982; color: #fff; border-radius: 14px 14px 4px 14px; padding: 12px 14px; font-size: 13px; max-width: 85%; align-self: flex-end; margin-bottom: 10px; }
.sf-promo-box { display: none; background: #e8f0fe; padding: 8px; border-radius: 4px; margin-top: 8px; font-weight: bold; color: #1a73e8; text-align: center; border: 1px solid #1a73e8; }

/* BENTO 2.0 LIQUID GLASS HERO */
.sf-hero-bento {
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

.sf-hero-overlay {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sf-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

/* SERVICE GRID TILES (BENTO) */
.service-tile {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.service-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--sf-green);
}

.service-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.service-tile-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* CHATBOT WIDGET STYLES (LIQUID GLASS) */
.sf-chat-widget-container {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
    width: 100%;
    border: 1px solid #e2e8f0;
}

.sf-chat-header {
    background: var(--sf-green);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sf-chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sf-chat-input-area {
    padding: 1rem;
    border-top: 1px solid #f1f5f9;
    background: white;
}

.sf-chat-input-field {
    flex: 1;
    background: #f1f5f9;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    outline: none;
    color: #1e293b;
}

.sf-chat-send-btn {
    background: var(--sf-green);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.sf-chat-send-btn:hover {
    background: #01896a;
    box-shadow: 0 4px 12px rgba(1, 169, 130, 0.3);
}

/* FAQ STYLE FIXES */
.sf-faq-summary {
    padding: 24px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sf-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.sf-faq-item:hover {
    border-color: var(--sf-green);
    box-shadow: 0 4px 12px rgba(1, 169, 130, 0.1);
}


/* HOME PAGE SPECIFIC COMPONENTS */

/* Hero Highlight */
.highlight-clean {
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)), url('../assets/img/home-service-final-min.png') center/cover no-repeat;
}

/* Features Clean */
.features-clean { padding: 60px 0; background: #fff; border-bottom: 1px solid #eee; }
.features-clean .icon { font-size: 40px; color: var(--sf-green); margin-bottom: 20px; }

/* Sticky Filter Bar */
.filter-nav-wrapper {
    position: sticky; top: 0; z-index: 1020; background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-bottom: 1px solid #eaeaea;
}
.filter-nav { display: flex; overflow-x: auto; white-space: nowrap; padding: 15px 20px; }
.filter-nav::-webkit-scrollbar { display: none; }
.filter-nav a {
    color: #495057; font-weight: 600; padding: 8px 18px; margin-right: 10px;
    border-radius: 30px; background: #f1f3f5; text-decoration: none; font-size: 0.95rem;
    transition: all 0.2s; border: 1px solid transparent;
}
.filter-nav a:hover, .filter-nav a.active { background: #e6f6f4; color: var(--sf-green); border-color: var(--sf-green); }

/* Section Titles & Layouts */
.section-title { font-size: 2.2rem; font-weight: 900; color: var(--sf-navy); margin-bottom: 1.5rem; text-align: center; }
.section-subtitle { font-size: 1.2rem; color: var(--sf-slate); text-align: center; max-width: 800px; margin: 0 auto 3rem; line-height: 1.6; }
.content-block { padding: 80px 0; }
.content-block:nth-child(even) { background-color: #f8f9fa; }

/* Global CTA helpers */
.service-cta-link {
    font-weight: 700; color: var(--sf-green); text-decoration: none; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 0.5px; display: inline-flex; align-items: center;
}
.service-cta-link i { margin-left: 5px; transition: transform 0.2s; }
.service-cta-link:hover { color: #01896a; text-decoration: none; }
.service-cta-link:hover i { transform: translateX(5px); }

/* --- Navigation & Sticky Components --- */
.sf-main-nav {
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.sf-nav-container {
    height: 70px;
}

.sf-nav-logo-wrap {
    gap: 20px;
}

.sf-nav-links {
    gap: 25px;
}

/* --- Filter Nav Bento --- */
.sf-filter-nav-wrapper {
    position: sticky; 
    top: 70px; /* Below main nav */
    z-index: 1040; 
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    border-bottom: 1px solid #eaeaea;
}


/* Utility Classes */
.text-sf-green { color: var(--sf-green) !important; }

/* Accessibility & Display Helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sf-hidden {
    display: none !important;
}

.sf-filter-scroll-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
}

/* Standard property wrapped in supports to resolve some linter warnings */
@supports (scrollbar-width: none) {
    .sf-filter-scroll-wrapper {
        scrollbar-width: none;
    }
}

.sf-filter-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.sf-filter-nav-inner {
    gap: 12px;
    min-width: max-content;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 20px;
}

/* --- FAQ & Lists --- */
.sf-faq-container .card {
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: none !important;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.sf-faq-btn {
    font-weight: 600;
    color: var(--sf-navy);
    text-decoration: none !important;
    padding: 1.25rem;
    text-align: left;
    width: 100%;
    display: block;
    border: none;
    background: none;
}

.sf-faq-btn:hover {
    background: rgba(46, 204, 113, 0.05);
}

/* --- Calculator & Results --- */
.sf-calc-result-wrap {
    width: 100%;
}

.sf-calc-result-header {
    text-align: center;
    margin-bottom: 20px;
}

.sf-calc-result-price-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.sf-calc-result-price {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.sf-calc-result-sub {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}

.sf-calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.sf-calc-result-item {
    background: rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 12px;
}

.sf-calc-result-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.sf-calc-result-val {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

.sf-calc-result-note {
    color: #64748b;
    font-size: 11px;
    text-align: center;
    margin-bottom: 16px;
}

/* --- Footer --- */
.sf-footer {
    background: var(--sf-navy);
    color: #fff;
    padding: 60px 0 30px;
}

.sf-footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.sf-footer a:hover {
    color: var(--sf-green);
    text-decoration: none;
}

.sf-footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
/* --- Video Synthesis & YouTube Gallery --- */
.sf-video-synthesis {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-badge {
    background: rgba(1, 169, 130, 0.1);
    color: var(--sf-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
}
