html {
    --maroon: #4a1c1f;
    --maroon-dark: #240c0e;
    --gold: #c9a351;
    --gold-soft: #f4dfaa;
    --ink: #1d1b20;
    --muted: #72717a;
    --light: #fffaf0;
    --white: #ffffff;
    --line: rgba(74, 28, 31, 0.12);
    --shadow: 0 24px 80px rgba(31, 12, 14, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: #fffaf5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 250, 245, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(74, 28, 31, 0.08);
    transition: 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 16px 40px rgba(36, 12, 14, 0.1);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: 64px;
    height: 64px;
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    display: block;
    color: var(--maroon);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
}

.brand-text small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 11px;
    }
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a,
.main-nav button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 999px;
    color: var(--maroon);
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav button:hover {
    background: rgba(201, 163, 81, 0.18);
    color: var(--maroon-dark);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 10px;
    list-style: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.2s ease;
    z-index: 1000;
}

.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    border-radius: 14px;
    padding: 11px 12px;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--maroon);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: 0.2s ease;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 15% 10%, rgba(201, 163, 81, 0.3), transparent 28%), linear-gradient(135deg, #4a1c1f 0%, #240c0e 70%);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: var(--gold-soft);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eyebrow.dark {
    color: var(--maroon);
    border-color: rgba(74, 28, 31, 0.16);
    background: rgba(201, 163, 81, 0.13);
}

.hero-content h1 {
    margin: 22px 0 22px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.hero-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-actions.centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-gold {
    color: var(--maroon);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 18px 40px rgba(201, 163, 81, 0.28);
}

.btn-glass {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.btn-maroon {
    color: var(--white);
    background: var(--maroon);
}

.hero-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    animation: float-card 5s ease-in-out infinite;
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-soft);
    font-weight: 800;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28e98c;
    box-shadow: 0 0 0 rgba(40, 233, 140, 0.7);
    animation: pulse 1.8s infinite;
}

.hero-card h2 {
    font-size: 34px;
    line-height: 1.1;
    margin: 26px 0 14px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.mini-menu-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.mini-menu-preview span {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
    font-weight: 800;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.55;
    animation: drift 8s ease-in-out infinite alternate;
}

.hero-orb-one {
    width: 360px;
    height: 360px;
    right: -90px;
    top: 80px;
    background: rgba(201, 163, 81, 0.22);
}

.hero-orb-two {
    width: 220px;
    height: 220px;
    left: 6%;
    bottom: -70px;
    background: rgba(255, 255, 255, 0.12);
}

.announce-section {
    overflow: hidden;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    font-weight: 900;
    white-space: nowrap;
}

.announce-track {
    display: inline-flex;
    gap: 52px;
    padding: 15px 0;
    animation: marquee 25s linear infinite;
}

.stats-section {
    padding: 56px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #fff7e7);
    box-shadow: 0 14px 50px rgba(74, 28, 31, 0.08);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--maroon);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.stat-card span {
    display: block;
    color: var(--muted);
    margin-top: 10px;
    font-weight: 700;
}

.stat-card i{
    font-size:32px;
    color:var(--gold);
    margin-bottom:12px;
    display:block;
}

.stat-card strong{
    display:block;
    font-size:36px;
    font-weight:900;
    color:var(--maroon);
    margin-bottom:6px;
}

.stat-card span{
    color:var(--muted);
    font-weight:600;
}

.feature-section,
.posts-section {
    padding: 86px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 16px 60px rgba(74, 28, 31, 0.08);
    transition: 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.feature-card span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--maroon);
    background: var(--gold-soft);
    font-weight: 900;
}

.feature-card h3 {
    margin: 20px 0 10px;
    color: var(--maroon);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading h2 {
    margin: 18px 0 12px;
    color: var(--maroon);
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.22s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.post-image {
    min-height: 190px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, rgba(244, 223, 170, 0.85), transparent 35%), linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.post-image span {
    font-size: 58px;
    transform: rotate(-8deg);
}

.post-content {
    padding: 24px;
}

.post-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.post-title {
    margin: 14px 0 10px;
    color: var(--maroon);
    font-size: 21px;
    line-height: 1.32;
}

.post-title a:hover {
    color: #8d4d18;
}

.post-excerpt {
    color: var(--muted);
    line-height: 1.7;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
}

.btn-read {
    color: var(--maroon);
    font-weight: 900;
}

.post-actions {
    display: flex;
    gap: 8px;
}

.post-actions a {
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 800;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 52px;
    border-radius: 30px;
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 44px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--maroon);
    font-weight: 900;
}

.pagination .active {
    background: var(--maroon);
    color: var(--white);
}

.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.cta-box {
    padding: 54px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 36px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
}

.cta-box p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}



.reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: 0.7s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 233, 140, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(40, 233, 140, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 233, 140, 0);
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(-30px, 30px, 0) scale(1.08);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1060px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 78px;
        left: 18px;
        right: 18px;
        max-height: calc(100vh - 96px);
        overflow: auto;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px);
        transition: 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav > ul {
        display: block;
    }

    .main-nav a,
    .main-nav button {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        border-radius: 14px;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        margin: 4px 0 10px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
        background: #fff7e7;
    }

    .has-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .hero-grid,
    .stats-grid,
    .feature-grid,
    .posts-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand small {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 86px 0 64px;
    }

    .hero-grid,
    .stats-grid,
    .feature-grid,
    .posts-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .cta-box {
        padding: 28px;
    }

    .post-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ACTIVE MENU */

.main-nav a.active,
.main-nav .active > button {
    background: linear-gradient(
        135deg,
        #c9a351,
        #f4dfaa
    );

    color: #4a1c1f !important;

    box-shadow:
        0 10px 30px rgba(201,163,81,.35);

    font-weight: 800;
}

.main-nav a.active:hover,
.main-nav .active > button:hover {
    background: linear-gradient(
        135deg,
        #c9a351,
        #f4dfaa
    );

    color: #240c0e !important;
}

.dropdown-menu a.active {
    background: #c9a351;
    color: #4a1c1f !important;
}

.kaprodi-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(201, 163, 81, 0.18), transparent 28%),
        linear-gradient(180deg, #ffffff, #fff7e7);
}

.kaprodi-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 54px;
    align-items: center;
}

.kaprodi-photo {
    position: relative;
}

.kaprodi-frame {
    padding: 14px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--maroon), var(--gold), var(--maroon-dark));
    box-shadow: var(--shadow);
}

.kaprodi-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 26px;
    background: #f4dfaa;
}

.kaprodi-badge {
    position: absolute;
    right: -18px;
    bottom: 34px;
    max-width: 230px;
    padding: 18px 20px;
    border-radius: 22px;
    color: var(--maroon);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 55px rgba(74, 28, 31, 0.18);
    backdrop-filter: blur(14px);
}

