.lead-full {
    font: var(--t-body-md);
    color: var(--c-body);
}

/* Feature card: subjudul (eyebrow) rapat di atas judul */
.feature-card__head {
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}

/* Feature card tanpa ikon (blok "feature", grid--2): jangan tampilkan
   border primary saat hover — cukup pertahankan garis tipis default */
.grid--2 .feature-card:not(:has(.feature-card__icon)):hover {
    border-color: var(--c-line-soft);
}

.topbar__lang-option.is-active {
    background: var(--c-canvas-soft);
    font-weight: 600;
}

/* Nav toggle: tampilkan ikon close saat menu mobile/tablet terbuka */
.nav__toggle-icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon--close { display: block; }

/* Topbar: warna khusus #011e41 di semua halaman selain index */
body:not(.home) .topbar {
    background: #011e41;
}

/* Deskripsi item paket internet (/spicelink-fiber): lebih kecil dari body-sm (16px),
   tampil penuh tanpa potongan "..." */
.paket-card__slide-body {
    min-height: 0;
    overflow-y: auto;
    padding-bottom: var(--s-xl);
}
.paket-card__slide-desc {
    font: var(--t-caption);
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

/* Badge "Pilihan Populer" pada kartu paket internet (paket dengan populer = 1) */
.paket-card__badge {
    position: absolute;
    top: var(--s-xl);
    left: -5px;
    z-index: 4;
    padding: 8px 12px;
    background: #e11d2e;
    color: #ffffff;
    font: 700 16px/16px var(--font-sans);
    letter-spacing: 0.02em;
    border-radius: var(--r-xs);
    pointer-events: none;
}

/* Paket internet di index: desktop 2 kolom (2 baris). Mobile & tablet tidak berubah. */
@media (min-width: 1025px) {
    .paket-fiber.paket-fiber--desktop-2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Paket internet (index & /spicelink-fiber): tablet tampil seperti mobile —
   geser horizontal, awal terlihat 2 item + 1/2 item ke-3 */
@media (max-width: 1024px) and (min-width: 721px) {
    .paket-fiber {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--container-pad);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        gap: var(--s-2xl);
        margin-inline: calc(-1 * var(--container-pad));
        padding-inline: var(--container-pad);
        scrollbar-width: none;
    }
    .paket-fiber::-webkit-scrollbar {
        display: none;
    }
    .paket-fiber > .paket-card {
        flex: 0 0 calc(40% - 19.2px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Blok "Feature Card Produk" (feature_produk): tablet tampil seperti mobile —
   geser horizontal ke kanan, awal terlihat 2 item + sebagian item ke-3 */
@media (max-width: 1024px) and (min-width: 721px) {
    .services-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--container-pad);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        gap: var(--s-2xl);
        margin-inline: calc(-1 * var(--container-pad));
        padding-inline: var(--container-pad);
        scrollbar-width: none;
    }
    .services-track::-webkit-scrollbar {
        display: none;
    }
    .services-track > .feature-card {
        flex: 0 0 calc(40% - 19.2px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Feature Card Ikon Samping (blok feature_ikon):
   ikon di sisi kiri, judul & deskripsi di kanan.
   Mobile: 1 kolom | Tablet: 2 kolom ringkas | Desktop: 2 kolom lega */
.feature-ikon-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-lg);
}

.feature-ikon-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s-sm);
    padding: var(--s-lg);
    background: var(--c-canvas);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-card);
    transition: border-color .2s ease;
}

.feature-ikon-item:hover {
    border-color: var(--c-primary);
}

.feature-ikon-item__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--c-primary);
}

.feature-ikon-item__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-ikon-item__body {
    min-width: 0;
}

.feature-ikon-item__title {
    font: var(--t-h4);
    color: var(--c-ink);
    margin: 0 0 var(--s-sm);
}

