:root {
    /* Color Palette */
    --color-primary: #D32F2F;
    /* Fire Engine Red */
    --color-primary-hover: #B71C1C;
    --color-secondary: #1F2937;
    /* Dark Slate */
    --color-secondary-hover: #111827;
    --color-accent: #F59E0B;
    /* Safety Yellow/Gold */
    --color-text-main: #1F2937;
    --color-text-muted: #6B7280;
    --color-bg-light: #F9FAFB;
    --color-bg-white: #FFFFFF;
    --color-border: #E5E7EB;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-secondary);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

button,
.btn {
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid white;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-bg {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.8)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.hero-sub {
    font-size: 1.35rem;
    color: #F3F4F6;
    margin-bottom: 3rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
}

/* Intro Section */
.lead-text {
    font-size: 1.25rem;
    color: #4B5563;
}

/* Cards */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--color-primary);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Service Page Specifics */
.service-hero {
    background-color: var(--color-secondary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 41, 55, 0.85);
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.service-checklist i {
    color: var(--color-primary);
}

.alert-box {
    background-color: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    color: #92400E;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

cite {
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: white;
    padding: var(--spacing-xl) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: var(--spacing-xl);
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-mission {
    color: #9CA3AF;
    margin-top: 1rem;
    max-width: 320px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #D1D5DB;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #D1D5DB;
}

.contact-item i {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #374151 100%);
    color: white;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-form-info h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-form-info p {
    color: #D1D5DB;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form-info .contact-item {
    margin-bottom: 1.25rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form h3 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.form-group label .required {
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success i {
    color: #10B981;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-muted);
}

@media (max-width: 960px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--color-secondary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu .mobile-actions {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    padding: 0.75rem 0;
}

.mobile-menu .btn {
    text-align: center;
}

@media (max-width: 960px) {

    .split-layout,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .header-actions {
        gap: 0.75rem;
    }

    .header-actions .btn {
        display: none;
    }

    .header-actions .phone-link {
        background-color: var(--color-primary);
        color: white;
        padding: 0.6rem 1rem;
        border-radius: var(--radius-md);
        font-weight: 700;
        font-size: 0.9rem;
        animation: pulse-attention 2s infinite;
    }

    .header-actions .phone-link i {
        display: none;
    }

    .header-actions .phone-link span {
        display: inline;
    }

    .header-actions .phone-link span::before {
        content: "Call Now";
    }

    .header-actions .phone-link span font,
    .header-actions .phone-link span {
        font-size: 0;
    }

    .header-actions .phone-link span::before {
        font-size: 0.9rem;
    }

    @keyframes pulse-attention {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
        }
        50% {
            box-shadow: 0 0 0 8px rgba(211, 47, 47, 0);
        }
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        font-size: 1.1rem;
    }

    .header-container {
        padding: 0 0.5rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}