/* ─── DOCUMENTATION SUPPORT PAGE CSS ────────────────────────────
   Design system: same palette + typography as scholarships/timeline pages
   Accent: deep teal + gold authority theme
───────────────────────────────────────────────────────────────── */

body.docs-page {
    background:
        radial-gradient(circle at 5% -14%, rgba(30, 58, 138, 0.15) 0%, transparent 32%),
        radial-gradient(circle at 96% 7%, rgba(180, 83, 9, 0.12) 0%, transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
}

.docs-main {
    position: relative;
    overflow: hidden;
}

.docs-main::before {
    content: "Documentation";
    position: absolute;
    top: 110px;
    right: -0.04em;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 7vw, 7rem);
    line-height: 1;
    color: rgba(30, 58, 138, 0.05);
    pointer-events: none;
    z-index: 0;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.docs-hero {
    position: relative;
    min-height: min(900px, calc(100vh - 120px));
    display: grid;
    align-items: center;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.docs-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.02) contrast(1.03);
}

.docs-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(112deg, rgba(7, 18, 50, 0.94) 10%, rgba(7, 18, 50, 0.58) 55%, rgba(7, 18, 50, 0.12) 100%),
        linear-gradient(180deg, rgba(30, 58, 138, 0.18), rgba(7, 18, 50, 0.44));
}

.docs-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
    gap: 2rem;
    padding: clamp(2rem, 6vw, 4.8rem) 0;
}

.docs-hero-content {
    color: #ffffff;
}

.docs-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #93c5fd;
}

.docs-korean {
    margin: 0.35rem 0 0;
    font-family: "Noto Serif KR", serif;
    font-size: clamp(0.9rem, 1.5vw, 1.08rem);
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.04em;
}

.docs-hero-content h1 {
    margin: 0.55rem 0 0;
    max-width: 22ch;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4.3vw, 3.3rem);
    line-height: 1.07;
}

.docs-subtext {
    margin: 0.95rem 0 0;
    max-width: 64ch;
    font-size: clamp(0.93rem, 1.7vw, 1.06rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.docs-trust-badges {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.docs-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.44rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.45);
    background: rgba(7, 18, 50, 0.52);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.docs-trust-badges span::before {
    content: "✦";
    color: #fbbf24;
    font-size: 0.65rem;
}

.docs-hero-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.docs-hero-actions .btn {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

/* Hero card */
.docs-hero-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1.5px solid rgba(30, 58, 138, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(7, 18, 50, 0.28);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.docs-card-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e3a8a;
}

.docs-hero-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.28rem;
}

.docs-hero-card>p {
    margin: 0;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.55;
}

.docs-hero-card ul {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.38rem;
}

.docs-hero-card li {
    font-size: 0.83rem;
    color: #334155;
    padding-left: 1rem;
    position: relative;
}

.docs-hero-card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 800;
    font-size: 0.65rem;
    top: 0.18rem;
}

.docs-card-cta {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    padding: 0.56rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: opacity 0.2s;
}

.docs-card-cta:hover {
    opacity: 0.88;
}

/* ─── PHILOSOPHY ──────────────────────────────────────────────── */
.docs-philosophy {
    background: linear-gradient(180deg, #f0f4ff, #fff);
}

.docs-philosophy-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    border: 1.5px solid rgba(30, 58, 138, 0.15);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 18, 50, 0.07);
}

.docs-phi-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
}

.docs-phi-text h2 {
    margin: 0.4rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: #0f172a;
    line-height: 1.12;
}

.docs-phi-text p {
    margin: 0.8rem 0 0;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
}

.docs-phi-text strong {
    color: #1e3a8a;
}

/* ─── DOCUMENT CARDS ──────────────────────────────────────────── */
.docs-provides {
    background: #fff;
}

.docs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.docs-doc-card {
    position: relative;
    border: 1.5px solid rgba(30, 58, 138, 0.18);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 18, 50, 0.07);
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.docs-doc-card:hover {
    box-shadow: 0 18px 36px rgba(7, 18, 50, 0.12);
    transform: translateY(-3px);
}

.docs-doc-featured {
    border-color: rgba(180, 83, 9, 0.38);
    box-shadow: 0 12px 30px rgba(180, 83, 9, 0.12);
}

.docs-featured-tag {
    position: absolute;
    top: -0.1rem;
    right: 1rem;
    padding: 0.24rem 0.55rem;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #fff;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-doc-icon {
    font-size: 2rem;
}