.kaprodi-badge strong,
.kaprodi-badge span {
    display: block;
}

.kaprodi-badge strong {
    font-size: 22px;
    color: var(--maroon);
}

.kaprodi-badge span {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.5;
    font-size: 13px;
    font-weight: 700;
}

.kaprodi-content h2 {
    margin: 18px 0 18px;
    color: var(--maroon);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.kaprodi-content p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.kaprodi-content h3 {
    margin: 28px 0 4px;
    color: var(--maroon);
    font-size: 24px;
}

.kaprodi-content small {
    color: var(--muted);
    font-weight: 800;
}

.testimonial-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(201, 163, 81, 0.18), transparent 28%),
        #fffaf5;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--white);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.22s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.quote-mark {
    position: absolute;
    top: -28px;
    right: 24px;
    color: rgba(201, 163, 81, 0.22);
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
}

.testimonial-card p {
    position: relative;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 28px;
}

.alumni-info {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.alumni-info strong,
.alumni-info span {
    display: block;
}

.alumni-info strong {
    color: var(--maroon);
    font-size: 18px;
}

.alumni-info span {
    margin-top: 6px;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 1060px) {
    .kaprodi-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .kaprodi-badge {
        right: 18px;
    }
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
    background:
        radial-gradient(circle at 15% 20%, rgba(201, 163, 81, 0.3), transparent 28%),
        linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--white);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.page-hero-content h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.page-hero-content p {
    margin: 0 auto;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.75;
}

.blog-summary-section {
    padding: 46px 0 0;
    background: #fffaf5;
}

.blog-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 1060px) {
    .blog-summary-grid {
        grid-template-columns: 1fr;
    }
}

.history-section {
    padding: 90px 0;
    background: #fff;
}

.history-card {
    max-width: 1000px;
    margin: auto;
    padding: 50px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.history-card p {
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
    text-align: justify;
}

.timeline-section {
    padding: 90px 0;
    background: linear-gradient(
        180deg,
        #fffaf5,
        #fff7e7
    );
}

.timeline {
    max-width: 900px;
    margin: auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.timeline-year {
    padding: 18px;
    border-radius: 18px;
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: var(--maroon);
    background: linear-gradient(
        135deg,
        var(--gold),
        var(--gold-soft)
    );
}

.timeline-content {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--maroon);
}

.timeline-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 768px) {

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .history-card {
        padding: 28px;
    }
}

.vision-section {
    padding: 90px 0;
    background: #fff;
}

.vision-card {
    max-width: 950px;
    margin: auto;
    padding: 60px;
    text-align: center;
    border-radius: 36px;
    background: linear-gradient(
        135deg,
        var(--maroon),
        var(--maroon-dark)
    );
    color: var(--white);
    box-shadow: var(--shadow);
}

.vision-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.vision-card blockquote {
    margin: 0;
    font-size: 30px;
    line-height: 1.6;
    font-weight: 700;
}

.mission-section {
    padding: 90px 0;
    background: #fffaf5;
}

.goal-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.goal-card {
    padding: 34px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 50px rgba(74,28,31,.08);
}

.goal-number {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 18px;
    background: var(--gold-soft);
    color: var(--maroon);
    font-weight: 900;
}

.goal-card h3 {
    margin: 0 0 12px;
    color: var(--maroon);
}

.goal-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.graduate-profile-section {
    padding: 90px 0;
    background: #fff;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.profile-item {
    text-align: center;
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(74,28,31,.08);
}

.profile-item span {
    font-size: 48px;
}

.profile-item h3 {
    color: var(--maroon);
    margin: 16px 0 12px;
}

.profile-item p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1060px) {

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

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

@media (max-width: 720px) {

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

    .vision-card {
        padding: 36px 24px;
    }

    .vision-card blockquote {
        font-size: 22px;
    }
}

.unggulan-section {
    padding: 90px 0;
    background: #fffaf5;
}

.unggulan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.unggulan-card {
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.22s ease;
}

.unggulan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.unggulan-image {
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.unggulan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
}

.unggulan-card:hover .unggulan-image img {
    transform: scale(1.06);
}

.unggulan-content {
    padding: 32px;
}

.unggulan-content span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--gold-soft);
    color: var(--maroon);
    font-weight: 900;
    margin-bottom: 18px;
}

.unggulan-content h3 {
    margin: 0 0 14px;
    color: var(--maroon);
    font-size: 24px;
    line-height: 1.25;
}

.unggulan-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

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

    .unggulan-image {
        height: 220px;
    }
}
.staff-section {
    padding: 90px 0;
    background: #fffaf5;
}

.staff-section-soft {
    background: linear-gradient(180deg, #ffffff, #fff7e7);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

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

.staff-card {
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.25s ease;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.staff-photo {
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
}

.staff-card:hover .staff-photo img {
    transform: scale(1.06);
}

.staff-avatar {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: radial-gradient(circle at top left, var(--gold-soft), var(--maroon));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 54px;
    font-weight: 900;
    letter-spacing: 1px;
}

.staff-content {
    padding: 28px;
}

.staff-content h3 {
    margin: 0 0 14px;
    color: var(--maroon);
    font-size: 22px;
    line-height: 1.3;
}

.staff-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.staff-meta span {
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--maroon);
    background: #fff4db;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}

.expertise-box {
    padding: 18px;
    border-radius: 20px;
    background: #fffaf0;
    border: 1px solid var(--line);
}

.expertise-box strong {
    display: block;
    margin-bottom: 10px;
    color: var(--maroon);
}

.expertise-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    border: 1px solid rgba(201, 163, 81, 0.35);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.expertise-tag.empty {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.profile-links a,
.profile-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.profile-links a {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    transition: 0.2s ease;
}

.profile-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 163, 81, 0.3);
}

.profile-link.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}

.staff-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px dashed var(--line);
    color: var(--muted);
}

.staff-empty h3 {
    margin-bottom: 8px;
    color: var(--maroon);
}

@media (max-width: 1060px) {
    .staff-grid,
    .tendik-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .staff-section {
        padding: 64px 0;
    }

    .staff-grid,
    .tendik-grid {
        grid-template-columns: 1fr;
    }

    .staff-photo {
        height: 280px;
    }

    .staff-avatar {
        min-height: 280px;
        font-size: 46px;
    }

    .staff-content {
        padding: 22px;
    }
}
.sarpras-section {
    padding: 90px 0;
    background: #fffaf5;
}

.sarpras-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

.sarpras-card {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74,28,31,.08);
    transition: .25s ease;
}

.sarpras-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.sarpras-image {
    height: 250px;
    overflow: hidden;
}

.sarpras-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.sarpras-card:hover img {
    transform: scale(1.08);
}

.sarpras-content {
    padding: 28px;
}

.sarpras-content h3 {
    margin: 0 0 12px;
    color: var(--maroon);
}

