:root {
    --primary: #037dc6;
    --primary-dark: #004a80;
    --accent: #c1132e;
    --emergency: #e0494c;
    --emergency-dark: #862e2e;
    --success-green: #2b8a3e;
    --bg-light: #f8f9fa;
    --bg-dark: #0b1219;
    --text-main: #212529;
    --slate-200: #f1f5f9;
    --slate-800: #024A74;
    --slate-900: #012D46;
    --max-width: 1280px;

    --slate-100: #f1f5f9;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
}

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

body {
    font-family: 'Roboto', sans-serif;
    /* background-color: var(--bg-light); */
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    border-radius: 2px;
}

/* Emergency Bar */
.emergency-bar {
    background: var(--emergency);
    color: white;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--emergency-dark);
}

.emergency-bar .flex-gap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* Logo Stuff */
.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg img {
    width: 20rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1;
    margin: 0;
}


/* Hero Section */
.hero {
    position: relative;
    background: var(--slate-800);
    padding: 8rem 0;
    color: white;
    overflow: hidden;
    border-bottom: 8px solid var(--accent);
}

.hero-center {
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-size: cover;
    background-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--slate-900) 30%, transparent 100%);
    z-index: 1;
}

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

.badge {
    background: var(--accent);
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero-lead {
    font-size: 1.25rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    color: var(--slate-200);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: white;
    height: 64px;
    padding: 0 2.5rem;
    font-size: 1.125rem;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    background: white;
    color: var(--accent);
}

.btn-hero-secondary {
    background: var(--slate-800);
    color: white;
    height: 64px;
    padding: 0 2.5rem;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--slate-800);
}

/* Services Grid */
.services-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-top: 0.5rem;
}

.title-line {
    width: 6rem;
    height: 8px;
    background: var(--primary);
    margin: 1rem auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border: 4px solid var(--slate-200);
    background: white;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
}

.card-img {
    height: 256px;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.service-card:hover .card-img-inner {
    transform: scale(1.05);
}

.card-img-inner {
    height: 100%;
    transition: 0.5s;
    background-position: center;
}

.card-icon {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.75rem;
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-body p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 900;
    font-size: 0.875rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--accent);
}

/* Inspection Section & Form */
.dark-section {
    background: var(--slate-900);
    color: white;
    padding: 5rem 0;
    border-top: 8px solid var(--primary);
    border-bottom: 8px solid var(--primary);
}

.split-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card {
    background: white;
    padding: 2rem;
    border-top: 8px solid var(--accent);
    color: var(--text-main);
}

.form-card h3 {
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input,
select {
    width: 100%;
    border: 2px solid var(--slate-200);
    padding: 0.75rem;
    margin-bottom: 1rem;
    outline: none;
    font-family: inherit;
}

input:focus {
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    font-size: 1rem;
}

.btn-submit:hover {
    background: #07315a;
}



/* Responsive */
@media (max-width: 768px) {
    .emergency-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .desktop-nav {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}