.docs-doc-label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2c5fca;
}

.docs-doc-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
    line-height: 1.2;
}

.docs-doc-desc {
    margin: 0;
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.62;
}

.docs-doc-includes {
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 12px;
    background: #f8faff;
    padding: 0.85rem;
}

.docs-inc-title {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e3a8a;
}

.docs-doc-includes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.32rem;
}

.docs-doc-includes li {
    font-size: 0.83rem;
    color: #334155;
    padding-left: 1rem;
    position: relative;
}

.docs-doc-includes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #1e3a8a;
}

/* Early cert fee panel */
.docs-early-fee-panel {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 14px;
    border: 1.5px solid rgba(180, 83, 9, 0.28);
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.05), rgba(251, 191, 36, 0.07));
}

.docs-fee-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.docs-fee-title {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.03em;
}

.docs-fee-amount {
    margin: 0 0 0.4rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    color: #0f172a;
    line-height: 1;
    font-weight: 700;
}

.docs-fee-note {
    margin: 0;
    font-size: 0.79rem;
    color: #78350f;
    line-height: 1.55;
}

/* eligible tags */
.docs-doc-eligible {
    display: flex;
}

.docs-eligible-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.docs-green {
    background: rgba(22, 101, 52, 0.1);
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.28);
}

.docs-amber {
    background: rgba(180, 83, 9, 0.1);
    color: #92400e;
    border: 1px solid rgba(180, 83, 9, 0.28);
}

.docs-blue {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    border: 1px solid rgba(30, 58, 138, 0.28);
}

.docs-processing-time {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.14);
    font-size: 0.82rem;
    color: #334155;
}

.docs-time-icon {
    font-size: 1rem;
}

/* ─── RECOMMENDATION POLICY ───────────────────────────────────── */
.docs-recc-policy {
    background: linear-gradient(180deg, #f8f9ff, #fff);
}

.docs-recc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: start;
}

.docs-recc-content h2 {
    margin: 0.5rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: #0f172a;
}

.docs-recc-content>p {
    margin: 0.8rem 0 0;
    color: #475569;
    font-size: 0.97rem;
    line-height: 1.7;
}

.docs-policy-box {
    margin-top: 1.3rem;
    border: 1.5px solid rgba(30, 58, 138, 0.2);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 18, 50, 0.07);
    overflow: hidden;
}

.docs-policy-title {
    margin: 0;
    padding: 0.8rem 1.1rem;
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-policy-items {
    padding: 0.6rem 0;
}

.docs-policy-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.7rem 1.1rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.08);
}

.docs-policy-item:last-child {
    border-bottom: none;
}

.docs-pi-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: "Cormorant Garamond", serif;
}

.docs-policy-item strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}

.docs-policy-item p {
    margin: 0.22rem 0 0;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.52;
}

.docs-recc-note {
    margin: 1.1rem 0 0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.15);
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.6;
}

/* Certificate mock */
.docs-recc-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: sticky;
    top: 6rem;
}

.docs-recc-cert-mock {
    width: 100%;
    border: 2px solid rgba(30, 58, 138, 0.25);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 18, 50, 0.14);
    padding: 1.3rem;
    position: relative;
}

.docs-recc-cert-mock::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 10px;
    pointer-events: none;
}

.docs-cert-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.docs-cert-seal {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.35);
}

.docs-cert-inst {
    margin: 0;
    font-weight: 800;
    font-size: 0.9rem;
    color: #0f172a;
}

.docs-cert-sub {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    color: #64748b;
}

.docs-cert-label {
    margin: 0 0 0.9rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #1e3a8a;
}

.docs-cert-lines {
    display: grid;
    gap: 0.45rem;
}

.docs-cert-lines span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
}

.docs-cert-line-short {
    width: 55%;
}

.docs-cert-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 1.2rem;
}

.docs-cert-sig {
    text-align: center;
}

.docs-sig-line {
    display: block;
    width: 90px;
    height: 1px;
    background: #334155;
    margin-bottom: 0.3rem;
}

.docs-cert-sig p {
    margin: 0;
    font-size: 0.68rem;
    color: #64748b;
}

.docs-cert-stamp {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.06));
    border: 1px solid rgba(30, 58, 138, 0.25);
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e3a8a;
}

.docs-recc-visual-note {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    font-style: italic;
}

/* ─── PROCESSING TIMELINE TABLE ──────────────────────────────── */
.docs-timeline {
    background: #fff;
}

