/* =========================================================
   PT SAE TECH INDONESIA - STYLE
   ========================================================= */
:root {
  --bg: #034b50;
  --bg-dark: #023438;
  --bg-card: #05626a;
  --bg-soft: #0a7480;
  --aqua: #72dfe6;
  --white: #ffffff;
  --black: #000000;
  --orange: #ffb454;
  --radius: 28px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }

main { flex: 1; }
img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
.container { width: min(92%, 1400px); margin: 0 auto; }
.accent { color: var(--aqua); }
.hidden { display: none !important; }

/* ---------- Progress & utilitas ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--aqua); z-index: 300; transition: width .1s;
}

.to-top {
  position: fixed; right: 24px; bottom: 102px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--aqua);
  border: 2px solid var(--aqua); font-size: 1.2rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

.wa-float {
  position: fixed; right: 24px; bottom: 24px;
  width: 62px; height: 62px; background: #25d366; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4); z-index: 90; transition: transform .2s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6), 0 8px 22px rgba(0,0,0,.4); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 8px 22px rgba(0,0,0,.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 22px rgba(0,0,0,.4); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 16px; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--black); margin: 20px auto 0; width: min(92%, 1400px);
  padding: 10px 50px; border-radius: 60px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 48px; height: 48px; flex: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.brand span {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  letter-spacing: 2px; color: var(--aqua); font-size: 1.05rem;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  display: block; padding: 16px 6px; text-decoration: none; font-size: 1rem;
  border-bottom: 4px solid transparent; transition: color .2s;
}
.nav-links a:hover { color: var(--aqua); }
.nav-links a.active { color: var(--aqua); border-bottom-color: var(--aqua); }
.menu-toggle {
  display: none; background: none; border: none; color: var(--aqua);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; background: var(--aqua); color: var(--bg);
  font-size: 1rem; font-weight: 600; letter-spacing: .5px; text-decoration: none;
  padding: 18px 44px; border: 2px solid var(--aqua); border-radius: 50px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(114, 223, 230, .35); }
.btn.outline { background: transparent; color: var(--aqua); }
.btn.outline:hover { background: var(--aqua); color: var(--bg); }
.btn.sm { padding: 11px 24px; font-size: .88rem; }
.btn.block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center;
  gap: 40px; padding: 50px 0 90px;
}
.eyebrow {
  display: inline-block; border: 1px solid var(--aqua); color: var(--aqua);
  border-radius: 40px; padding: 6px 18px; font-size: .85rem; letter-spacing: 1px; margin-bottom: 22px;
}
.hero-text h1 {
  font-family: "DM Sans", sans-serif; font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.05; margin-bottom: 26px;
}
.hero-text p { font-size: clamp(1rem, 1.6vw, 1.35rem); margin-bottom: 34px; line-height: 1.6; max-width: 640px; }
.typed { color: var(--aqua); border-right: 3px solid var(--aqua); padding-right: 4px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }

.features { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 38px; font-size: 1.05rem; }
.features div { display: flex; align-items: center; gap: 10px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px; }
.circle {
  width: min(100%, 500px); aspect-ratio: 1; background: var(--white); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  box-shadow: 0 0 120px 40px rgba(255, 255, 255, .35);
}
.circle svg { width: 50%; }
.logo-text {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem); color: #000; letter-spacing: 2px;
}
.logo-text b { color: var(--aqua); }
.star { position: absolute; left: 2%; bottom: -6%; width: 26%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-badge {
  position: absolute; background: var(--black); color: var(--white);
  border: 2px solid var(--aqua); border-radius: 22px; padding: 12px 20px;
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow); text-decoration: none;
  animation: floaty 4s ease-in-out infinite;
}
.float-badge small { display: block; color: var(--aqua); font-weight: 400; font-size: .75rem; }
.float-badge.b1 { top: 6%; right: 0; }
.float-badge.b2 { bottom: 16%; right: -2%; animation-delay: 1.4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section.dark { background: var(--bg-dark); }
.section-title { font-family: "DM Sans", sans-serif; font-size: clamp(1.9rem, 4vw, 3.1rem); margin-bottom: 14px; line-height: 1.15; }
.section-sub { opacity: .85; max-width: 760px; margin-bottom: 46px; line-height: 1.75; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.page-header { padding: 60px 0 20px; }
.page-header h1 { font-family: "DM Sans", sans-serif; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.1; }
.page-header p { margin-top: 16px; max-width: 760px; line-height: 1.7; opacity: .9; }

/* ---------- Kartu & grid ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card); border-radius: var(--radius); padding: 32px 26px;
  transition: transform .25s, box-shadow .25s;
}
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }
.card .emoji { font-size: 2.6rem; margin-bottom: 14px; display: block; }
.card h3 { font-family: "DM Sans", sans-serif; font-size: 1.3rem; margin-bottom: 10px; color: var(--aqua); }
.card p { line-height: 1.65; font-size: .95rem; opacity: .92; }
.card ul { margin: 14px 0 0 18px; font-size: .92rem; line-height: 1.8; }

/* Kartu anak perusahaan */
.sub-card { display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.sub-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(114, 223, 230, .12);
}
.sub-card .tag {
  align-self: flex-start; background: var(--aqua); color: var(--bg);
  border-radius: 30px; padding: 4px 14px; font-size: .78rem; font-weight: 600; margin-bottom: 8px;
}
.sub-card h3 { font-size: 1.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.chip {
  border: 1px solid rgba(114, 223, 230, .6); border-radius: 30px; padding: 5px 14px; font-size: .82rem;
}
.sub-card .btn { margin-top: auto; align-self: flex-start; }

/* Struktur grup */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 10px; }
.org-node {
  background: var(--bg-card); border: 2px solid var(--aqua); border-radius: 22px;
  padding: 16px 28px; text-align: center; font-weight: 600; min-width: 220px;
}
.org-node small { display: block; font-weight: 400; opacity: .8; font-size: .8rem; margin-top: 2px; }
.org-node.top { background: var(--aqua); color: var(--bg); }

