.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.header-actions .ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(45, 106, 79, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.header-actions .ghost-link:hover {
    transform: translateY(-1px);
    border-color: rgba(45, 106, 79, 0.35);
    background: #fff;
}

.header-actions .header-link-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 22px rgba(45, 106, 79, 0.14);
}

.header-actions .header-link-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #173f2f);
}

.admission-completion-page .main-content {
    display: grid;
    gap: 1rem;
}

.leadership-intro,
.completion-hero,
.completion-section,
.welcome-finale {
    border: 1px solid rgba(217, 225, 215, 0.95);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.leadership-intro {
    position: relative;
    overflow: hidden;
    padding: 1.2rem;
    background:
        radial-gradient(circle at 5% 8%, rgba(200, 166, 91, 0.22), transparent 28%),
        linear-gradient(135deg, #173f2f, #235b43 58%, #2d6a4f);
    color: #fff;
}

.leadership-intro::after {
    content: '';
    position: absolute;
    inset-inline-start: -70px;
    inset-block-end: -80px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.leadership-intro > * {
    position: relative;
    z-index: 1;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.28rem 0.66rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #f2dfad;
    font-size: 0.8rem;
    font-weight: 700;
}

.leadership-intro > h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.45;
}

.leadership-intro > p {
    max-width: 820px;
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
}

.leadership-grid {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.leadership-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
    overflow: hidden;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.leadership-photo-wrap {
    min-height: 142px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.leadership-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.leadership-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.leadership-rank {
    color: #f3dfab;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.6;
}

.leadership-copy h2 {
    margin: 0.12rem 0 0.35rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

.leadership-copy blockquote {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.8;
}

.source-link {
    width: fit-content;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.completion-hero {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    overflow: hidden;
}

.completion-hero-copy h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    line-height: 1.45;
    color: var(--primary-dark);
}

.hero-lead {
    margin: 0.75rem 0 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 2;
}

.promise-line {
    margin: 0.6rem 0 0;
    color: var(--muted);
    line-height: 1.9;
}

.start-date-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(200, 166, 91, 0.35);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff9eb, #fff);
}

.start-date-icon,
.step-icon,
.charter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-dark);
    background: rgba(45, 106, 79, 0.08);
}

.start-date-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.start-date-icon svg,
.step-icon svg,
.charter-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.start-date-card span,
.start-date-card strong,
.start-date-card small {
    display: block;
}

.start-date-card span {
    color: var(--warning);
    font-size: 0.78rem;
    font-weight: 700;
}

.start-date-card strong {
    margin-top: 0.08rem;
    color: var(--primary-dark);
    font-size: 0.98rem;
    line-height: 1.7;
}

.start-date-card small {
    margin-top: 0.18rem;
    color: var(--muted);
    line-height: 1.6;
}

.completion-hero-visual {
    position: relative;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #edf2ed;
}

.completion-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.completion-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(14, 45, 31, 0.78));
    pointer-events: none;
}

.completion-hero-visual figcaption {
    position: absolute;
    z-index: 1;
    inset-inline: 0.85rem;
    inset-block-end: 0.8rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
}

.quick-nav {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.25rem 0.05rem 0.35rem;
    scrollbar-width: thin;
}

.quick-nav a {
    flex: 0 0 auto;
    padding: 0.52rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(26, 52, 40, 0.05);
}

.completion-section {
    padding: 1.15rem;
}

.section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 1rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 10px 22px rgba(45, 106, 79, 0.14);
}

.section-heading .eyebrow {
    margin-bottom: 0.35rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.55;
}

.section-heading p {
    margin: 0.3rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.step-grid,
.charter-grid,
.promise-grid,
.completion-locations-grid {
    display: grid;
    gap: 0.8rem;
}

.step-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fbfcfa;
}

.featured-step {
    border-color: rgba(45, 106, 79, 0.24);
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.06), #fff 62%);
}

