:root {
    --navy: #0f1d38;
    --navy-soft: #64728b;
    --gold: #c2881d;
    --gold-dark: #a96f09;
    --gold-light: #ead7ad;
    --cream: #fffaf1;
    --bg: #ffffff;
    --line: #e7e9ed;
    --font: "Poppins", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--navy);
    overflow-x: hidden;
}

button,
a {
    font-family: inherit;
}

button {
    border: 0;
}

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

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* HEADER */

.top-header {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid #f0f1f3;
    position: relative;
    z-index: 20;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 34px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, #9d6707, #d9a52b);
    clip-path: polygon(0 0, 62% 0, 100% 25%, 100% 100%, 38% 100%, 0 75%);
    font-size: 0;
    position: relative;
}

.brand-mark::after {
    content: "";
    width: 5px;
    height: 29px;
    background: #fff;
    transform: skewY(28deg);
    opacity: .95;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.15px;
}

.brand-copy small {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.verified-button {
    height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    background: linear-gradient(110deg, #b37b18, #c9922b);
    box-shadow: 0 5px 16px rgba(194, 136, 29, .14);
    font-size: 11px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.verified-button i:first-child {
    font-size: 15px;
}

.verified-button i:last-child {
    font-size: 10px;
    margin-left: 2px;
}

.verified-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(194, 136, 29, .20);
}

/* HERO */

.hero {
    min-height: 445px;
    position: relative;
    overflow: hidden;
    background: #f9fafb;
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        url("assets/gedung.png")
        center right / cover no-repeat;
}

.hero-wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.99) 0%,
            rgba(255,255,255,.96) 29%,
            rgba(255,255,255,.78) 47%,
            rgba(255,255,255,.12) 70%,
            rgba(255,255,255,0) 100%
        );
}