/* Struktur grup: garis menyambung */
.org-node.top { position: relative; margin-bottom: 34px; }
.org-node.top::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 3px; height: 38px; background: var(--aqua); transform: translateX(-50%);
}

.org-row { --gap: 37px; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); position: relative; padding-top: 34px; }
.org-row > div { position: relative; }

/* garis turun ke tiap kotak */
.org-row > div::before {
  content: ""; position: absolute; top: -34px; left: 50%;
  width: 3px; height: 34px; background: var(--aqua); transform: translateX(-50%);
}
/* garis mendatar yang menyambung antar kotak */
.org-row > div::after { content: ""; position: absolute; top: -34px; height: 3px; background: var(--aqua); }
.org-row > div:first-child::after { left: calc(50% - 1.5px); right: calc(var(--gap) / -2); }
.org-row > div:last-child::after  { right: calc(50% - 1.5px); left: calc(var(--gap) / -2); }

/* Statistik */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: "DM Sans", sans-serif; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--aqua); }
.stat span { opacity: .85; }

/* Langkah */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 60px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--aqua); color: var(--bg);
  font-weight: 700; display: grid; place-items: center;
}
.step h3 { margin-bottom: 8px; color: var(--aqua); font-family: "DM Sans", sans-serif; }
.step p { opacity: .88; line-height: 1.6; font-size: .95rem; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--bg-card); border-radius: 20px; padding: 6px 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--aqua); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; line-height: 1.7; opacity: .9; }

/* CTA */
.cta { background: var(--aqua); color: var(--bg); border-radius: 40px; padding: 56px 36px; text-align: center; }
.cta h2 { font-family: "DM Sans", sans-serif; font-size: clamp(1.7rem, 3.5vw, 2.7rem); margin-bottom: 12px; }
.cta p { margin-bottom: 26px; }
.cta .btn { background: var(--bg); color: var(--aqua); border-color: var(--bg); }