.feature-ikon-item__text {
    font: var(--t-body-sm);
    color: var(--c-body);
    margin: 0;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (min-width: 640px) {
    .feature-ikon-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--s-xl);
    }

    .feature-ikon-item {
        padding: var(--s-xl);
        gap: var(--s-md);
    }

    .feature-ikon-item__icon {
        width: 36px;
        height: 36px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .feature-ikon-list {
        gap: var(--s-2xl);
    }

    .feature-ikon-item {
        padding: var(--s-2xl);
        gap: var(--s-md);
    }

    .feature-ikon-item__icon {
        width: 40px;
        height: 40px;
    }

    .feature-ikon-item__text {
        font: var(--t-body-md);
    }
}

/* Hasil pencarian (search.blade.php) */
.search-results {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-lg);
}

.search-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-sm);
    padding: var(--s-lg);
    background: var(--c-canvas);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-card);
    transition: border-color .2s ease;
}

.search-result:hover {
    border-color: var(--c-primary);
}

.search-result__meta {
    font: var(--t-body-sm);
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.search-result__title {
    font: var(--t-h4);
    color: var(--c-ink);
    margin: 0;
    overflow-wrap: anywhere;
}

.search-result__excerpt {
    font: var(--t-body-sm);
    color: var(--c-body);
    margin: 0;
    overflow-wrap: anywhere;
}

.search-result__btn {
    margin-top: var(--s-xs);
}

/* Tablet */
@media (min-width: 640px) {
    .search-result {
        padding: var(--s-xl);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .search-results {
        gap: var(--s-xl);
    }

    .search-result {
        padding: var(--s-2xl);
    }

    .search-result__excerpt {
        font: var(--t-body-md);
    }
}

/* ==========================================================================
   Hero slider (banner homepage diputar bergantian)
   ========================================================================== */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__content {
  display: none;
}
.hero__content.is-active {
  display: block;
  animation: heroContentIn .8s ease both;
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__content.is-active { animation: none; }
}


.paketcard-padding-kiri {
    left: 45%;
}

/* ==========================================================================
   Media preloader (hero video/gambar) — js/hero-loader.js
   ========================================================================== */
.page-hero { position: relative; }

.media-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(14, 84, 160, 0.55) 0%, rgba(2, 30, 66, 0.96) 60%, #011a3d 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease, visibility .7s ease, background-color .4s ease;
}
.media-loader::before {
  /* sapuan cahaya diagonal yang bergerak perlahan */
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(127, 227, 255, 0.07) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: mlSweep 3.2s linear infinite;
  pointer-events: none;
}
.media-loader.is-soft {
  background: rgba(2, 26, 60, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.media-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.media-loader__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-align: center;
}
.media-loader__ring {
  position: relative;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-loader__ring::after {
  /* cincin glow tipis di belakang ring */
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  box-shadow: 0 0 28px 4px rgba(79, 195, 255, 0.25);
  animation: mlPulse 2s ease-in-out infinite;
}
.media-loader__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.media-loader__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}
.media-loader__arc {
  fill: none;
  stroke: #4fc3ff;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(79, 195, 255, 0.8));
  transition: stroke-dashoffset .45s ease;
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.media-loader__pct {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  text-shadow: 0 0 12px rgba(79, 195, 255, 0.6);
}
.media-loader__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  min-width: 15ch;
}
.media-loader__label::after {
  content: "...";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: mlBlink 1.4s ease-in-out infinite;
}

/* Mode tanpa progress (gambar / ukuran belum diketahui) */
.media-loader.is-indeterminate .media-loader__arc {
  stroke-dasharray: 84 200 !important;
  stroke-dashoffset: 0 !important;
  animation: mlSpin 1s cubic-bezier(.5, .1, .5, 1) infinite;
}

@keyframes mlSpin {
  to { transform: rotate(360deg); }
}
@keyframes mlPulse {
  0%, 100% { opacity: .5; transform: scale(.96); }
  50%      { opacity: 1;  transform: scale(1.02); }
}
@keyframes mlSweep {
  from { background-position: 150% 0; }
  to   { background-position: -150% 0; }
}
@keyframes mlBlink {
  0%, 100% { opacity: .25; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .media-loader::before,
  .media-loader__ring::after,
  .media-loader__label::after,
  .media-loader.is-indeterminate .media-loader__arc {
    animation: none;
  }
}
/* ==========================================================================
   Vertical carousel (homepage) — gaya vodafone.com#vertical-carousel
   Slide vertikal full-width: gambar kiri, deskripsi kanan, latar accent.
   ========================================================================== */
.vcarousel {
  position: relative;
  background: linear-gradient(160deg, var(--c-primary) 0%, #022a5a 100%);
  color: var(--c-on-dark);
  padding-block: var(--s-6xl) var(--s-5xl);
  overflow: hidden;
}
.vcarousel__head {
  margin-bottom: var(--s-4xl);
}
.vcarousel__motto {
  color: var(--c-on-dark);
  max-width: none;
}
.vcarousel__motto em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px #fff;
  text-stroke: 2px #fff;
}

.vcarousel__viewport {
  position: relative;
  width: 95%;
 /* height: clamp(520px, 70vh,500px);*/
  overflow: hidden;
}
.vcarousel__track {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .9s var(--ease-out);
}
.vcarousel__slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.vcarousel__media {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.vcarousel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}
.vcarousel__slide.is-active .vcarousel__media img {
  transform: scale(1);
}
.vcarousel__media::after {
  /* gradasi halus ke sisi konten */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(2, 42, 90, 0.55));
  pointer-events: none;
}
.vcarousel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-2xl);
  padding: var(--s-5xl) var(--s-6xl);
}
.vcarousel__eyebrow {
  color: var(--c-on-dark);
  opacity: 0.75;
}
.vcarousel__title {
  font: var(--t-display-sm);
  font-weight: bold;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.vcarousel__lead {
  font: var(--t-body-lg);
  color: #fff;
  max-width: 52ch;
  margin: 0;
}
.vcarousel__body {
  font: var(--t-body-md);
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0;
}
.vcarousel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  list-style: none;
  padding: 0;
  margin: 0;
}
.vcarousel__tags li {
  font: var(--t-caption-strong);
  color: #fff;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.06);
}