.sarpras-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.facility-highlight {
    padding: 0 0 90px;
    background: #fffaf5;
}

.facility-banner {
    padding: 70px;
    border-radius: 40px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--maroon),
            var(--maroon-dark)
        );

    color: #fff;

    position: relative;
}

.facility-banner::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201,163,81,.18);
}

.facility-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.facility-banner h2 {
    margin: 18px 0;
    font-size: clamp(32px,4vw,54px);
    line-height: 1.1;
}

.facility-banner p {
    line-height: 1.9;
    color: rgba(255,255,255,.82);
}

@media (max-width:1060px){

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

}

@media (max-width:720px){

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

    .facility-banner{
        padding:40px 28px;
    }

}

.curriculum-section {
    padding: 90px 0;
    background: #ffffff;
}

.curriculum-section.soft {
    background: #fffaf5;
}

.pl-grid,
.komposisi-grid,
.curriculum-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pl-card,
.komposisi-card,
.curriculum-summary div {
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 50px rgba(74,28,31,.08);
}

.pl-card span {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--gold-soft);
    color: var(--maroon);
    font-weight: 900;
    margin-bottom: 18px;
}

.pl-card h3,
.komposisi-card h3 {
    color: var(--maroon);
    margin: 0;
}

.komposisi-card strong,
.curriculum-summary strong {
    display: block;
    margin-top: 14px;
    color: var(--maroon);
    font-size: 28px;
}

.curriculum-summary span {
    color: var(--muted);
    font-weight: 700;
}

.responsive-table {
    overflow-x: auto;
    border-radius: 28px;
    box-shadow: var(--shadow);
    background: #ffffff;
}

.curriculum-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    background: #ffffff;
}

.curriculum-table th {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    padding: 18px;
    text-align: left;
    font-size: 14px;
}

.curriculum-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    line-height: 1.6;
    vertical-align: top;
}

.curriculum-table tbody tr:hover {
    background: #fff7e7;
}

.center-table th,
.center-table td {
    text-align: center;
}

.center-table td:nth-child(2) {
    text-align: left;
}

.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 800;
}

.mk-table th,
.mk-table td {
    font-size: 14px;
}

.semester-total td {
    background: #fff4db;
    color: var(--maroon);
    font-weight: 900;
}

@media (max-width: 1060px) {
    .pl-grid,
    .komposisi-grid,
    .curriculum-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .pl-grid,
    .komposisi-grid,
    .curriculum-summary {
        grid-template-columns: 1fr;
    }
}

.curriculum-subgrid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.curriculum-mini-card {
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 50px rgba(74,28,31,.08);
}

.curriculum-mini-card h3 {
    margin: 0 0 18px;
    color: var(--maroon);
    font-size: 24px;
}

.curriculum-mini-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.small-table {
    box-shadow: none;
    border: 1px solid var(--line);
}

.small-table .curriculum-table {
    min-width: 420px;
}

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

.expertise-section {
    padding: 80px 0;
    background: #ffffff;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.expertise-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.expertise-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
}

.expertise-header h3 {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
}

.expertise-header p {
    margin: 4px 0;
    color: #475569;
}

.expertise-header small {
    color: #64748b;
}

.expertise-body h4 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 16px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    font-weight: 600;
}

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

    .expertise-card {
        padding: 20px;
    }
}

.mapping-table {
    min-width: 1250px;
    font-size: 14px;
}

.mapping-table th,
.mapping-table td {
    vertical-align: middle;
    text-align: center;
}

.mapping-table .text-left {
    text-align: left;
    min-width: 260px;
}

.check-cell {
    font-weight: 800;
    color: #0f766e;
    font-size: 17px;
}

.mk-badge,
.level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.mk-badge.wajib {
    background: #e0f2fe;
    color: #0369a1;
}

.mk-badge.pilihan {
    background: #fef3c7;
    color: #92400e;
}

.level-badge.basic {
    background: #ecfdf5;
    color: #047857;
}

.level-badge.intermediate {
    background: #eef2ff;
    color: #4338ca;
}

.level-badge.mastery {
    background: #fce7f3;
    color: #be185d;
}

.cpl-conclusion {
    margin-top: 34px;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.cpl-conclusion h3 {
    margin-bottom: 18px;
    color: #0f172a;
}

.cpl-conclusion ol {
    padding-left: 22px;
    margin: 0;
}

.cpl-conclusion li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #334155;
}

@media (max-width: 768px) {
    .mapping-table {
        font-size: 12px;
    }

    .cpl-conclusion {
        padding: 20px;
    }
}

.schedule-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.schedule-table {
    min-width: 1050px;
}

.schedule-table th,
.schedule-table td {
    text-align: center;
    vertical-align: middle;
}

.schedule-table .text-left {
    text-align: left;
}

.schedule-loading,
.schedule-empty {
    text-align: center;
    padding: 36px 20px;
    color: #475569;
}

.schedule-empty h3 {
    margin-bottom: 8px;
    color: #0f172a;
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.schedule-badge.status {
    background: #ecfdf5;
    color: #047857;
}

@media (max-width: 768px) {
    .schedule-card {
        padding: 16px;
    }

    .schedule-table {
        font-size: 12px;
    }
}

.tridharma-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.18), transparent 35%),
        linear-gradient(180deg, #fffaf5, #ffffff);
}

.tridharma-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    overflow: hidden;
    border-radius: 38px;
    padding: 46px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(74, 28, 31, 0.12);
}

.tridharma-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    font-size: 13px;
    font-weight: 900;
}

.tridharma-content h2 {
    max-width: 720px;
    margin: 10px 0 18px;
    color: var(--maroon);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.tridharma-content p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.tridharma-content strong {
    color: var(--maroon);
}

.tridharma-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.tridharma-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: #fffaf0;
    border: 1px solid var(--line);
}

.tridharma-item span {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--maroon);
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
}

.tridharma-item p {
    margin: 0;
    color: var(--maroon);
    font-weight: 800;
    line-height: 1.5;
}

.tridharma-action {
    margin-top: 26px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff4db, #ffffff);
    border: 1px solid var(--line);
}

.tridharma-action p {
    margin: 0 0 14px;
    color: var(--maroon);
    font-weight: 800;
}

.tridharma-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(74, 28, 31, 0.2);
    transition: 0.22s ease;
}

.tridharma-action a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(74, 28, 31, 0.28);
}

.tridharma-visual {
    position: relative;
    min-height: 480px;
    border-radius: 34px;
    background:
        radial-gradient(circle at center, rgba(201, 163, 81, 0.25), transparent 45%),
        linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    overflow: hidden;
}

