/* ==========================================================================
   Sistem Kutipan Yuran (SKY Online) — laman statik
   Palet diambil dari laman WordPress asal supaya rupa kekal sama.
   ========================================================================== */

:root {
  --green: #168222;
  --green-dark: #10651a;
  --green-light: #23a455;
  --yellow: #ffc300;
  --yellow-light: #ffd71c;
  --navy: #001144;
  --purple: #7656e0;
  --red: #e02f2f;

  --text: #3a3a3a;
  --text-soft: #4b4f58;
  --muted: #7a7a7a;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-soft: #f9f9f9;

  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;

  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 34px rgba(0, 0, 0, 0.13);
  --header-h: 86px;
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Jaring keselamatan limpahan mendatar. Pelayar TIDAK memecah perkataan pada
   garis miring, jadi rentetan seperti "Sekolah/KAFA/Tadika/Pusat" dalam h1
   hero lebih lebar daripada skrin telefon dan menjadikan SELURUH halaman
   boleh digeser ke sisi. break-word hanya memecah bila perkataan itu memang
   tidak muat — teks biasa tidak terjejas langsung. */
h1,
h2,
h3,
h4,
p,
li,
td,
th,
figcaption {
  overflow-wrap: break-word;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2.15rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.45em;
}

/* ------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.wrap--narrow {
  max-width: 880px;
}

section {
  padding: 62px 0;
}

.sec-alt {
  background: var(--bg-alt);
}

.sec-soft {
  background: var(--bg-soft);
}

.sec-green {
  background: var(--green);
  color: #fff;
}

.sec-green h2,
.sec-green h3,
.sec-navy h2,
.sec-navy h3 {
  color: #fff;
}

.sec-navy {
  background: var(--navy);
  color: #fff;
}

.center {
  text-align: center;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
}

.sec-title {
  text-align: center;
  margin-bottom: 0.4em;
}

.sec-title + .sec-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2em;
  color: var(--text-soft);
}

.rule {
  width: 72px;
  height: 4px;
  background: var(--yellow);
  border: 0;
  border-radius: 4px;
  margin: 0 auto 1.8em;
}

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: block;
  padding: 8px 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 180px;
  max-width: 48vw;
}

/* Simbol ® diletak dalam HTML, bukan diedit ke dalam fail logo — artwork yang
   didaftarkan kekal tidak berubah, dan simbol kekal tajam pada semua saiz skrin.
   Cap dagangan No. 2013011341 (Word & Figurative, "SKYONLINE SOLUSI YURAN ANDA").
   ⚠️ JANGAN letak ® pada teks "Sistem Kutipan Yuran" — itu bukan denominasi
   yang didaftarkan. */
.brand-mark {
  display: inline-flex;
  align-items: flex-start;
}

.reg {
  font-size: 0.6rem;
  line-height: 1;
  margin: 3px 0 0 3px;
  color: rgba(255, 255, 255, 0.85);
}

.reg--plate {
  color: var(--navy);
  font-size: 0.8rem;
  margin: 2px 0 0 4px;
}

/* Nama penuh di bawah logo, seperti laman lama dan skrin log masuk SKY.
   Ia juga menegaskan jenama "Sistem Kutipan Yuran" yang kerap ditiru. */
.brand-name {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: 7px 11px;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

/* --------------------------------------------------------------- hero -- */

/* Latar hero sama seperti laman asal: foto sekolah + tindanan kecerunan
   navy -> hijau pada opacity 0.9, atas warna asas #23a455. */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--green-light);
  background-image: url("../img/sekolah.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 64px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--navy) 25%, var(--green) 100%);
  opacity: 0.9;
}

.hero h1 {
  color: #fff;
}

/* Hero laman asal: satu lajur, teks di tengah, tiada gambar. */
.hero-inner {
  max-width: 1000px;
  text-align: center;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.94);
}

/* Kotak produk SKY — di permulaan bahagian sejarah, teks mengalir di sisinya. */
.sejarah-cover {
  float: right;
  width: 240px;
  margin: 4px 0 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 560px) {
  .sejarah-cover {
    float: none;
    margin: 0 auto 24px;
  }
}

/* Logo SKY Online berwarna navy gelap, jadi ia hilang di atas latar navy.
   Letakkan ia di atas plat putih, sama seperti skrin log masuk SKY sendiri. */
