:root {
    --portal-primary: #138a4b;
    --portal-primary-dark: #0b6938;
    --portal-accent: #62c986;
    --portal-ink: #163326;
    --portal-muted: #68758b;
    --portal-surface: #ffffff;
    --portal-soft: #f1faf4;
    --portal-border: #dcebe2;
    --portal-success: #138a4b;
    --portal-danger: #dc3f4d;
    --portal-warning: #d97706;
    --portal-shadow: 0 18px 48px rgba(20, 33, 61, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 8% 5%, rgba(19, 138, 75, .13), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(98, 201, 134, .13), transparent 24rem),
        linear-gradient(180deg, #fbfefc 0%, #edf8f1 100%);
}

a {
    transition: color .2s ease, opacity .2s ease;
}

.portal-navbar {
    background: rgba(8, 73, 39, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 36px rgba(15, 23, 42, .16);
    backdrop-filter: blur(16px);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    text-decoration: none;
}

.portal-brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.04em;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
    box-shadow: 0 10px 24px rgba(19, 138, 75, .35);
}

.portal-brand-copy {
    line-height: 1.05;
}

.portal-brand-copy strong {
    display: block;
    font-size: .95rem;
    letter-spacing: .04em;
}

.portal-brand-copy span {
    color: rgba(255, 255, 255, .62);
    font-size: .7rem;
}

.portal-navbar .nav-link {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    font-weight: 600;
    border-radius: 10px;
    padding: .55rem .85rem !important;
}

.portal-navbar .nav-link:hover,
.portal-navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.portal-shell {
    width: min(1500px, 100%);
    margin-inline: auto;
    padding: 2rem 1.25rem 4rem;
}

.portal-shell.portal-shell-auth {
    display: grid;
    min-height: calc(100vh - 80px);
    place-items: center;
    padding-block: 2rem;
}

.portal-card {
    border: 1px solid rgba(227, 233, 242, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--portal-shadow);
}

.portal-card-header {
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--portal-border);
}

.portal-card-body {
    padding: 1.35rem;
}

.page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .35rem;
    color: var(--portal-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.page-subtitle {
    max-width: 680px;
    margin: .45rem 0 0;
    color: var(--portal-muted);
    font-size: .92rem;
}

.btn {
    border-radius: 11px;
    font-weight: 700;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--portal-primary), #36ad67);
    box-shadow: 0 10px 24px rgba(19, 138, 75, .22);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, var(--portal-primary-dark), var(--portal-primary));
}

.btn-success {
    border-color: transparent;
    background: linear-gradient(135deg, #128357, #20b878);
}

.btn-danger {
    border-color: transparent;
    background: linear-gradient(135deg, #c62e3e, #ed5a67);
}

.form-control,
.form-select,
.input-group-text {
    min-height: 46px;
    border-color: #dce4ef;
    border-radius: 11px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(19, 138, 75, .62);
    box-shadow: 0 0 0 .24rem rgba(19, 138, 75, .11);
}

.form-label {
    color: #344258;
    font-size: .84rem;
    font-weight: 700;
}

.alert {
    border: 0;
    border-radius: 13px;
}

.portal-table {
    margin: 0;
    vertical-align: middle;
}

.portal-table thead th {
    padding: .95rem 1rem;
    color: #718096;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
    background: #f7f9fc;
    border-bottom: 1px solid var(--portal-border);
}

.portal-table tbody td {
    padding: 1rem;
    color: #344258;
    border-bottom-color: #edf1f6;
}

.portal-table tbody tr:hover {
    background: #fafcff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .42rem .66rem;
    font-size: .72rem;
    font-weight: 800;
    border-radius: 999px;
}

.status-badge.pending {
    color: #9a5b00;
    background: #fff4d8;
}

.status-badge.success {
    color: #087448;
    background: #dcf8eb;
}

.status-badge.info {
    color: #164da9;
    background: #e7efff;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.stat-box {
    position: relative;
    min-height: 132px;
    padding: 1.15rem;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 33, 61, .055);
}

.stat-box::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(33, 85, 217, .055);
}

.stat-label {
    color: var(--portal-muted);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.stat-value {
    position: relative;
    z-index: 1;
    margin-top: .55rem;
    color: var(--portal-ink);
    font-size: 2rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.stat-note {
    position: relative;
    z-index: 1;
    margin-top: .25rem;
    color: #8b97a9;
    font-size: .78rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--portal-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--portal-shadow);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #edf9f1, #f4fcf6);
}

.admin-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-weight: 850;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
}

.admin-profile strong {
    display: block;
    color: var(--portal-ink);
    font-size: .88rem;
}

.admin-profile small {
    display: block;
    max-width: 145px;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-menu-label {
    margin: .95rem .6rem .55rem;
    color: #96a1b2;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .28rem;
    padding: .72rem .8rem;
    color: #607086;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
}

.admin-menu-link:hover {
    color: var(--portal-ink);
    background: #f3f6fb;
}

.admin-menu-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--portal-primary), #38a968);
    box-shadow: 0 9px 20px rgba(19, 138, 75, .23);
}