.tridharma-circle {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.tridharma-circle strong {
    font-size: 76px;
    line-height: 1;
}

.tridharma-circle span {
    font-size: 18px;
    font-weight: 900;
}

.tridharma-mini {
    position: absolute;
    width: 210px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.tridharma-mini strong {
    display: block;
    margin-bottom: 4px;
    color: var(--maroon);
}

.tridharma-mini span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.tridharma-mini.pendidikan {
    top: 46px;
    left: 34px;
}

.tridharma-mini.penelitian {
    right: 34px;
    top: 190px;
}

.tridharma-mini.pengabdian {
    left: 52px;
    bottom: 48px;
}

@media (max-width: 980px) {
    .tridharma-card {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .tridharma-badge {
        position: static;
        width: fit-content;
        margin-bottom: 18px;
    }

    .tridharma-visual {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .tridharma-section {
        padding: 64px 0;
    }

    .tridharma-card {
        padding: 24px;
        border-radius: 28px;
    }

    .tridharma-list {
        grid-template-columns: 1fr;
    }

    .tridharma-visual {
        min-height: auto;
        padding: 24px;
        display: grid;
        gap: 14px;
    }

    .tridharma-circle,
    .tridharma-mini {
        position: static;
        transform: none;
        width: 100%;
    }

    .tridharma-circle {
        height: 150px;
        border-radius: 28px;
    }

    .tridharma-circle strong {
        font-size: 56px;
    }
}

.student-service-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.16), transparent 34%),
        linear-gradient(180deg, #fffaf5, #ffffff);
}

.student-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.student-service-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 26px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.25s ease;
}

.student-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.student-service-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    opacity: 0.28;
}

.student-service-number {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.student-service-content {
    position: relative;
    z-index: 2;
}

.student-service-content h3 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 20px;
    line-height: 1.35;
}

.student-service-content p {
    min-height: 78px;
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.student-service-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.2s ease;
}

.student-service-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 163, 81, 0.32);
}

@media (max-width: 1060px) {
    .student-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .student-service-section {
        padding: 64px 0;
    }

    .student-service-grid {
        grid-template-columns: 1fr;
    }

    .student-service-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }

    .student-service-content p {
        min-height: auto;
    }
}

.himsos-section {
    padding: 90px 0;
    background: #fffaf5;
}

.himsos-soft {
    background: linear-gradient(180deg, #ffffff, #fff7e7);
}

.himsos-profile-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 38px;
    align-items: center;
    padding: 42px;
    border-radius: 38px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(74, 28, 31, 0.12);
}

.himsos-logo-box {
    min-height: 300px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.35), transparent 40%),
        linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
}

.himsos-logo-box img {
    max-width: 210px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,0.25));
}

.himsos-profile-content h2 {
    margin: 10px 0 18px;
    color: var(--maroon);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.himsos-profile-content p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.himsos-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.himsos-purpose-card,
.himsos-program-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.25s ease;
}

.himsos-purpose-card:hover,
.himsos-program-card:hover,
.himsos-structure-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.himsos-purpose-card span,
.himsos-program-icon,
.himsos-structure-number {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 20px;
}

.himsos-purpose-card h3,
.himsos-program-card h3,
.himsos-structure-card h3 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 20px;
    line-height: 1.35;
}

.himsos-purpose-card p,
.himsos-program-card p,
.himsos-structure-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.himsos-structure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.himsos-structure-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.08);
    transition: 0.25s ease;
}

.himsos-structure-number {
    flex-shrink: 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
}

.himsos-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.himsos-program-card {
    min-height: 260px;
}

.himsos-program-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    opacity: 0.28;
}

@media (max-width: 980px) {
    .himsos-profile-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .himsos-purpose-grid,
    .himsos-program-grid {
        grid-template-columns: 1fr;
    }

    .himsos-structure-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .himsos-section {
        padding: 64px 0;
    }

    .himsos-profile-card {
        padding: 24px;
        border-radius: 28px;
    }

    .himsos-logo-box {
        min-height: 240px;
        border-radius: 26px;
    }

    .himsos-logo-box img {
        max-width: 170px;
    }

    .himsos-purpose-card,
    .himsos-program-card,
    .himsos-structure-card {
        padding: 22px;
        border-radius: 24px;
    }
}

.org-image-card {
    padding: 30px;
    border-radius: 36px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(74, 28, 31, 0.10);
}

.org-image-header {
    text-align: center;
    margin-bottom: 24px;
}

.org-image-header h3 {
    margin-bottom: 10px;
    color: var(--maroon);
    font-size: 28px;
}

.org-image-header p {
    color: var(--muted);
}

.org-image-link {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
}

.org-image {
    width: 100%;
    display: block;
    transition: .3s ease;
}

.org-image:hover {
    transform: scale(1.02);
}





@media (max-width: 920px) {
    body.nav-open {
        overflow: hidden;
    }

    .nav-toggle {
        display: inline-flex;
        position: relative;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        z-index: 1005;
        box-shadow: 0 12px 30px rgba(74, 28, 31, 0.25);
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: 0.28s ease;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 380px);
        height: 100vh;
        padding: 92px 18px 24px;
        background:
            radial-gradient(circle at top right, rgba(201, 163, 81, 0.22), transparent 34%),
            linear-gradient(180deg, #ffffff, #fff7e7);
        border-left: 1px solid var(--line);
        box-shadow: -24px 0 70px rgba(74, 28, 31, 0.18);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        transition:
            transform 0.38s cubic-bezier(.22, 1, .36, 1),
            opacity 0.28s ease,
            visibility 0.28s ease;
        overflow-y: auto;
        z-index: 1003;
    }

    .main-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav::before {
        content: "Menu";
        position: absolute;
        top: 28px;
        left: 22px;
        color: var(--maroon);
        font-size: 22px;
        font-weight: 900;
    }

    .main-nav > ul {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav li {
        opacity: 0;
        transform: translateX(24px);
        transition: 0.35s ease;
    }

    .main-nav.is-open li {
        opacity: 1;
        transform: translateX(0);
    }

    .main-nav.is-open li:nth-child(1) { transition-delay: .05s; }
    .main-nav.is-open li:nth-child(2) { transition-delay: .08s; }
    .main-nav.is-open li:nth-child(3) { transition-delay: .11s; }
    .main-nav.is-open li:nth-child(4) { transition-delay: .14s; }
    .main-nav.is-open li:nth-child(5) { transition-delay: .17s; }
    .main-nav.is-open li:nth-child(6) { transition-delay: .20s; }
    .main-nav.is-open li:nth-child(7) { transition-delay: .23s; }

    .main-nav a,
    .main-nav button {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 13px 15px;
        border: 1px solid rgba(74, 28, 31, 0.08);
        border-radius: 16px;
        background: #ffffff;
        color: var(--maroon);
        font: inherit;
        font-size: 15px;
        font-weight: 900;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(74, 28, 31, 0.06);
    }

    .main-nav a:hover,
    .main-nav button:hover {
        background: #fff8ec;
    }

    .main-nav a.active,
    .main-nav li.active > button {
        background: #fff4db;
        color: var(--maroon);
        border-color: rgba(201, 163, 81, 0.45);
        box-shadow:
            inset 4px 0 0 var(--gold),
            0 10px 24px rgba(74, 28, 31, 0.06);
    }

    .has-dropdown > button::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: 0.25s ease;
        flex-shrink: 0;
    }

    .has-dropdown.is-open > button::after {
        transform: rotate(-135deg);
    }

    .dropdown-menu {
        display: grid;
        gap: 8px;
        max-height: 0;
        overflow: hidden;
        padding: 0 8px;
        margin: 0;
        opacity: 0;
        transform: translateY(-8px);
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease,
            padding 0.25s ease,
            margin 0.25s ease;
        list-style: none;
    }

    .has-dropdown.is-open > .dropdown-menu {
        max-height: 650px;
        opacity: 1;
        transform: translateY(0);
        padding: 10px 8px 4px;
        margin-top: 8px;
    }

    .dropdown-menu li {
        opacity: 1;
        transform: none;
    }

    .dropdown-menu a {
        min-height: 44px;
        padding: 11px 13px;
        border-radius: 14px;
        background: #fffaf0;
        color: var(--maroon);
        font-size: 14px;
        font-weight: 800;
        box-shadow: none;
        justify-content: flex-start;
        text-align: left;
    }

    .dropdown-menu a::before {
        content: "";
        width: 8px;
        height: 8px;
        margin-right: 10px;
        border-radius: 50%;
        background: var(--gold);
        flex-shrink: 0;
    }

    .dropdown-menu a:hover {
        background: #fff4db;
    }

    .dropdown-menu a.active {
        background: #fff4db;
        color: var(--maroon);
        border-color: rgba(201, 163, 81, 0.45);
        box-shadow: inset 4px 0 0 var(--gold);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(24, 10, 12, 0.42);
        backdrop-filter: blur(7px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 1002;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 921px) {
    .nav-backdrop {
        display: none;
    }
}

.guide-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.16), transparent 34%),
        linear-gradient(180deg, #fffaf5, #ffffff);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.guide-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 26px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.25s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.guide-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    opacity: 0.28;
}

