/*
 * pages/homepage.css — PT Asuransi Intra Asia
 * Homepage-specific styles. Loaded via index1.php, only for body.index-page.
 * Replaces homepage-desktop.css + homepage-mobile.css.
 *
 * Mobile-first: base = mobile (≤479px), breakpoints go up with min-width.
 * Scoped entirely to body.index-page — zero leakage to other pages.
 *
 * !important inventory — 21 total (down from 292):
 *   @media (max-width: 575px) [4]: services row margin / col padding
 *     → fighting .row { margin: -12px !important } + col padding GLOBAL in responsive.css
 *   base [5]: services .image-container img position/width/max-width/height/margin
 *     → fighting .image-container img { position: relative !important; height: auto !important }
 *       ≤480px GLOBAL in responsive.css (rusak pola overlay gambar hover product)
 *   @media (max-width: 600px) [3]: hero padding/margin/min-height
 *     → fighting section#hero { padding: 0 !important } in responsive.css
 *   base [1] + @media (min-width: 1200px) [1]: hero slider h2 font-size
 *     → fighting h2 { font-size: Npx !important } breakpoint rules in responsive.css
 *   @media (min-width: 1200px) [7]: info-kenapa-image width/img/h3, video height
 *     → fighting .kotak_icon { ... !important } and .hero video { height: auto !important }
 *       GLOBAL rules in responsive.css
 *
 * Specificity note: body.index-page .selector (0,2,1+) beats Bootstrap .selector (0,1,0)
 * and main.css .selector (0,1,0) at same !important level — so most legacy overrides
 * that used !important no longer need it.
 */

/* ═══════════════════════════════════════════════════════════
   0. GLOBAL — overflow, container, section rhythm
   ═══════════════════════════════════════════════════════════ */

body.index-page {
  overflow-x: hidden;
}

/* Full-width mobile container; fixed 1200px at desktop (see @media 1200px block).
   Specificity 0,2,1 beats Bootstrap .container 0,1,0 — no !important needed. */
body.index-page .container,
body.index-page .container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* Section vertical rhythm — scoped to homepage sections by ID (not generic `main > section`)
   to prevent leakage to management.php and other pages sharing body.index-page. */
body.index-page #hero,
body.index-page #about,
body.index-page #information,
body.index-page #services,
body.index-page #faq,
body.index-page #rating {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Kill hard-coded legacy fixed widths from main.css on shared layout containers.
   Specificity 0,2,1 beats main.css 0,1,0 — no !important. */
body.index-page .kotak_icon,
body.index-page .box2,
body.index-page .box_kecil,
body.index-page .info,
body.index-page .informasi,
body.index-page .rangka-info,
body.index-page .rangka-info-sub2 {
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}


/* ═══════════════════════════════════════════════════════════
   1. HERO BANNER — banner.php (#hero.hero)
   Mobile: stacked (video above, text below via Bootstrap order classes)
   Desktop (≥1200px): side-by-side, text left 50%, video right 50vw
   ═══════════════════════════════════════════════════════════ */

body.index-page #hero {
  min-height: auto;
  padding: 24px 0;
  display: block;
  overflow: hidden;
}

/* At ≤600px, responsive.css has section#hero { padding: 0 !important; margin: 0 !important }.
   section#hero specificity = 1,0,1 (ID + element). We must use #hero to get 1,1,1 to win. */
@media (max-width: 600px) {
  body.index-page #hero {
    padding: 24px 0 !important;
    margin: 0 !important;
    min-height: auto !important;
  }
}

body.index-page #hero > .container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

body.index-page #hero .container > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 20px;
  margin: 0;
  align-items: stretch;
}

body.index-page #hero .col-lg-7,
body.index-page #hero .col-lg-5 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Hero text */
body.index-page #hero h1 {
  font-size: 30px;
  line-height: 1.27;
  font-weight: 800;
  color: #1e333e;
  margin: 20px 0 12px 0;
  text-align: start;
}

body.index-page #hero p {
  font-size: 14px;
  line-height: 1.55;
  color: #4a5662;
  margin: 0 0 16px 0;
}

/* Rotating text slider (#slider) */
body.index-page #hero #slider {
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
  min-height: 60px;
  width: 100%;
}

body.index-page #hero #slider li,
body.index-page #hero ul li {
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
}