.admin-menu-icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    font-size: .82rem;
    border-radius: 9px;
    background: rgba(100, 116, 139, .09);
}

.admin-menu-link.active .admin-menu-icon {
    background: rgba(255, 255, 255, .18);
}

.auth-layout {
    display: grid;
    width: min(970px, 100%);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(227, 233, 242, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 75px rgba(20, 33, 61, .14);
    grid-template-columns: 1.08fr .92fr;
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 3.4rem);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .22), transparent 13rem),
        linear-gradient(145deg, #07562d 0%, #138a4b 54%, #62c986 100%);
}

.auth-visual::before,
.auth-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
}

.auth-visual::before {
    right: -90px;
    bottom: -90px;
    width: 280px;
    height: 280px;
}

.auth-visual::after {
    right: 30px;
    bottom: 25px;
    width: 150px;
    height: 150px;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
}

.auth-visual h1 {
    max-width: 390px;
    margin: 1.5rem 0 .8rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1.03;
}

.auth-visual p {
    max-width: 420px;
    color: rgba(255, 255, 255, .76);
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: .8rem;
    color: rgba(255, 255, 255, .86);
    font-size: .85rem;
    font-weight: 650;
}

.auth-feature span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem);
}

.auth-form-panel h2 {
    margin-bottom: .4rem;
    color: var(--portal-ink);
    font-size: 1.75rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.auth-form-panel > p {
    margin-bottom: 1.8rem;
    color: var(--portal-muted);
    font-size: .9rem;
}

.password-wrap {
    position: relative;
}

.password-wrap .form-control {
    padding-right: 3.25rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .55rem;
    z-index: 3;
    width: 38px;
    height: 36px;
    color: #637187;
    border: 0;
    border-radius: 9px;
    background: transparent;
    transform: translateY(-50%);
}

.password-toggle:hover {
    color: var(--portal-primary);
    background: #edf9f1;
}

.modal-content {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(20, 33, 61, .2);
}

.portal-footer {
    padding: 1.15rem;
    color: #8290a4;
    text-align: center;
    border-top: 1px solid rgba(227, 233, 242, .85);
    background: rgba(255, 255, 255, .7);
}

.empty-state {
    padding: 4rem 1.5rem;
    text-align: center;
}

.empty-state-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    place-items: center;
    color: var(--portal-primary);
    font-size: 1.35rem;
    border-radius: 18px;
    background: #e8f7ed;
}

@media (max-width: 991.98px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem;
    }

    .admin-menu-link {
        margin-bottom: 0;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 270px;
    }
}

@media (max-width: 575.98px) {
    .portal-shell {
        padding: 1.25rem .75rem 3rem;
    }

    .page-heading {
        display: block;
    }

    .page-heading > :last-child {
        margin-top: 1rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

    .auth-layout {
        border-radius: 20px;
    }

    .auth-visual,
    .auth-form-panel {
        padding: 1.55rem;
    }

    .auth-visual h1 {
        font-size: 2rem;
    }
}

/* Workflow KTM */
.stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.tracking-code {
    overflow-wrap: anywhere;
}


/* =========================================================
   TEMA HIJAU DAN LANDING PAGE PORTAL KARTU
   ========================================================= */

.text-primary { color: var(--portal-primary) !important; }
.text-success { color: var(--portal-primary) !important; }
.bg-primary { background-color: var(--portal-primary) !important; }

.btn-outline-primary {
    color: var(--portal-primary);
    border-color: rgba(19, 138, 75, .45);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    border-color: var(--portal-primary);
    background: var(--portal-primary);
}

.portal-shell.landing-shell {
    width: 100%;
    max-width: none;
    padding: 0;
}

.landing-hero {
    position: relative;
    display: grid;
    min-height: 680px;
    padding: clamp(3.5rem, 8vw, 7rem) max(1.25rem, calc((100vw - 1220px) / 2));
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 83% 18%, rgba(255,255,255,.16), transparent 18rem),
        radial-gradient(circle at 3% 100%, rgba(98,201,134,.38), transparent 26rem),
        linear-gradient(135deg, #07552d 0%, #0b733d 48%, #159451 100%);
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: center;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: auto -8rem -12rem auto;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.landing-hero-copy,
.landing-card-preview {
    position: relative;
    z-index: 1;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: rgba(255,255,255,.78);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.landing-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5.25rem);
    font-weight: 900;
    letter-spacing: -.062em;
    line-height: .98;
}

.landing-hero-copy > p {
    max-width: 650px;
    margin: 1.5rem 0 2rem;
    color: rgba(255,255,255,.76);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.75;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.landing-actions .btn-light,
.landing-cta .btn-light {
    color: #07552d;
    border: 0;
    box-shadow: 0 16px 34px rgba(4,55,27,.24);
}

.landing-actions .btn-outline-light {
    border-color: rgba(255,255,255,.45);
}

.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 2.2rem;
    color: rgba(255,255,255,.72);
    font-size: .82rem;
    font-weight: 650;
}

.landing-trust span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.landing-trust strong {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    font-size: .64rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    background: rgba(255,255,255,.09);
}

.landing-card-preview {
    min-height: 470px;
    display: grid;
    place-items: center;
}

.student-card-mock {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    aspect-ratio: 1.586 / 1;
    padding: 1.55rem;
    overflow: hidden;
    color: #173426;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(98,201,134,.28), transparent 16rem),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(237,249,241,.94));
    box-shadow: 0 35px 80px rgba(2,45,21,.32);
    transform: rotate(-3deg);
}

.student-card-mock::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(19,138,75,.09);
}