.docs-timeline-wrap {
    border: 1.5px solid rgba(30, 58, 138, 0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(7, 18, 50, 0.08);
}

.docs-tl-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 0.9fr;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.docs-tl-row:last-child {
    border-bottom: none;
}

.docs-tl-head {
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    color: #fff;
}

.docs-tl-head [role="columnheader"] {
    padding: 0.88rem 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-tl-row [role="cell"] {
    padding: 0.95rem 1rem;
    font-size: 0.88rem;
    color: #334155;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(30, 58, 138, 0.08);
}

.docs-tl-row [role="cell"]:last-child {
    border-right: none;
}

.docs-tl-row [role="cell"] strong {
    display: block;
    color: #0f172a;
    font-size: 0.92rem;
}

.docs-tl-row [role="cell"] em {
    display: block;
    font-style: normal;
    font-size: 0.74rem;
    color: #92400e;
    margin-top: 0.12rem;
    font-weight: 700;
}

.docs-tl-days {
    font-weight: 800 !important;
    color: #1e3a8a !important;
}

.docs-tl-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.56rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.docs-tl-standard {
    background: rgba(22, 101, 52, 0.1);
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.28);
}

.docs-tl-conditional {
    background: rgba(180, 83, 9, 0.1);
    color: #92400e;
    border: 1px solid rgba(180, 83, 9, 0.28);
}

.docs-tl-merit {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    border: 1px solid rgba(30, 58, 138, 0.28);
}

.docs-timeline-note {
    margin-top: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 138, 0.18);
    background: rgba(30, 58, 138, 0.04);
}

.docs-timeline-note span {
    font-size: 1rem;
    flex-shrink: 0;
}

.docs-timeline-note p {
    margin: 0;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.6;
}

/* ─── VALUE GRID ──────────────────────────────────────────────── */
.docs-value {
    background: linear-gradient(180deg, #f8f9ff, #fff);
}

.docs-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.docs-value-card {
    border: 1px solid rgba(30, 58, 138, 0.17);
    border-radius: 18px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 6px 18px rgba(7, 18, 50, 0.06);
    transition: box-shadow 0.25s, transform 0.25s;
}

.docs-value-card:hover {
    box-shadow: 0 14px 30px rgba(7, 18, 50, 0.11);
    transform: translateY(-3px);
}

.docs-val-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.6rem;
}

.docs-value-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.docs-value-card p {
    margin: 0.5rem 0 0;
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.62;
}

/* ─── REQUEST SECTION ─────────────────────────────────────────── */
.docs-request {
    background: linear-gradient(180deg, #fff, #f8f9ff);
}

.docs-request-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.docs-request-copy h2 {
    margin: 0.5rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    color: #0f172a;
    line-height: 1.1;
}

.docs-request-copy>p {
    margin: 0.75rem 0 0;
    color: #475569;
    font-size: 0.97rem;
    line-height: 1.65;
}

.docs-steps {
    margin-top: 1.4rem;
    display: grid;
    gap: 1rem;
}

.docs-req-step {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 138, 0.18);
    background: #fff;
    box-shadow: 0 4px 12px rgba(7, 18, 50, 0.05);
    transition: box-shadow 0.22s, transform 0.22s;
}

.docs-req-step:hover {
    box-shadow: 0 10px 24px rgba(7, 18, 50, 0.1);
    transform: translateX(3px);
}

.docs-req-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #2c5fca);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.docs-req-step strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
}

.docs-req-step p {
    margin: 0.28rem 0 0;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.55;
}

.docs-req-step a {
    color: #1e3a8a;
    font-weight: 700;
}

.docs-req-step em {
    font-style: italic;
    color: #475569;
}

/* Request form */
.docs-request-form {
    border: 1.5px solid rgba(30, 58, 138, 0.25);
    border-radius: 20px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 16px 36px rgba(7, 18, 50, 0.1);
}

.docs-request-form h3 {
    margin: 0 0 0.3rem;
    color: #0f172a;
    font-size: 1.25rem;
}