.brand-plate {
  display: inline-flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 22px 30px 22px 36px;
  margin: 28px auto 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.brand-plate img {
  display: block;
  width: 300px;
  max-width: 62vw;
  height: auto;
}

@media (max-width: 560px) {
  .brand-plate {
    padding: 16px 22px;
    border-radius: 12px;
  }
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--yellow);
  color: #212121;
}

.btn-primary:hover {
  background: var(--yellow-light);
  color: #212121;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--green);
}

.btn-block {
  display: block;
  width: 100%;
}

/* --------------------------------------------------------------- grid -- */

.cards {
  display: grid;
  gap: 22px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p:last-child {
  margin-bottom: 0;
}

/* risiko cards */

.risk .card {
  text-align: center;
  border-top: 4px solid var(--red);
}

.risk .card h3 {
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--red);
}

.risk .card p {
  color: var(--text-soft);
  font-size: 0.97rem;
}

/* senarai bertanda */

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
}

.ticks li {
  position: relative;
  padding: 12px 0 12px 46px;
  border-bottom: 1px solid var(--line);
}

.ticks li:last-child {
  border-bottom: 0;
}

.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.ticks--pain li::before {
  content: "\2715";
  background: var(--red);
}

.ticks--wish li::before {
  content: "\2605";
  background: var(--yellow);
  color: #212121;
}

.sec-green .ticks li,
.sec-navy .ticks li {
  border-color: rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------- how it works -- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 860px;
  margin: 0 auto 2em;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 56px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
}

.diagram {
  margin: 0 auto;
  /* width:100% WAJIB bersama max-width. Peraturan img global menetapkan
     max-width:100%, tetapi max-width:720px di sini menimpanya — tanpa
     width:100% gambar ini melebihi lebar skrin telefon dan menyebabkan
     seluruh halaman boleh digeser mendatar. */
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------- testimonial -- */

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.quote blockquote {
  margin: 0 0 18px;
  font-style: italic;
  color: var(--text-soft);
  flex: 1;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.quote .who {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  line-height: 1.35;
}

.quote .role {
  font-size: 0.85rem;
  color: var(--muted);
}

.shots-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 34px;
}

.shots-2 img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.disclaimer {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------------------ features -- */

.feat {
  text-align: center;
  padding: 26px 20px;
}

.feat .ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(22, 130, 34, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.feat h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.feat p {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin: 0;
}

.note-box {
  margin-top: 34px;
  background: #fff;
  border: 1px dashed var(--green);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.note-box h3 {
  margin-top: 0;
}

.note-box p:last-child,
.note-box ul:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------- screenshots -- */

.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
}

.shot-body {
  padding: 18px 22px;
}

.shot-body h3 {
  margin-bottom: 0.3em;
}

/* tajuk kumpulan dalam seksyen Screenshot (Sekolah / Ibu Bapa) */
.shot-group {
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin: 2.4em 0 0.3em;
}

.shot-group::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--yellow);
  border-radius: 3px;
  margin: 12px auto 0;
}

.cards + .shot-group {
  margin-top: 3em;
}

.shot-body p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}

/* -------------------------------------------------------------- table -- */

.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Jadual menu ada min-width 620px, jadi pada telefon ia digeser mendatar.
   Itu berfungsi, tetapi pengguna tidak tahu ia boleh digeser — jadual nampak
   seperti terpotong. Petunjuk ini muncul hanya bila jadual benar-benar lebih
   lebar daripada skrin. */
.tbl-hint {
  display: none;
}

@media (max-width: 700px) {
  .tbl-hint {
    display: block;
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--text-soft);
    font-style: italic;
  }
}