.guide-number {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.guide-content {
    position: relative;
    z-index: 2;
}

.guide-type {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 900;
}

.guide-content h3 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 20px;
    line-height: 1.35;
}

.guide-content p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.guide-content a,
.guide-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.guide-content a {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    transition: 0.2s ease;
}

.guide-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 163, 81, 0.32);
}

.guide-disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.guide-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px dashed var(--line);
    color: var(--muted);
}

.guide-empty h3 {
    color: var(--maroon);
    margin-bottom: 8px;
}

@media (max-width: 1060px) {
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .guide-section {
        padding: 64px 0;
    }

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

    .guide-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }
}

.download-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.16), transparent 34%),
        linear-gradient(180deg, #fffaf5, #ffffff);
}

.download-category-wrap {
    display: grid;
    gap: 32px;
}

.download-category {
    padding: 28px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
}

.download-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.download-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 900;
}

.download-category-header h3 {
    margin: 0;
    color: var(--maroon);
    font-size: 28px;
    line-height: 1.25;
}

.download-category-header strong {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    font-size: 13px;
    font-weight: 900;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.download-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 24px;
    border-radius: 28px;
    background: #fffaf0;
    border: 1px solid var(--line);
    transition: 0.25s ease;
}

.download-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.download-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    opacity: 0.25;
}

.download-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-content h4 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 19px;
    line-height: 1.35;
}

.download-content p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.download-content a,
.download-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.download-content a {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    transition: 0.2s ease;
}

.download-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 163, 81, 0.32);
}

.download-disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.download-empty {
    text-align: center;
    padding: 44px 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px dashed var(--line);
    color: var(--muted);
}

.download-empty h3 {
    color: var(--maroon);
    margin-bottom: 8px;
}

@media (max-width: 1060px) {
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .download-section {
        padding: 64px 0;
    }

    .download-category {
        padding: 22px;
        border-radius: 28px;
    }

    .download-category-header {
        flex-direction: column;
    }

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

    .download-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }
}


.vmt-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 81, 0.14), transparent 34%),
        linear-gradient(180deg, #fffaf5, #ffffff);
}

.vmt-soft {
    background: linear-gradient(180deg, #ffffff, #fff7e7);
}

.vmt-intro {
    max-width: 950px;
    margin-bottom: 32px;
}

.vmt-intro h2 {
    margin: 10px 0 16px;
    color: var(--maroon);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.vmt-intro p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.vmt-intro strong {
    color: var(--maroon);
}

.vmt-main-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 38px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    box-shadow: 0 24px 80px rgba(74, 28, 31, 0.18);
    margin-bottom: 32px;
}

.vmt-main-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    opacity: 0.28;
}

.vmt-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.vmt-main-card h2 {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.35;
}

.vmt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.vmt-card,
.vmt-list-card,
.vmt-purpose-card {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(74, 28, 31, 0.1);
    transition: 0.25s ease;
}

.vmt-card {
    padding: 28px;
    border-radius: 30px;
}

.vmt-card:hover,
.vmt-list-card:hover,
.vmt-purpose-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.vmt-card span,
.vmt-list-number,
.vmt-purpose-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.vmt-card h3,
.vmt-purpose-card h3 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 21px;
    line-height: 1.35;
}

.vmt-card p,
.vmt-list-card p,
.vmt-purpose-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.vmt-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.vmt-list-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px;
    border-radius: 30px;
}

.vmt-list-number {
    flex-shrink: 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
}

.vmt-purpose-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.vmt-purpose-card {
    padding: 30px;
    border-radius: 32px;
    background: #ffffff;
}

@media (max-width: 1060px) {
    .vmt-grid,
    .vmt-purpose-wrap {
        grid-template-columns: 1fr;
    }

    .vmt-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .vmt-section {
        padding: 64px 0;
    }

    .vmt-main-card {
        padding: 28px;
        border-radius: 28px;
    }

    .vmt-card,
    .vmt-list-card,
    .vmt-purpose-card {
        padding: 22px;
        border-radius: 24px;
    }

    .vmt-list-card {
        flex-direction: column;
    }
}

.language-li {
    display: flex;
    align-items: center;
}

.language-switcher-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff4db;
    color: var(--maroon);
    border: 1px solid rgba(201, 163, 81, 0.35);
}

.language-switcher-custom button {
    border: 0;
    background: transparent;
    color: var(--maroon);
    font-weight: 900;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 999px;
}

.language-switcher-custom button:hover {
    background: rgba(201, 163, 81, 0.22);
}

.language-switcher-custom span {
    color: var(--maroon);
    font-weight: 900;
}

.goog-te-banner-frame,
.skiptranslate iframe {
    display: none !important;
}

