/* ==========================================================
   Medivoura Retail: landing page
   Bahasa visual mengikuti landing Medivo Solutions
   (gradien navy-biru, aksen lime, gelombang, blob, tombol pil)
   ========================================================== */

:root {
  --navy-900: #061a4a;
  --navy: #0b2a6b;
  --blue: #1557c0;
  --lime: #8be04e;
  --lime-dark: #5fb82a;
  --black: #0f1c3f;
  --text: #5d6784;
  --muted: #9aa2ba;
  --border: #e3e8f2;
  --soft: #f3f6fc;
  --white: #ffffff;
  --grad: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  --shadow: 0 14px 50px rgba(11, 42, 107, 0.1);
  --radius: 14px;
  --font: "Quicksand", sans-serif;
  --font-head: "Bricolage Grotesque", "Quicksand", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--black);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--lime); color: var(--navy-900); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { position: relative; padding: 110px 0; }
.section--soft { background: var(--soft); }
.text-center { text-align: center; }

/* ---------- Gelombang (divider antar section) ---------- */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 1;
}
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: rotate(180deg); }
.wave path { fill: var(--wave-color, var(--white)); }
.wave .wave__back { opacity: 0.45; }

/* Pola garis gelombang, memudar ke tepi */
.lines {
  position: absolute;
  width: 520px;
  height: 520px;
  background: url("assets/pattern-waves.svg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 20%, transparent 68%);
  pointer-events: none;
}
.lines--right { right: -120px; bottom: 0; opacity: 0.45; }
.lines--left { left: -140px; top: 60px; opacity: 0.4; }
.hero .lines, .journey .lines, .contact .lines { opacity: 0.35; }

/* ---------- Tombol ---------- */
/*
  1. ::before = lapisan warna yang menyapu dari kiri ke kanan
  2. ::after  = kilau diagonal tipis yang lewat sekali
  3. Panah: panah pertama keluar ke kanan, panah kedua masuk dari kiri
  4. :active  = tombol sedikit mengecil seperti ditekan
*/
.btn {
  --btn-fill: var(--navy);
  --btn-fill-text: var(--white);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--btn-fill);
  clip-path: inset(0 100% 0 0 round 50px);
  transition: clip-path 0.55s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px); color: var(--btn-fill-text); }
.btn:hover::before { clip-path: inset(0 0 0 0 round 50px); }
.btn:hover::after { left: 130%; transition: left 0.8s var(--ease) 0.1s; }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.btn__arrow {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn__arrow svg {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.btn__arrow svg + svg { transform: translateX(-32px); }
.btn:hover .btn__arrow svg:first-child { transform: translateX(32px); }
.btn:hover .btn__arrow svg + svg { transform: translateX(0); }
.btn:hover .btn__arrow { transform: rotate(-8deg); }
.btn--arrow { padding: 7px 7px 7px 28px; }

/* Utama di latar gelap: putih, disapu navy saat hover */
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 14px 34px rgba(6, 26, 74, 0.35); --btn-fill: var(--navy-900); }
.btn--light .btn__arrow { background: var(--grad); color: var(--white); }
.btn--light:hover { box-shadow: 0 18px 40px rgba(6, 26, 74, 0.5); }
.btn--light:hover .btn__arrow { background: var(--white); color: var(--navy); }

/* Utama di latar terang: gradien navy, disapu biru terang saat hover */
.btn--navy { background: var(--grad); color: var(--white); box-shadow: 0 12px 28px rgba(21, 87, 192, 0.3); --btn-fill: linear-gradient(120deg, var(--blue), #3b82f6); }
.btn--navy .btn__arrow { background: rgba(255, 255, 255, 0.16); }
.btn--navy:hover { box-shadow: 0 18px 36px rgba(21, 87, 192, 0.45); }
.btn--navy:hover .btn__arrow { background: var(--white); color: var(--navy); }

/* Sekunder: garis tipis, disapu putih saat hover */
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); --btn-fill: var(--white); --btn-fill-text: var(--navy); }
.btn--ghost:hover { border-color: var(--white); }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(21, 87, 192, 0.18), transparent); }
.btn--small { padding: 9px 22px; font-size: 14px; }