table.menu-tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table.menu-tbl th,
table.menu-tbl td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.menu-tbl thead th {
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

table.menu-tbl tbody th {
  font-weight: 700;
  color: var(--navy);
  width: 230px;
}

/* penanda kecil untuk menu yang perlu modul tambahan / pakej Premium */
.tag-modul {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(22, 130, 34, 0.1);
  border-radius: 20px;
  padding: 3px 10px;
  width: fit-content;
  white-space: nowrap;
}

table.menu-tbl tbody tr:last-child th,
table.menu-tbl tbody tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------------------------------------ sokongan -- */

.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.docs img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

/* ------------------------------------------------------------- galeri -- */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filters button {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  padding: 11px 14px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.gal-sub {
  margin-top: 42px;
}

.gal-sub h3 {
  text-align: center;
  font-size: 1.15rem;
}

/* lightbox */

/* <dialog> lalai ialah display:block bila terbuka dan display:none bila tutup.
   Sebab itu `display` MESTI diskopkan kepada [open] — kalau tidak kotak hitam
   lightbox akan kelihatan sepanjang masa. */
.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: flex;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------- pelanggan -- */

/* Nombor utama. Nama pelanggan tidak disenaraikan — lihat nota di bawah
   seksyen dalam index.html. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 8px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.stat-plus {
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Bar mendatar satu siri: satu warna jenama, hujung data bulat 4px dan
   pangkalnya rata pada garis dasar kiri. Nilai ditulis sebagai teks biasa
   (bukan warna siri) supaya ia kekal boleh dibaca tanpa warna. */
.bars {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}

.bars li {
  display: grid;
  grid-template-columns: 1fr 200px 38px;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  margin: 0;
}

.bar-label {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.bar-track {
  height: 12px;
  border-radius: 6px;
  background: var(--line);
}

.bar-fill {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 0 4px 4px 0;
}

.bar-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-align: right;
}

@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: 1fr;
  }

  .bars li {
    grid-template-columns: 1fr 44px;
    gap: 6px 12px;
  }

  .bar-label {
    grid-column: 1 / -1;
  }

  .bar-track {
    grid-column: 1;
  }
}

/* ----------------------------------------------------------------- faq -- */

.faq {
  max-width: 880px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--text-soft);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------- harga -- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  background: var(--yellow);
  color: #212121;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 7px;
}

.plan-head {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 24px 18px;
}

.plan--featured .plan-head {
  background: var(--navy);
}

.plan-head h3 {
  color: #fff;
  margin: 0;
  letter-spacing: 0.06em;
}

.plan-head .tag {
  font-size: 0.87rem;
  opacity: 0.9;
}

.plan-price {
  text-align: center;
  padding: 22px 18px 8px;
  font-family: var(--font-head);
  color: var(--navy);
}

.plan-price .cur {
  font-size: 1.1rem;
  vertical-align: super;
}

