:root {
    color-scheme: dark;
    --bg: #0b0e0d;
    --panel: #111614;
    --panel-soft: #17201d;
    --text: #f4f0e8;
    --muted: #b8c3b8;
    --line: rgba(244, 240, 232, 0.16);
    --accent: #8cc7a1;
    --accent-strong: #9f2d29;
    --danger: #ff9f8d;
    --success: #a9deb5;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 72px);
    background: rgba(6, 8, 7, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: clamp(150px, 15vw, 230px);
    height: 44px;
    object-fit: contain;
    object-position: left center;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0;
}

.brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 34px);
    color: var(--muted);
    font-size: 0.92rem;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 132px clamp(18px, 5vw, 72px) 82px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 8, 7, 0.96) 0%, rgba(6, 8, 7, 0.86) 34%, rgba(6, 8, 7, 0.34) 78%, rgba(6, 8, 7, 0.12) 100%),
        linear-gradient(0deg, rgba(11, 14, 13, 0.92) 0%, rgba(11, 14, 13, 0) 40%),
        url('../images/investigation-hero.png') center right / cover no-repeat;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    width: min(780px, 100%);
}

.hero-logo {
    display: block;
    width: min(430px, 78vw);
    height: auto;
    margin: 0 0 34px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.58));
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.05;
}

h1 {
    margin-bottom: 18px;
    max-width: 760px;
    font-size: clamp(3.5rem, 7vw, 7.1rem);
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.38rem;
}

.hero-copy {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--accent-strong);
    color: #fff8f1;
}

.button.secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.button:hover {
    transform: translateY(-1px);
}

.band,
.section {
    padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.band {
    background: #101513;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.intro p:last-child,
.contact-copy p,
.service-card p,
.case-row p {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 260px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.card-rule {
    display: block;
    width: 52px;
    height: 3px;
    margin-bottom: 28px;
    background: var(--accent);
}

.case-list {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.case-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 28px;
    background: var(--panel-soft);
}

.case-row > span {
    color: var(--accent-strong);
    font-weight: 800;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
    gap: clamp(28px, 6vw, 82px);
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #090d0b;
    color: var(--text);
    font: inherit;
    padding: 13px 14px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(140, 199, 161, 0.46);
    border-color: var(--accent);
}

.form-status {
    margin: 0;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--danger);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 72px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 820px) {
    .site-header {
        position: absolute;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        min-height: 780px;
        align-items: flex-end;
        padding-top: 150px;
    }

    .hero-media {
        background:
            linear-gradient(0deg, rgba(11, 14, 13, 0.96) 0%, rgba(11, 14, 13, 0.52) 74%, rgba(11, 14, 13, 0.28) 100%),
            url('../images/investigation-hero.png') center / cover no-repeat;
    }

    .hero-logo {
        width: min(360px, 88vw);
        margin-bottom: 28px;
    }

    .intro,
    .contact-section,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        font-size: 0.84rem;
    }

    h1 {
        font-size: 3.2rem;
    }

    .case-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-form,
    .service-card,
    .case-row {
        padding: 22px;
    }
}
