:root {
    --navy: #0c1729;
    --orange: #f59e0b;
    --orange-dark: #df8300;
    --page: #f4f7fa;
    --surface: #ffffff;
    --text: #152033;
    --muted: #667085;
    --line: #e3e9f0;
    --shadow: 0 16px 38px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.advisor-shell {
    width: min(1220px, 92%);
    margin-inline: auto;
}

.advisor-header {
    background: var(--navy);
    color: #fff;
}

.header-inner {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.advisor-logo {
    font-size: 22px;
    font-weight: 800;
}

.advisor-logo span,
.advisor-logo strong {
    color: var(--orange);
}

.advisor-header nav {
    display: flex;
    gap: 26px;
}

.advisor-header nav a {
    color: #dbe3ee;
    font-weight: 700;
}

.advisor-header nav a:hover,
.advisor-header nav a.active {
    color: var(--orange);
}

.advisor-hero {
    padding: 72px 0 62px;
    text-align: center;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(245, 158, 11, .18),
            transparent 17rem
        ),
        linear-gradient(135deg, #fff, #edf7f4);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
}

.advisor-hero h1 {
    margin: 14px 0 18px;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
}

.advisor-hero p {
    max-width: 740px;
    margin: auto;
    color: #607083;
    font-size: 18px;
    line-height: 1.65;
}

.advisor-content {
    padding: 36px 0 72px;
}

.advisor-box {
    padding: 24px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.advisor-box > label {
    display: block;
    margin-bottom: 12px;
    color: var(--navy);
    font-weight: 800;
    font-size: 18px;
}

.advisor-input-row {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 14px;
}

.advisor-input-row textarea {
    min-height: 110px;
    resize: vertical;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #d5dde7;
    font: inherit;
    outline: none;
}

.advisor-input-row textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .14);
}

.advisor-input-row button {
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--orange),
        var(--orange-dark)
    );
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
}

.example-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.example-prompts button {
    padding: 9px 12px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    color: #536174;
    background: #f8fafc;
    font-weight: 700;
    cursor: pointer;
}

.advisor-status {
    margin: 26px 0 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff8e8;
    border: 1px solid #f7d99a;
    color: #7a5100;
    font-weight: 700;
}

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

.advisor-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.advisor-card-media {
    position: relative;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(145deg, #f8fafc, #eaf0f6);
}

.advisor-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 260px;
    max-height: 220px;
}

.advisor-card-brand {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--navy);
    font-size: 11px;
    font-weight: 900;
}

.advisor-card-body {
    padding: 20px;
}

.advisor-card-category {
    margin: 0 0 8px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.advisor-card h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
}

.advisor-card-power {
    min-height: 42px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.5;
}

.advisor-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.advisor-card-actions a {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 9px;
    font-weight: 800;
}

.advisor-details {
    margin-left: auto;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--orange),
        var(--orange-dark)
    );
}

.advisor-pdf {
    color: var(--navy);
    background: #f3f6f9;
    border: 1px solid #dce4ed;
}

.advisor-footer {
    padding: 30px 0;
    text-align: center;
    color: #cad3df;
    background: var(--navy);
    border-top: 3px solid var(--orange);
}

@media (max-width: 930px) {
    .advisor-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .header-inner {
        padding: 17px 0;
        flex-direction: column;
    }

    .advisor-header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .advisor-input-row {
        grid-template-columns: 1fr;
    }

    .advisor-input-row button {
        min-height: 52px;
    }

    .advisor-results {
        grid-template-columns: 1fr;
    }
}