.plan-price .amt {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price .per {
  display: block;
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Harga bulanan sengaja kecil dan di bawah harga tahunan — bulanan x 12 lebih
   mahal, jadi ia ditawarkan sebagai pilihan mencuba, bukan menandingi tahunan. */
.plan-price .per-bulan {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

.nota-bulanan {
  max-width: 720px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.plan-feats {
  list-style: none;
  padding: 16px 24px;
  margin: 0;
  flex: 1;
}

.plan-feats li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.plan-feats li:last-child {
  border-bottom: 0;
}

.plan-feats li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.plan-feats li.no {
  color: var(--muted);
}

.plan-feats li.no::before {
  content: "\2715";
  color: var(--red);
}

.plan-cta {
  padding: 0 24px 26px;
}

/* modul tambahan + cara beli */

.module {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Anak flex bermula dgn min-width:auto, jadi ia enggan mengecil di bawah
   lebar token terpanjang. Teks "komputer/tablet/smartphone" tiada ruang dan
   pelayar tidak memecah pada garis miring, jadi kad ini mengekalkan lebar
   ~355px dan menolak seluruh halaman melimpah pada skrin 360px.
   min-width:0 membenarkan ia mengecil; overflow-wrap membenarkan token
   panjang dipecahkan bila perlu. */
.module > div {
  min-width: 0;
}

.module p,
.module h3 {
  overflow-wrap: anywhere;
}

.module .ico {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(22, 130, 34, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.charge {
  margin-top: 24px;
  background: #fff8e1;
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.charge h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.charge ul {
  margin-bottom: 0.8em;
}

.charge p:last-child {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Dua gerbang pembayaran bersebelahan — kadarnya berbeza sama sekali
   (toyyibPay rata RM1, DOKU ikut peratus), jadi ia mesti dibaca berasingan. */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0 20px;
}

.gateway {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.gateway h4 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
}

.gateway ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
  font-size: 0.93rem;
}

.gateway li {
  margin-bottom: 0.3em;
}

.gateway-nota {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .gateway-grid {
    grid-template-columns: 1fr;
  }
}

.how-buy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.how-buy .card h3 {
  color: var(--green);
  font-size: 1.1rem;
}

.how-buy .card .tag {
  display: block;
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Dua pilihan sahaja: SKY ONLINE dan SKY4ALL (SKY Sumbangan PIBG sudah tiada). */
.order-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 26px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.order-btn {
  display: block;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  color: var(--navy);
}

.order-btn:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

.order-btn strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.order-btn span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* ------------------------------------------------------------- kontak -- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 620px;
  display: grid;
  gap: 14px;
}

.contact-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.contact-list .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* SVG monokrom, bukan emoji &ndash; emoji berwarna nampak tak kemas di atas hijau */
.contact-list .ico svg {
  width: 21px;
  height: 21px;
  display: block;
}

.contact-list a,
.contact-list span {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: #0d1a0f;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Logo MJ ialah JPEG berlatar putih. Tambah pad putih supaya ia kelihatan
   sebagai plat yang disengajakan, bukan blok putih yang terpotong. */
.site-footer img {
  width: 150px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
}

.site-footer a {
  color: #fff;
}

/* Notis cap dagangan. Nombor pendaftaran memberi amaran yang lebih kuat
   daripada simbol ® sahaja — peniru nampak hak itu boleh dibuktikan. */
.site-footer .tm {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------ helpers -- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 980px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-3,
  .plans,
  .docs,
  .order-btns {
    grid-template-columns: 1fr;
  }
}

/* Ambang dinaikkan 782px → 930px bila menu bertambah kepada 7 item
   (Pelanggan + Harga). Diukur, bukan diteka: tujuh item berpecah kepada dua
   baris sehingga 910px dan baru bersih pada 930px. Lebih baik berkecai kepada
   butang lebih awal daripada nav bertindan dua baris. */
@media (max-width: 930px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--green-dark);
    padding: 8px 0 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
  }

  .site-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
  }

  .site-header .wrap {
    position: relative;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 46px 0;
  }
  .cards-2,
  .cards-4,
  .shots-2,
  .how-buy {
    grid-template-columns: 1fr;
  }
  .region ul {
    columns: 1;
  }
  table.menu-tbl tbody th {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .to-top,
  .filters,
  .nav-toggle {
    display: none !important;
  }
}

/* ======================================================= notis privasi ==
   Digunakan oleh privasi.html dan privasi-en.html sahaja. Halaman notis
   ialah dokumen untuk dibaca, bukan halaman pemasaran — jadi teks dijajar
   kiri, lebar dibataskan oleh .wrap--narrow, dan tiada animasi.
   ======================================================================= */
.notis .sec-title {
  margin-bottom: 0.3em;
}

.notis-lang {
  margin: 0 0 18px;
  font-size: 0.88rem;
}

.notis-meta {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 8px;
}

/* Ringkasan di atas notis. Ia ada supaya pelawat nampak KADAR perkara yang
   berlaku sebelum membaca perinciannya — tanpa ia, senarai yang jujur dan
   khusus boleh dibaca sebagai menakutkan walaupun isinya kecil. */
.notis-ringkas {
  margin: 22px 0 26px;
  padding: 20px 24px;
  background: #f1f8f2;
  border: 1px solid #c9e3cd;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}

.notis-ringkas p {
  margin: 0;
  color: var(--text);
}

.notis-ringkas-nota {
  margin-top: 12px !important;
  font-size: 0.9rem;
  color: var(--text-soft) !important;
}

/* Kotak skop ialah penghalaan ("anda ibu bapa? pergi ke notis sekolah"),
   BUKAN amaran — jadi sempadannya neutral. Sempadan kuning sebelum ini
   dibaca sebagai tanda bahaya dan menjadikan notis terasa menggerunkan. */
.notis-skop {
  border-style: solid;
  border-color: var(--line);
  background: #fff;
}

.notis-skop > p:first-child b {
  color: var(--navy);
}

.notis-skop p:first-child {
  margin-top: 0;
}

.notis-skop ul {
  margin-bottom: 0;
}

/* Senarai kandungan — satu baris mengalir, bukan senarai menegak, supaya ia
   tidak menolak kandungan notis jauh ke bawah pada telefon. */
.notis-kandungan {
  margin: 26px 0 34px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 2;
  color: var(--muted);
}

.notis h2 {
  margin: 38px 0 12px;
  font-size: 1.12rem;
  color: var(--green-dark);
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.notis h2:first-of-type {
  margin-top: 26px;
}

.notis p,
.notis li {
  color: var(--text-soft);
}

.notis ul {
  padding-left: 1.3em;
}

.notis li {
  margin-bottom: 8px;
}

.notis code {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.88em;
  overflow-wrap: break-word;
}

.notis-tbl {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 4px 0 14px;
  font-size: 0.88rem;
  background: #fff;
}

.notis-tbl th,
.notis-tbl td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.notis-tbl th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 600;
}

.footer-links {
  margin: 14px 0 0;
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff;
}