.step-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.step-label {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.step-card h3,
.paper-file-layout h3,
.charter-card h3,
.completion-locations-grid .location-card h3 {
    margin: 0.15rem 0 0.35rem;
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.7;
}

.step-card p,
.paper-file-layout p,
.charter-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.step-card p + p {
    margin-top: 0.45rem;
}

.inline-notice,
.good-to-know {
    margin-top: 0.65rem;
    padding: 0.7rem 0.8rem;
    border-radius: 13px;
    line-height: 1.8;
    font-size: 0.86rem;
}

.inline-notice {
    color: #6f5316;
    border: 1px solid rgba(200, 166, 91, 0.3);
    background: #fff8e9;
}

.good-to-know {
    color: var(--success);
    border: 1px solid rgba(38, 102, 70, 0.2);
    background: #f1faf4;
}

.compact-whatsapp {
    width: fit-content;
    min-width: 0;
    margin-top: 0.75rem;
}

.paper-file-layout {
    display: grid;
    gap: 0.85rem;
}

.paper-file-intro,
.document-checklist {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.paper-file-intro {
    background: linear-gradient(145deg, rgba(45, 106, 79, 0.06), #fff 55%);
}

.document-illustration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 0.4rem;
    border-radius: 18px;
    color: var(--primary-dark);
    background: rgba(45, 106, 79, 0.08);
}

.document-illustration svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: currentColor;
}

.document-checklist ul {
    display: grid;
    gap: 0.52rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.document-checklist li {
    position: relative;
    padding-inline-start: 1.45rem;
    color: var(--muted);
    line-height: 1.85;
}

.document-checklist li::before {
    content: '✓';
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.03rem;
    color: var(--success);
    font-weight: 700;
}

.documents-note {
    margin-top: 0.75rem !important;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--border);
    font-size: 0.84rem;
}

.completion-locations-grid .location-card {
    min-height: 100%;
}

.technical-card .location-badge::after {
    content: 'تقنية';
    margin-inline-start: 0.25rem;
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.68rem;
}

.charter-card {
    padding: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fafcf9);
}

.charter-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.45rem;
    border-radius: 14px;
}

.charter-highlight {
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(200, 166, 91, 0.35);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff8e9, #fff);
}

.charter-highlight strong {
    display: block;
    color: #6f5316;
}

.charter-highlight p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.promise-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, rgba(200, 166, 91, 0.18), transparent 28%),
        linear-gradient(135deg, #f7fbf7, #fff);
}

.compact-heading {
    margin-bottom: 0.8rem;
}

.promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promise-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 0.7rem;
    border: 1px solid rgba(45, 106, 79, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-dark);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.6;
}

.promise-closing {
    margin: 0.85rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(45, 106, 79, 0.18);
    color: var(--primary-dark);
    text-align: center;
    font-weight: 700;
    line-height: 1.9;
}

.completion-faq {
    margin-top: 0;
}

.welcome-finale {
    display: grid;
    gap: 0.8rem;
    align-items: center;
    padding: 1.1rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 10% 0, rgba(200, 166, 91, 0.3), transparent 30%),
        linear-gradient(135deg, #173f2f, #2d6a4f);
}

.welcome-finale .eyebrow {
    color: #f2dfad;
    background: rgba(255, 255, 255, 0.1);
}

.welcome-finale h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.55;
}

.welcome-finale p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
}

.finale-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #f2dfad;
    font-size: 1.4rem;
}

.finale-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.welcome-finale .button-primary {
    background: #fff;
    color: var(--primary-dark);
}

.welcome-finale .button-whatsapp {
    width: auto;
    min-width: 0;
}

.image-credits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.65rem;
    padding: 0.2rem 0 0.6rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.image-credits a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 719px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .header-actions .ghost-link {
        flex: 1 1 calc(50% - 0.55rem);
        text-align: center;
        font-size: 0.8rem;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .brand-copy span {
        font-size: 0.77rem;
    }

    .leadership-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .leadership-photo-wrap {
        min-height: 132px;
    }

    .start-date-card {
        align-items: start;
    }

    .step-card {
        grid-template-columns: 1fr;
    }

    .compact-whatsapp {
        width: 100%;
    }

    .welcome-finale .button,
    .welcome-finale .button-whatsapp {
        width: 100%;
    }
}

@media (min-width: 720px) {
    .leadership-intro,
    .completion-section,
    .welcome-finale {
        padding: 1.5rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .completion-hero {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
        padding: 1.5rem;
    }

    .completion-hero-visual {
        min-height: 100%;
    }

    .step-grid,
    .paper-file-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .completion-locations-grid,
    .charter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promise-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .welcome-finale {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .finale-actions {
        justify-content: flex-end;
        max-width: 280px;
    }
}

@media (min-width: 980px) {
    .completion-locations-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .charter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .leadership-card {
        grid-template-columns: 126px minmax(0, 1fr);
    }

    .leadership-photo-wrap {
        min-height: 172px;
    }
}