/* ---------- Judul blok ---------- */
.block-title { padding-bottom: 50px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M1 5c3-4 5-4 8 0s5 4 8 0 5-4 8 0' fill='none' stroke='%238be04e' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.block-title h2 { font-size: 46px; font-weight: 800; margin-top: 14px; }
.block-title .sub { margin-top: 18px; max-width: 640px; }
.text-center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.header { position: absolute; top: 0; left: 0; width: 100%; z-index: 50; }
.header__inner {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo__mark { width: 46px; height: 46px; display: grid; place-items: center; color: var(--lime); }
.logo__mark svg { width: 100%; height: auto; }
.logo b { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1; display: block; }
.logo small { display: block; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.75; line-height: 1.4; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 40px; }
.nav a { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8); transition: color 0.3s; position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after { transform: scaleX(1); }
.header__cta { margin-left: 40px; }
.header__login { margin-left: 32px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.header__login:hover { color: var(--white); }
.header__login + .header__cta { margin-left: 24px; }
.header--sticky .header__login { color: var(--text); }
.header--sticky .header__login:hover { color: var(--navy); }
.header--sticky .header__cta { background: var(--grad); border-color: transparent; color: var(--white); --btn-fill: var(--navy-900); --btn-fill-text: var(--white); }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--white); border-radius: 2px; }

.header--sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(11, 42, 107, 0.08);
  animation: slideDown 0.4s ease;
}
.header--sticky .header__inner { height: 74px; }
.header--sticky .logo { color: var(--navy); }
.header--sticky .logo__mark { color: var(--blue); }
.header--sticky .nav a { color: var(--text); }
.header--sticky .nav a:hover, .header--sticky .nav a.active { color: var(--navy); }
.header--sticky .nav-toggle span { background: var(--navy); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Menu samping (mobile) */
.side-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.side-menu__overlay { position: absolute; inset: 0; background: var(--navy-900); opacity: 0; transition: opacity 0.4s; }
.side-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(340px, 85vw);
  background: var(--white);
  padding: 30px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.side-menu .logo { color: var(--navy); }
.side-menu .logo__mark { color: var(--blue); }
.side-menu.open { visibility: visible; }
.side-menu.open .side-menu__overlay { opacity: 0.7; }
.side-menu.open .side-menu__panel { transform: translateX(0); }
.side-menu__close { position: absolute; top: 18px; right: 20px; font-size: 30px; background: none; border: none; cursor: pointer; color: var(--navy); }
.side-menu ul { margin-top: 40px; }
.side-menu li + li { margin-top: 12px; }
.side-menu li a { font-size: 18px; font-weight: 600; color: var(--black); }
.side-menu li a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1f6ad6 0%, transparent 45%), var(--grad);
  color: rgba(255, 255, 255, 0.85);
  padding: 190px 0 200px;
  overflow: hidden;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.75); }
.hero h1 { color: var(--white); font-size: 76px; font-weight: 800; margin: 22px 0 24px; letter-spacing: -0.035em; }
.hero h1 span { color: var(--lime); }
.hero__lead { font-size: 19px; max-width: 520px; margin-bottom: 44px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.hero__note a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero__note a:hover { color: var(--white); }

/* Visual hero: mockup produk di atas bentuk gelombang */
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 470px; }
.hero__shape {
  position: absolute;
  inset: 4% -14% 0 -10%;
  width: 124%;
  height: 96%;
}
.hero__shape path:first-child { fill: rgba(255, 255, 255, 0.07); }
.hero__shape path:last-child { fill: none; stroke: rgba(139, 224, 78, 0.55); stroke-width: 2; stroke-dasharray: 6 10; }
.hero__mockup {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 50px rgba(6, 26, 74, 0.5));
}
.blob-img {
  width: 460px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  animation: morph 12s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(6, 26, 74, 0.45);
  background: var(--navy);
}
.blob-img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
  33% { border-radius: 42% 58% 40% 60% / 60% 40% 60% 40%; }
  66% { border-radius: 50% 50% 62% 38% / 38% 62% 38% 62%; }
}