/* animasi konten saat slide menjadi aktif */
.vcarousel__slide.is-active .vcarousel__content > * {
  animation: vcIn .8s var(--ease-out) both;
}
.vcarousel__slide.is-active .vcarousel__content > *:nth-child(2) { animation-delay: .1s; }
.vcarousel__slide.is-active .vcarousel__content > *:nth-child(3) { animation-delay: .2s; }
.vcarousel__slide.is-active .vcarousel__content > *:nth-child(4) { animation-delay: .3s; }
.vcarousel__slide.is-active .vcarousel__content > *:nth-child(5) { animation-delay: .4s; }
@keyframes vcIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* kontrol: counter, dots, arrow */
.vcarousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3xl);
  margin-top: var(--s-4xl);
}
.vcarousel__counter {
  font: var(--t-caption-upper);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
}
.vcarousel__counter span {
  color: #fff;
  font-weight: 700;
}
.vcarousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vcarousel__dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width .35s var(--ease-out), background-color .3s var(--ease-out);
}
.vcarousel__dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}
.vcarousel__dots button.is-active {
  width: 48px;
  background: #fff;
}
.vcarousel__arrows {
  display: flex;
  gap: var(--s-md);
}
.vcarousel__arrows button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.vcarousel__arrows button:hover {
  background: #fff;
  color: var(--c-primary);
}
.vcarousel__arrows svg {
  width: 18px;
  height: 18px;
}
.vcarousel button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  /* tampilkan semua slide bertumpuk (tanpa animasi vertikal) */
  .vcarousel__viewport {
    height: auto;
    overflow: visible;
  }
  .vcarousel__track {
    transform: none !important;
    transition: none;
  }
  .vcarousel__slide {
    flex: none;
    height: auto;
    grid-template-columns: 1fr;
    margin-bottom: var(--s-5xl);
  }
  .vcarousel__media {
    aspect-ratio: 4 / 3;
  }
  .vcarousel__media::after {
    background: linear-gradient(to bottom, transparent 60%, rgba(2, 42, 90, 0.55));
  }
  .vcarousel__content {
    padding: var(--s-3xl) var(--container-pad) 0;
  }
  .vcarousel__controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vcarousel__track,
  .vcarousel__media img,
  .vcarousel__dots button {
    transition: none;
  }
  .vcarousel__slide.is-active .vcarousel__content > * {
    animation: none;
  }
}

