/* ==========================================================================
   Engage360 Connect — Frontend Consumer Pages
   Clean white style matching central preview screenshot
   ========================================================================== */

:root {
    --e-primary:  #00466d;
    --e-mid:      #006a91;
    --e-border:   #e2e8f0;
    --e-bg:       #f8fafc;
    --e-text:     #1a2332;
    --e-muted:    #64748b;
    --e-radius:   10px;
}

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.e360c-wrap,
.e360c-advisor-section {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 20px 60px;
    color: var(--e-text);
    font-size: 16px;
}
.e360c-wrap *,
.e360c-advisor-section * { box-sizing: border-box; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.e360c-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.e360c-badge--guide   { background: #dcfce7; color: #166534; }
.e360c-badge--video   { background: #fce7f3; color: #9d174d; }
.e360c-badge--quiz    { background: #fef9c3; color: #854d0e; }

/* ── Content Typography ──────────────────────────────────────────────────── */
.e360c-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--e-primary);
    line-height: 1.2;
    margin: 0 0 16px;
}
.e360c-excerpt {
    font-size: 17px;
    color: var(--e-muted);
    line-height: 1.6;
    margin: 0 0 28px;
}
.e360c-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--e-text);
    margin-bottom: 32px;
}

/* ── Cover Image ─────────────────────────────────────────────────────────── */
.e360c-cover { text-align: center; margin: 0 0 32px; }
.e360c-cover img {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,70,109,.15);
}

/* ── Bullets ─────────────────────────────────────────────────────────────── */
.e360c-bullets-heading { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.e360c-bullets { list-style: none; padding: 0; margin: 0 0 32px; }
.e360c-bullets li {
    position: relative;
    padding: 13px 16px 13px 48px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid var(--e-border);
    border-left: 4px solid #66bb6a;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.5;
}
.e360c-bullets li::before {
    content: '✓';
    position: absolute;
    left: 16px; top: 13px;
    color: #66bb6a;
    font-weight: 800;
    font-size: 16px;
}

/* ── Advisor Section ─────────────────────────────────────────────────────── */
.e360c-advisor-section {
    border-top: 1px solid var(--e-border);
    padding-top: 32px;
    margin-top: 40px;
}

/* ── Advisor Card — clean white, no gradient ─────────────────────────────── */
.e360c-advisor-card {
    background: #fff;
    border: 1px solid var(--e-border);
    border-radius: var(--e-radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.e360c-advisor-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
}
.e360c-advisor-headshot {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--e-border);
    flex-shrink: 0;
    display: block;
}
.e360c-advisor-info {
    flex: 1;
    min-width: 0;
}
.e360c-advisor-logo {
    max-height: 34px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
    /* natural colours — no white filter */
}
.e360c-advisor-name {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--e-text);
    margin: 0 0 2px;
    line-height: 1.3;
}
.e360c-advisor-title {
    display: block;
    font-size: 13px;
    color: var(--e-text);
    margin-top: 1px;
}
.e360c-advisor-firm {
    display: block;
    font-size: 13px;
    color: var(--e-muted);
    margin-top: 1px;
}
.e360c-advisor-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}
.e360c-contact-link {
    font-size: 13px;
    color: var(--e-primary);
    text-decoration: none;
    font-weight: 500;
}
.e360c-contact-link:hover { text-decoration: underline; }

/* Bio — sits below the header */
.e360c-advisor-bio {
    padding: 16px 22px;
    font-size: 14px;
    color: var(--e-muted);
    line-height: 1.65;
    border-top: 1px solid var(--e-border);
}

/* ── Contact Form Box ────────────────────────────────────────────────────── */
.e360c-contact-form-box {
    background: #fff;
    border: 1px solid var(--e-border);
    border-radius: var(--e-radius);
    padding: 28px 26px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.e360c-contact-form-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--e-text);
    margin: 0 0 6px;
    line-height: 1.3;
}
.e360c-contact-form-sub {
    font-size: 14px;
    color: var(--e-muted);
    margin: 0 0 22px;
}

/* ── Lead Form ───────────────────────────────────────────────────────────── */
.e360c-lead-form { width: 100%; }

.e360c-lead-form .e360c-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
@media (max-width: 520px) {
    .e360c-lead-form .e360c-form-row { grid-template-columns: 1fr; }
}

.e360c-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
/* rows handle their own spacing */
.e360c-lead-form .e360c-form-row .e360c-form-group { margin-bottom: 0; }

/* Labels — sentence-case, medium weight to match screenshot */
.e360c-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--e-text);
    display: block;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}
