* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; overflow-x: hidden; }

.reveal { opacity: 0; transform: translateY(24px); }

/* Header */
#main-header { transition: background 0.3s ease, box-shadow 0.3s ease; }
#main-header.scrolled { background: #0D0D0D !important; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* Logo */
.logo-rs { color: #C0001A; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo-name { color: #fff; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo-sub { color: #A3A3A3; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-top: -2px; }

/* Buttons */
.btn-primary {
    background: #C0001A; color: #fff; font-weight: 600; font-size: 0.9rem;
    padding: 14px 28px; border-radius: 6px; border: none; cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    white-space: nowrap;
}
.btn-primary:hover { background: #A0001A; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,0,26,0.3); }
.btn-secondary {
    background: transparent; color: #fff; font-weight: 500; font-size: 0.9rem;
    padding: 13px 28px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    white-space: nowrap;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-dark {
    background: transparent; color: #1A1A1A; font-weight: 600; font-size: 0.9rem;
    padding: 13px 28px; border-radius: 6px; border: 1.5px solid #1A1A1A;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-dark:hover { background: #1A1A1A; color: #fff; }

/* Cards */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px; border: 1px solid #E5E7EB;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }

/* Service icon box */
.icon-box {
    width: 52px; height: 52px; background: #C0001A; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; stroke: #fff; }

/* Portfolio tabs */
.portfolio-tab {
    padding: 14px 28px; border-bottom: 2px solid #E5E7EB;
    color: #6B7280; font-weight: 500; cursor: pointer; font-size: 0.85rem;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s; background: none; border-top: none; border-left: none; border-right: none;
    white-space: nowrap;
}
.portfolio-tab:hover { color: #1A1A1A; }
.portfolio-tab.active { border-bottom-color: #C0001A; color: #1A1A1A; font-weight: 600; }

/* Portfolio grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-tab { padding: 12px 14px; } }

.portfolio-img-wrap {
    position: relative; overflow: hidden; border-radius: 8px;
    aspect-ratio: 4/3; cursor: pointer;
}
.portfolio-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-img-wrap:hover img { transform: scale(1.05); }
.portfolio-img-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0); 
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.portfolio-img-wrap:hover .portfolio-img-overlay { background: rgba(0,0,0,0.4); }
.portfolio-img-overlay svg { opacity: 0; transition: opacity 0.3s; color: white; }
.portfolio-img-wrap:hover .portfolio-img-overlay svg { opacity: 1; }

/* Lightbox */
#lightbox {
    position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
}
#lightbox.active { display: flex; }
#lightbox img { max-height: 85vh; max-width: 90vw; object-fit: contain; border-radius: 4px; }
.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; background: rgba(255,255,255,0.12);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; transition: background 0.2s; color: white;
}
.lb-btn:hover { background: rgba(255,255,255,0.25); }
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-close {
    position: absolute; top: 16px; right: 16px;
    width: 44px; height: 44px; background: rgba(255,255,255,0.12);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; color: white; transition: background 0.2s;
}
#lb-close:hover { background: rgba(255,255,255,0.25); }

/* How it works step number */
.step-num {
    width: 48px; height: 48px; background: #C0001A; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}

/* Location chips */
.location-chip {
    display: inline-block; padding: 6px 14px; border: 1px solid #D1D5DB;
    border-radius: 20px; font-size: 0.85rem; color: #374151;
    background: #fff; white-space: nowrap;
}

/* FAQ */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item { border-bottom: 1px solid #E5E7EB; }

/* Popup modal */
#quote-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; }
#quote-modal.active { display: flex; }
.modal-inner { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.3); }

/* Chip selector */
.chip-option { cursor: pointer; }
.chip-option input { display: none; }
.chip-label {
    display: block; padding: 10px 18px; border: 1.5px solid #E5E7EB;
    border-radius: 6px; font-size: 0.9rem; color: #374151;
    cursor: pointer; transition: all 0.2s; text-align: center;
}
.chip-option input:checked + .chip-label { border-color: black; background: #eeeeee; color: black; font-weight: 600; }

/* Mobile sticky CTA */
.mobile-cta-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: #fff; border-top: 1px solid #E5E7EB;
    padding: 10px 16px; display: flex; gap: 10px;
}
@media (min-width: 768px) { .mobile-cta-bar { display: none; } }

/* B2B benefit icons */
.benefit-icon { width: 44px; height: 44px; background: rgba(192,0,26,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-icon svg { width: 22px; height: 22px; stroke: #C0001A; }

/* Progress bar in modal */
.progress-bar { height: 3px; border-radius: 2px; transition: background 0.3s; }

/* Review card avatar */
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: #C0001A; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}