/* =========================================================
   PT. MUSTIKA BERKAH SENTOSA
   HOME / COMPANY PROFILE COVER

   File ini dimuat setelah company.css.
   Seluruh aturan khusus halaman Home diletakkan di sini.
   ========================================================= */

/* =========================================================
   COVER UTAMA
   ========================================================= */

.company-home-page .company-cover {
    position: relative;
    min-height: max(940px, 100svh);
    overflow: hidden;
    isolation: isolate;
    background: var(--company-white);
}

.company-home-page .cover-background-dark,
.company-home-page .cover-background-light {
    position: absolute;
    right: 0;
    left: 0;
    z-index: -3;
}

.company-home-page .cover-background-dark {
    top: 0;
    height: 52%;

    background:
        radial-gradient(
            circle at 75% 24%,
            rgba(85, 175, 209, 0.18),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--company-navy-dark),
            var(--company-navy)
        );
}

.company-home-page .cover-background-light {
    bottom: 0;
    height: 48%;
    background: var(--company-white);
}

.company-home-page .cover-background-light::before {
    display: none;
}

/* =========================================================
   AREA KONTEN DESKTOP
   ========================================================= */

.company-home-page .cover-content {
    position: relative;

    width: min(calc(100% - 48px), 1280px);
    min-height: max(940px, 100svh);

    margin-inline: auto;
    padding: 0;

    display: block;
}

/* =========================================================
   JUDUL
   ========================================================= */

.company-home-page .cover-copy {
    position: absolute;
    top: 178px;
    left: 0;
    z-index: 5;

    width: 510px;
    padding: 0;

    color: var(--company-white);
}

.company-home-page .cover-title {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(70px, 5.7vw, 94px);
    line-height: 0.87;
    letter-spacing: -0.055em;
}

.company-home-page .cover-title span {
    display: block;
}

.company-home-page .cover-title-strong {
    font-weight: 800;
}

.company-home-page .cover-title-light {
    margin-top: 15px;

    font-weight: 400;
    letter-spacing: -0.04em;
}