/* ---------- Tentang ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split > *, .hero__grid > *, .journey__inner > *, .problem__head > * { min-width: 0; }
.about__visual { position: relative; display: grid; place-items: center; padding: 20px 0 50px; }
/* Blob gradien di belakang gambar komputer */
.about__blob {
  position: absolute;
  inset: 4% 4% 12%;
  background: var(--grad);
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  animation: morph 16s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(6, 26, 74, 0.35);
}
.about__visual img { position: relative; width: 82%; max-width: 420px; height: auto; filter: drop-shadow(0 30px 36px rgba(6, 26, 74, 0.35)); }
.about p + p { margin-top: 18px; }
/* Peran pengguna: ikon + label, dipisah garis tipis */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.roles li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--black); font-size: 15px; }
.roles li + li { padding-left: 18px; border-left: 1px solid var(--border); }
.roles svg { width: 26px; height: 26px; flex: none; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tujuan & pendekatan (panel terbelah) ---------- */
.vm { padding-top: 170px; padding-bottom: 170px; }
.vm-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 36px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.vm-split__side { position: relative; padding: 76px 64px; }
.vm-split__side--visi { background: var(--grad); color: rgba(255, 255, 255, 0.8); overflow: hidden; }
.vm-split__side--visi .lines { opacity: 0.3; left: -170px; top: -80px; }
.vm-split__side--misi { padding-left: 84px; }
.vm-split__label {
  position: relative;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.vm-split__side--visi .vm-split__label { color: var(--lime); }
.vm-split__side--misi .vm-split__label { color: var(--blue); }
.vm-split__text {
  position: relative;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.vm-split__side--visi .vm-split__text { color: var(--white); }
.vm-split__side--misi .vm-split__text { color: var(--black); }
.vm-split__seam { position: absolute; z-index: 3; pointer-events: none; }
.vm-split__seam path { fill: var(--white); }
.vm-split__seam--v { top: 0; left: 50%; width: 90px; height: 100%; transform: translateX(-45px); }
.vm-split__seam--h { display: none; }

/* ---------- Fitur ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service {
  position: relative;
  padding: 46px 36px 40px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 0;
  transition: transform 0.4s, box-shadow 0.4s;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  clip-path: circle(0% at 90% 0%);
  transition: clip-path 0.6s ease;
  z-index: -1;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service:hover::before { clip-path: circle(150% at 90% 0%); }
.service__icon {
  width: 84px;
  height: 84px;
  border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transition: background 0.4s;
}
.service__icon svg { width: 38px; height: 38px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.service h3 { font-size: 24px; margin-bottom: 14px; transition: color 0.4s; }
.service p { font-size: 16px; transition: color 0.4s; }
.stack {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  transition: color 0.4s, border-color 0.4s;
}
.stack small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
  transition: color 0.4s;
}
.service:hover h3 { color: var(--white); }
.service:hover p { color: rgba(255, 255, 255, 0.8); }
.service:hover .service__icon { background: rgba(255, 255, 255, 0.12); }
.service:hover .service__icon svg { stroke: var(--lime); }
.service:hover .stack { color: var(--white); border-color: rgba(255, 255, 255, 0.2); }
.service:hover .stack small { color: var(--lime); }

/* ---------- Band gelap ---------- */
.journey {
  position: relative;
  background: var(--grad);
  padding: 170px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
}
.journey__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.journey h2 { color: var(--white); font-size: 64px; font-weight: 800; letter-spacing: -0.035em; }
.journey h2 span { color: var(--lime); }
.journey p { font-size: 22px; line-height: 1.6; padding-left: 30px; border-left: 4px solid var(--lime); }

/* ---------- Masalah ---------- */
.problem__head { max-width: 720px; margin-bottom: 60px; }
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.problem {
  position: relative;
  padding: 40px 34px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.problem__num {
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  margin-bottom: 18px;
}
.problem h3 { font-size: 22px; margin-bottom: 12px; }
.problem p { font-size: 16px; }

/* ---------- Solusi ---------- */
.solution__visual { position: relative; }
.solution__visual img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(11, 42, 107, 0.18)); }
.check-list li {
  position: relative;
  padding: 22px 0 22px 64px;
  border-bottom: 1px dashed var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231557c0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 22px;
}
.check-list b { display: block; font-family: var(--font-head); color: var(--black); font-size: 20px; margin-bottom: 4px; }

/* ---------- Cara memulai ---------- */
.model { padding-top: 170px; padding-bottom: 170px; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 2; }
.model-card {
  position: relative;
  padding: 50px 38px 44px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.model-card--featured { background: var(--grad); color: rgba(255, 255, 255, 0.8); margin: -16px 0 16px; }
.model-card--featured h3 { color: var(--white); }
.model-card__wave { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; opacity: 0.6; }
.model-card__wave path { fill: var(--soft); }
.model-card--featured .model-card__wave path { fill: rgba(255, 255, 255, 0.08); }
.model-card__num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  margin-bottom: 20px;
}
.model-card--featured .model-card__num { -webkit-text-stroke-color: var(--lime); }
.model-card h3 { font-size: 28px; margin-bottom: 14px; }
.model-card p { font-size: 16px; }
.model-card__revenue {
  position: relative;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.model-card p + .model-card__revenue { margin-top: 28px; }
.model-card--featured .model-card__revenue { border-top-color: rgba(255, 255, 255, 0.15); }
.model-card__revenue small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.model-card--featured .model-card__revenue small { color: var(--lime); }
.model-card__revenue b { color: var(--black); font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.model-card--featured .model-card__revenue b { color: var(--white); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro .block-title { padding-bottom: 20px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 20px; line-height: 1.3; transition: color 0.3s; }
.faq__item summary:hover h3 { color: var(--blue); }
.faq__plus {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.4s;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--blue);
  transition: background 0.3s, transform 0.4s;
}
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--blue); border-color: var(--blue); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--white); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__item summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
.faq__answer p { padding: 0 60px 26px 0; font-size: 16px; }

/* ---------- Kontak ---------- */
.contact { position: relative; background: var(--grad); padding: 170px 0 150px; overflow: hidden; color: rgba(255, 255, 255, 0.8); }
.contact .container { position: relative; z-index: 2; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { color: var(--white); }
.contact-list { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.contact-row {
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label go" "value go";
  align-items: center;
  column-gap: 20px;
  padding: 24px 0;
  color: var(--white);
  transition: padding 0.45s var(--ease);
}
.contact-row__label {
  grid-area: label;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.45s var(--ease);
}
.contact-row__value {
  grid-area: value;
  justify-self: start;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat left bottom / 0% 2px;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.contact-row__go {
  grid-area: go;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}
.contact-row__go svg {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.contact-row__go svg + svg { transform: translate(-40px, 40px); }
.contact-row:hover { padding-left: 12px; }
.contact-row:hover .contact-row__label { color: var(--lime); }
.contact-row:hover .contact-row__value { background-size: 100% 2px; }
.contact-row:hover .contact-row__go { background: var(--lime); border-color: var(--lime); color: var(--navy-900); }
.contact-row:hover .contact-row__go svg:first-child { transform: translate(40px, -40px); }
.contact-row:hover .contact-row__go svg + svg { transform: translate(0, 0); }
.contact-row:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 8px; }

.contact-form {
  background: var(--white);
  border-radius: 30px;
  padding: 44px;
  box-shadow: 0 30px 70px rgba(6, 26, 74, 0.35);
}
.contact-form h3 { font-size: 26px; margin-bottom: 24px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--soft);
  color: var(--black);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); background: var(--white); }
.contact-form textarea { grid-column: 1 / -1; height: 140px; padding-top: 16px; resize: vertical; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .btn { margin-top: 20px; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 22px; color: var(--lime-dark); font-weight: 700; line-height: 1.6; }
.form-msg--error { color: #c0392b; }
.form-msg a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .btn[disabled] { opacity: 0.7; cursor: wait; pointer-events: none; }
/* Kolom jebakan bot: di luar layar, bukan display:none (bot sering melewati yang tersembunyi). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-alt { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.contact-alt a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-alt a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.65); }
.footer__upper { padding: 80px 0 50px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__about p { font-size: 15px; margin-top: 20px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: 18px; margin-bottom: 22px; }
.footer li + li { margin-top: 12px; }
.footer a { font-size: 15px; transition: color 0.3s; }
.footer a:hover { color: var(--lime); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom p { padding: 24px 0; font-size: 14px; text-align: center; }

/* Tombol ke atas */
.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 60;
  box-shadow: 0 10px 25px rgba(6, 26, 74, 0.3);
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Animasi masuk saat discroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsif
   ========================================================== */
@media (max-width: 1100px) {
  .nav, .header__cta, .header__login { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 60px; }
  .blob-img { width: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .section { padding: 90px 0; }
  .hero { padding: 150px 0 170px; }
  .hero__grid, .split, .journey__inner, .faq { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 20px; max-width: 400px; }
  .about__visual { max-width: 480px; margin: 0 auto 10px; width: 100%; }
  .split--reverse > :first-child { order: 2; }
  .vm-split { grid-template-columns: 1fr; }
  .vm-split__side, .vm-split__side--misi { padding: 60px 44px; }
  .vm-split__side--misi { padding-top: 76px; }
  .vm-split__seam--v { display: none; }
  .vm-split__seam--h { display: block; left: 0; top: -30px; width: 100%; height: 44px; }
  .services-grid, .problems, .model-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .model-card--featured { margin: 0; }
  .journey h2 { font-size: 50px; }
  .faq__intro { position: static; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .block-title h2 { font-size: 34px; }
  .hero h1 { font-size: 46px; }
  .blob-img { width: min(320px, 100%); }
  .contact-row__value { font-size: 20px; }
  .contact-row__go { width: 44px; height: 44px; }
  .contact-row__go svg { top: 10px; left: 10px; }
  .roles { grid-template-columns: 1fr; gap: 12px; }
  .roles li + li { padding-left: 0; border-left: none; }
  .wave { height: 50px; }
  .vm, .model, .journey { padding: 120px 0; }
  .contact-form { padding: 34px 26px; }
  .vm-split__side, .vm-split__side--misi { padding: 48px 28px; }
  .vm-split__side--misi { padding-top: 64px; }
  .vm-split__text { font-size: 22px; }
  .journey p { font-size: 18px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .faq__item h3 { font-size: 18px; }
  .faq__answer p { padding-right: 0; }
  .lines { width: 320px; height: 320px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
