/* ============================================================
   LANDING V2 — Parallax redesign (hanya dimuat di index.php)
   Hero FTTH scene + dekorasi parallax section.
   Token warna mengikuti variable.css / design-system MASTER.md
   ============================================================ */

/* =========================
   HERO V2
   ========================= */
.hero-v2 {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: clip;
    isolation: isolate;
}

.hero-v2-scene {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-v2-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Layer SVG digerakkan GSAP — beri will-change hint ringan */
.hv-layer {
    will-change: transform;
}

/* Glow blobs */
.hero-v2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.hero-v2-orb-a {
    width: 480px;
    height: 480px;
    top: -120px;
    left: 12%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
}

.hero-v2-orb-b {
    width: 420px;
    height: 420px;
    top: 10%;
    right: 6%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.28), transparent 70%);
}

/* Grid halus */
.hero-v2-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 40%, transparent 100%);
}

/* Fade dihapus: tanah scene sudah gradient ke transparan,
   fade tambahan justru membuat garis batas terlihat */
.hero-v2-fade {
    display: none;
}

.hero-v2 .scroll-indicator {
    bottom: 16px;
}

/* ===== Elemen SVG scene ===== */
.hv-window {
    fill: #7dd3fc;
    opacity: 0.85;
}

.hv-ont {
    fill: #06b6d4;
}

/* Beacon berkedip (CSS — tetap jalan tanpa JS) */
.hv-beacon {
    animation: hv-blink 2.6s ease-in-out infinite;
}

@keyframes hv-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.25; }
}

/* Ring broadcast tower — stroke dilembutkan agar tidak menabrak headline */
.hv-ring {
    transform-box: fill-box;
    transform-origin: center;
    stroke-opacity: 0.5;
    animation: hv-ring 3.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    opacity: 0;
}

.hv-ring:nth-child(2) { animation-delay: 1.05s; }
.hv-ring:nth-child(3) { animation-delay: 2.1s; }

@keyframes hv-ring {
    0%   { transform: scale(0.35); opacity: 0.9; }
    100% { transform: scale(1.6);  opacity: 0; }
}

/* Sinyal wifi rumah — denyut pelan */
.hv-wifi-arc {
    animation: hv-blink 3.4s ease-in-out infinite;
}

/* Pulse fiber: disembunyikan sampai GSAP menempatkannya di path */
.hv-pulse {
    opacity: 0;
}

/* ===== Konten hero ===== */
.hero-v2-container {
    position: relative;
    z-index: 1;
    /* Jaga total tinggi ≤ 100dvh di desktop umum supaya scene bawah
       tidak terdorong keluar viewport (menyisakan band gelap) */
    padding-top: 112px;
    padding-bottom: 150px;
}

.hero-v2-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-v2-headline {
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: var(--tracking-tighter);
    font-weight: 800;
    margin: 22px 0 18px;
}

.hero-v2-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-v2-copy {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
}

/* Stats — strip glass */
.hero-v2-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--glass-border);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0;
    width: 100%;
    max-width: 640px;
}

.hero-v2-stat {
    background: rgba(15, 23, 42, 0.55);
    padding: 18px 12px;
    text-align: center;
}

.hero-v2-stat dd {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-v2-stat dt {
    order: 1;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-v2-stat {
    display: flex;
    flex-direction: column;
}

/* Entrance reveal: state awal di-set oleh JS (bukan CSS),
   sehingga konten tetap terlihat jika JS gagal dimuat. */

/* =========================
   DEKORASI PARALLAX SECTION
   ========================= */
.section-shell {
    position: relative;
    overflow: clip;
}

.section-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-decor ~ .container {
    position: relative;
    z-index: 1;
}

.section-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.section-orb-blue {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
}

.section-orb-cyan {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.26), transparent 70%);
}

.section-orb-purple {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
}