/* Fighting responsive.css global h2 { font-size: Npx !important } breakpoint rules.
   Our selector specificity 0,3,1 vs h2 0,0,1 — we win within the !important layer. */
body.index-page #hero #slider li h2,
body.index-page #hero h2 {
  font-size: 19px !important;
  font-weight: bold;
  line-height: 1.25;
  color: #35a1ec;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Slider pager dots */
body.index-page #hero .callbacks_tabs {
  position: absolute;
  bottom: -22px;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 6px;
}

body.index-page #hero .callbacks_tabs li {
  width: auto;
  height: auto;
}

body.index-page #hero .callbacks_tabs a {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd8df;
  text-indent: -9999px;
  overflow: hidden;
}

body.index-page #hero .callbacks_tabs .callbacks_here a {
  background: #35a1ec;
}

/* Video column */
body.index-page .hero-img {
  display: block;
  padding: 0;
  margin: 0;
}

body.index-page #hero #slider_ {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

body.index-page #hero #slider_ li {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.index-page #hero #slider_ video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Hide broken responsiveslides arrow nav (themes.gif path missing) */
body.index-page #hero #slider_ ~ .callbacks_nav,
body.index-page #hero .hero-img .callbacks_nav {
  display: none;
}

/* Pager dots overlay on video */
body.index-page #hero .hero-img .callbacks_tabs {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

body.index-page #hero .hero-img .callbacks_tabs a {
  background: rgba(255, 255, 255, 0.6);
}

body.index-page #hero .hero-img .callbacks_tabs .callbacks_here a {
  background: #ffffff;
}

/* Phone tighter overrides */
@media (max-width: 599px) {
  body.index-page #hero h1 {
    font-size: 30px;
    line-height: 1.27;
  }
}


/* ═══════════════════════════════════════════════════════════
   2. SLIDE SHOW — slide_show.php (#about.section_slide)
   slide_show.php has an inline <style> block with .rslides img { float: left }.
   Our body.index-page #about specificity (1,2,2) beats it without !important.
   ═══════════════════════════════════════════════════════════ */

body.index-page #about.section_slide {
  height: auto;
  border: 0;
  padding: 12px 0 24px 0;
  background-color: transparent;
}

body.index-page #about .container {
  padding-left: 16px;
  padding-right: 16px;
}

body.index-page #about .slider {
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(13, 63, 113, 0.08);
}

body.index-page #about .rslides {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.index-page #about .rslides li {
  width: 100%;
  text-align: center;
}

/* float: none beats slide_show.php inline <style> .rslides img { float: left }
   via specificity 1,2,2 vs 0,1,1 — no !important needed. */
body.index-page #about .rslides img {
  float: none;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  border-radius: 12px;
}

body.index-page #about .callbacks_nav {
  display: none;
}

body.index-page #about .callbacks_tabs {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 6px;
  z-index: 3;
}

body.index-page #about .callbacks_tabs li {
  width: auto;
  height: auto;
}

body.index-page #about .callbacks_tabs a {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  text-indent: -9999px;
  overflow: hidden;
}

body.index-page #about .callbacks_tabs .callbacks_here a {
  background: #ffffff;
}


/* ═══════════════════════════════════════════════════════════
   3. INFORMATION — information.php (.info-kenapa-row)
   Mobile: stacked (heading+image above, cards as horizontal scroll strip below)
   Desktop (≥1200px): side-by-side (image 48% left, cards 52% right)
   ═══════════════════════════════════════════════════════════ */

body.index-page .info-kenapa-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

/* Left column: heading + illustration */
body.index-page .info-kenapa-image {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.index-page .info-kenapa-image h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #1e333e;
  margin: 0 0 16px 0;
  width: 100%;
  text-align: center;
}

body.index-page .info-kenapa-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: block;
}

/* Right column: cards */
body.index-page .info-kenapa-boxes {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

/* Horizontal swipe strip — 2 cards visible, user swipes to reveal more.
   Specificity 0,3,1 beats main.css .box2 0,1,0 — no !important needed. */
body.index-page .info-kenapa-boxes .box2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 4px 0 14px 0;
  width: 100%;
  float: none;
  max-height: none;
  scrollbar-width: thin;
  scrollbar-color: #35a1ec transparent;
}

body.index-page .info-kenapa-boxes .box2::-webkit-scrollbar {
  height: 4px;
}

body.index-page .info-kenapa-boxes .box2::-webkit-scrollbar-thumb {
  background: #35a1ec;
  border-radius: 2px;
}