body {
    top: 0 !important;
}

@media (max-width: 920px) {
    .language-li {
        width: 100%;
    }

    .language-switcher-custom {
        width: 100%;
        justify-content: center;
        border-radius: 16px;
        padding: 13px 15px;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(74, 28, 31, 0.06);
    }
}

#google_translate_element{
    position:fixed;
    left:-9999px;
    top:-9999px;
    opacity:0;
}

.goog-te-banner-frame,
.skiptranslate iframe{
    display:none !important;
}

body{
    top:0 !important;
}

.site-footer {
    width: 100%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    overflow: hidden;
}

.footer-top {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 32px;
    padding: 70px 0;
}

.footer-brand,
.footer-links,
.footer-map {
    width: 100%;
    min-width: 0;
}

.footer-brand h2,
.footer-links h3,
.footer-map h3,
.footer-contact-box h3 {
    color: #ffffff;
    margin: 0 0 14px;
}

.footer-brand h2 {
    font-size: 30px;
    line-height: 1.2;
}

.footer-brand p,
.footer-contact-box p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0;
}

.footer-contact-box {
    width: 100%;
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    line-height: 1.45;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--gold-soft);
}

.map-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.16);
}

.footer-bottom-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
}

.cookie-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 3000;
    width: 430px;
    max-width: calc(100vw - 48px);
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    color: var(--maroon);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: 0.3s ease;
}

.cookie-consent.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-consent strong {
    display: block;
    margin-bottom: 4px;
    color: var(--maroon);
}

.cookie-consent p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.cookie-consent button {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--maroon);
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 720px) {

    .cookie-consent {
        width: fit-content;
        max-width: 280px;
        left: 12px;
        right: auto;
        bottom: 12px;
    }
}

/* =========================================================
   MOBILE SAFETY OVERRIDES
   Catatan:
   - Bagian ini hanya memperkuat kompatibilitas HP.
   - Tidak mengubah warna/identitas visual utama.
   - Letakkan tetap di PALING BAWAH file CSS.
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

table {
    max-width: 100%;
}

.responsive-table,
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.curriculum-table,
.mapping-table,
.schedule-table {
    white-space: normal;
}

@media (max-width: 1060px) {
    .hero-grid,
    .kaprodi-grid,
    .testimonial-grid,
    .sarpras-grid,
    .pl-grid,
    .komposisi-grid,
    .curriculum-summary,
    .student-service-grid,
    .himsos-purpose-grid,
    .himsos-program-grid,
    .staff-grid,
    .tendik-grid,
    .footer-grid,
    .footer-top,
    .download-grid,
    .guide-grid,
    .vmt-grid,
    .vmt-list-grid,
    .vmt-purpose-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .nav-wrap {
        min-height: 70px;
    }

    .brand {
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong,
    .brand-text small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-nav {
        max-width: 100vw;
    }

    .main-nav a,
    .main-nav button {
        text-align: left;
    }

    .dropdown-menu {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .container {
        width: 100%;
        max-width: none;
        padding-left: 18px;
        padding-right: 18px;
    }

    .page-hero,
    .post-hero {
        padding: 72px 0 58px;
    }

    .page-hero-content,
    .post-hero-content {
        max-width: 100%;
    }

    .page-hero-content h1,
    .post-hero-content h1,
    .hero-content h1 {
        letter-spacing: -0.035em;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .hero-section {
        min-height: auto;
        padding: 80px 0 62px;
    }

    .hero-grid,
    .stats-grid,
    .feature-grid,
    .posts-grid,
    .footer-grid,
    .footer-top,
    .goal-grid,
    .profile-grid,
    .unggulan-grid,
    .sarpras-grid,
    .pl-grid,
    .komposisi-grid,
    .curriculum-summary,
    .curriculum-subgrid,
    .expertise-grid,
    .tridharma-card,
    .tridharma-list,
    .student-service-grid,
    .himsos-profile-card,
    .himsos-purpose-grid,
    .himsos-program-grid,
    .himsos-structure-grid,
    .staff-grid,
    .tendik-grid,
    .download-grid,
    .guide-grid,
    .vmt-grid,
    .vmt-list-grid,
    .vmt-purpose-wrap,
    .blog-summary-grid {
        grid-template-columns: 1fr !important;
    }

    .feature-section,
    .posts-section,
    .kaprodi-section,
    .testimonial-section,
    .history-section,
    .timeline-section,
    .vision-section,
    .mission-section,
    .graduate-profile-section,
    .unggulan-section,
    .staff-section,
    .sarpras-section,
    .curriculum-section,
    .expertise-section,
    .tridharma-section,
    .student-service-section,
    .himsos-section,
    .download-section,
    .guide-section,
    .vmt-section,
    .cta-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section-heading {
        margin-bottom: 34px;
        max-width: 100%;
    }

    .section-heading h2 {
        letter-spacing: -0.03em;
    }

    .hero-card,
    .cta-box,
    .history-card,
    .vision-card,
    .goal-card,
    .unggulan-content,
    .staff-content,
    .curriculum-mini-card,
    .cpl-conclusion,
    .schedule-card,
    .tridharma-card,
    .student-service-card,
    .himsos-profile-card,
    .himsos-purpose-card,
    .himsos-program-card,
    .himsos-structure-card,
    .org-image-card,
    .download-category,
    .download-card,
    .guide-card,
    .vmt-main-card,
    .vmt-card,
    .vmt-list-card,
    .vmt-purpose-card {
        padding: 22px;
    }

    .kaprodi-badge {
        position: static;
        max-width: 100%;
        margin-top: 16px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline-year {
        width: fit-content;
    }

    .profile-links,
    .post-footer,
    .hero-actions {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .post-footer {
        flex-direction: column;
    }

    .staff-photo,
    .staff-avatar {
        height: 280px;
        min-height: 280px;
    }

    .sarpras-image,
    .unggulan-image {
        height: 220px;
    }

    .map-box {
        width: 100%;
        height: 300px;
        border-radius: 22px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .footer-links a {
        display: block;
        width: 100%;
    }

    .cookie-consent {
        left: 12px !important;
        right: auto !important;
        bottom: 12px !important;
        width: fit-content !important;
        max-width: min(280px, calc(100vw - 24px)) !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .cookie-consent strong {
        font-size: 13px;
    }

    .cookie-consent p {
        font-size: 11px;
        line-height: 1.35;
    }

    .cookie-consent button {
        width: 100%;
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 14px;
        max-width: 210px;
    }

    .brand-text small {
        font-size: 10px;
        max-width: 210px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .main-nav {
        width: min(90vw, 380px);
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-hero,
    .post-hero {
        padding: 64px 0 50px;
    }

    .hero-card,
    .cta-box,
    .history-card,
    .vision-card,
    .goal-card,
    .unggulan-content,
    .staff-content,
    .curriculum-mini-card,
    .cpl-conclusion,
    .schedule-card,
    .tridharma-card,
    .student-service-card,
    .himsos-profile-card,
    .himsos-purpose-card,
    .himsos-program-card,
    .himsos-structure-card,
    .org-image-card,
    .download-category,
    .download-card,
    .guide-card,
    .vmt-main-card,
    .vmt-card,
    .vmt-list-card,
    .vmt-purpose-card {
        padding: 18px;
        border-radius: 22px;
    }

    .stat-card,
    .feature-card,
    .post-card,
    .testimonial-card,
    .profile-item,
    .sarpras-card,
    .staff-card,
    .expertise-card {
        border-radius: 22px;
    }

    .stat-card {
        padding: 22px;
    }

    .footer-brand h2 {
        font-size: 24px;
    }

    .map-box {
        height: 260px;
    }
}

.site-footer {
    width: 100%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #ffffff;
    overflow: hidden;
}

.footer-top {
    width: min(1080px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    padding: 58px 0 34px;
}

.footer-info {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-info h3,
.footer-links-grid h3 {
    margin: 0 0 12px;
    color: var(--gold-soft);
}

.footer-info p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.footer-map {
    overflow: hidden;
    border-radius: 24px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    display: block;
    border-radius: 24px;
}

.footer-links-grid {
    width: min(1080px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
    padding: 10px 0 42px;
}

.footer-links-grid > div {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-grid a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    text-decoration: none;
}

.footer-links-grid a:hover {
    color: var(--gold-soft);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

@media (max-width: 900px) {
    .footer-top,
    .footer-links-grid {
        width: min(100% - 32px, 1080px);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 42px 0 26px;
    }

    .footer-info,
    .footer-links-grid > div {
        padding: 22px;
        border-radius: 22px;
    }

    .footer-map iframe {
        height: 260px;
        min-height: 260px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 0 34px;
    }
}

@media (max-width: 520px) {
    .footer-top,
    .footer-links-grid {
        width: min(100% - 24px, 1080px);
    }

    .footer-info,
    .footer-links-grid > div {
        padding: 18px;
        border-radius: 18px;
    }

    .footer-map iframe {
        height: 230px;
        min-height: 230px;
        border-radius: 18px;
    }

    .footer-map {
        border-radius: 18px;
    }

    .footer-bottom {
        font-size: 13px;
        line-height: 1.6;
        padding: 16px 18px;
    }
}

/* FIX TABEL KURIKULUM AGAR BISA DIGESER DI HP */
.responsive-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.responsive-table table,
.responsive-table .curriculum-table,
.responsive-table .mk-table,
.responsive-table .mapping-table,
.responsive-table .schedule-table {
    max-width: none !important;
}