.hero-inner {
    min-height: 445px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-copy {
    padding-bottom: 18px;
    max-width: 600px;
}

.eyebrow,
.section-label {
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.6px;
}

.hero-copy .eyebrow {
    color: #738498;
    letter-spacing: .4px;
    font-size: 11px;
}

.hero-copy h1 {
    margin-top: 13px;
    font-size: clamp(46px, 5.5vw, 70px);
    line-height: .98;
    letter-spacing: -3.6px;
    font-weight: 800;
}

.hero-copy h1 span {
    color: var(--navy);
}

.hero-copy h1 strong {
    color: var(--gold);
    font-weight: 800;
}

.hero-rule,
.gold-rule,
.heading-rule {
    width: 48px;
    height: 2px;
    background: var(--gold);
}

.hero-rule {
    margin-top: 20px;
}

.hero-copy p {
    margin-top: 16px;
    color: #71809a;
    font-size: 15px;
    line-height: 1.5;
}

/* PORTFOLIO */

.portfolio-section {
    padding: 72px 0 64px;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    margin-top: 8px;
    color: var(--navy);
    font-size: 33px;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.section-heading h2 span {
    color: var(--gold);
}

.heading-rule {
    margin: 10px auto 0;
}

.section-heading p {
    margin-top: 14px;
    color: #738098;
    font-size: 12px;
}

.portfolio-grid {
    margin-top: 27px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-card {
    min-height: 112px;
    padding: 20px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 13px;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .info-card:hover {
        transform: translateY(-3px);
        border-color: #dccaa5;
        box-shadow: 0 10px 25px rgba(15,29,56,.06);
    }

    .info-card:hover .card-arrow {
        color: #fff;
        background: var(--gold);
    }
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-content strong {
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
}

.card-content span {
    max-width: 230px;
    margin-top: 5px;
    color: #758198;
    font-size: 13px;
    line-height: 1.45;
}

.card-arrow {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold-dark);
    background: #fff8eb;
    font-size: 11px;
    transition: .22s ease;
}

/* WHATSAPP */

.whatsapp-section {
    padding-bottom: 70px;
}

.whatsapp-panel {
    min-height: 290px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 100%, rgba(194,136,29,.08), transparent 34%),
        linear-gradient(115deg, #fffdf9, #fff);
    border: 1px solid #e0e3e7;
    border-radius: 15px;
}

.whatsapp-intro {
    padding: 39px 42px;
    position: relative;
    border-right: none;
}

.whatsapp-intro::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: #e0e3e7;
}

.gold-rule {
    margin-top: 13px;
}

.whatsapp-intro h2 {
    margin-top: 20px;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -1.2px;
}

.whatsapp-intro p {
    max-width: 410px;
    margin-top: 13px;
    color: #71809a;
    font-size: 14px;
    line-height: 1.6;
}

.admin-list {
    padding: 27px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}


.admin-row {
    width: calc(100% - 60px);
    min-height: 51px;
    margin-left: 30px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #e0e3e7;
    border-radius: 15px;
    background: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.admin-row:hover {
    border-color: #dccaa5;
    box-shadow: 0 10px 25px rgba(15,29,56,.06);
    transform: translateY(-3px);
}

.admin-row:hover {
    border-color: #dfc58f;
    box-shadow: 0 5px 16px rgba(15,29,56,.05);
    transform: translateX(2px);
}

.wa-circle {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #a96f09, #d3a13a);
    font-size: 16px;
}

.admin-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-text small {
    color: #68758b;
    font-size: 9px;
    line-height: 1.1;
}

.admin-text strong {
    margin-top: 2px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.row-arrow {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 9px;
}

/* FOOTER */

.footer {
    padding: 28px 20px;
    border-top: 1px solid #e9ebee;
    background: #fff;
    text-align: center;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.footer-brand p {
    margin-top: 5px;
    color: #78849a;
    font-size: 9px;
}

.footer-brand .brand-mark {
    width: 31px;
    height: 35px;
}

.footer-brand .brand-copy strong {
    font-size: 11px;
}

.footer-brand .brand-copy small {
    font-size: 7px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social a {
    color: var(--navy);
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.footer-social a:hover {
    color: var(--gold-dark);
    transform: translateY(-2px);
}

.footer-copy {
    color: #8a93a3;
    font-size: 13px;
    line-height: 1.5;
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
    animation: modalOverlayIn .55s ease both;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,29,56,.28);
    backdrop-filter: blur(4px);
}

.modal-box {
    width: min(700px, calc(100vw - 40px));
    max-width: 100%;
    box-sizing: border-box;
    max-height: 82vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    padding: 32px;
    border: 1px solid #e4d9c2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(15,29,56,.15);

    animation: modalBoxIn .45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes modalBoxIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-image {
    animation: imageIn .55s ease both;
}

@keyframes imageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f6f7f8;
    color: #6f7888;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--gold-dark);
    background: #fff8eb;
}

.modal-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 16px;
    border: 1px solid #f0cfae;
    border-radius: 999px;

    background: #fff8f2;
    color: #d97706;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1;
    text-transform: none;
}

.modal-box h2 {
    margin-top: 6px;
    color: var(--navy);
    font-size: 26px;
    letter-spacing: -.7px;
}

.modal-body {
    margin-top: 17px;
    color: #66748b;
    font-size: 12px;
    line-height: 1.7;
}

.modal-body p {
    margin-bottom: 12px;
}

.modal-body ul {
    padding-left: 18px;
}

.modal-body li {
    margin-bottom: 6px;
}

/* TABLET */

@media (max-width: 900px) {
    .container {
        width: min(700px, calc(100% - 36px));
    }

    .hero {
        min-height: 420px;
    }

    .hero-inner {
        min-height: 420px;
    }

    .hero-copy h1 {
        font-size: 52px;
    }

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

    .whatsapp-panel {
        grid-template-columns: 1fr;
    }

    .whatsapp-intro {
        border-right: 0;
        border-bottom: 1px solid #e0e3e7;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
    }

    .footer-copy {
        grid-column: 1 / -1;
        width: fit-content;
        margin-left: auto;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .container {
        width: calc(100% - 28px);
    }

    .top-header {
        height: 62px;
    }

    .brand-mark {
        width: 29px;
        height: 33px;
    }

    .brand-copy strong {
        font-size: 11px;
    }

    .brand-copy small {
        font-size: 7px;
    }

    .verified-button {
        height: 35px;
        padding: 0 11px;
        font-size: 9px;
    }

    .verified-button i:first-child {
        font-size: 13px;
    }

    .verified-button i:last-child {
        display: none;
    }

    .hero {
        min-height: 430px;
    }

    .hero-inner {
        min-height: 430px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .hero-image {
        background-position: 65% center;
    }

    .hero-wash {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.98) 0%,
                rgba(255,255,255,.91) 47%,
                rgba(255,255,255,.15) 100%
            );
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: 43px;
        letter-spacing: -2.5px;
    }

    .hero-copy p {
        font-size: 13px;
    }

    .stats-card {
        min-height: auto;
        padding: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat {
        min-height: 95px;
        padding: 12px 5px;
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid #e1e4e8;
    }

    .stat strong {
        font-size: 22px;
    }

    .stat b {
        font-size: 10px;
    }

    .stat span {
        font-size: 8px;
    }

    .portfolio-section {
        padding-top: 58px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .info-card {
        min-height: 94px;
    }

    .whatsapp-intro {
        padding: 29px 24px;
    }

    .whatsapp-intro h2 {
        font-size: 25px;
    }

    .admin-list {
        padding: 20px 15px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-copy {
        grid-column: auto;
        margin: 0 auto;
        padding-left: 0;
        padding-top: 12px;
        border-left: 0;
        border-top: none;
    }
}

@media (max-width: 640px) {

    /* WHATSAPP MOBILE */
    .whatsapp-panel {
        grid-template-columns: 1fr;
    }

    .whatsapp-intro {
        border-right: 0;
        border-bottom: 0;
    }

    .whatsapp-intro::after {
        display: none;
    }

    .admin-list {
        padding: 5px 15px 20px;
    }

    .admin-row {
        width: 100%;
        margin-left: 0;
    }
}

.brand-logo {
    width: 275px;
    height: auto;
    display: block;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 200px;
    }
}

.gold-rule,
.hero-rule {
    display: none;
}

/* MODAL IMAGE */
.modal-box:has(.modal-image) {
    width: fit-content;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 32px);
    padding: 22px;
    overflow: hidden;
}

.modal-box:has(.modal-image) .modal-body {
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
    overflow: hidden;
}

.modal-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 125px);
    object-fit: contain;
    border-radius: 12px;
}

/* SOCIAL MEDIA MODAL */

.social-modal-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.social-modal-card {
    width: 100%;
    min-width: 0;
    min-height: 82px;
    padding: 12px 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid #e0e5ed;
    border-radius: 15px;
    background: #fff;

    text-decoration: none;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.social-modal-card:hover {
    transform: translateY(-3px);
    border-color: #d8c294;
    box-shadow: 0 10px 25px rgba(15, 29, 56, .07);
}


/* ICON */

.social-modal-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    font-size: 20px;
}

.social-modal-icon.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-modal-icon.facebook {
    background: #1877f2;
}

.social-modal-icon.tiktok {
    background: #111;
}

.social-modal-icon.youtube {
    background: #ff0000;
}


/* TEXT */

.social-modal-info {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.social-modal-info span {
    color: #68758b;
    font-size: 12px;
    line-height: 1.3;
}

.social-modal-info strong {
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;

    white-space: nowrap;
}


/* ARROW */

.social-modal-arrow {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e0e5ed;
    border-radius: 50%;

    color: #8da0b8;
    font-size: 11px;

    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease;
}

.social-modal-card:hover .social-modal-arrow {
    transform: translate(2px, -2px);
    color: var(--gold-dark);
    background: #fff8eb;
}


/* TABLET */

@media (max-width: 700px) {

    .modal-box {
        width: calc(100vw - 28px);
    }

    .social-modal-grid {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 480px) {

    .modal {
        padding: 14px;
    }

    .modal-box {
        width: 100%;
        padding: 24px 18px;
    }

    .social-modal-grid {
        gap: 10px;
    }

    .social-modal-card {
        min-height: 70px;
        padding: 10px 12px;
        gap: 11px;
    }

    .social-modal-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 18px;
    }

    .social-modal-info span {
        font-size: 11px;
    }

    .social-modal-info strong {
        font-size: 14px;
    }

    .social-modal-arrow {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.testimonial-item {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #eadfcf;
    border-radius: 15px;
    background: #fff;

    color: #292929;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;

    transition: all .22s ease;
}

.testimonial-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    border-color: #d8c29a;
}

.testimonial-item span {
    text-align: center;
}

.testimonial-item i {
    display: none;
}

/* ANIMASI HERO */
.hero-copy {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.hero-copy.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMASI LAYANAN & INFORMASI */

.section-heading,
.info-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .8s ease, transform .8s ease;
}

.section-heading.show,
.info-card.show {
    opacity: 1;
    transform: translateY(0);
}

.info-card:nth-child(1) {
    transition-delay: .05s;
}

.info-card:nth-child(2) {
    transition-delay: .10s;
}

.info-card:nth-child(3) {
    transition-delay: .15s;
}

.info-card:nth-child(4) {
    transition-delay: .20s;
}

.info-card:nth-child(5) {
    transition-delay: .25s;
}

.info-card:nth-child(6) {
    transition-delay: .30s;
}

/* =========================================================
   ANIMASI WHATSAPP
========================================================= */

.whatsapp-panel {
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.whatsapp-panel.show {
    opacity: 1;
    transform: translateY(0);
}

.admin-row {
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity .6s ease,
        transform .6s ease;
}

.admin-row.show {
    opacity: 1;
    transform: translateY(0);
}

.admin-row:nth-child(1) {
    transition-delay: .05s;
}

.admin-row:nth-child(2) {
    transition-delay: .10s;
}

.admin-row:nth-child(3) {
    transition-delay: .15s;
}

.admin-row:nth-child(4) {
    transition-delay: .20s;
}


/* =========================================================
   ANIMASI FOOTER
========================================================= */

.footer {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.footer.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   FIX HOVER / FOCUS WHATSAPP DI HP
========================================================= */

@media (hover: none) {

    .admin-row:hover {
        border-color: #e0e3e7;
        box-shadow: none;
        transform: none;
    }

    .admin-row:focus,
    .admin-row:active {
        outline: none;
        border-color: #e0e3e7;
        box-shadow: none;
    }
}