body.index-page .info-kenapa-boxes .box_kecil {
  flex: 0 0 calc(48% - 6px);
  min-width: 150px;
  width: auto;
  height: auto;
  min-height: 170px;
  scroll-snap-align: start;
  margin: 0;
  padding: 16px 12px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(13, 63, 113, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.index-page .info-kenapa-boxes .xbox_kecil {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

body.index-page .info-kenapa-boxes .xbox_kecil li {
  display: block;
  width: 100%;
  position: static;
  float: none;
  top: auto;
  left: auto;
  padding: 0;
  margin: 0;
}

body.index-page .info-kenapa-boxes .xbox_kecil img {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  margin: 0 auto 10px;
  padding: 0;
  display: block;
  object-fit: contain;
  visibility: visible;
  opacity: 1;
}

body.index-page .info-kenapa-boxes .box_kecil p,
body.index-page .info-kenapa-boxes .xbox_kecil p {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #1e333e;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Extra small phone */
@media (max-width: 599px) {
  body.index-page .info-kenapa-image h3 {
    font-size: 22px;
  }
}


/* ═══════════════════════════════════════════════════════════
   4. CALL CENTER — call_center.php (#call-to-action)
   call-center.css handles the full layout; we only adjust rhythm.
   body.index-page #call-to-action specificity 1,1,0 > call-center.css #call-to-action 1,0,0
   ═══════════════════════════════════════════════════════════ */

body.index-page #call-to-action {
  padding-top: 32px;
  padding-bottom: 32px;
}

body.index-page #call-to-action .container {
  padding-left: 14px;
  padding-right: 14px;
}


/* ═══════════════════════════════════════════════════════════
   5. PRODUCT GRID — product.php (#services.services)
   Mobile/tablet (base): horizontal swipe strip with scroll-snap,
   same pattern as §3 INFORMATION (.box2 strip)
   Desktop ≥1200px: 4-column grid (reset in desktop block below)
   ═══════════════════════════════════════════════════════════ */

body.index-page .services {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Horizontal swipe strip — ~1 card + peek on phone, swipe to reveal more */
body.index-page .services .container > .row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: #35a1ec transparent;
}

body.index-page .services .container > .row::-webkit-scrollbar {
  height: 4px;
}

body.index-page .services .container > .row::-webkit-scrollbar-thumb {
  background: #35a1ec;
  border-radius: 2px;
}

/* ~1.2 cards visible below 600px */
body.index-page .services .col-xl-3,
body.index-page .services .col-md-6 {
  flex: 0 0 78%;
  max-width: 78%;
  scroll-snap-align: start;
  padding-left: 7px;
  padding-right: 7px;
}

/* ~2.2 cards visible at 600px+ (tablet) */
@media (min-width: 600px) {
  body.index-page .services .col-xl-3,
  body.index-page .services .col-md-6 {
    flex: 0 0 42%;
    max-width: 42%;
  }
}

/* Fighting responsive.css ≤575px GLOBAL .row { margin: -12px !important } and
   col padding 12px !important — negative margin breaks the scroll strip edges.
   Our !important at specificity 0,3,1 beats theirs at 0,1,0. */
@media (max-width: 575px) {
  body.index-page .services .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.index-page .services .col-xl-3,
  body.index-page .services .col-md-6 {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* Card — no !important: specificity 0,3,1 beats responsive.css .services .service-item 0,2,0 */
body.index-page .services .service-item {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(13, 63, 113, 0.06);
  padding: 18px 16px 14px;
  border-radius: 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}

body.index-page .services .service-item .image-container {
  position: relative;
  width: 100%;
  height: 110px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.index-page .services .service-item .icon {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Fighting responsive.css ≤480px GLOBAL .image-container img
   { position: relative !important; height: auto !important; ... } —
   rule itu membatalkan pola overlay: kedua gambar (awal+hover) ikut
   flow dan menumpuk vertikal, tinggi kartu jadi tergantung ukuran
   asli tiap gambar sehingga deskripsi/CTA kadang terdorong hilang.
   !important di sini wajib: specificity tinggi TANPA !important tetap
   kalah dari !important. */
body.index-page .services .service-item .icon img,
body.index-page .services .service-item .image-container img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  margin: 0 !important;
  padding: 0;
}

/* Di device touch, tap memicu :hover yang nempel (sticky) — swap
   gambar jadi terlihat rusak/acak antar kartu. Matikan swap khusus
   layar sentuh; desktop dengan kursor tetap dapat efek hover.
   Specificity 0,5,0 mengalahkan main.css .image-container:hover
   .gambar-awal/.gambar-hover 0,3,0. */
@media (hover: none) {
  body.index-page .services .image-container:hover .gambar-awal {
    opacity: 1;
  }

  body.index-page .services .image-container:hover .gambar-hover {
    opacity: 0;
  }
}

body.index-page .services .service-item h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #1e333e;
  margin: 0 0 8px 0;
  padding: 0;
  min-height: 40px;
}

body.index-page .services .service-item p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4a5662;
  margin: 0 0 12px 0;
  flex: 1;
}

body.index-page .services .service-item .carousel-insurance-product-cta {
  margin-top: auto;
}

body.index-page .services .service-item .carousel-insurance-product-cta .btn-link {
  font-size: 20px;
  font-weight: 600;
  color: #35a1ec;
  padding: 0;
  text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════
   6. FAQ — faq.php (#faq.faq)
   JS adds .faq-active class to toggle accordion (see §7.2 audit plan)
   ═══════════════════════════════════════════════════════════ */

body.index-page .faq {
  padding-top: 32px;
  padding-bottom: 32px;
}

body.index-page .faq .container {
  padding-left: 16px;
  padding-right: 16px;
}

body.index-page .faq .col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

body.index-page .faq .faq-container {
  margin-top: 0;
}

/* Specificity 0,3,1 beats responsive.css .faq-item 0,1,1 at ≤480px */
body.index-page .faq .faq-container .faq-item {
  padding: 18px 22px 18px 50px;
  margin-bottom: 10px;
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 63, 113, 0.05);
}

body.index-page .faq .faq-container .faq-item h3 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: #1e333e;
}

body.index-page .faq .faq-container .faq-item .faq-icon {
  top: 20px;
  left: 18px;
  font-size: 18px;
}

body.index-page .faq .faq-container .faq-item .faq-toggle {
  top: 20px;
  right: 16px;
  font-size: 16px;
  color: #4a5662;
}

body.index-page .faq .faq-container .faq-active {
  background-color: #f5fafd;
}

/* Collapse animation fix: grid-template-rows: 0fr pattern needs overflow: hidden
   on .faq-content and min-height: 0 on direct child. */
body.index-page .faq .faq-container .faq-item .faq-content {
  overflow: hidden;
}

body.index-page .faq .faq-container .faq-item .faq-content > * {
  min-height: 0;
  overflow: hidden;
}

body.index-page .faq .faq-container .faq-content p,
body.index-page .faq .faq-container .faq-active .faq-content {
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 599px) {
  body.index-page .faq .faq-container .faq-item h3 {
    font-size: 14.5px;
    padding-right: 32px;
  }
}


/* ═══════════════════════════════════════════════════════════
   7. RATING / TESTIMONI — rating.php (#rating)
   rating.php has its own inline <style> block — we add small
   rhythm overrides only. See §7.8 audit plan for JS dependency
   on .rating-dot.active and .rating-card.
   ═══════════════════════════════════════════════════════════ */

body.index-page #rating {
  padding-top: 32px;
  padding-bottom: 32px;
}

body.index-page #rating .rating-page-container {
  padding-left: 16px;
  padding-right: 16px;
}

body.index-page #rating .rating-page-title {
  font-size: 26px;
  margin-bottom: 8px;
}