.curriculum-table,
.mk-table {
    min-width: 850px !important;
}

.small-table .curriculum-table {
    min-width: 520px !important;
}

.mapping-table {
    min-width: 1250px !important;
}

.schedule-table {
    min-width: 1050px !important;
}

@media (max-width: 720px) {
    .responsive-table {
        border-radius: 20px;
        margin-left: -2px;
        margin-right: -2px;
    }

    .responsive-table::after {
        content: "Geser tabel ke samping →";
        display: block;
        padding: 10px 14px;
        color: var(--maroon);
        background: #fff4db;
        font-size: 12px;
        font-weight: 800;
        text-align: center;
    }

    .curriculum-table th,
    .curriculum-table td {
        padding: 12px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .curriculum-table td:nth-child(4),
    .mk-table td:nth-child(4) {
        white-space: normal;
        min-width: 230px;
    }
}

/* FIX FOTO DOSEN / KATA SAMBUTAN AGAR TIDAK DEMPET */
.kaprodi-grid {
    gap: 64px;
}

.kaprodi-photo,
.kaprodi-content {
    min-width: 0;
}

.kaprodi-content {
    padding-left: 10px;
}

.kaprodi-frame {
    max-width: 430px;
    margin: 0 auto;
}

.kaprodi-content p {
    text-align: justify;
}

@media (max-width: 1060px) {
    .kaprodi-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .kaprodi-content {
        padding-left: 0;
    }

    .kaprodi-frame {
        max-width: 420px;
    }

    .kaprodi-badge {
        right: 20px;
        bottom: 24px;
    }
}

@media (max-width: 720px) {
    .kaprodi-section {
        padding: 64px 0;
    }

    .kaprodi-grid {
        gap: 30px;
    }

    .kaprodi-frame {
        max-width: 100%;
        padding: 10px;
        border-radius: 28px;
    }

    .kaprodi-frame img {
        border-radius: 20px;
    }

    .kaprodi-badge {
        position: static;
        max-width: none;
        margin: 16px auto 0;
        border-radius: 18px;
    }

    .kaprodi-content h2 {
        margin-top: 10px;
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.15;
    }

    .kaprodi-content p {
        font-size: 15px;
        line-height: 1.75;
        text-align: left;
    }

    .kaprodi-content h3 {
        font-size: 21px;
    }
}

/* FIX KHUSUS TABEL MKWU & MATA KULIAH KEPENDIDIKAN FAKULTAS */
.curriculum-wajib-grid {
    align-items: start;
}

.curriculum-wajib-grid .curriculum-mini-card {
    min-width: 0;
    overflow: hidden;
}

.curriculum-wajib-grid .responsive-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px;
}

.curriculum-wajib-grid .small-table {
    box-shadow: none;
    border: 1px solid var(--line);
}

.curriculum-wajib-grid .curriculum-table {
    width: 100%;
    min-width: 520px;
    max-width: none !important;
}

.curriculum-wajib-grid .curriculum-table th,
.curriculum-wajib-grid .curriculum-table td {
    white-space: nowrap;
}

.curriculum-wajib-grid .curriculum-table th:first-child,
.curriculum-wajib-grid .curriculum-table td:first-child {
    white-space: normal;
    min-width: 260px;
}

.curriculum-wajib-grid .curriculum-mini-card p {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .curriculum-wajib-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .curriculum-wajib-grid .curriculum-mini-card {
        padding: 26px;
        border-radius: 26px;
    }
}

@media (max-width: 720px) {
    .curriculum-wajib-grid .curriculum-mini-card {
        padding: 22px;
        border-radius: 24px;
    }

    .curriculum-wajib-grid .curriculum-mini-card h3 {
        font-size: 21px;
        line-height: 1.3;
    }

    .curriculum-wajib-grid .curriculum-mini-card p {
        font-size: 15px;
        line-height: 1.75;
    }

    .curriculum-wajib-grid .responsive-table::after {
        content: "Geser tabel ke samping →";
        display: block;
        padding: 10px 14px;
        color: var(--maroon);
        background: #fff4db;
        font-size: 12px;
        font-weight: 800;
        text-align: center;
    }

    .curriculum-wajib-grid .curriculum-table {
        min-width: 560px;
    }

    .curriculum-wajib-grid .curriculum-table th,
    .curriculum-wajib-grid .curriculum-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .curriculum-wajib-grid .curriculum-table th:first-child,
    .curriculum-wajib-grid .curriculum-table td:first-child {
        min-width: 280px;
    }
}