/* Garis fiber dekoratif horizontal (data-URI, ringan) */
.fiber-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 110, 720 60 C 960 10, 1200 110, 1440 60' stroke='%233b82f6' stroke-opacity='0.18' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0 70 C 240 20, 480 120, 720 70 C 960 20, 1200 120, 1440 70' stroke='%2306b6d4' stroke-opacity='0.12' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .hero-v2-container {
        padding-bottom: 220px;
    }
}

@media (max-width: 768px) {
    .hero-v2-container {
        padding-top: 108px;
        padding-bottom: 190px;
    }

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

    .hero-v2-orb-a,
    .hero-v2-orb-b {
        width: 280px;
        height: 280px;
        filter: blur(70px);
    }

    /* Sederhanakan scene di layar kecil */
    #hv-nodes { opacity: 0.35; }
}

@media (max-width: 480px) {
    .hero-v2-container {
        padding-bottom: 165px;
    }

    .hero-v2-stat dd {
        font-size: 1.2rem;
    }

    .hero-v2-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   REDUCED MOTION
   ========================= */
@media (prefers-reduced-motion: reduce) {
    .hv-beacon,
    .hv-ring,
    .hv-wifi-arc {
        animation: none !important;
    }

    .hv-ring {
        opacity: 0.35;
        transform: none;
    }

    .hv-pulse {
        opacity: 0 !important;
    }
}

/* ============================================================
   LANDING V2.1 — background menyatu + rombak isi section
   ============================================================ */

/* =========================
   PAGE BACKDROP (fixed, satu scene untuk semua section)
   ========================= */
.page-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.pb-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 15% 0%, rgba(29, 58, 110, 0.5), transparent 65%),
        radial-gradient(ellipse 70% 45% at 90% 30%, rgba(6, 182, 212, 0.09), transparent 70%),
        radial-gradient(ellipse 80% 50% at 30% 70%, rgba(59, 130, 246, 0.08), transparent 70%),
        radial-gradient(ellipse 90% 55% at 70% 105%, rgba(139, 92, 246, 0.1), transparent 70%),
        var(--primary-dark);
}

.pb-grid {
    position: absolute;
    inset: 0;
    /* Tanpa mask: mask radial membuat band terang/gelap yang terlihat
       sebagai garis pembatas antar-section */
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
}

.pb-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.pb-orb-1 {
    width: 560px;
    height: 560px;
    top: 12%;
    left: -180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
}

.pb-orb-2 {
    width: 480px;
    height: 480px;
    top: 45%;
    right: -160px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.13), transparent 70%);
}

.pb-orb-3 {
    width: 520px;
    height: 520px;
    top: 78%;
    left: 20%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.11), transparent 70%);
}

/* Section transparan — backdrop yang bekerja */
body {
    background-color: var(--primary-dark);
}

.section-shell {
    background: transparent;
}

/* Ritme vertikal MASTER §4: 96 / 64 / 48 */
section {
    padding: 96px 0;
}

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

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

/* MATIKAN background per-section warisan CSS lama — backdrop yang bekerja.
   Inilah penyebab warna antar-section tidak menyambung. */
.services,
#packages,
#coverage,
.about {
    background: transparent !important;
    background-image: none !important;
}

#packages::before,
#coverage::before {
    display: none;
}

/* Coverage menempel lebih dekat ke scene hero supaya terasa menyambung */
#coverage {
    padding-top: 36px;
}

/* Pemisah antar-section: garis lengkung bercahaya (bukan blok warna).
   Mask memudarkan garis di area tengah supaya tidak menabrak judul
   section yang selalu berada di tengah. */
