/* ================================================================
   OTGD IV Quiz — Executive Theme
   Navy + Gold | Clean Sans-Serif | Premium Medical
   ================================================================ */

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

/* ---------- Container ---------- */
.otgd-quiz-wrap {
    --navy:     #0a1628;
    --navy-mid: #131f36;
    --navy-lt:  #1b2b48;
    --gold:     #c9a96e;
    --gold-lt:  #dcc089;
    --gold-bg:  rgba(201,169,110,.08);
    --slate:    #8a96a8;
    --white:    #ffffff;
    --radius:   12px;

    max-width: 760px;
    margin: 60px auto;
    padding: 0 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Progress ---------- */
.otgd-progress-wrap {
    height: 4px;
    background: #e4e8ef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.otgd-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    border-radius: 4px;
    transition: width .5s cubic-bezier(.4,0,.2,1);
}
.otgd-step-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 40px;
}

/* ---------- Question slide ---------- */
.otgd-question {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .45s ease, transform .45s ease;
    position: absolute;
    width: 100%;
    pointer-events: none;
}
.otgd-question.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}
.otgd-question.exit-up {
    opacity: 0;
    transform: translateY(-24px);
}
.otgd-questions {
    position: relative;
    min-height: 420px;
}

.otgd-question h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: var(--navy);
    margin: 0 0 32px;
}

/* ---------- Answer options ---------- */
.otgd-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.otgd-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1.5px solid #dce1ea;
    border-radius: var(--radius);
    padding: 18px 22px;
    cursor: pointer;
    transition: all .25s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}
.otgd-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-bg), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.otgd-option:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(201,169,110,.12);
}
.otgd-option:hover::before {
    opacity: 1;
}
.otgd-option:active {
    transform: scale(.985);
}

.otgd-option-letter {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    position: relative;
    z-index: 1;
    transition: background .25s ease, color .25s ease;
}
.otgd-option:hover .otgd-option-letter {
    background: var(--gold);
    color: var(--navy);
}
.otgd-option-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--navy);
    position: relative;
    z-index: 1;
}

/* Selected flash */
.otgd-option.selected {
    border-color: var(--gold);
    background: var(--gold-bg);
}
.otgd-option.selected .otgd-option-letter {
    background: var(--gold);
    color: var(--navy);
}

/* ---------- Result screen ---------- */
.otgd-result {
    animation: otgdFadeUp .6s ease both;
}
@keyframes otgdFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.otgd-result-badge {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}
.otgd-result-card {
    background: var(--navy);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(10,22,40,.18);
}
.otgd-result-img-wrap {
    flex: 0 0 280px;
    min-height: 320px;
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.otgd-result-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.otgd-result-img-wrap img[src=""],
.otgd-result-img-wrap img:not([src]) {
    display: none;
}
.otgd-result-body {
    flex: 1;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.otgd-result-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--white);
    margin: 0 0 16px;
    line-height: 1.2;
}
.otgd-result-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
    margin: 0 0 28px;
}

/* Booking CTA */
.otgd-btn-book {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all .3s ease;
    text-align: center;
    box-shadow: 0 4px 16px rgba(201,169,110,.25);
}
.otgd-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,169,110,.35);
    color: var(--navy) !important;
}

/* Footer / contact */
.otgd-result-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e4e8ef;
}
.otgd-result-footer > p {
    font-size: 14px;
    color: var(--slate);
    margin: 0 0 16px;
}
.otgd-contact-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.otgd-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy) !important;
    text-decoration: none !important;
    transition: color .2s;
}
.otgd-contact-link:hover {
    color: var(--gold) !important;
}
.otgd-contact-link svg {
    opacity: .6;
}
.otgd-btn-retake {
    background: none;
    border: 1.5px solid #dce1ea;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--slate);
    cursor: pointer;
    transition: all .25s;
}
.otgd-btn-retake:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* ---------- No-image fallback ---------- */
.otgd-result-no-img .otgd-result-card {
    flex-direction: column;
}
.otgd-result-no-img .otgd-result-img-wrap {
    display: none;
}
.otgd-result-no-img .otgd-result-body {
    text-align: center;
    padding: 52px 48px;
}

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
    .otgd-quiz-wrap {
        margin: 32px auto;
        padding: 0 16px;
    }
    .otgd-question h2 {
        font-size: 22px;
    }
    .otgd-option {
        padding: 14px 16px;
        gap: 12px;
    }
    .otgd-option-letter {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .otgd-option-text {
        font-size: 14px;
    }
    .otgd-result-card {
        flex-direction: column;
    }
    .otgd-result-img-wrap {
        flex: none;
        min-height: 220px;
    }
    .otgd-result-body {
        padding: 28px 24px;
    }
    .otgd-result-body h2 {
        font-size: 24px;
    }
    .otgd-questions {
        min-height: 480px;
    }
}
