@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;700&family=Archivo+Black&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
    --ink: #12233F;
    --ink-light: #1B3A63;
    --amber: #F5A623;
    --brick: #9C4A3C;
    --paper: #F4F5F3;
    --slate: #2E3338;
    --line: #D9DBD5;
    --green: #28a745;
    --green-dark: #1e7e34;
    --font-display: 'Archivo', sans-serif;
    --font-display-black: 'Archivo Black', sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.65;
    color: var(--slate);
    background: var(--paper);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

header {
    background: var(--ink);
    color: white;
    padding: 1rem;
    text-align: center;
}

header h2 {
    font-family: var(--font-display-black);
    letter-spacing: 0.02em;
    margin: 0 0 0.25rem 0;
}

nav {
    background: var(--ink-light);
    padding: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--amber);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--ink);
}

.hero picture,
.hero picture {
    display: block;
    width: 100%;
}

.hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 35, 63, 0.15);
    pointer-events: none;
}

.hero-text {
    background: var(--ink);
    color: white;
    text-align: center;
    padding: 3rem 20px;
    border-bottom: 4px solid var(--amber);
}

.hero-text h1 {
    font-family: var(--font-display-black);
    font-size: 2.4rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.92;
    margin-bottom: 1.25rem;
}

.button {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background 0.15s ease;
}

.button:hover {
    background: var(--green-dark);
}

.button:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
}

.content {
    min-height: 400px;
}

footer {
    background: var(--ink);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: var(--amber);
}

/* ---------- Content cards (generic sections) ---------- */

.content > section {
    background: white;
    border-left: 4px solid var(--amber);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(18, 35, 63, 0.08);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.content > section h2 {
    color: var(--ink);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content > section ul {
    padding-left: 1.25rem;
}

.content > section li {
    margin-bottom: 0.4rem;
}

/* Muted panels for background/context sections */
#sensitive-clearances,
#gallery,
#coverage {
    background: var(--paper);
    border-left-color: var(--ink-light);
}

/* ---------- Fast Answers: chip strip ---------- */

.fast-answers {
    background: var(--ink);
    padding: 2rem 0;
}

.fast-answers h2 {
    color: white;
    font-family: var(--font-display);
    text-align: center;
    margin-bottom: 1.25rem;
}

.fast-answers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.fast-answers-list li {
    background: white;
    border-radius: 4px;
    padding: 1rem 1.1rem;
    border-top: 3px solid var(--amber);
}

.fast-answers-list strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* ---------- Pricing: ticket/docket cards ---------- */

#pricing {
    background: white;
    border-left-color: var(--brick);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.25rem 0;
    background: var(--paper);
    border: 2px dashed var(--brick);
    border-radius: 6px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 0.9rem 1rem;
    text-align: left;
}

.pricing-table th {
    background: var(--ink);
    color: white;
    font-family: var(--font-display);
    font-weight: 500;
}

.pricing-table td {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    border-top: 1px solid var(--line);
}

.pricing-table tr:first-child td {
    border-top: none;
}

/* ---------- Our Process: real numbered timeline ---------- */

#our-process p {
    font-family: var(--font-body);
    line-height: 2.1;
}

/* ---------- FAQ ---------- */

#faq {
    background: white;
}

#faq details {
    border: 1px solid var(--line);
    border-left: 4px solid var(--ink-light);
    border-radius: 4px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
    background: var(--paper);
}

#faq summary {
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    color: var(--ink);
}

#faq details p {
    margin-bottom: 0;
    margin-top: 0.6rem;
}

/* ---------- Related Services ---------- */

#related-services ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#related-services li a {
    display: inline-block;
    background: var(--ink);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s ease;
}

#related-services li a:hover {
    background: var(--amber);
    color: var(--ink);
}

/* ---------- Quote Form: docket style ---------- */

#quote-form {
    background: var(--paper);
    border: 2px dashed var(--brick);
    border-left: none;
    border-radius: 6px;
}

#quote-form form label {
    display: block;
    margin-bottom: 0.9rem;
    font-weight: 500;
    color: var(--ink);
}

#quote-form input,
#quote-form textarea,
#quote-form select {
    width: 100%;
    max-width: 500px;
    padding: 0.6rem 0.75rem;
    font-family: var(--font-body);
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-top: 0.35rem;
}

/* ---------- Final CTA band ---------- */

.final-cta {
    background: var(--brick);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.final-cta h2 {
    font-family: var(--font-display-black);
    font-size: 2rem;
}

.final-cta .button {
    background: white;
    color: var(--brick);
}

.final-cta .button:hover {
    background: var(--paper);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .content > section {
        padding: 1.25rem 1.25rem;
    }
}

/* ---------- Our Process: numbered timeline ---------- */

.process-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.process-timeline li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.5rem 3rem;
    border-left: 2px solid var(--line);
    margin-left: 0.9rem;
}

.process-timeline li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.process-timeline li::before {
    content: counter(step);
    position: absolute;
    left: -1rem;
    top: -0.1rem;
    width: 1.9rem;
    height: 1.9rem;
    background: var(--ink);
    color: white;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Hero background image ---------- */



/* ---------- Mobile nav toggle ---------- */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    nav .container {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-toggle {
        display: flex;
    }

    nav .container a {
        display: none;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }

    nav .container.open a {
        display: block;
    }

}

/* ---------- Contact link stands out in nav ---------- */

nav a[href="/contact/"] {
    background: var(--green);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-weight: 700;
}

nav a[href="/contact/"]:hover {
    background: #1e7e34;
}