body.index-page #rating .rating-page-subtitle {
  font-size: 14px;
  margin-bottom: 24px;
}

body.index-page #rating .rating-card {
  padding: 20px;
  border-radius: 14px;
}

body.index-page #rating .rating-card-photo,
body.index-page #rating .rating-card-photo-placeholder {
  width: 52px;
  height: 52px;
  font-size: 22px;
}

body.index-page #rating .rating-card-name {
  font-size: 16px;
}

body.index-page #rating .rating-card-stars {
  font-size: 14px;
}

body.index-page #rating .rating-card-comment {
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 599px) {
  body.index-page #rating .rating-page-title {
    font-size: 22px;
  }
}


/* ═══════════════════════════════════════════════════════════
   8. FOOTER — DIHAPUS
   Override footer body.index-page #footer sebelumnya membuat
   footer index tampil BEDA dengan halaman produk (asuransi-*)
   yang tidak memuat homepage.css. Dihapus agar semua halaman
   memakai styling footer yang sama dari main.css
   (footer_management.php). Jangan tambah rule footer di sini.
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   DESKTOP — min-width: 1200px
   Applies to ALL sections above, upgrading layout to desktop.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {

  /* ── 0. Global ── */
  body.index-page .container,
  body.index-page .container-fluid {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
  }

  body.index-page #hero,
  body.index-page #about,
  body.index-page #information,
  body.index-page #services,
  body.index-page #faq,
  body.index-page #rating {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* ── 1. Hero ── */
  body.index-page #hero {
    padding: 0 0 56px 0;
    display: flex;
    align-items: center;
    min-height: auto;
  }

  /* Hero container: full viewport width so right column hits edge */
  body.index-page #hero > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body.index-page #hero .container > .row {
    align-items: center;
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-wrap: nowrap;
    --bs-gutter-y: 0;
  }

  /* Left text column: aligns with 1200px container gutter */
  body.index-page #hero .col-lg-7 {
    flex: 1 1 50%;
    max-width: 50%;
    padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    padding-right: 32px;
    /* ── EDIT: GESER TEKS HERO INDEX (judul + deskripsi + slider) ──
       Ubah angka `left` di bawah:
       minus (mis. -40px) = geser ke KIRI, plus (mis. 40px) = geser ke KANAN,
       0 = posisi normal. `position: relative` jangan dihapus. */
    position: relative;
    left: -24px;
  }

  body.index-page #hero h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 16px 0;
    text-align: left;
  }

  body.index-page #hero p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 24px 0;
  }

  body.index-page #hero #slider {
    min-height: 90px;
  }

  /* Fight responsive.css global h2 { font-size: 28px !important } at ≤1440px */
  /* EDIT: ukuran teks slider untuk LAPTOP/DESKTOP (1200–1919px).
     Ukuran khusus TV (≥1920px) diatur terpisah di assets/css/tv.css. */
  body.index-page #hero #slider li h2,
  body.index-page #hero h2 {
    font-size: 32px !important;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
  }

  /* Pager dots below text slider */
  body.index-page #hero .callbacks_tabs {
    bottom: -28px;
    gap: 8px;
  }

  body.index-page #hero .callbacks_tabs a {
    width: 10px;
    height: 10px;
  }

  /* Right video column: 50vw so right edge = viewport right edge */
  body.index-page #hero .col-lg-5 {
    flex: 0 0 50vw;
    max-width: 50vw;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
  }

  body.index-page #hero .hero-img {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.index-page #hero #slider_ {
    aspect-ratio: 4 / 3;
  }

  body.index-page #hero #slider_ li {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  /* Fighting responsive.css GLOBAL .hero video { height: auto !important }.
     We need height: 100% so video fills the fixed aspect-ratio container. */
  body.index-page #hero #slider_ video {
    height: 100% !important;
    border-radius: 0;
    object-fit: cover;
  }

  /* ── 2. Slide show ── */
  body.index-page #about.section_slide {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  body.index-page #about .slider {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 63, 113, 0.10);
  }

  body.index-page #about .rslides img {
    border-radius: 20px;
  }

  body.index-page #about .callbacks_tabs {
    bottom: 14px;
    gap: 8px;
  }

  body.index-page #about .callbacks_tabs a {
    width: 10px;
    height: 10px;
  }

  /* ── 3. Information ── */
  body.index-page .info-kenapa-row {
    flex-direction: row;
    gap: 48px;
    align-items: center;
  }

  /* Desktop left column: 48% width.
     Fighting responsive.css GLOBAL .kotak_icon { width: 100% !important; max-width: 100% !important }.
     Our specificity 0,2,1 < .kotak_icon 0,1,0 + !important, so we must use !important too.
     With our !important (0,2,1) vs theirs (0,1,0), we win within the !important layer. */
  body.index-page .info-kenapa-image {
    flex: 1 1 48%;
    max-width: 48% !important;
    width: auto !important;
    align-items: flex-start;
    text-align: left;
  }

  body.index-page .info-kenapa-image h3 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px 0;
    /* Fighting .kotak_icon h3 { padding-left: 16px !important; width: 100% !important } GLOBAL */
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    text-align: left;
  }

  /* Fighting .kotak_icon img { max-width: 100% !important } GLOBAL — we want 460px cap */
  body.index-page .info-kenapa-image img {
    width: 100%;
    max-width: 460px !important;
    margin: 0;
  }

  /* Desktop right column: 52% */
  body.index-page .info-kenapa-boxes {
    flex: 1 1 52%;
    max-width: 52%;
  }

  /* Desktop grid: 2x2 instead of horizontal scroll strip */
  body.index-page .info-kenapa-boxes .box2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-direction: unset;
    flex-wrap: unset;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    scrollbar-width: auto;
  }

  body.index-page .info-kenapa-boxes .box_kecil {
    flex: none;
    min-width: 0;
    min-height: 200px;
    scroll-snap-align: none;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(13, 63, 113, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  body.index-page .info-kenapa-boxes .box_kecil:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 63, 113, 0.12);
  }

  body.index-page .info-kenapa-boxes .xbox_kecil img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    min-width: 72px;
    min-height: 72px;
    margin: 0 auto 12px;
  }

  body.index-page .info-kenapa-boxes .box_kecil p,
  body.index-page .info-kenapa-boxes .xbox_kecil p {
    font-size: 15px;
  }

  /* ── 4. Call Center ── */
  body.index-page #call-to-action {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body.index-page #call-to-action .container {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* ── 5. Product Grid ── */
  body.index-page .services {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Desktop grid: 4 columns instead of horizontal scroll strip */
  body.index-page .services .container > .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
    scrollbar-width: auto;
  }

  /* Restore Bootstrap col-xl-3 / col-md-6 (overridden by base rules above) */
  body.index-page .services .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
    scroll-snap-align: none;
  }

  body.index-page .services .col-md-6 {
    flex: 0 0 25%;
    max-width: 25%;
    scroll-snap-align: none;
  }

  body.index-page .services .service-item {
    padding: 24px 24px 20px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(13, 63, 113, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  body.index-page .services .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(13, 63, 113, 0.14);
  }

  body.index-page .services .service-item .image-container {
    height: 140px;
    margin: 0 auto 16px;
  }

  body.index-page .services .service-item h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    min-height: 46px;
  }

  body.index-page .services .service-item p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
  }

  body.index-page .services .service-item .carousel-insurance-product-cta .btn-link {
    display: inline-block;
    font-size: 14px;
    transition: color 0.2s ease;
  }

  body.index-page .services .service-item .carousel-insurance-product-cta .btn-link:hover {
    color: #0d3f71;
  }

  /* ── 6. FAQ ── */
  body.index-page .faq {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body.index-page .faq .col-lg-8 {
    max-width: 820px;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  body.index-page .faq .faq-container .faq-item {
    padding: 22px 28px 22px 60px;
    margin-bottom: 14px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(13, 63, 113, 0.05);
    transition: box-shadow 0.25s ease;
  }

  body.index-page .faq .faq-container .faq-item:hover {
    box-shadow: 0 6px 18px rgba(13, 63, 113, 0.10);
  }

  body.index-page .faq .faq-container .faq-item h3 {
    font-size: 16px;
    line-height: 1.5;
    padding-right: 0;
  }

  body.index-page .faq .faq-container .faq-item .faq-icon {
    top: 24px;
    left: 22px;
    font-size: 22px;
  }

  body.index-page .faq .faq-container .faq-item .faq-toggle {
    top: 24px;
    right: 22px;
    font-size: 18px;
  }

  body.index-page .faq .faq-container .faq-active {
    background-color: #f5fafd;
    box-shadow: 0 8px 24px rgba(13, 63, 113, 0.10);
  }

  /* ── 7. Rating ── */
  body.index-page #rating {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body.index-page #rating .rating-page-container {
    max-width: 900px;
    padding-left: 24px;
    padding-right: 24px;
  }

  body.index-page #rating .rating-page-title {
    font-size: 40px;
  }

  body.index-page #rating .rating-page-subtitle {
    font-size: 17px;
    margin-bottom: 40px;
  }

  body.index-page #rating .rating-card {
    padding: 28px;
  }

  body.index-page #rating .rating-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  /* ── 8. Footer — dihapus, lihat catatan section 8 di atas ── */
}


/* ═══════════════════════════════════════════════════════════
   9. LAYAR TV (min-width: 1920px)
   Semua aturan TV (termasuk hero & slider index) sudah DIPINDAH
   ke file terpisah: assets/css/tv.css — edit di sana.
   ═══════════════════════════════════════════════════════════ */
