/* ============================================================
   NextGen Tutors — Tutor Profile + Content Pages
   ============================================================ */

/* ===================== VERIFICATION BADGES ===================== */
.vbadges { display: flex; flex-wrap: wrap; gap: 10px; }
.vbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(174,206,97,0.12); border: 1px solid rgba(174,206,97,0.4);
  color: var(--lime); padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}
.vbadge svg { width: 14px; height: 14px; }
/* on light bg */
.vbadge--light { background: var(--lime-soft); border-color: rgba(174,206,97,0.5); color: var(--navy); }
.vbadge--light svg { color: var(--lime-deep); }

/* ===================== TUTOR PROFILE HEADER ===================== */
.profile-head { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 44px) 0 56px; }
.profile-head__inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 860px) { .profile-head__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; } }
.profile-photo { width: 150px; height: 150px; border-radius: var(--r-xl); overflow: hidden; border: 5px solid var(--lime); box-shadow: var(--sh-lg); flex-shrink: 0; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-id__crumb { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
@media (max-width: 860px){ .profile-id__crumb { justify-content: center; } }
.profile-id__crumb a:hover { color: var(--lime); }
.profile-id__crumb svg { width: 13px; height: 13px; }
.profile-name { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 50px); line-height: 0.98; }
.profile-degree { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lime); margin: 12px 0 16px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px){ .profile-degree { justify-content: center; } }
.profile-degree svg { width: 16px; height: 16px; }
.profile-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 860px){ .profile-meta { justify-content: center; } }
.profile-meta__i .v { font-family: var(--font-serif); font-weight: 900; font-style: italic; font-size: 24px; color: #fff; display: flex; align-items: center; gap: 6px; }
.profile-meta__i .v svg { width: 18px; height: 18px; fill: var(--amber); stroke: var(--amber); }
.profile-meta__i .l { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-top: 4px; }
.profile-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 200px; }
.profile-price { font-family: var(--font-serif); font-weight: 900; text-align: center; }
.profile-price .n { font-size: 40px; font-style: italic; color: var(--lime); }
.profile-price .r { font-size: 20px; color: var(--lime); }
.profile-price .h { font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.6); font-family: var(--font-sans); }

.profile-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 940px) { .profile-grid { grid-template-columns: 1fr; } }

/* ===================== VETTING STEPS ===================== */
.vsteps { display: flex; flex-direction: column; gap: 14px; }
.vstep { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; background: var(--slate-50); border: 1.5px solid var(--slate-200); border-radius: var(--r-lg); padding: 18px 20px; transition: border-color .25s; }
.vstep:hover { border-color: var(--lime); }
.vstep__n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 900; font-size: 15px; flex-shrink: 0; }
.vstep__t { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 15px; color: var(--navy); }
.vstep__d { font-size: 12.5px; line-height: 1.55; color: var(--slate-500); font-weight: 500; margin-top: 5px; }
.vstep__check { display: inline-flex; align-items: center; gap: 5px; background: var(--lime-soft); color: var(--navy); font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 10px; border-radius: var(--r-pill); flex-shrink: 0; white-space: nowrap; }
.vstep__check svg { width: 12px; height: 12px; color: var(--lime-deep); }