/* Vertical carousel: sudut kanan atas & bawah gambar membulat 10px */
.vcarousel__media {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.vcarousel__media img {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Tombol CTA hero: arrow di kanan label, gaya sama dengan "Pelajari" pada megamenu */
.hero__cta {
  gap: var(--s-sm);
}
.hero__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .25s var(--ease-out);
}
.hero__cta:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Tombol kembali ke atas (pojok kanan bawah, semua halaman frontend)
   ========================================================================== */
.to-top {
  position: fixed;
  right: var(--s-3xl);
  bottom: var(--s-3xl);
  z-index: 40;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: var(--c-on-primary);
  box-shadow: 0 8px 20px rgba(2, 56, 119, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity .4s var(--ease-out),
    transform .4s var(--ease-out),
    visibility 0s linear .4s,
    background-color .2s var(--ease-out);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity .4s var(--ease-out),
    transform .4s var(--ease-out),
    visibility 0s,
    background-color .2s var(--ease-out);
}
.to-top:hover {
  background: #022a5a;
}
.to-top:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}
.to-top svg {
  width: 20px;
  height: 20px;
  transition: transform .3s var(--ease-out);
}
.to-top:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .to-top {
    right: var(--s-lg);
    bottom: var(--s-lg);
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .to-top,
  .to-top svg {
    transition: none;
  }
}

/* Feature Card Produk (blok feature_produk): kartu gradasi warna accent,
   teks putih, gambar = hero halaman produk yang ditautkan.
   Revert: hapus blok ini + kembalikan components/page-blocks.blade.php */
.feature-card--produk {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #023877 0%, #022a5a 100%);
    color: #ffffff;
    min-height: 320px;
    isolation: isolate;
    box-shadow: 0 10px 30px rgba(2, 42, 90, 0.18);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.feature-card--produk.has-img {
    background-image:
        linear-gradient(160deg, rgba(2, 56, 119, 0.82) 0%, rgba(2, 42, 90, 0.94) 100%),
        var(--produk-img);
    background-size: cover;
    background-position: center;
}
.feature-card--produk:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(2, 42, 90, 0.28);
}
.feature-card--produk .feature-card__icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}
.feature-card--produk .feature-card__title {
    color: #ffffff;
}
.feature-card--produk .feature-card__body {
    color: rgba(255, 255, 255, 0.86);
}
.feature-card--produk .feature-card__link {
    color: #ffffff;
}
/* Default: sembunyikan <br> di komputer/tablet */
.mobile-br {
  display: none;
}

/* Munculkan <br> hanya di HP (lebar layar maksimal 600px) */
@media (max-width: 600px) {
  .mobile-br {
    display: inline;
  }
  
}

@media (max-width: 900px) {
.pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}




.bg-speed {
  background: url(/themes/spicelink/assets/images/speed.png); 
  background-repeat:no-repeat; 
  background-position:right top;
  
}

@media (max-width: 600px){
  .bg-speed {
  background: none; 
  background-repeat:no-repeat; 
  background-position: 20px top;
  
  }

  .gradient-box {
   background-image: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 58%, rgba(255, 255, 255, 0) 100%);
  }
}

@media (min-width:600px) and (max-width: 900px) {
  .bg-speed {
  background: url(/themes/spicelink/assets/images/speed.png); 
  background-repeat:no-repeat; 
  background-position: 260px top;
  
  }

  .ch-deskripsi {
    width: 50%;
  }

}

@media (min-width: 900px) and (max-width: 1024px) {
  .bg-speed {
    background: url(/themes/spicelink/assets/images/speed.png); 
    background-repeat:no-repeat; 
    background-position:350px top;
    
  }

  .ch-deskripsi {
    width: 55%;
  }

}