/* Tentang */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about p { line-height: 1.8; margin-bottom: 16px; opacity: .92; }
.vm-list { list-style: none; margin: 14px 0 0 !important; }
.vm-list li { padding-left: 30px; position: relative; margin-bottom: 10px; line-height: 1.65; }
.vm-list li::before { content: "✔"; position: absolute; left: 0; color: var(--aqua); }

.company-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.company-detail .card { padding: 40px 34px; }
.company-detail h3 { font-size: 1.8rem; }
.company-detail h4 { margin: 18px 0 6px; font-size: 1rem; }

/* ---------- Tab perusahaan (produk) ---------- */
.switch-wrap { position: sticky; top: 100px; z-index: 150; padding: 18px 0 0; }
.switch {
  display: flex; gap: 8px; background: var(--black); border-radius: 60px; padding: 8px;
  width: min(100%, 560px); margin: 0 auto; box-shadow: var(--shadow);
}
.switch button {
  flex: 1; background: transparent; border: none; color: var(--white); cursor: pointer;
  padding: 16px 12px; border-radius: 50px; font-size: 1rem; font-weight: 600; transition: all .25s;
}
.switch button:hover { color: var(--aqua); }
.switch button.active { background: var(--aqua); color: var(--bg); }
.panel { display: none; animation: fadeUp .5s; }
.panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Katalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.search, .select {
  background: var(--bg-dark); border: 2px solid transparent; border-radius: 50px; color: var(--white);
  padding: 14px 22px; font-size: 1rem; font-family: inherit;
}
.search { flex: 1 1 260px; }
.search:focus, .select:focus { outline: none; border-color: var(--aqua); }
.select option { background: var(--bg-dark); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-btn {
  background: transparent; color: var(--aqua); border: 2px solid var(--aqua);
  border-radius: 40px; padding: 9px 22px; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--aqua); color: var(--bg); }
.result-info { opacity: .8; margin-bottom: 22px; font-size: .92rem; }
.empty { text-align: center; padding: 60px 20px; opacity: .85; }

.product {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s; cursor: pointer; animation: fadeUp .45s both;
}
@media (hover: hover) { .product:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }
.product .thumb {
  width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 5.5rem; position: relative;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-dark));
}
.product .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--orange); color: #3a2400;
  border-radius: 30px; padding: 3px 12px; font-size: .74rem; font-weight: 600;
}
.product .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .cat { color: var(--aqua); font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; }
.product h3 { font-family: "DM Sans", sans-serif; font-size: 1.12rem; line-height: 1.3; }
.product p { font-size: .88rem; opacity: .85; line-height: 1.55; }
.price { font-size: 1.25rem; font-weight: 700; color: var(--aqua); margin-top: auto; padding-top: 6px; }
.product .actions { display: flex; gap: 10px; margin-top: 10px; }
.product .actions .btn { flex: 1; padding: 11px 10px; font-size: .85rem; }

.notice {
  background: rgba(255, 180, 84, .12); border: 1px solid var(--orange); border-radius: 20px;
  padding: 16px 22px; font-size: .88rem; line-height: 1.65; margin-top: 36px;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .75); z-index: 400;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--bg); border: 2px solid var(--aqua); border-radius: 30px;
  width: min(100%, 1040px); max-height: 92vh; overflow: auto; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; animation: fadeUp .3s;
}
.modal-img {
  position: relative; min-height: 540px; align-self: stretch; display: grid; place-items: center; font-size: 8rem;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-dark));
}
.modal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-info h3 { font-size: 1.8rem; }
.modal-info p { font-size: 1rem; }
.modal-info h3 { font-family: "DM Sans", sans-serif; font-size: 1.5rem; margin: 6px 0 12px; }
.modal-info p { line-height: 1.65; opacity: .9; font-size: .95rem; }
.modal-info ul { margin: 14px 0 18px 18px; line-height: 1.8; font-size: .92rem; }
.modal-info .price { font-size: 1.5rem; margin: 10px 0 16px; padding: 0; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: var(--black); color: var(--aqua); font-size: 1.2rem; cursor: pointer; z-index: 2;
}