/* ===================== DOCUMENTS (read-only + modal) ===================== */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 520px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card { position: relative; text-align: left; background: #fff; border: 2px solid var(--slate-200); border-bottom-width: 6px; border-radius: var(--r-md); padding: 16px; display: flex; gap: 14px; align-items: center; transition: transform .25s var(--ease-spring), box-shadow .25s, border-color .25s; cursor: pointer; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-bottom-color: var(--lime); }
.doc-card__thumb { width: 48px; height: 60px; border-radius: 6px; background: linear-gradient(160deg, var(--blue), var(--navy)); position: relative; flex-shrink: 0; overflow: hidden; box-shadow: var(--sh-sm); }
.doc-card__thumb::before { content: ""; position: absolute; left: 7px; right: 7px; top: 10px; height: 3px; background: rgba(255,255,255,0.5); box-shadow: 0 7px 0 rgba(255,255,255,0.35), 0 14px 0 rgba(255,255,255,0.25), 0 21px 0 rgba(255,255,255,0.2); border-radius: 2px; }
.doc-card__thumb svg { position: absolute; bottom: 6px; right: 6px; width: 14px; height: 14px; color: var(--lime); }
.doc-card__t { font-weight: 900; font-size: 13px; color: var(--navy); text-transform: uppercase; letter-spacing: -0.01em; }
.doc-card__s { font-size: 10.5px; font-weight: 700; color: var(--slate-400); margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.doc-card__s svg { width: 12px; height: 12px; color: var(--lime-deep); }
.doc-card__lock { margin-left: auto; color: var(--slate-300); }
.doc-card__lock svg { width: 16px; height: 16px; }

.docmodal { position: fixed; inset: 0; z-index: 6000; display: none; align-items: center; justify-content: center; padding: 24px; }
.docmodal.is-open { display: flex; }
.docmodal__backdrop { position: absolute; inset: 0; background: rgba(6,21,40,0.78); backdrop-filter: blur(6px); }
.docmodal__dialog { position: relative; z-index: 1; width: min(560px, 100%); background: #fff; border-radius: var(--r-xl); border-bottom: 8px solid var(--lime-deep); overflow: hidden; box-shadow: var(--sh-2xl, 0 40px 90px rgba(0,0,0,0.4)); }
.docmodal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--slate-100); }
.docmodal__title { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 17px; color: var(--navy); }
.docmodal__close { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--slate-100); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.docmodal__close:hover { background: var(--slate-200); }
.docmodal__close svg { width: 18px; height: 18px; color: var(--navy); }
.docmodal__body { padding: 24px; }
.doc-preview { position: relative; background: var(--slate-50); border: 1.5px solid var(--slate-200); border-radius: var(--r-md); padding: 30px; min-height: 280px; overflow: hidden; }
.doc-preview__watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: rotate(-22deg); pointer-events: none; }
.doc-preview__watermark span { font-family: var(--font-serif); font-weight: 900; font-size: 46px; color: rgba(21,128,61,0.1); border: 4px solid rgba(21,128,61,0.12); padding: 8px 22px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.doc-line { height: 10px; background: var(--slate-200); border-radius: 4px; margin-bottom: 12px; }
.doc-line.w-60 { width: 60%; } .doc-line.w-80 { width: 80%; } .doc-line.w-40 { width: 40%; } .doc-line.w-90 { width: 90%; }
.doc-redact { height: 10px; background: var(--slate-800); border-radius: 4px; margin-bottom: 12px; opacity: 0.85; }
.doc-preview__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--slate-200); }
.doc-preview__seal { width: 44px; height: 44px; border-radius: 50%; background: var(--lime-soft); display: flex; align-items: center; justify-content: center; }
.doc-preview__seal svg { width: 22px; height: 22px; color: var(--lime-deep); }
.docmodal__foot { padding: 16px 24px; background: var(--slate-50); display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--slate-500); }
.docmodal__foot svg { width: 15px; height: 15px; color: var(--lime-deep); }

/* ===================== CALENDAR ===================== */
.cal { background: #fff; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__month { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 17px; color: var(--navy); }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--slate-100); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cal__nav button:hover { background: var(--slate-200); }
.cal__nav svg { width: 16px; height: 16px; color: var(--navy); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__dow { text-align: center; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--slate-400); padding: 6px 0; }
.cal__day { aspect-ratio: 1; border-radius: var(--r-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--slate-600); position: relative; border: 1.5px solid transparent; transition: all .18s; }
.cal__day.is-empty { visibility: hidden; }
.cal__day.has-slots { cursor: pointer; background: var(--slate-50); border-color: var(--slate-200); }
.cal__day.has-slots:hover { border-color: var(--lime); background: var(--lime-soft); }
.cal__day.is-booked { background: var(--navy); color: #fff; cursor: pointer; }
.cal__day.is-booked:hover { background: var(--blue); }
.cal__day.is-selected { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime); }
.cal__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-top: 3px; }
.cal__day.is-booked .cal__dot { background: var(--amber); }
.cal-legend { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--slate-500); }
.cal-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.cal-slots { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--slate-100); }
.cal-slots__h { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-400); margin-bottom: 12px; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-chip { font-size: 12px; font-weight: 800; padding: 9px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--slate-200); background: var(--slate-50); color: var(--navy); transition: all .18s; }
.slot-chip:hover { border-color: var(--lime); background: var(--lime-soft); }
.slot-chip.is-booked { background: #fef3c7; border-color: #fde68a; color: #92400e; cursor: not-allowed; text-decoration: line-through; }

/* ===================== COMPARISON / BADGE TABLE ===================== */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 2px solid var(--slate-200); border-radius: var(--r-lg); overflow: hidden; }
.cmp-table th { background: var(--navy); color: #fff; text-align: left; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 16px 20px; }
.cmp-table td { padding: 16px 20px; border-bottom: 1px solid var(--slate-100); font-size: 14px; color: var(--slate-600); font-weight: 500; vertical-align: middle; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: var(--slate-50); }
.cmp-table .badge-cell { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--navy); text-transform: uppercase; font-size: 12.5px; }
.cmp-table .badge-cell svg { width: 18px; height: 18px; color: var(--lime-deep); flex-shrink: 0; }