.curve-sep {
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M-20 110 C 300 20, 620 150, 940 70 C 1140 22, 1330 60, 1460 44' stroke='%233b82f6' stroke-opacity='0.3' stroke-width='2' fill='none'/%3E%3Cpath d='M-20 124 C 300 36, 620 164, 940 86 C 1140 38, 1330 76, 1460 58' stroke='%2306b6d4' stroke-opacity='0.18' stroke-width='1.4' fill='none'/%3E%3Cpath d='M-20 96 C 300 6, 620 134, 940 56 C 1140 8, 1330 46, 1460 30' stroke='%2360a5fa' stroke-opacity='0.09' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 26%, transparent 42%, transparent 58%, black 74%, black 100%);
    mask-image: linear-gradient(90deg, black 0%, black 26%, transparent 42%, transparent 58%, black 74%, black 100%);
    pointer-events: none;
}

.curve-sep-flip {
    transform: scaleX(-1);
}

/* Orb section dibuat lebih halus supaya menyatu dengan backdrop */
.section-orb {
    opacity: 0.3;
}

/* =========================
   TRUST BAR — marquee
   ========================= */
.trust-bar {
    padding: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.trust-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.trust-track {
    display: flex;
    width: max-content;
    animation: trust-scroll 36s linear infinite;
}

.trust-marquee:hover .trust-track {
    animation-play-state: paused;
}

.trust-group {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.trust-item {
    padding: 0 28px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    font-size: 17px;
    color: var(--accent-cyan);
}

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

/* =========================
   PACKAGE CARDS V2
   ========================= */
.packages-grid {
    align-items: stretch;
}

.package-card {
    border-radius: 24px;
    background: rgba(17, 26, 47, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 34px 30px 28px;
    transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(96, 165, 250, 0.25);
    border-color: rgba(96, 165, 250, 0.35);
}

/* Popular: gradient border via background dua lapis */
.package-card.popular {
    border: 2px solid transparent;
    background:
        linear-gradient(rgba(17, 26, 47, 0.92), rgba(17, 26, 47, 0.92)) padding-box,
        var(--gradient-primary) border-box;
    box-shadow: 0 24px 56px rgba(6, 182, 212, 0.18);
    transform: translateY(-10px) scale(1.02);
}

.package-card.popular:hover {
    transform: translateY(-16px) scale(1.02);
}

.package-speed {
    font-size: 46px;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.package-mbps {
    font-size: 20px;
    font-weight: 600;
}

.package-price {
    font-size: 34px;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.popular-badge {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    letter-spacing: 0.06em;
    font-size: 12px;
}

/* =========================
   SERVICE & ADVANTAGE CARDS V2
   ========================= */
.service-card,
.advantage-card {
    border-radius: 24px;
    background: rgba(17, 26, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-icon-wrapper {
    background: var(--gradient-primary);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
}

.service-icon {
    color: #fff;
}

.advantage-icon-wrapper {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.advantage-num {
    font-size: 84px;
    color: rgba(96, 165, 250, 0.09);
}

/* =========================
   COVERAGE V2 — layout 2 kolom
   ========================= */
.coverage-layout {
    display: grid;
    /* minmax(0, …): cegah min-content (teks nowrap) meledakkan track */
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.coverage-layout > * {
    min-width: 0;
}

.coverage-map-panel {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 26, 47, 0.6);
    box-shadow: var(--shadow-md);
    display: flex;
}

.coverage-map-panel .coverage-map {
    flex: 1;
    min-height: 420px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0;
}

.coverage-map-panel #map {
    height: 100%;
    min-height: 420px;
}

.coverage-side {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(17, 26, 47, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px;
}

.coverage-side .coverage-title {
    margin: 0 0 18px;
    font-size: 20px;
    text-align: left;
}

.coverage-side .coverage-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap; /* CSS lama set wrap → line mengikuti min-content, meledakkan lebar */
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.coverage-side .coverage-list li {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    background: none;
    border-radius: 0;
}

.coverage-side .coverage-btn {
    width: 100%;
    box-sizing: border-box; /* responsive.css lama pakai all:unset */
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.coverage-side .coverage-btn:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateX(4px);
}

.coverage-side .coverage-btn > i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.14);
    color: var(--accent-blue-light);
}

.coverage-city {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 600;
    font-size: 15px;
}

.coverage-city small {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coverage-side .coverage-status {
    flex: 0 0 auto;
}

.coverage-side .coverage-note {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
}

.coverage-cta {
    margin-top: auto;
    width: 100%;
}

/* =========================
   ABOUT V2 — frame glow
   ========================= */
.about-image .image-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(59, 130, 246, 0.12);
}

/* =========================
   CTA / CONTACT V2 — panel glass gradient border
   ========================= */
.cta-section {
    background:
        linear-gradient(rgba(17, 26, 47, 0.85), rgba(17, 26, 47, 0.85)) padding-box,
        linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(6, 182, 212, 0.6)) border-box;
    border: 1.5px solid transparent;
    border-radius: 28px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.cta-section::before {
    background:
        radial-gradient(ellipse 60% 80% at 50% -20%, rgba(59, 130, 246, 0.25), transparent 70%);
}

/* Badge pill di atas judul */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: var(--accent-blue-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}

.cta-badge i {
    color: var(--accent-cyan);
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2; /* default body 1.6 membuat 2 baris judul terpisah jauh */
    margin-bottom: 18px;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 34px;
}

.cta-buttons {
    margin-bottom: 30px;
}

.cta-buttons .btn-whatsapp {
    font-size: 16px; /* base.css set 18px — samakan dengan tombol lain */
}

/* Meta: telepon + waktu respon dalam satu baris berpemisah */
.cta-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 15px;
}

.cta-meta-item i {
    color: var(--accent-cyan);
    font-size: 14px;
}

.cta-meta-item span {
    font-variant-numeric: tabular-nums;
}

.cta-meta-sep {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
}

@media (max-width: 480px) {
    .cta-meta {
        flex-direction: column;
        gap: 10px;
    }

    .cta-meta-sep {
        display: none;
    }
}

/* =========================
   RESPONSIVE V2.1
   ========================= */
@media (max-width: 900px) {
    .coverage-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .coverage-map-panel .coverage-map,
    .coverage-map-panel #map {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .trust-item {
        padding: 0 18px;
        font-size: 13px;
    }

    .cta-section {
        padding: 44px 24px;
    }
}

/* =========================
   REDUCED MOTION V2.1
   ========================= */
@media (prefers-reduced-motion: reduce) {
    .trust-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .trust-group[aria-hidden="true"] {
        display: none;
    }

    .trust-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ============================================================
   LANDING V2.2 — peta Indonesia, ilustrasi section, font baru
   ============================================================ */

/* =========================
   COVERAGE — peta Indonesia
   ========================= */
.id-map {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 8px 0 40px;
}

/* Canvas peta: TANPA padding — % posisi marker relatif ke gambar */
.id-map-canvas {
    position: relative;
}

.id-map-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 40px rgba(6, 182, 212, 0.08));
    user-select: none;
    -webkit-user-drag: none;
}

/* Marker */
.map-marker {
    position: absolute;
    width: 44px;               /* touch target */
    height: 44px;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker:focus-visible {
    outline: 2px solid var(--accent-blue-light);
    outline-offset: 2px;
    border-radius: 50%;
}

/* Pointer mouse presisi: hit area lebih kecil supaya marker yang
   bertumpukan (Pati–Jepara) tetap bisa di-hover masing-masing.
   Touch device tetap 44px. */
@media (pointer: fine) {
    .map-marker {
        width: 26px;
        height: 26px;
    }
}

.map-dot {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #06b6d4;
    border: 2px solid #a5f3fc;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.9);
    display: inline-block;
}

.map-dot-hq {
    width: 14px;
    height: 14px;
    background: var(--gradient-primary);
    border-color: #dbeafe;
    box-shadow: 0 0 16px rgba(59, 130, 246, 1);
}

.map-ring {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.8);
    animation: map-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes map-pulse {
    0%   { transform: scale(1);   opacity: 0.9; }
    100% { transform: scale(3.4); opacity: 0; }
}

/* Tooltip alamat */
.map-tip {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 240px;
    max-width: 300px;
    padding: 13px 15px;
    border-radius: 14px;
    background: rgba(11, 19, 36, 0.97);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(59, 130, 246, 0.15);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 5;
}

.map-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: rgba(96, 165, 250, 0.35);
}

.map-marker:hover .map-tip,
.map-marker:focus .map-tip,
.map-marker:focus-visible .map-tip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.map-marker:hover,
.map-marker:focus {
    z-index: 10;
}

.map-tip strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.map-tip strong em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gradient-primary);
    padding: 3px 8px;
    border-radius: 999px;
}

.map-tip > span {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.map-tip small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 6px;
}

/* Legend */
.map-legend {
    position: absolute;
    left: 6px;
    bottom: 6px;
    display: flex;
    gap: 18px;
    font-size: 12px;
    color: var(--text-muted);
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-legend .map-dot {
    box-shadow: none;
    width: 9px;
    height: 9px;
}

.map-legend .map-dot-hq {
    width: 11px;
    height: 11px;
}

.coverage-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    text-align: center;
}

.coverage-foot .coverage-note {
    max-width: 460px;
}

/* =========================
   ILUSTRASI KARTU (paket & layanan)
   ========================= */
.package-art,
.service-art {
    margin: -6px 0 18px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 80% 90% at 50% 110%, rgba(59, 130, 246, 0.14), transparent 70%),
        rgba(13, 24, 48, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.package-art svg,
.service-art svg {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   ADVANTAGES — ilustrasi + grid 2x2
   ========================= */
.advantages-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 48px;
    align-items: center;
}

.adv-illustration svg {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
}

.advantages-layout .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.advantages-layout .advantage-card {
    text-align: left;
    padding: 24px 22px;
}

.advantages-layout .advantage-icon-wrapper {
    margin: 0 0 14px;
}

/* =========================
   CTA — ilustrasi samping
   ========================= */
.cta-art {
    position: absolute;
    bottom: 0;
    width: 190px;
    opacity: 0.9;
    pointer-events: none;
}

.cta-art svg {
    display: block;
    width: 100%;
    height: auto;
}

.cta-art-left  { left: 4%; }
.cta-art-right { right: 4%; }

/* =========================
   FONT BARU — Space Grotesk maks 700
   ========================= */
.hero-v2-headline,
.section-title,
.cta-title,
.package-speed,
.package-price {
    font-weight: 700;
}

/* =========================
   RESPONSIVE V2.2
   ========================= */
@media (max-width: 1100px) {
    .cta-art { display: none; }
}

@media (max-width: 900px) {
    .advantages-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .adv-illustration svg {
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .advantages-layout .advantages-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .map-tip {
        min-width: 200px;
        max-width: 240px;
    }

    .map-legend {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }

    .id-map {
        padding-bottom: 8px;
    }
}

/* =========================
   REDUCED MOTION V2.2
   ========================= */
@media (prefers-reduced-motion: reduce) {
    .map-ring {
        animation: none;
        opacity: 0.4;
    }
}

/* =========================
   ABOUT V2.1 — layout rapi
   ========================= */
.about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-chip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(11, 19, 36, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.about-chip i {
    color: var(--accent-cyan);
}

.about-content .about-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 26px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: rgba(17, 26, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.about-feature:hover {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(23, 34, 60, 0.7);
}

.about-feature-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.13);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: var(--accent-blue-light);
    font-size: 16px;
}

.about-feature h4 {
    font-size: 14.5px;
    margin: 2px 0 4px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-actions .btn {
    padding: 13px 22px;
    font-size: 15px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .about-image {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .about-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-chip {
        font-size: 12px;
        padding: 9px 14px;
    }
}