.e360c-form-group .req { color: #e53e3e; }

/* Inputs */
.e360c-form-group input,
.e360c-form-group textarea,
.e360c-form-group select {
    padding: 10px 12px;
    border: 1.5px solid var(--e-border);
    border-radius: 7px;
    font-size: 14px;
    background: #fff;
    color: var(--e-text);
    width: 100%;
    font-family: inherit;
    box-shadow: none;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
.e360c-form-group input:focus,
.e360c-form-group textarea:focus {
    border-color: var(--e-mid);
    box-shadow: 0 0 0 3px rgba(0,106,145,.1);
}
.e360c-form-group textarea { min-height: 90px; resize: vertical; }

/* Submit row — button left, privacy text right, matching screenshot */
.e360c-form-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.e360c-submit-btn {
    padding: 12px 28px;
    background: var(--e-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.e360c-submit-btn:hover    { background: #003a5c; }
.e360c-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.e360c-privacy {
    font-size: 12px;
    color: var(--e-muted);
    margin: 0;
}

.e360c-form-success {
    padding: 12px 16px;
    background: #dcfce7;
    color: #166534;
    border-radius: 7px;
    font-size: 14px;
    margin-top: 12px;
    font-weight: 500;
}
.e360c-form-error {
    padding: 12px 16px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 7px;
    font-size: 14px;
    margin-top: 12px;
}

/* ── Guidebook form box ───────────────────────────────────────────────────── */
.e360c-form-box {
    background: #fff;
    border: 1px solid var(--e-border);
    border-radius: var(--e-radius);
    padding: 26px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    margin-bottom: 32px;
}
.e360c-form-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--e-primary);
    margin: 0 0 18px;
}

/* ── Video ───────────────────────────────────────────────────────────────── */
.e360c-video-container {
    margin: 0 0 28px;
    border-radius: var(--e-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.e360c-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.e360c-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ── Confirm / Download ──────────────────────────────────────────────────── */
.e360c-confirm { text-align: center; padding: 40px 20px; }
.e360c-confirm-icon  { font-size: 56px; margin-bottom: 14px; line-height: 1; }
.e360c-confirm-title { font-size: 30px; font-weight: 800; color: var(--e-primary); margin: 0 0 10px; }
.e360c-confirm-body  { font-size: 16px; color: var(--e-muted); margin: 0 0 22px; }
.e360c-confirm-cover {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    margin: 0 auto 22px;
    display: block;
}
.e360c-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: #66bb6a;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}
.e360c-dl-btn:hover { background: #4caf50; color: #fff; }
.e360c-confirm-note { font-size: 13px; color: var(--e-muted); }

/* ── Quiz ────────────────────────────────────────────────────────────────── */
.e360c-quiz-intro { max-width: 600px; margin: 0 auto; text-align: center; }
.e360c-quiz-meta  { font-size: 14px; color: var(--e-muted); margin: 0 0 24px; }
.e360c-quiz-start-btn {
    display: inline-flex;
    padding: 13px 34px;
    background: #66bb6a;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.e360c-quiz-start-btn:hover { background: #4caf50; color: #fff; }
.e360c-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.e360c-progress-bar  { flex: 1; height: 6px; background: var(--e-border); border-radius: 4px; overflow: hidden; }
.e360c-progress-fill { height: 100%; background: #66bb6a; border-radius: 4px; transition: width .3s; }
.e360c-progress-lbl  { font-size: 12px; font-weight: 600; color: var(--e-muted); white-space: nowrap; }
.e360c-q-text { font-size: 19px; font-weight: 700; color: var(--e-primary); line-height: 1.4; margin-bottom: 18px; }
.e360c-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.e360c-opt {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 16px;
    background: #fff;
    border: 2px solid var(--e-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all .15s;
    color: var(--e-text);
}
.e360c-opt:hover { border-color: var(--e-mid); background: #f0f9ff; }
.e360c-opt.sel   { border-color: #66bb6a; background: #f0fdf4; font-weight: 600; }
.e360c-opt-letter {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--e-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    color: var(--e-primary);
    flex-shrink: 0;
}
.e360c-opt.sel .e360c-opt-letter { background: #66bb6a; color: #fff; }
.e360c-quiz-nav { display: flex; justify-content: space-between; gap: 12px; }
.e360c-quiz-back-btn,
.e360c-quiz-next-btn {
    padding: 11px 22px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s;
}
.e360c-quiz-back-btn { background: #fff; border-color: var(--e-border); color: var(--e-muted); }
.e360c-quiz-back-btn:hover { border-color: var(--e-mid); color: var(--e-primary); }
.e360c-quiz-next-btn { background: #66bb6a; color: #fff; border-color: #66bb6a; }
.e360c-quiz-next-btn:hover { background: #4caf50; }
.e360c-score-circle {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: var(--e-primary);
    color: #fff;
    font-size: 30px; font-weight: 900;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.e360c-band-title { font-size: 26px; font-weight: 800; color: var(--e-primary); margin: 0 0 10px; }
.e360c-band-body  { font-size: 15px; color: var(--e-muted); line-height: 1.6; max-width: 520px; margin: 0 auto 28px; }