/* ===================== QUALIFY LISTS (guarantee) ===================== */
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .qual-grid { grid-template-columns: 1fr; } }
.qual-card { border: 2px solid var(--slate-200); border-bottom-width: 8px; border-radius: var(--r-xl); padding: 28px; background: #fff; }
.qual-card--yes { border-color: rgba(174,206,97,0.5); }
.qual-card--no { border-color: var(--slate-200); }
.qual-card__h { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 18px; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.qual-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.qual-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--slate-600); font-weight: 500; }
.qual-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.qual-list .yes { color: var(--lime-deep); }
.qual-list .no { color: #ef4444; }
.qual-list b { color: var(--navy); }

/* ===================== BLOG ===================== */
.blog-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
@media (max-width: 820px) { .blog-feature { grid-template-columns: 1fr; } }
.blog-hero-card { position: relative; border-radius: var(--r-2xl); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; border-bottom: 8px solid var(--navy); }
.blog-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-hero-card__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,21,40,0.92)); }
.blog-hero-card__c { position: relative; z-index: 1; padding: 34px; color: #fff; }
.blog-cat-pill { display: inline-block; background: var(--lime); color: var(--navy); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.blog-hero-card__t { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 32px); line-height: 1.05; }
.blog-hero-card__m { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.65); margin-top: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-side { display: flex; flex-direction: column; gap: 16px; }
.blog-mini { display: grid; grid-template-columns: 88px 1fr; gap: 14px; background: #fff; border: 2px solid var(--slate-200); border-bottom-width: 5px; border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease-spring), box-shadow .25s, border-color .25s; }
.blog-mini:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-bottom-color: var(--lime); }
.blog-mini img { width: 88px; height: 100%; object-fit: cover; }
.blog-mini__c { padding: 14px 14px 14px 0; display: flex; flex-direction: column; justify-content: center; }
.blog-mini__cat { font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lime-deep); }
.blog-mini__t { font-family: var(--font-serif); font-weight: 900; font-size: 14px; color: var(--navy); line-height: 1.15; margin: 5px 0; }
.blog-mini__m { font-size: 10.5px; font-weight: 700; color: var(--slate-400); text-transform: uppercase; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 2px solid var(--slate-200); border-bottom-width: 8px; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-bottom-color: var(--lime); }
.blog-card__img { height: 180px; overflow: hidden; background: var(--slate-100); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__c { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-deep); }
.blog-card__t { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 18px; color: var(--navy); line-height: 1.1; margin: 10px 0; }
.blog-card__x { font-size: 13px; line-height: 1.6; color: var(--slate-500); font-weight: 500; flex: 1; }
.blog-card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--slate-100); display: flex; align-items: center; justify-content: space-between; }
.blog-card__read { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--slate-400); }
.blog-card__go { font-size: 11px; font-weight: 900; text-transform: uppercase; color: var(--lime-deep); display: inline-flex; align-items: center; gap: 5px; }
.blog-card__go svg { width: 13px; height: 13px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { background: #fff; border: 2px solid var(--slate-200); border-radius: var(--r-lg); padding: 22px; transition: all .25s var(--ease-spring); }
.cat-card:hover { transform: translateY(-5px); border-color: var(--lime); box-shadow: var(--sh-md); }
.cat-card__e { font-size: 26px; display: block; margin-bottom: 12px; }
.cat-card__t { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 15px; color: var(--navy); }
.cat-card__d { font-size: 12px; color: var(--slate-500); font-weight: 500; margin-top: 6px; line-height: 1.5; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { background: var(--slate-100); color: var(--slate-600); font-size: 12px; font-weight: 800; padding: 8px 14px; border-radius: var(--r-pill); transition: all .2s; }
.tag-cloud a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ===================== NEWSLETTER ===================== */
.newsletter { background: var(--navy); border-radius: var(--r-2xl); border-bottom: 12px solid #04162c; padding: 48px; color: #fff; position: relative; overflow: hidden; text-align: center; }
.newsletter__glow { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(174,206,97,0.18), transparent 60%); }
.newsletter__form { position: relative; z-index: 1; display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }
.newsletter__form input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-md); padding: 15px 18px; color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 14px; }
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__form input:focus { outline: none; border-color: var(--lime); }

/* ===================== CONTENT PROSE BLOCKS ===================== */
.prose-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .prose-block { grid-template-columns: 1fr; gap: 24px; } }
.prose p { font-size: 15px; line-height: 1.75; color: var(--slate-600); font-weight: 500; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.info-card { background: var(--slate-50); border: 2px solid var(--slate-200); border-radius: var(--r-xl); padding: 28px; }
.info-card__h { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 16px; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card__h svg { width: 20px; height: 20px; color: var(--lime-deep); }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--slate-600); font-weight: 500; }
.info-list svg { width: 17px; height: 17px; color: var(--lime-deep); flex-shrink: 0; margin-top: 1px; }
.info-list b { color: var(--navy); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } }
.metric { text-align: center; background: #fff; border: 2px solid var(--slate-200); border-bottom-width: 8px; border-radius: var(--r-xl); padding: 28px 18px; }
.metric__n { font-family: var(--font-serif); font-weight: 900; font-style: italic; font-size: 38px; color: var(--navy); line-height: 1; }
.metric__l { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-400); margin-top: 10px; }