/* ---------- Paket internet ---------- */
.seg { display: inline-flex; background: var(--black); border-radius: 50px; padding: 6px; margin-bottom: 34px; }
.seg button { background: transparent; color: var(--white); border: none; border-radius: 40px; padding: 12px 28px; cursor: pointer; font-weight: 600; transition: all .25s; }
.seg button.active { background: var(--aqua); color: var(--bg); }

.plan {
  background: var(--bg-card); border-radius: var(--radius); padding: 34px 26px; position: relative;
  display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent;
  transition: transform .25s, border-color .25s; animation: fadeUp .45s both;
}
@media (hover: hover) { .plan:hover { transform: translateY(-6px); border-color: var(--aqua); } }
.plan.popular { border-color: var(--aqua); background: var(--bg-soft); }
.plan .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange);
  color: #3a2400; border-radius: 30px; padding: 4px 18px; font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.plan h3 { font-family: "DM Sans", sans-serif; color: var(--aqua); font-size: 1.2rem; }
.plan .speed { font-family: "DM Sans", sans-serif; font-size: 3rem; font-weight: 700; line-height: 1.1; }
.plan .speed small { font-size: 1rem; font-weight: 400; opacity: .8; }
.plan .plan-price { font-size: 1.35rem; font-weight: 700; color: var(--aqua); margin: 6px 0 12px; }
.plan .plan-price small { font-size: .8rem; font-weight: 400; color: var(--white); opacity: .8; }
.plan ul { list-style: none; margin-bottom: 22px; line-height: 2; font-size: .92rem; }
.plan ul li::before { content: "✓ "; color: var(--aqua); font-weight: 700; }
.plan .btn { margin-top: auto; }