.company-home-page .cover-kicker {
    margin: 23px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

/* =========================================================
   TAHUN
   ========================================================= */

.company-home-page .cover-year-block {
    position: absolute;
    top: 598px;
    left: 0;
    z-index: 5;

    color: var(--company-navy);
}

.company-home-page .cover-year-label {
    display: block;

    margin-bottom: 7px;

    color: var(--company-muted);

    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.company-home-page .cover-year {
    display: block;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(60px, 5vw, 78px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

/* =========================================================
   KOLASE GAMBAR

   Proporsi:
   - Gedung utama: tinggi dan ramping
   - Digital: hampir persegi
   - Tim: horizontal pendek
   - Gedung bawah: panorama lebar
   ========================================================= */

.company-home-page .cover-collage {
    position: absolute;
    top: 136px;
    right: 0;
    z-index: 4;

    width: min(58vw, 730px);
    min-height: 0;
    aspect-ratio: 730 / 590;

    margin: 0;
}

.company-home-page .cover-image-card {
    position: absolute;

    height: auto;
    min-height: 0;
    margin: 0;

    overflow: hidden;

    background: var(--company-sky);

    border: 6px solid rgba(255, 255, 255, 0.96);
    border-radius: 19px;

    box-shadow: 0 20px 46px rgba(4, 43, 60, 0.16);
}

.company-home-page .cover-image-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Gambar kerja digital */

.company-home-page .cover-image-digital {
    top: 31%;
    left: 29%;

    z-index: 4;

    width: 33%;
    aspect-ratio: 1.08 / 1;
}

.company-home-page .cover-image-digital img {
    object-position: center center;
}

/* Gedung vertikal */

.company-home-page .cover-image-building {
    top: 0;
    right: 0;

    z-index: 3;

    width: 36%;
    aspect-ratio: 0.64 / 1;
}

.company-home-page .cover-image-building img {
    object-position: center center;
}

/* Gambar kerja tim kiri bawah */

.company-home-page .cover-image-team {
    bottom: 8%;
    left: 0;
    z-index: 4;

    width: 29%;
    aspect-ratio: 1.72 / 1;
}

.company-home-page .cover-image-wide {
    right: 0;
    bottom: 7%;
    z-index: 3;

    width: 70%;
    aspect-ratio: 3.75 / 1;
}

.company-home-page .cover-image-wide img {
    object-position: center 57%;
}

/* Badge gedung */

.company-home-page .cover-building-badge {
    position: absolute;
    right: -2%;
    bottom: 3.5%;
    z-index: 7;

    width: 12%;
    height: auto;
    aspect-ratio: 1 / 1;

    padding: 2.7%;

    color: var(--company-white);
    background: var(--company-blue);

    border: 6px solid var(--company-white);
    border-radius: 50%;

    box-shadow: 0 15px 30px rgba(4, 43, 60, 0.2);
}

.company-home-page .cover-building-badge svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   SLOGAN, MEDIA SOSIAL DAN KONTAK
   ========================================================= */

.company-home-page .cover-meta {
    position: absolute;
    top: 742px;
    right: 0;
    z-index: 6;

    width: min(58vw, 730px);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    text-align: center;
}

.company-home-page .cover-slogan {
    width: 100%;
    color: var(--company-navy);
    text-align: center;
}

.company-home-page .cover-slogan strong {
    display: block;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.045em;
}

.company-home-page .cover-slogan span {
    display: block;

    margin-top: 3px;

    color: var(--company-muted);

    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
}

/* =========================================================
   MEDIA SOSIAL
   ========================================================= */

.company-home-page .cover-socials {
    min-height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.company-home-page .cover-social-label {
    margin-right: 4px;

    color: #a27c20;

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.055em;
}

.company-home-page .cover-social-icon {
    width: 20px;
    height: 20px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #9b751d;
    background: rgba(155, 117, 29, 0.06);

    border: 1px solid rgba(155, 117, 29, 0.62);
    border-radius: 3px;
}

.company-home-page .cover-social-icon svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   CONTACT STRIP
   ========================================================= */

.company-home-page .cover-contact-animation {
    width: 100%;
}

.company-home-page .cover-contact-animation .contact-strip {
    width: 100%;

    display: grid;
    grid-template-columns: 0.95fr 1.1fr 1.1fr;

    align-items: stretch;
    gap: 9px;
}

.company-home-page .cover-contact-animation .contact-strip-item {
    width: 100%;
    min-width: 0;
    min-height: 40px;

    padding: 8px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: var(--company-white);
    background: var(--company-navy);

    border-radius: 7px;

    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.company-home-page .cover-contact-animation .contact-strip-icon {
    width: 17px;
    height: 17px;
}

/* =========================================================
   DEKORASI TITIK
   ========================================================= */

.company-home-page .cover-dots {
    position: absolute;
    z-index: 2;

    width: 92px;
    height: 92px;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            currentColor 1.4px,
            transparent 1.5px
        );

    background-size: 8px 8px;

    opacity: 0.42;
}

.company-home-page .cover-dots-top {
    top: 17%;
    right: 7%;

    color: var(--company-white);
}

.company-home-page .cover-dots-bottom {
    top: 61%;
    bottom: auto;
    left: 4%;

    color: var(--company-blue);
}

/* =========================================================
   TOMBOL NEXT
   ========================================================= */

.company-home-page .cover-scroll-indicator {
    position: absolute;
    right: 28px;
    bottom: 25px;
    z-index: 10;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--company-navy);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.company-home-page .cover-scroll-indicator svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   LAYAR LAPTOP
   ========================================================= */

@media (max-width: 1250px) and (min-width: 901px) {
    .company-home-page .company-cover {
        min-height: max(900px, 100svh);
    }

    .company-home-page .cover-content {
        width: min(calc(100% - 44px), 1120px);
        min-height: max(900px, 100svh);
    }

    .company-home-page .cover-copy {
        top: 172px;
        width: 440px;
    }

    .company-home-page .cover-title {
        font-size: clamp(62px, 6vw, 80px);
    }

    .company-home-page .cover-kicker {
        font-size: 12px;
    }

    .company-home-page .cover-year-block {
        top: 565px;
    }

    .company-home-page .cover-collage {
        top: 140px;
        width: min(58vw, 650px);
    }

    .company-home-page .cover-meta {
        top: 700px;
        width: min(58vw, 650px);
    }

    .company-home-page .cover-slogan strong {
        font-size: 13px;
    }

    .company-home-page .cover-contact-animation .contact-strip-item {
        padding-inline: 10px;
        font-size: 9px;
    }
}

/* =========================================================
   TABLET DAN MOBILE LANDSCAPE
   ========================================================= */

@media (max-width: 900px) {
    .company-home-page .company-cover {
        min-height: auto;
        overflow: hidden;
    }

    .company-home-page .cover-background-dark {
        height: 44%;
    }

    .company-home-page .cover-background-light {
        height: 56%;
    }

    .company-home-page .cover-content {
        width: min(calc(100% - 32px), 700px);
        min-height: auto;

        padding-top: calc(var(--company-header-height) + 44px);
        padding-bottom: 92px;

        display: flex;
        flex-direction: column;
    }

    .company-home-page .cover-copy {
        position: relative;
        top: auto;
        left: auto;

        width: 100%;
        padding-top: 25px;
    }

    .company-home-page .cover-title {
        font-size: clamp(58px, 12vw, 84px);
    }

    .company-home-page .cover-kicker {
        margin-top: 18px;
    }

    .company-home-page .cover-year-block {
        position: relative;
        top: auto;
        left: auto;

        margin-top: 40px;

        color: var(--company-white);
    }

    .company-home-page .cover-year-label {
        color: rgba(255, 255, 255, 0.68);
    }

    .company-home-page .cover-collage {
        position: relative;
        top: auto;
        right: auto;

        width: min(100%, 650px);

        margin-top: 52px;
        margin-inline: auto;
    }

    .company-home-page .cover-meta {
        position: relative;
        top: auto;
        right: auto;

        width: min(100%, 650px);

        margin: 16px auto 0;
    }

    .company-home-page .cover-dots-top {
        top: 15%;
        right: 4%;
    }

    .company-home-page .cover-dots-bottom {
        display: none;
    }

    .company-home-page .cover-scroll-indicator {
        display: none;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
    .company-home-page .cover-content {
        width: min(calc(100% - 26px), 520px);

        padding-top: calc(var(--company-header-height) + 25px);
        padding-bottom: 70px;
    }

    .company-home-page .cover-copy {
        padding-top: 20px;
    }

    .company-home-page .cover-title {
        font-size: clamp(50px, 16vw, 68px);
    }

    .company-home-page .cover-title-light {
        margin-top: 10px;
    }

    .company-home-page .cover-kicker {
        margin-top: 17px;

        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .company-home-page .cover-year-block {
        margin-top: 30px;
    }

    .company-home-page .cover-year-label {
        font-size: 8px;
    }

    .company-home-page .cover-year {
        font-size: 52px;
    }

    .company-home-page .cover-collage {
        width: 100%;
        margin-top: 36px;
    }

    .company-home-page .cover-image-card {
        border-width: 4px;
        border-radius: 13px;
    }

    .company-home-page .cover-building-badge {
        border-width: 4px;
    }

    .company-home-page .cover-meta {
        width: 100%;
        margin-top: 14px;
        gap: 9px;
    }

    .company-home-page .cover-slogan strong {
        font-size: 11px;
    }

    .company-home-page .cover-slogan span {
        font-size: 8px;
    }

    .company-home-page .cover-socials {
        flex-wrap: wrap;
    }

    .company-home-page .cover-contact-animation .contact-strip {
        grid-template-columns: 1fr;
    }

    .company-home-page .cover-contact-animation .contact-strip-item {
        min-height: 41px;
        font-size: 10px;
    }
}

/* =========================================================
   AKSESIBILITAS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .company-home-page .cover-image-card,
    .company-home-page .cover-building-badge,
    .company-home-page .cover-copy,
    .company-home-page .cover-year-block,
    .company-home-page .cover-meta {
        transition: none;
        animation: none;
    }
}

/* =========================================================
   HOME META FINAL
   Icon pemanis + slogan + media sosial + kontak
   ========================================================= */

.company-home-page .cover-meta {
    position: absolute;
    top: 720px;
    right: 0;
    z-index: 6;

    width: min(58vw, 730px);

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 14px;

    text-align: left;
}

/* Baris atas: icon pemanis dan slogan */

.company-home-page .cover-meta-main {
    width: 100%;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;

    column-gap: 26px;
}

/* =========================================================
   TIGA IKON PEMANIS
   ========================================================= */

.company-home-page .cover-quick-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;
}

.company-home-page .cover-quick-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--company-white);
    background: var(--company-blue);

    border: 4px solid var(--company-white);
    border-radius: 50%;

    box-shadow: 0 10px 24px rgba(4, 43, 60, 0.16);
}

.company-home-page .cover-quick-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   SLOGAN DAN MEDIA SOSIAL RATA KIRI
   ========================================================= */

.company-home-page .cover-meta-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;

    text-align: left;
}

.company-home-page .cover-slogan {
    width: 100%;

    color: var(--company-navy);

    text-align: left;
}

.company-home-page .cover-slogan strong {
    display: block;

    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.company-home-page .cover-slogan span {
    display: block;

    margin-top: 4px;

    color: var(--company-navy);

    font-size: 10px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================================================
   MEDIA SOSIAL
   ========================================================= */

.company-home-page .cover-socials {
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 6px;

    text-align: left;
}

.company-home-page .cover-social-label {
    margin-right: 5px;

    color: #a27c20;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}

.company-home-page .cover-social-icon {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #9a7214;
    background: #fff9e8;

    border: 1.5px solid #b88c24;
    border-radius: 4px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.company-home-page .cover-social-icon:hover {
    color: var(--company-white);
    background: #a27c20;

    transform: translateY(-2px);
}

.company-home-page .cover-social-icon svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   KONTAK
   ========================================================= */

.company-home-page .cover-contact-animation {
    width: 100%;
}

.company-home-page .cover-contact-animation .contact-strip {
    width: 100%;

    display: grid;
    grid-template-columns: 0.95fr 1.15fr 1.2fr;

    gap: 10px;
}

.company-home-page .cover-contact-animation .contact-strip-item {
    width: 100%;
    min-height: 42px;

    padding: 8px 14px;

    justify-content: center;

    font-size: 10px;
    white-space: nowrap;

    border-radius: 7px;
}

.company-home-page .cover-contact-animation .contact-strip-icon {
    width: 18px;
    height: 18px;
}

/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1250px) and (min-width: 901px) {
    .company-home-page .cover-meta {
        top: 690px;
        width: min(58vw, 650px);
    }

    .company-home-page .cover-meta-main {
        column-gap: 20px;
    }

    .company-home-page .cover-quick-icons {
        gap: 7px;
    }

    .company-home-page .cover-quick-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;

        border-width: 3px;
    }

    .company-home-page .cover-quick-icon svg {
        width: 19px;
        height: 19px;
    }

    .company-home-page .cover-slogan strong {
        font-size: 14px;
    }

    .company-home-page .cover-social-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .company-home-page .cover-social-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .company-home-page .cover-meta {
        position: relative;
        top: auto;
        right: auto;

        width: min(100%, 650px);

        margin: 18px auto 0;
    }

    .company-home-page .cover-meta-main {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 20px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
    .company-home-page .cover-meta {
        width: 100%;
        gap: 16px;
    }

    .company-home-page .cover-meta-main {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }

    .company-home-page .cover-quick-icons {
        justify-content: flex-end;
    }

    .company-home-page .cover-quick-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;

        border-width: 3px;
    }

    .company-home-page .cover-quick-icon svg {
        width: 20px;
        height: 20px;
    }

    .company-home-page .cover-meta-copy {
        width: 100%;
    }

    .company-home-page .cover-slogan strong {
        font-size: 13px;
    }

    .company-home-page .cover-slogan span {
        font-size: 9px;
    }

    .company-home-page .cover-socials {
        flex-wrap: wrap;
    }

    .company-home-page .cover-social-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .company-home-page .cover-contact-animation .contact-strip {
        grid-template-columns: 1fr;
    }

    .company-home-page .cover-contact-animation .contact-strip-item {
        min-height: 42px;
        font-size: 10px;
    }
}

/* =========================================================
   FIX HOME META - SESUAI PDF: SLOGAN DAN SOSIAL RATA KANAN
   ========================================================= */

/* Baris: tiga ikon di kiri, slogan di kanan */
.company-home-page .cover-meta-main {
    width: 100%;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;

    column-gap: 28px;
}

/* Tiga ikon pemanis tetap di kiri */
.company-home-page .cover-quick-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;
}

/* Seluruh kelompok tulisan berada di kanan */
.company-home-page .cover-meta-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 8px;

    text-align: right;
}

/* Judul slogan rata kanan */
.company-home-page .cover-slogan {
    width: 100%;
    text-align: right;
}

.company-home-page .cover-slogan strong {
    display: block;
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;

    text-align: right;
}

.company-home-page .cover-slogan span {
    display: block;
    margin-top: 4px;

    color: var(--company-navy);

    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 2.4;

    text-align: right;
}

/* Mustika Official dan ikon sosial rata kanan */
.company-home-page .cover-socials {
    width: 100%;
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 6px;

    text-align: right;
}

.company-home-page .cover-social-label {
    margin-right: 5px;

    color: #a27c20;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;

    text-align: right;
}

/* Ukuran ikon sosial */
.company-home-page .cover-social-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #9a7214;
    background: #fff9e8;

    border: 1.5px solid #b88c24;
    border-radius: 4px;
}

.company-home-page .cover-social-icon svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tablet */
@media (max-width: 900px) {
    .company-home-page .cover-meta-copy,
    .company-home-page .cover-slogan,
    .company-home-page .cover-slogan strong,
    .company-home-page .cover-slogan span {
        text-align: right;
    }

    .company-home-page .cover-socials {
        justify-content: flex-end;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .company-home-page .cover-meta-main {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .company-home-page .cover-quick-icons {
        justify-content: flex-start;
    }

    .company-home-page .cover-meta-copy {
        align-items: flex-end;
        text-align: right;
    }

    .company-home-page .cover-socials {
        justify-content: flex-end;
    }
}