.student-card-top {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.student-card-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    border-radius: 15px;
    background: linear-gradient(135deg, #0b6d3a, #42b873);
}

.student-card-top strong,
.student-card-top small {
    display: block;
}

.student-card-top strong {
    font-size: clamp(.78rem, 1.4vw, 1rem);
    letter-spacing: .05em;
}

.student-card-top small {
    margin-top: .18rem;
    color: #708378;
    font-size: .7rem;
}

.student-card-body {
    display: grid;
    margin-top: 1.75rem;
    grid-template-columns: 105px 1fr;
    gap: 1.35rem;
}

.student-photo-placeholder {
    display: grid;
    height: 142px;
    place-items: center;
    color: #7f9387;
    font-size: .7rem;
    font-weight: 850;
    border: 2px dashed #bed7c7;
    border-radius: 18px;
    background: #eaf5ee;
}

.student-card-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: .8rem;
}

.student-card-lines .line {
    display: block;
    height: 10px;
    border-radius: 99px;
    background: #cae2d3;
}

.student-card-lines .long { width: 92%; }
.student-card-lines .medium { width: 70%; }
.student-card-lines .short { width: 48%; }

.student-card-number {
    position: absolute;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 1;
    color: #0c7040;
    font-size: .72rem;
    font-weight: 800;
}

.preview-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 520px; height: 520px; }

.landing-float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 210px;
    padding: .85rem 1rem;
    color: #183629;
    border: 1px solid rgba(255,255,255,.66);
    border-radius: 16px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 18px 44px rgba(3,50,24,.22);
    backdrop-filter: blur(12px);
}

.landing-float-card strong,
.landing-float-card small {
    display: block;
}
.landing-float-card strong { font-size: .82rem; }
.landing-float-card small { margin-top: .12rem; color: #74867b; font-size: .67rem; }
.float-icon {
    display: grid;
    flex: 0 0 auto;
    width: 37px;
    height: 37px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    background: var(--portal-primary);
}
.float-status { left: -1rem; bottom: 3.5rem; }
.float-photo { right: -1rem; top: 4.5rem; }

.landing-section {
    padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - 1220px) / 2));
}

.landing-section-heading {
    max-width: 710px;
    margin-bottom: 2.4rem;
}

.landing-section-heading h2,
.landing-cta h2 {
    margin: 0;
    color: #153526;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.landing-section-heading p,
.landing-cta p {
    margin: .9rem 0 0;
    color: #6e8175;
    line-height: 1.7;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.landing-step-card {
    position: relative;
    min-height: 250px;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(21,73,44,.06);
}

.landing-step-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(19,138,75,.055);
}

.step-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--portal-primary), #54c27d);
}

.landing-step-card h3 {
    margin: 1.25rem 0 .65rem;
    font-size: 1.15rem;
    font-weight: 850;
}

