/* Home page only — builds on public.css (tokens, .pg-*, .btn). */

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 32px;
    padding: 56px;
    color: #fff;
    border-radius: 28px;
    background:
        radial-gradient(520px 380px at 88% 8%, rgba(129, 140, 248, .6), transparent 70%),
        radial-gradient(460px 340px at 4% 112%, rgba(255, 199, 0, .2), transparent 70%),
        linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 52%, #1e1b4b 100%);
    box-shadow: 0 30px 60px -30px rgba(30, 27, 75, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* dot grid, fades toward bottom-right */
.lp-hero::before,
.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.lp-hero::before {
    background: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.6px) 0 0 / 24px 24px;
    -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 60%);
    mask-image: linear-gradient(115deg, #000 0%, transparent 60%);
}

/* concentric rings behind the banner */
.lp-hero::after {
    background: repeating-radial-gradient(circle at 80% 50%, transparent 0 54px, rgba(255, 255, 255, .09) 54px 55px);
    -webkit-mask-image: radial-gradient(circle at 80% 50%, #000 0, transparent 62%);
    mask-image: radial-gradient(circle at 80% 50%, #000 0, transparent 62%);
}

.lp-hero__content {
    min-width: 0;
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.lp-hero__badge i {
    color: #ffc700;
}

.pub .lp-hero__title {
    max-width: 17ch;
    margin: 20px 0 14px;
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.035em;
    color: #fff;
}

.lp-hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    margin-top: 20px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffc700, #ffd95e);
}

.lp-hero__sub {
    max-width: 48ch;
    margin: 0 0 24px;
    font-size: clamp(15px, 1.5vw, 17.5px);
    line-height: 1.65;
    color: rgba(255, 255, 255, .9);
}

/* primary + secondary actions */
.lp-cta,
.lp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-cta {
    margin-bottom: 28px;
}

.pub .lp-cta .btn {
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.pub .lp-cta .btn:hover {
    transform: translateY(-2px);
}

.pub .lp-btn--gold {
    color: #3f3000;
    background: #ffc700;
    border-color: #ffc700;
}

.pub .lp-btn--gold:hover {
    color: #3f3000;
    background: #ffd333;
    box-shadow: 0 12px 24px -12px rgba(255, 199, 0, .8);
}

.pub .lp-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .38);
    backdrop-filter: blur(6px);
}

.pub .lp-btn--glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, .24);
}

/* tertiary row: social icons + survey link */
.lp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    max-width: 520px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.lp-social {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    transition: background-color .15s ease, transform .15s ease;
}

.pub a.lp-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, .24);
    text-decoration: none;
    transform: translateY(-2px);
}

.pub a.lp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .4);
    text-underline-offset: 5px;
    transition: text-decoration-color .15s ease;
}

.pub a.lp-link:hover {
    color: #fff;
    text-decoration-color: #ffc700;
}

.lp-link i {
    color: #ffc700;
    transition: transform .15s ease;
}

.lp-link:hover i {
    transform: translateX(3px);
}

/* glass stage for the banner image */
.lp-hero__media {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.lp-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 50px -24px rgba(15, 10, 70, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.lp-hero__img {
    width: 78%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    filter: drop-shadow(0 20px 26px rgba(15, 10, 70, .45));
}

.lp-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 30px -14px rgba(15, 10, 70, .6);
    animation: lp-float 5s ease-in-out infinite;
}

.lp-chip small {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
}

.lp-chip__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--brand-700);
    background: var(--brand-50);
    border-radius: 10px;
}

.lp-chip--a {
    left: -6px;
    top: 14%;
}

.lp-chip--b {
    right: -6px;
    bottom: 12%;
    animation-delay: -2.4s;
}

.lp-chip--b .lp-chip__icon {
    color: #7a5a00;
    background: #fff4c2;
}

@keyframes lp-float {
    50% {
        transform: translateY(-8px);
    }
}

/* staggered load-in */
.lp-hero__content > * {
    animation: lp-up .6s cubic-bezier(.2, .7, .2, 1) both;
}

.lp-hero__content > :nth-child(2) { animation-delay: .07s; }
.lp-hero__content > :nth-child(3) { animation-delay: .14s; }
.lp-hero__content > :nth-child(4) { animation-delay: .21s; }
.lp-hero__content > :nth-child(5) { animation-delay: .28s; }

