/* SILAKOM - PATCH 03 | 1 November 2026
   Penyegaran visual CSS-only: tipografi, header halaman, dan CTA.
   CSS sumber lama tetap dipertahankan untuk menghindari efek samping.
*/

/* Jarak huruf alami tanpa mengubah jenis font atau hierarki konten. */
body { letter-spacing: normal; }
.navbar-brand strong { letter-spacing: normal; }
.eyebrow { letter-spacing: .045em; font-weight: 700; }
.section-heading h2 { letter-spacing: -.018em; font-weight: 720; }

/* Hero dan header halaman: warna solid konsisten, tanpa gradien dan lingkaran dekoratif. */
.hero-section,
.page-hero,
.profile-hero,
.auth-intro {
    background: #175d4e;
}
.hero-section::before,
.hero-section::after,
.page-hero::before,
.page-hero::after { content: none; }

.hero-section h1 {
    font-size: clamp(2.5rem, 4.9vw, 4.55rem);
    line-height: 1.105;
    letter-spacing: -.022em;
    font-weight: 750;
}
.hero-section h1 span { color: #eedba5; }
.page-hero h1,
.profile-hero h1,
.auth-intro h1 {
    letter-spacing: -.015em;
    line-height: 1.18;
    font-weight: 730;
}
.hero-lead { color: rgba(255, 255, 255, .9); }

/* CTA mengikuti komposisi gambar referensi:
   panel hijau solid sesuai tema utama, informasi dan tombol di kiri, foto UNNES di kanan.
   Struktur HTML dan tautan tombol aslinya tidak berubah. */
.cta-box {
    position: relative;
    isolation: isolate;
    min-height: 345px;
    padding: 44px 52px;
    border-radius: 18px;
    background: var(--silakom-primary, #0a6b4f);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
}
.cta-box::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 43%;
    background: url('../img/cta-unnes-masked.png') center center / cover no-repeat;
    pointer-events: none;
}
.cta-box > div,
.cta-box > a { position: relative; z-index: 1; }
.cta-box > div { width: 55%; max-width: 640px; }
.cta-box .eyebrow.text-white-50 {
    color: #e6f2ec !important;
    letter-spacing: .045em;
    font-size: .8rem;
    margin-bottom: 1.05rem;
}
.cta-box h2 {
    font-size: clamp(1.8rem, 2.65vw, 2.45rem);
    line-height: 1.2;
    letter-spacing: -.018em;
    font-weight: 735;
    max-width: 630px;
    margin-bottom: 1rem;
}
.cta-box p {
    color: rgba(255, 255, 255, .92);
    line-height: 1.6;
    max-width: 565px;
}
.cta-box > a.btn.rounded-pill {
    border-radius: 9px !important;
    padding: .85rem 1.25rem !important;
    margin-top: 1.35rem;
    background: #ffffff;
    color: var(--silakom-primary-dark, #064c3a);
    border: 1px solid #ffffff;
    font-weight: 650;
    box-shadow: none;
}
.cta-box > a.btn:hover {
    background: #f4f8f6;
    border-color: #f4f8f6;
    color: var(--silakom-primary-dark, #064c3a);
}
.cta-box > a.btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .cta-box { padding: 36px; }
    .cta-box > div { width: 56%; }
    .cta-box::after { width: 42%; }
}
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.13;
        letter-spacing: -.018em;
    }
    .cta-box {
        min-height: 0;
        padding: 30px 24px;
        border-radius: 15px;
    }
    .cta-box > div { width: 100%; }
    .cta-box h2 { font-size: clamp(1.65rem, 6vw, 2.15rem); }
    .cta-box::after {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: calc(100% + 48px);
        height: 230px;
        flex: none;
        margin: 28px -24px -30px;
        background-position: center 43%;
    }
}

/* =========================================================
   PATCH 05 | Header halaman dalam rata tengah
   Hanya header .page-hero dan .profile-hero publik.
   Hero utama Beranda (.hero-section) tetap apa adanya.
   ========================================================= */
.page-hero > .container {
    text-align: center;
}
.page-hero p {
    margin-left: auto;
    margin-right: auto;
}
/* Header detail tiket: sejajarkan judul dan badge status di tengah. */
.page-hero > .container > .d-flex {
    justify-content: center;
}
/* Header profil: pusatkan grup avatar dan identitas tanpa mengubah isi profil. */
.profile-hero > .container > .d-flex {
    justify-content: center;
    text-align: center;
}
@media (max-width: 575.98px) {
    .profile-hero > .container > .d-flex {
        flex-direction: column;
    }
}
