:root {
    --bg-start: #0c1a2c;
    --bg-end: #103055;
    --panel: rgba(10, 22, 38, 0.9);
    --panel-strong: #122842;
    --panel-soft: #16375c;
    --text: #eef6ff;
    --muted: #bfd0e3;
    --accent: #26a4e5;
    --accent-strong: #1189cf;
    --accent-alt: #58c13d;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 60px rgba(2, 8, 16, 0.35);
    --status-bg: rgba(38, 164, 229, 0.16);
    --status-text: #8edcff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(88, 193, 61, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(38, 164, 229, 0.18), transparent 28%),
        linear-gradient(160deg, var(--bg-start), var(--bg-end));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.page {
    width: min(980px, 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    padding: 40px;
}

.copy {
    padding: 8px 4px;
}

.brand {
    width: auto;
    max-width: 240px;
    max-height: 76px;
    display: block;
    margin-bottom: 28px;
}

.status,
.eyebrow,
.tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--status-bg);
    color: var(--status-text);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.72;
    max-width: 36rem;
}

a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.image-panel,
.visual {
    min-height: 320px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(17, 137, 207, 0.14), rgba(88, 193, 61, 0.1)),
        linear-gradient(180deg, var(--panel-soft), var(--panel-strong));
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.image-panel img,
.visual img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
}

.footer,
.note {
    padding: 0 40px 36px;
    color: var(--muted);
    font-size: 0.95rem;
}

.note {
    padding: 22px 0 0;
    margin-top: 22px;
    border-top: 1px solid var(--border);
}

.page--mj .content {
    grid-template-columns: 1.15fr 0.85fr;
}

.page--mj .copy {
    position: relative;
}

.page--mj .brand-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    padding: 16px 20px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(88, 193, 61, 0.18), rgba(38, 164, 229, 0.18)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page--mj .brand {
    margin-bottom: 0;
    max-width: 260px;
    max-height: 82px;
}

.page--mj .image-panel {
    min-height: 280px;
}

.page--infrasolutions .content,
.page--bidportal .content {
    grid-template-columns: 0.95fr 1.05fr;
}

.page--infrasolutions .copy {
    padding-top: 2px;
}

.page--infrasolutions .brand {
    max-width: 320px;
    max-height: 104px;
    margin-bottom: 18px;
}

.page--infrasolutions .eyebrow {
    margin-bottom: 14px;
}

.page--infrasolutions h1 {
    font-size: clamp(1.95rem, 3.7vw, 3.1rem);
    margin-bottom: 16px;
}

.page--infrasolutions p {
    font-size: 1rem;
    line-height: 1.64;
    margin-bottom: 14px;
}

.page--bidportal .content {
    grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 820px) {
    body {
        align-items: flex-start;
        padding: 16px;
    }

    .page {
        border-radius: 24px;
    }

    .content,
    .page--mj .content,
    .page--infrasolutions .content,
    .page--bidportal .content {
        grid-template-columns: 1fr;
        padding: 32px 24px 24px;
    }

    .copy {
        padding: 0;
    }

    .brand {
        max-width: min(260px, 100%);
        max-height: 88px;
        margin-bottom: 20px;
    }

    .page--mj .brand {
        max-width: min(240px, 100%);
        max-height: 78px;
    }

    .page--infrasolutions .brand {
        max-width: min(280px, 100%);
        max-height: 92px;
        margin-bottom: 16px;
    }

    .page--mj .brand-wrap {
        margin-bottom: 20px;
        padding: 14px 16px;
    }

    h1,
    .page--infrasolutions h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.1;
    }

    p,
    .page--infrasolutions p {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .status,
    .eyebrow,
    .tag {
        font-size: 0.78rem;
        padding: 7px 12px;
        margin-bottom: 14px;
    }

    .image-panel,
    .visual,
    .page--mj .image-panel {
        min-height: 0;
        padding: 14px;
    }

    .image-panel img,
    .visual img {
        width: 118%;
        max-width: none;
    }

    .footer {
        padding: 0 24px 32px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .page {
        border-radius: 20px;
    }

    .content,
    .page--mj .content,
    .page--infrasolutions .content,
    .page--bidportal .content {
        gap: 20px;
        padding: 24px 18px 20px;
    }

    .brand {
        max-width: min(220px, 100%);
        max-height: 76px;
        margin-bottom: 18px;
    }

    .page--infrasolutions .brand {
        max-width: min(250px, 100%);
        max-height: 84px;
    }

    .page--mj .brand-wrap {
        width: 100%;
        padding: 12px 14px;
    }

    h1,
    .page--infrasolutions h1 {
        font-size: clamp(1.65rem, 9vw, 2.2rem);
    }

    .image-panel,
    .visual {
        border-radius: 20px;
        padding: 10px;
    }

    .image-panel img,
    .visual img {
        width: 128%;
    }

    .footer {
        padding: 0 18px 24px;
        font-size: 0.92rem;
    }
}