/* FIX TESTIMONI ALUMNI RESPONSIVE */
.testimonial-section {
    overflow: hidden;
}

.testimonial-grid {
    align-items: stretch;
}

.testimonial-card {
    min-width: 0;
}

@media (max-width: 1060px) {
    .testimonial-section {
        padding: 72px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 720px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-section .container {
        width: min(100% - 32px, 1180px);
    }

    .testimonial-section .section-heading {
        margin-bottom: 30px;
    }

    .testimonial-section .section-heading h2 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.15;
    }

    .testimonial-section .section-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonial-card {
        min-height: auto;
        padding: 24px;
        border-radius: 24px;
    }

    .quote-mark {
        top: -18px;
        right: 18px;
        font-size: 82px;
    }

    .testimonial-card p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .alumni-info {
        padding-top: 16px;
    }

    .alumni-info strong {
        font-size: 16px;
    }

    .alumni-info span {
        font-size: 14px;
        line-height: 1.5;
    }
}

.feedback-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.feedback-form .form-group {
    margin-bottom: 18px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #4b1f1f;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 13px 15px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #8b1e1e;
    box-shadow: 0 0 0 4px rgba(139, 30, 30, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.alert-success,
.alert-error {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #e8f7ee;
    color: #146c2e;
}

.alert-error {
    background: #fdecec;
    color: #9b1c1c;
}

.contact-info-box {
    margin-top: 24px;
    padding: 22px;
    border-radius: 20px;
    background: #f8f3ec;
}

.contact-info-box h3 {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .feedback-form-card {
        padding: 24px;
    }
}

.ticket-box {
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px dashed #146c2e;
    color: #146c2e;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
}

.post-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




/* =========================================================
   STICKY / FIXED NAVBAR PREMIUM
   Tempel di PALING BAWAH style.css
   ========================================================= */

:root {
    --header-height: 78px;
}

/* Supaya konten tidak ketutup navbar fixed */
body {
    padding-top: var(--header-height);
}

/* Navbar tetap nempel saat scroll */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999 !important;
    background: rgba(255, 250, 245, 0.92);
    border-bottom: 1px solid rgba(74, 28, 31, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

/* Efek saat halaman mulai discroll */
.site-header.is-scrolled {
    background: rgba(255, 250, 245, 0.98);
    border-bottom-color: rgba(74, 28, 31, 0.14);
    box-shadow: 0 14px 38px rgba(36, 12, 14, 0.12);
}

/* Tinggi navbar */
.nav-wrap {
    min-height: var(--header-height);
}

/* Logo sedikit mengecil saat scroll */
.site-header.is-scrolled .brand-logo {
    width: 54px;
    height: 54px;
}

.site-header.is-scrolled .nav-wrap {
    min-height: 68px;
}

/* Transisi halus */
.brand-logo,
.nav-wrap {
    transition: 0.25s ease;
}

/* Supaya anchor link tidak ketutup navbar */
[id] {
    scroll-margin-top: 96px;
}

/* Menu desktop tetap rapi */
@media (min-width: 921px) {
    .main-nav {
        position: static;
    }

    .main-nav > ul {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .dropdown-menu {
        z-index: 10000;
    }
}

/* =========================================================
   MOBILE NAVBAR
   ========================================================= */

@media (max-width: 920px) {
    :root {
        --header-height: 72px;
    }

    body {
        padding-top: var(--header-height);
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 9999 !important;
    }

    .nav-wrap {
        min-height: var(--header-height);
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 15px;
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-text small {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-toggle {
        display: inline-flex !important;
        position: relative;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 15px;
        background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        flex-shrink: 0;
        z-index: 10002;
        box-shadow: 0 12px 28px rgba(74, 28, 31, 0.24);
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: #ffffff;
        transition: 0.28s ease;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-8px);
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: min(88vw, 390px);
        height: 100vh;
        max-height: 100vh;
        padding: 92px 18px 24px;
        background:
            radial-gradient(circle at top right, rgba(201, 163, 81, 0.22), transparent 34%),
            linear-gradient(180deg, #ffffff, #fff7e7);
        border-left: 1px solid var(--line);
        border-radius: 0;
        box-shadow: -24px 0 70px rgba(74, 28, 31, 0.18);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        z-index: 10001;
        transition:
            transform 0.35s cubic-bezier(.22, 1, .36, 1),
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav::before {
        content: "Menu";
        position: absolute;
        top: 28px;
        left: 22px;
        color: var(--maroon);
        font-size: 22px;
        font-weight: 900;
    }

    .main-nav > ul {
        display: grid !important;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav li {
        opacity: 1;
        transform: none;
    }

    .main-nav a,
    .main-nav button {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 13px 15px;
        border: 1px solid rgba(74, 28, 31, 0.08);
        border-radius: 16px;
        background: #ffffff;
        color: var(--maroon);
        font: inherit;
        font-size: 15px;
        font-weight: 900;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(74, 28, 31, 0.06);
    }

    .main-nav a:hover,
    .main-nav button:hover {
        background: #fff8ec;
    }

    .main-nav a.active,
    .main-nav li.active > button {
        background: #fff4db;
        color: var(--maroon) !important;
        border-color: rgba(201, 163, 81, 0.45);
        box-shadow:
            inset 4px 0 0 var(--gold),
            0 10px 24px rgba(74, 28, 31, 0.06);
    }

    .has-dropdown > button::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: 0.22s ease;
    }

    .has-dropdown.is-open > button::after {
        transform: rotate(-135deg);
    }

    .dropdown-menu {
        position: static !important;
        min-width: 0;
        width: 100%;
        display: none;
        margin: 8px 0 2px;
        padding: 10px;
        border-radius: 18px;
        background: #fffaf0;
        border: 1px solid rgba(201, 163, 81, 0.35);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .has-dropdown.is-open .dropdown-menu {
        display: grid;
        gap: 8px;
    }

    .dropdown-menu a {
        min-height: 44px;
        padding: 11px 13px;
        border-radius: 14px;
        font-size: 14px;
        background: #ffffff;
    }

    .dropdown-menu a.active {
        background: linear-gradient(135deg, var(--gold), var(--gold-soft));
        color: var(--maroon) !important;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(36, 12, 14, 0.36);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 10000;
        transition: 0.25s ease;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 14px;
        max-width: 190px;
    }

    .brand-text small {
        display: none;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .main-nav {
        width: min(92vw, 380px);
        padding-left: 14px;
        padding-right: 14px;
    }
}