.docs-form-note {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e3a8a;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: rgba(30, 58, 138, 0.07);
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.docs-request-form label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.docs-request-form label span {
    color: #e53935;
}

.docs-request-form input,
.docs-request-form select,
.docs-request-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.3rem;
    border: 1px solid rgba(30, 58, 138, 0.28);
    border-radius: 10px;
    min-height: 44px;
    padding: 0 0.8rem;
    font: inherit;
    font-size: 0.9rem;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.docs-request-form textarea {
    padding: 0.6rem 0.8rem;
    resize: vertical;
    min-height: 90px;
}

.docs-request-form input:focus,
.docs-request-form select:focus,
.docs-request-form textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.docs-submit-btn {
    width: 100%;
    margin-top: 1.1rem;
    border: none;
    font-family: inherit;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
}

.docs-submit-btn:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.docs-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.docs-form-message {
    min-height: 1.2em;
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e3a8a;
}

.docs-form-message.error {
    color: #c62828;
}

/* ─── PROGRAMS GRID ───────────────────────────────────────────── */
.docs-programs {
    background: linear-gradient(180deg, #f8f9ff, #fff);
}

.docs-prog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.docs-prog-card {
    position: relative;
    border: 1.5px solid rgba(30, 58, 138, 0.2);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 18, 50, 0.07);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.docs-prog-card:hover {
    box-shadow: 0 18px 36px rgba(7, 18, 50, 0.12);
    transform: translateY(-3px);
}

.docs-prog-popular {
    border-color: rgba(229, 57, 53, 0.35);
    box-shadow: 0 10px 26px rgba(229, 57, 53, 0.12);
}

.docs-prog-best {
    position: absolute;
    top: -0.1rem;
    right: 1rem;
    padding: 0.24rem 0.52rem;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-prog-track {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2c5fca;
}

.docs-prog-fee {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.1rem;
    color: #0f172a;
    line-height: 1;
}

.docs-prog-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.38rem;
    flex: 1;
}

.docs-prog-card li {
    font-size: 0.84rem;
    color: #334155;
    padding-left: 1rem;
    position: relative;
}

.docs-prog-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #1e3a8a;
}

.docs-prog-card .btn {
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    margin-top: auto;
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.docs-faq {
    background: #fff;
}

.docs-faq-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.docs-faq-intro h2 {
    margin: 0.5rem 0 0;
    color: #0f172a;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.docs-faq-intro p {
    margin: 0.7rem 0 0;
    color: #475569;
    font-size: 0.92rem;
}

.docs-faq-intro .btn {
    margin-top: 1.2rem;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

/* ─── CLOSING CTA ─────────────────────────────────────────────── */
.docs-closing {
    background: linear-gradient(115deg, rgba(30, 58, 138, 0.1), rgba(180, 83, 9, 0.08));
    border-top: 1.5px solid rgba(30, 58, 138, 0.15);
}

.docs-closing-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.docs-closing-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e3a8a;
}

.docs-closing-inner h2 {
    margin: 0.6rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.7rem, 3.8vw, 3rem);
    line-height: 1.08;
    color: #0f172a;
}

.docs-closing-inner h2 em {
    font-style: italic;
    color: #1e3a8a;
}

.docs-closing-inner>p {
    margin: 0.9rem auto 0;
    max-width: 58ch;
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.docs-closing-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.docs-closing-actions .btn {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.docs-closing-contact {
    margin: 1rem 0 0;
    font-size: 0.88rem;
    color: #64748b;
}

.docs-closing-contact a {
    color: #1e3a8a;
    font-weight: 700;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .docs-hero-grid {
        grid-template-columns: 1fr;
    }

    .docs-hero-card {
        max-width: 460px;
    }

    .docs-recc-grid {
        grid-template-columns: 1fr;
    }

    .docs-recc-visual {
        position: static;
        max-width: 380px;
    }
}

@media (max-width: 900px) {
    .docs-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .docs-value-grid {
        grid-template-columns: 1fr 1fr;
    }

    .docs-prog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .docs-request-grid {
        grid-template-columns: 1fr;
    }

    .docs-faq-grid {
        grid-template-columns: 1fr;
    }

    .docs-philosophy-inner {
        flex-direction: column;
    }

    .docs-tl-row {
        grid-template-columns: 2fr 1.2fr 0.9fr;
    }

    .docs-tl-row [role="cell"]:last-child,
    .docs-tl-head [role="columnheader"]:last-child {
        display: none;
    }
}

@media (max-width: 640px) {

    .docs-cards-grid,
    .docs-value-grid,
    .docs-prog-grid {
        grid-template-columns: 1fr;
    }

    .docs-closing-actions {
        flex-direction: column;
        align-items: center;
    }

    .docs-tl-row {
        grid-template-columns: 1.5fr 1fr;
    }

    .docs-tl-row [role="cell"]:nth-child(2),
    .docs-tl-head [role="columnheader"]:nth-child(2) {
        display: none;
    }
}