.finder {
  background: var(--bg-card); border-radius: 36px; padding: 40px; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.finder h3 { font-family: "DM Sans", sans-serif; font-size: 1.7rem; margin-bottom: 8px; }
.finder label { display: block; margin: 18px 0 8px; font-weight: 500; }
.finder input[type="range"] { width: 100%; accent-color: var(--aqua); height: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label {
  margin: 0; background: var(--bg-dark); border: 2px solid transparent; border-radius: 40px;
  padding: 9px 18px; font-size: .88rem; cursor: pointer; transition: border-color .2s;
}
.checks input { display: none; }
.checks label:has(input:checked) { border-color: var(--aqua); color: var(--aqua); }
.result-box { background: var(--bg-dark); border-radius: 28px; padding: 32px; text-align: center; }
.result-box .big { font-family: "DM Sans", sans-serif; font-size: 3.2rem; font-weight: 700; color: var(--aqua); }
.result-box p { opacity: .88; line-height: 1.6; margin: 8px 0 18px; }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.info-item .emoji { font-size: 1.8rem; }
.info-item h4 { color: var(--aqua); margin-bottom: 4px; }
.info-item p, .info-item a { line-height: 1.6; opacity: .92; text-decoration: none; }
.quick { display: grid; gap: 12px; margin-top: 10px; }

form { background: var(--bg-card); border-radius: var(--radius); padding: 36px; }
form label { display: block; margin-bottom: 6px; font-size: .9rem; }
form input, form select, form textarea {
  width: 100%; padding: 14px 18px; margin-bottom: 20px; border-radius: 16px;
  border: 2px solid transparent; background: var(--bg-dark); color: var(--white);
  font-family: inherit; font-size: 1rem;
}
form select optgroup { color: var(--aqua); font-style: normal; }
form select option { color: var(--white); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--aqua); }
form textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 16px; color: var(--aqua); font-weight: 500; }
.map { margin-top: 50px; border-radius: var(--radius); overflow: hidden; height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer { background: var(--black); margin-top: 60px; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--aqua); margin-bottom: 14px; }
footer p, footer a { font-size: .92rem; line-height: 2; opacity: .85; text-decoration: none; display: block; }
footer a:hover { color: var(--aqua); opacity: 1; }
.copy { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid #222; font-size: .85rem; opacity: .6; }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .grid.cols-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .navbar { padding: 10px 22px; border-radius: 40px; top: 10px; }
  .brand span { font-size: .85rem; letter-spacing: 1px; }
  .menu-toggle { display: block; }
  nav { width: 100%; order: 3; }
  .nav-links { display: none; flex-direction: column; gap: 0; width: 100%; padding: 8px 0 14px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 6px; }

  .hero, .about, .contact, .finder, .company-detail { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; gap: 20px; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .switch-wrap { top: 76px; }
  .finder { padding: 28px 22px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { width: min(100%, 320px); margin: 24px auto 0; border-radius: 22px; overflow: hidden; font-size: 5rem; }
  .org-row { --gap: 16px; }
  .org-node { min-width: 0; padding: 14px 16px; }
}

@media (max-width: 600px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-2, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .btn { padding: 16px 30px; }
  .btn-row .btn { flex: 1 1 100%; }
  form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .float-badge { padding: 8px 14px; font-size: .8rem; }
  .float-badge.b1 { top: 0; right: 4%; }
  .float-badge.b2 { bottom: 10%; right: 2%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 20px; bottom: 82px; width: 42px; height: 42px; }
  .switch button { padding: 14px 6px; font-size: .9rem; }
  .cta { padding: 40px 22px; border-radius: 30px; }
  .map { height: 280px; }
  .plan .speed { font-size: 2.5rem; }
}

/* Logo anak perusahaan */
.card .logo-img { display: block; height: 150px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 42px; }
.float-badge .mini-logo { height: 20px; width: auto; vertical-align: middle; margin-right: 4px; }

/* Nomor halaman katalog */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.page-btn {
  min-width: 44px; height: 44px; padding: 0 16px; background: transparent; color: var(--aqua);
  border: 2px solid var(--aqua); border-radius: 30px; cursor: pointer; font-size: .95rem;
  transition: background .2s, color .2s;
}
.page-btn:hover:not(:disabled), .page-btn.active { background: var(--aqua); color: var(--bg); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-dots { opacity: .7; padding: 0 4px; }
.toolbar { scroll-margin-top: 170px; }

/* ===== Foto di jendela detail tidak terpotong ===== */
.modal-img img { object-fit: contain; }
.modal-img:has(img) { background: #fff; }

/* ===== Jendela detail di HP & tablet ===== */
@media (max-width: 900px) {
  .modal { padding: 12px; }
  .modal-box { grid-template-columns: 1fr; border-radius: 24px; }
  .modal-img { width: 100%; min-height: 0; aspect-ratio: 1 / 1; align-self: start; margin: 0; border-radius: 0; }
  .modal-info { padding: 22px 20px 26px; }
  .modal-info h3 { font-size: 1.3rem; }
}

/* ===== Katalog 2 kolom di HP ===== */
@media (max-width: 600px) {
  #productGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product { border-radius: 18px; }
  .product .thumb { font-size: 3rem; }
  .product .body { padding: 12px 12px 14px; gap: 5px; }
  .product .cat { font-size: .62rem; }
  .product h3 { font-size: .9rem; }
  .product p {
    font-size: .75rem; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .product .price { font-size: 1rem; }
  .product .actions { flex-direction: column; gap: 6px; }
  .product .actions .btn { padding: 8px; font-size: .78rem; }
  .badge { top: 8px; left: 8px; font-size: .62rem; padding: 2px 8px; }
}
.product h3 { min-height: 2.6em; }   /* ruang untuk 2 baris nama, supaya tombol sejajar antar kartu */
.product .price { padding-top: 4px; }

/* Link marketplace & sosial media */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.link-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--bg-card); border: 2px solid transparent; border-radius: 22px; padding: 18px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--aqua); box-shadow: var(--shadow); }
.link-icon {
  width: 52px; height: 52px; border-radius: 16px; flex: none; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.25rem;
}
.link-icon img { width: 100%; height: 100%; object-fit: cover; }
.link-card b { display: block; font-size: 1.05rem; }
.link-card small { opacity: .8; font-size: .85rem; }

@media (max-width: 600px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .link-card { flex-direction: column; text-align: center; padding: 18px 10px; gap: 10px; }
}