.landing-step-card p {
    margin: 0;
    color: #718178;
    font-size: .9rem;
    line-height: 1.65;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 max(1.25rem, calc((100vw - 1220px) / 2)) 5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    border-radius: 30px;
    background:
        radial-gradient(circle at 85% 10%, rgba(255,255,255,.16), transparent 16rem),
        linear-gradient(135deg, #07552d, #138a4b);
    box-shadow: 0 26px 60px rgba(7,85,45,.2);
}

.landing-cta .landing-eyebrow,
.landing-cta h2,
.landing-cta p {
    color: #fff;
}
.landing-cta p { color: rgba(255,255,255,.74); }

/* Form registration */
.registration-page {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.registration-intro {
    position: sticky;
    top: 105px;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.registration-intro h1 {
    margin: 0;
    color: #153526;
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.registration-intro > p {
    margin: 1.2rem 0 1.5rem;
    color: #687b70;
    line-height: 1.75;
}

.registration-note {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid #cfe6d7;
    border-radius: 17px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 13px 32px rgba(15,86,46,.07);
}

.registration-note-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 14px;
    background: var(--portal-primary);
}
.registration-note strong,
.registration-note small { display: block; }
.registration-note small { margin-top: .2rem; color: #718178; }

.registration-checks {
    display: grid;
    gap: .65rem;
    margin-top: 1.4rem;
    color: #567064;
    font-size: .86rem;
    font-weight: 700;
}

.registration-form-card {
    overflow: hidden;
    border-top: 5px solid var(--portal-primary);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: #496356;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-section-title span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: #fff;
    border-radius: 9px;
    background: var(--portal-primary);
}

.registration-form .form-control,
.registration-form .form-select {
    min-height: 52px;
    border-radius: 13px;
    background-color: #fbfefc;
}

.registration-form textarea.form-control {
    min-height: 120px;
}

.registration-submit {
    min-height: 56px;
    font-size: 1rem;
}

.registration-footer-note {
    margin-top: .85rem;
    color: #84928a;
    font-size: .76rem;
    text-align: center;
}

/* Payment */
.payment-page {
    max-width: 1180px;
    margin: 0 auto;
}

.registration-success-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    color: #0b6536;
    border: 1px solid #bce2c9;
    border-radius: 17px;
    background: #eaf8ef;
    box-shadow: 0 12px 30px rgba(15,86,46,.07);
}
.registration-success-banner strong,
.registration-success-banner p { display: block; margin: 0; }
.registration-success-banner p { margin-top: .18rem; font-size: .86rem; }
.success-check {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 50%;
    background: var(--portal-primary);
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 1.25rem;
    align-items: start;
}

.payment-heading h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -.045em;
}
.payment-heading p {
    margin: .65rem 0 0;
    color: var(--portal-muted);
}

.payment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.1rem 1.2rem;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(135deg, #086437, #159451);
}
.payment-summary small,
.payment-summary strong { display: block; }
.payment-summary small { color: rgba(255,255,255,.72); }
.payment-summary strong { margin-top: .2rem; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.payment-summary .badge { color: #0b6536 !important; background: #fff !important; }

.qris-panel {
    display: grid;
    padding: 1.1rem;
    border: 1px dashed #9bcaae;
    border-radius: 20px;
    background: #f5fcf7;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 1.25rem;
    align-items: center;
}
.qris-panel img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(14,77,40,.12);
}
.qris-copy > span {
    color: var(--portal-primary);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.qris-copy h3 { margin: .35rem 0 .55rem; font-weight: 850; }
.qris-copy p { color: #708177; font-size: .88rem; }
.qris-copy small { display: block; color: #718178; }
.countdown { display: block; margin-top: .2rem; color: #c53e49; font-size: 1.3rem; }

.payment-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 95px;
}

.photo-number-card {
    padding: 1.4rem;
    color: #fff;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 12rem),
        linear-gradient(135deg, #07552d, #159451);
    box-shadow: 0 20px 45px rgba(9,86,45,.2);
}
.photo-number-label {
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.photo-number-card > strong {
    display: block;
    margin: .25rem 0 .45rem;
    font-size: 3.6rem;
    letter-spacing: .04em;
    line-height: 1;
}
.photo-number-card p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: .84rem;
    line-height: 1.55;
}

.info-list {
    display: grid;
    gap: .9rem;
}
.info-list > div {
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--portal-border);
}
.info-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.info-list span,
.info-list strong { display: block; }
.info-list span { color: #7a8b81; font-size: .72rem; }
.info-list strong { margin-top: .16rem; font-size: .87rem; }

.process-message {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    border-radius: 15px;
}
.process-message > span {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    font-weight: 900;
    border-radius: 50%;
}
.process-message strong,
.process-message p { display: block; margin: 0; }
.process-message p { margin-top: .2rem; font-size: .82rem; }
.process-message.warning { color: #815300; background: #fff5d8; }
.process-message.warning > span { background: #ffe8a3; }
.process-message.success { color: #0b6536; background: #e8f8ee; }
.process-message.success > span { color: #fff; background: var(--portal-primary); }
.process-message.danger { color: #9b2933; background: #ffebed; }
.process-message.danger > span { color: #fff; background: #d64350; }

/* Photo admin */
.photo-number-chip {
    display: inline-flex;
    padding: .42rem .68rem;
    color: #08743d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .05em;
    border-radius: 999px;
    background: #e2f6e9;
}

.admin-photo-thumb {
    display: block;
    width: 48px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #cfe3d6;
    border-radius: 10px;
}

.admin-photo-empty {
    display: grid;
    flex: 0 0 auto;
    width: 54px;
    height: 60px;
    place-items: center;
    color: #819087;
    font-size: .62rem;
    text-align: center;
    border: 1px dashed #bcd3c5;
    border-radius: 10px;
    background: #f2f8f4;
}

.photo-upload-inline {
    display: grid;
    min-width: 150px;
    gap: .35rem;
}

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

.photo-management-card {
    overflow: hidden;
}

.photo-management-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 260px;
    overflow: hidden;
    background: #edf7f1;
}

.photo-management-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-large {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    align-content: center;
    gap: .4rem;
    color: #6f8176;
    background:
        radial-gradient(circle at 100% 0%, rgba(19,138,75,.12), transparent 14rem),
        #edf7f1;
}
.photo-placeholder-large span { font-size: 2.2rem; font-weight: 900; }
.photo-placeholder-large small { font-size: .72rem; }

.photo-number-floating {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    padding: .5rem .75rem;
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(6,74,37,.86);
    backdrop-filter: blur(8px);
}

.photo-management-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

/* Tracking */
.tracking-wrap { max-width: 900px; margin: 0 auto; }
.tracking-code { letter-spacing: .05em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tracking-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}
.tracking-photo-number {
    min-width: 190px;
    padding: 1rem;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, #086437, #159451);
}
.tracking-photo-number span,
.tracking-photo-number strong,
.tracking-photo-number small { display: block; }
.tracking-photo-number span { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.tracking-photo-number strong { margin: .15rem 0; font-size: 2rem; }
.tracking-photo-number small { color: rgba(255,255,255,.73); font-size: .68rem; }

.timeline { position: relative; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: 19px; width: 3px; border-radius: 99px; background: #dce9e1; }
.timeline-item { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 1rem; padding-bottom: 1.1rem; }
.timeline-dot { position: relative; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #dfe9e3; box-shadow: 0 0 0 1px #d1dfd6; font-weight: 800; }
.timeline-item.done .timeline-dot { color: #fff; background: var(--portal-primary); box-shadow: 0 0 0 1px var(--portal-primary); }
.timeline-item.current .timeline-dot { color: #fff; background: #e0a11b; box-shadow: 0 0 0 5px rgba(224,161,27,.12); }
.timeline-card { padding: .85rem 1rem; border: 1px solid var(--portal-border); border-radius: 14px; background: #fff; }
.timeline-card strong { display: block; color: #173426; }
.timeline-card small { color: #718178; }

@media (max-width: 1099.98px) {
    .landing-hero { grid-template-columns: 1fr; min-height: auto; }
    .landing-card-preview { min-height: 450px; }
    .landing-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .registration-page { grid-template-columns: 1fr; }
    .registration-intro { position: static; }
    .payment-grid { grid-template-columns: 1fr; }
    .payment-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .photo-management-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
    .landing-hero { padding-top: 3.5rem; padding-bottom: 4rem; grid-template-columns: minmax(0,1fr); }
    .landing-card-preview { min-height: 360px; }
    .student-card-mock { padding: 1rem; border-radius: 20px; }
    .student-card-body { grid-template-columns: 76px 1fr; gap: .8rem; margin-top: 1rem; }
    .student-photo-placeholder { height: 105px; }
    .landing-float-card { display: none; }
    .landing-steps { grid-template-columns: 1fr; }
    .landing-cta { display: block; }
    .landing-cta .btn { margin-top: 1.5rem; width: 100%; }
    .qris-panel { grid-template-columns: 1fr; }
    .qris-panel img { max-width: 230px; margin: 0 auto; }
    .payment-sidebar { grid-template-columns: 1fr; }
    .photo-management-grid { grid-template-columns: 1fr; }
    .tracking-header { display: block; }
    .tracking-photo-number { margin-top: 1rem; }
}

.text-bg-primary,
.text-bg-info {
    color: #fff !important;
    background-color: var(--portal-primary) !important;
}
.text-bg-success {
    color: #fff !important;
    background-color: #138a4b !important;
}


/* Standar Tipografi dan Pengaturan Baru */
.page-kicker,
.portal-table thead th,
.stat-label,
.admin-menu-label,
.landing-eyebrow,
.form-section-title,
.qris-copy > span,
.photo-number-label,
.tracking-photo-number span {
    text-transform: none !important;
    letter-spacing: .02em !important;
}

.portal-brand {
    min-width: 0;
    overflow: hidden;
}

.portal-brand-logo {
    display: block;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain;
    padding: 3px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.portal-brand-copy {
    min-width: 0;
}

.portal-brand-copy strong,
.portal-brand-copy span {
    display: block;
    max-width: min(48vw, 420px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-card-top {
    min-width: 0;
    overflow: hidden;
}

.student-card-logo-image {
    display: block;
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
    padding: 3px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.site-logo-preview {
    display: grid;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    place-items: center;
    overflow: hidden;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    border: 1px solid var(--portal-border);
    border-radius: 24px;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
}

.site-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    background: #fff;
}

.title-case-input {
    text-transform: capitalize;
}

strong, .fw-bold, .fw-semibold {
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   LANDING PAGE PILIHAN 1
   ========================================================= */
.home-page {
    color: #17231c;
    background: #fff;
}

.home-page .portal-navbar.landing-a-navbar {
    min-height: 78px;
    color: #14241b;
    background: rgba(255, 255, 255, .96);
    border-top: 3px solid #0b7d3f;
    border-bottom: 1px solid #e7eee9;
    box-shadow: 0 8px 28px rgba(24, 60, 38, .07);
    backdrop-filter: blur(18px);
}

.home-page .portal-navbar-inner {
    width: min(1240px, 100%);
    margin-inline: auto;
}

.home-page .portal-brand {
    color: #14241b;
}

.home-page .portal-brand-logo,
.landing-a-footer-brand-head img {
    background: transparent;
    border-radius: 0;
}

.home-page .portal-brand-copy strong {
    color: #14241b;
    font-size: 1rem;
    letter-spacing: .01em;
}

.home-page .portal-brand-copy span {
    color: #17824a;
    font-size: .72rem;
}

.home-page .portal-navbar .nav-link {
    position: relative;
    color: #25362d;
    padding: 1rem .9rem !important;
    background: transparent;
    border-radius: 0;
}

.home-page .portal-navbar .nav-link:hover,
.home-page .portal-navbar .nav-link.active {
    color: #08763a;
    background: transparent;
}

.home-page .portal-navbar .nav-link.active::after,
.home-page .portal-navbar .nav-link:hover::after {
    content: "";
    position: absolute;
    right: .9rem;
    bottom: .35rem;
    left: .9rem;
    height: 2px;
    border-radius: 99px;
    background: #11904c;
}

.home-page .navbar-toggler {
    color: #0b6f39;
}

.landing-a-wrap {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.landing-a-hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 47%, rgba(56, 177, 105, .13), transparent 19rem),
        radial-gradient(circle at 8% 100%, rgba(129, 210, 158, .14), transparent 24rem),
        linear-gradient(110deg, #ffffff 0%, #fbfefc 44%, #eef9f2 100%);
}

.landing-a-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: -95px;
    width: 440px;
    height: 240px;
    border-radius: 50% 50% 0 0;
    background: rgba(39, 163, 88, .07);
    transform: rotate(-8deg);
}

.landing-a-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 590px;
    padding-block: 56px 44px;
    grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.landing-a-copy {
    max-width: 650px;
}

.landing-a-badge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.25rem;
    padding: .65rem 1rem;
    color: #08743b;
    font-size: .84rem;
    font-weight: 800;
    border-radius: 999px;
    background: #e7f5ec;
}

.landing-a-badge svg,
.landing-a-btn svg,
.landing-a-step-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing-a-badge svg {
    width: 22px;
    height: 22px;
}

.landing-a-copy h1 {
    margin: 0;
    color: #15231b;
    font-size: clamp(2.65rem, 5.2vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.landing-a-copy h1 span {
    display: block;
    margin-top: .22rem;
    color: #0b8141;
}

.landing-a-copy > p {
    max-width: 610px;
    margin: 1.35rem 0 1.8rem;
    color: #56665d;
    font-size: 1.04rem;
    line-height: 1.75;
}

.landing-a-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.landing-a-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .85rem 1.35rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.landing-a-btn:hover {
    transform: translateY(-2px);
}

.landing-a-btn svg {
    width: 21px;
    height: 21px;
}

.landing-a-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0c8242, #11a254);
    box-shadow: 0 12px 27px rgba(8, 122, 60, .22);
}

.landing-a-btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #086d36, #0b8d47);
}

.landing-a-btn-secondary {
    color: #08763a;
    border-color: #168a4a;
    background: rgba(255, 255, 255, .86);
}

.landing-a-btn-secondary:hover {
    color: #fff;
    background: #08763a;
}

.landing-a-btn-light {
    flex: 0 0 auto;
    color: #08763a;
    background: #fff;
    box-shadow: 0 14px 30px rgba(1, 62, 28, .16);
}

.landing-a-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.35rem;
    margin-top: 2rem;
    color: #4f6057;
    font-size: .78rem;
    font-weight: 700;
}

.landing-a-trust span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.landing-a-trust i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #0a8542;
    font-style: normal;
    border-radius: 50%;
    background: #e8f6ed;
}

.landing-a-visual {
    position: relative;
    display: grid;
    min-height: 450px;
    place-items: center;
}

.landing-a-blob {
    position: absolute;
    width: min(92%, 510px);
    aspect-ratio: 1;
    border-radius: 48% 52% 60% 40% / 46% 38% 62% 54%;
    background: linear-gradient(145deg, #dff4e7, #bfe6ce);
    transform: rotate(7deg);
}

.landing-a-card {
    position: relative;
    z-index: 3;
    width: min(90%, 510px);
    aspect-ratio: 1.586 / 1;
    padding: 1.55rem;
    overflow: hidden;
    border: 1px solid rgba(10, 97, 48, .12);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 28px 50px rgba(16, 76, 44, .22);
    transform: rotate(-5deg);
}

.landing-a-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
}

.landing-a-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 92px;
    background: linear-gradient(135deg, #075e31, #0c8142);
}

.landing-a-card-header > * {
    position: relative;
    z-index: 2;
}

.landing-a-card-header strong,
.landing-a-card-header span {
    display: block;
    text-transform: uppercase;
}

.landing-a-card-header strong {
    font-size: 1.12rem;
}

.landing-a-card-header span {
    margin-top: .15rem;
    font-size: .76rem;
    letter-spacing: .06em;
}

.landing-a-card-header img,
.landing-a-card-header b {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    object-fit: contain;
    padding: 3px;
    color: #08763a;
    font-size: 1.25rem;
    border-radius: 10px;
    background: #fff;
}

.landing-a-card-body {
    position: relative;
    z-index: 2;
    display: grid;
    margin-top: 2rem;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.15rem;
}

.landing-a-card-photo {
    display: grid;
    height: 145px;
    place-items: end center;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(180deg, #ecf3ef, #dcebe3);
}

.landing-a-card-photo svg {
    width: 92%;
    height: 92%;
    fill: #81988b;
    stroke: #627c6d;
    stroke-width: 2;
}

.landing-a-card-data {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
}

.landing-a-card-data small {
    color: #78877e;
    font-size: .61rem;
}

.landing-a-card-data strong {
    margin-bottom: .36rem;
    color: #17231c;
    font-size: .83rem;
}

.landing-a-barcode {
    display: flex;
    height: 30px;
    align-items: stretch;
    gap: 3px;
    margin-top: .25rem;
}

.landing-a-barcode i {
    display: block;
    width: 3px;
    background: #121b16;
}

.landing-a-barcode i:nth-child(3n) { width: 7px; }
.landing-a-barcode i:nth-child(4n) { width: 2px; }

.landing-a-card-wave {
    position: absolute;
    right: -45px;
    bottom: -66px;
    width: 310px;
    height: 140px;
    border-radius: 50% 0 0;
    background: linear-gradient(145deg, #33ad65, #08743b);
    transform: rotate(-10deg);
}

.landing-a-dot-grid {
    position: absolute;
    right: 0;
    top: 40px;
    width: 115px;
    height: 75px;
    opacity: .55;
    background-image: radial-gradient(#60bd82 2px, transparent 2px);
    background-size: 14px 14px;
}

.landing-a-leaf {
    position: absolute;
    z-index: 2;
    width: 55px;
    height: 110px;
    border-radius: 100% 0 100% 0;
    background: rgba(39, 157, 82, .2);
}

.landing-a-leaf.leaf-one {
    left: 5%;
    bottom: 30px;
    transform: rotate(-28deg);
}

.landing-a-leaf.leaf-two {
    right: 5%;
    bottom: 40px;
    transform: rotate(28deg) scale(.75);
}

.landing-a-process,
.landing-a-benefits {
    padding: 46px 0 54px;
    background: #fff;
}

.landing-a-benefits {
    padding-top: 20px;
}

.landing-a-section-title {
    margin-bottom: 1.6rem;
    text-align: center;
}

.landing-a-section-title h2 {
    margin: 0;
    color: #19261f;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 800;
}

.landing-a-section-title span {
    display: block;
    width: 48px;
    height: 3px;
    margin: .65rem auto 0;
    border-radius: 99px;
    background: #0e8b48;
}

.landing-a-process-grid {
    position: relative;
    display: grid;
    padding: 1.2rem 1.1rem;
    border: 1px solid #e3ece6;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(19, 81, 48, .055);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-a-process-item {
    position: relative;
    display: grid;
    min-height: 130px;
    padding: .75rem 1rem;
    grid-template-columns: 68px 1fr;
    gap: .85rem;
    align-items: center;
}

.landing-a-process-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    width: 22px;
    border-top: 2px dashed #acd9ba;
}

.landing-a-step-number {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 2;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    border-radius: 50%;
    background: #0b8141;
}

.landing-a-step-icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    color: #0b8141;
    border: 1px solid #e3eee7;
    border-radius: 50%;
    background: #fbfefc;
    box-shadow: 0 8px 20px rgba(13, 103, 54, .08);
}

.landing-a-step-icon svg {
    width: 34px;
    height: 34px;
}

.landing-a-process-item h3,
.landing-a-benefit-grid h3 {
    margin: 0 0 .35rem;
    color: #1b2921;
    font-size: .98rem;
    font-weight: 800;
}

.landing-a-process-item p,
.landing-a-benefit-grid p {
    margin: 0;
    color: #67766e;
    font-size: .78rem;
    line-height: 1.55;
}

.landing-a-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.landing-a-benefit-grid article {
    display: grid;
    min-height: 128px;
    padding: 1.15rem;
    border: 1px solid #e3ebe6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17, 76, 43, .06);
    grid-template-columns: 56px 1fr;
    gap: .85rem;
    align-items: center;
}

.landing-a-benefit-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #08763a;
    font-size: 1.25rem;
    font-weight: 900;
    border-radius: 50%;
    background: #e9f7ee;
}

.landing-a-callout {
    padding: 28px 0 54px;
    background: #fff;
}

.landing-a-callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.2rem 2.5rem;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .15), transparent 15rem),
        linear-gradient(135deg, #076534, #0b8e48);
    box-shadow: 0 22px 48px rgba(7, 99, 52, .18);
}

.landing-a-callout-inner span {
    display: block;
    margin-bottom: .45rem;
    color: #bde7cc;
    font-size: .76rem;
    font-weight: 800;
}

.landing-a-callout-inner h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1.5rem, 3.2vw, 2.35rem);
    font-weight: 800;
}

.landing-a-callout-inner p {
    max-width: 800px;
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
}

.landing-a-footer {
    color: rgba(255, 255, 255, .84);
    background: linear-gradient(135deg, #076735, #078444);
}

.landing-a-footer-grid {
    display: grid;
    padding-block: 2.4rem 2rem;
    grid-template-columns: 1.45fr .7fr 1.2fr .85fr;
    gap: 2rem;
}

.landing-a-footer h3 {
    margin: 0 0 .85rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
}

.landing-a-footer p,
.landing-a-footer a,
.landing-a-footer span {
    display: block;
    margin: .34rem 0;
    color: rgba(255, 255, 255, .73);
    font-size: .75rem;
    line-height: 1.55;
    text-decoration: none;
}

.landing-a-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.landing-a-footer-brand-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .8rem;
}

.landing-a-footer-brand-head img,
.landing-a-footer-brand-head b {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    object-fit: contain;
    padding: 3px;
    color: #08763a;
    border-radius: 8px;
    background: #fff;
}

.landing-a-footer-brand-head strong,
.landing-a-footer-brand-head span {
    display: block;
    margin: 0;
}

.landing-a-footer-brand-head strong {
    color: #fff;
    font-size: 1rem;
}

.landing-a-footer-brand-head span {
    font-size: .7rem;
}

.landing-a-footer-bottom {
    padding-block: 1rem;
    font-size: .7rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

@media (max-width: 1050px) {
    .landing-a-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 48px;
    }

    .landing-a-copy {
        max-width: 760px;
        text-align: center;
        margin-inline: auto;
    }

    .landing-a-actions,
    .landing-a-trust {
        justify-content: center;
    }

    .landing-a-visual {
        min-height: 410px;
    }

    .landing-a-process-grid,
    .landing-a-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-a-process-item:nth-child(2)::after {
        display: none;
    }

    .landing-a-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-page .portal-navbar .nav-link.active::after,
    .home-page .portal-navbar .nav-link:hover::after {
        display: none;
    }

    .home-page .portal-navbar .navbar-collapse {
        margin-top: .7rem;
        padding: .6rem;
        border: 1px solid #e5eee8;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 14px 30px rgba(15, 70, 38, .1);
    }

    .landing-a-wrap {
        width: min(100% - 24px, 1240px);
    }

    .landing-a-hero-grid {
        min-height: auto;
        padding-block: 38px 26px;
    }

    .landing-a-copy h1 {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
    }

    .landing-a-copy > p {
        font-size: .92rem;
    }

    .landing-a-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .landing-a-btn {
        width: 100%;
    }

    .landing-a-trust {
        display: grid;
        justify-content: start;
        width: fit-content;
        margin-inline: auto;
    }

    .landing-a-visual {
        min-height: 310px;
    }

    .landing-a-card {
        width: 96%;
        padding: 1rem;
        border-radius: 16px;
    }

    .landing-a-card::before {
        height: 68px;
    }

    .landing-a-card-header strong {
        font-size: .82rem;
    }

    .landing-a-card-header img,
    .landing-a-card-header b {
        width: 39px;
        height: 39px;
    }

    .landing-a-card-body {
        margin-top: 1.1rem;
        grid-template-columns: 78px 1fr;
        gap: .75rem;
    }

    .landing-a-card-photo {
        height: 105px;
    }

    .landing-a-card-data small {
        font-size: .48rem;
    }

    .landing-a-card-data strong {
        font-size: .65rem;
        margin-bottom: .2rem;
    }

    .landing-a-barcode {
        height: 20px;
        gap: 2px;
    }

    .landing-a-process-grid,
    .landing-a-benefit-grid,
    .landing-a-footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-a-process-item:not(:last-child)::after {
        display: none;
    }

    .landing-a-callout-inner {
        display: block;
        padding: 1.6rem;
        text-align: center;
    }

    .landing-a-callout-inner .landing-a-btn {
        margin-top: 1.2rem;
    }
}