@keyframes lp-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-chip,
    .lp-hero__content > * {
        animation: none;
    }
}

/* ---------- Quick access ---------- */
.lp-quicknav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.lp-tile,
.lp-service {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: left;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
}

/* Hover shadow lives on a pseudo-element and fades via opacity: animating
   box-shadow itself repaints every frame and looks steppy. */
.lp-tile,
.lp-service {
    position: relative;
    isolation: isolate;
}

.lp-tile::after,
.lp-service::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: 0 18px 34px -16px rgba(49, 46, 129, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

.lp-tile {
    padding: 20px;
}

.lp-tile:hover,
.lp-tile:focus-visible,
.lp-service:hover,
.lp-service:focus-visible {
    transform: translateY(-4px);
    border-color: var(--brand-200);
    text-decoration: none !important;
}

.lp-tile:hover::after,
.lp-tile:focus-visible::after,
.lp-service:hover::after,
.lp-service:focus-visible::after {
    opacity: 1;
}

.lp-tile:active,
.lp-service:active {
    transform: translateY(-1px);
    transition-duration: .12s;
}

.lp-tile__icon,
.lp-service__icon,
.lp-submenu__icon {
    display: grid;
    place-items: center;
    background: var(--brand-50);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), background-color .3s ease;
}

.lp-tile:hover .lp-tile__icon,
.lp-tile:focus-visible .lp-tile__icon,
.lp-service:hover .lp-service__icon,
.lp-service:focus-visible .lp-service__icon {
    background: var(--brand-100);
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .lp-tile,
    .lp-service,
    .lp-tile::after,
    .lp-service::after,
    .lp-tile__icon,
    .lp-service__icon {
        transition: none;
    }

    .lp-tile:hover,
    .lp-service:hover {
        transform: none;
    }
}

.lp-tile__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.lp-tile__icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.lp-tile__label {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- Services ---------- */
.lp-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-service {
    height: 100%;
    padding: 24px 20px;
    text-align: center;
}

.lp-service__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 4px;
    border-radius: 18px;
}

.lp-service__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.pub .lp-service__title,
.lp-service__desc {
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.pub .lp-service__title {
    font-size: 16px;
    font-weight: 800;
    -webkit-line-clamp: 2;
    transition: color .3s ease;
}

.lp-service:hover .lp-service__title {
    color: var(--brand-600);
}

.lp-service__desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    -webkit-line-clamp: 3;
}

/* ---------- Alur proses ---------- */
.lp-alur__link {
    display: block;
    cursor: zoom-in;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.lp-alur__link img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Contact ---------- */
.lp-contact {
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
}

.lp-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-info {
    display: flex;
    gap: 14px;
    padding: 10px 0;
}

.lp-info__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--brand-600);
    background: var(--brand-50);
    border-radius: 11px;
}

.lp-info__label {
    margin: 0 0 2px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-600);
}

.lp-info__value {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.45;
    word-break: break-word;
}

.lp-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
}

.lp-stat:last-child {
    border-bottom: 0;
}

.lp-stat__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
}

.lp-stat__label i {
    font-size: 16px;
    color: var(--brand-600);
}

.lp-stat__value {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lp-map {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    aspect-ratio: 16 / 11;
}

/* ---------- Modals ---------- */
.lp-submenu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lp-submenu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    text-align: center;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s ease, color .15s ease;
}

.lp-submenu__item:hover {
    color: var(--brand-600);
    border-color: var(--brand-200);
    text-decoration: none !important;
}

.lp-submenu__icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
}

.lp-submenu__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.lp-submenu__label {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.lp-wa-list {
    display: grid;
    gap: 10px;
}

.lp-wa {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .15s ease, background-color .15s ease;
}

.lp-wa i {
    font-size: 26px;
    color: #128c7e;
}

.lp-wa:hover {
    color: var(--ink);
    background: #f2fdf6;
    border-color: #128c7e;
    text-decoration: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .lp-quicknav {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-services {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .lp-hero {
        grid-template-columns: 1fr;
        padding: 34px 30px;
    }

    .lp-hero__media {
        display: none;
    }

    .lp-contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .lp-quicknav {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-services {
        grid-template-columns: 1fr;
    }

    .lp-cta .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .lp-hero {
        padding: 28px 20px;
    }

    .lp-submenu {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .lp-quicknav {
        grid-template-columns: 1fr;
    }
}
