/* ============================================
   Tokens
   ============================================ */
:root {
  --white: #FFFFFF;
  --mist: #F2F3F4;          /* abu soft */
  --ink: #25272c;           /* teks utama */
  --ink-soft: #4a4c51;      /* teks sekunder */
  --line: #E2E4E7;
  --line-strong: #CDD0D5;
  --btn: #393b41;           /* abu gelap */
  --btn-hover: #2B2E33;

  /* panel kaca di atas foto latar */
  --panel: rgba(255, 255, 255, 0.86);
  --panel-line: rgba(255, 255, 255, 0.9);
  --panel-shadow: 0 18px 40px -24px rgba(37, 39, 44, 0.35);

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header: 72px;
  --shell: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 650; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 60ch; }

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--btn);
  outline-offset: 3px;
}

.text-link {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--ink); }

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
  border: 1px solid var(--btn);
}
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--btn); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(37, 39, 44, 0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.mark { display: flex; align-items: center; flex-shrink: 0; }
.mark-logo { height: 50px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); background: var(--mist); }

.site-nav .nav-cta {
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
  padding: 9px 20px;
}
.site-nav .nav-cta:hover { background: var(--btn-hover); color: #fff; }
.site-nav .nav-cta.is-active { background: var(--btn-hover); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--mist);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--btn); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Screens (satu menu = satu layar penuh)
   ============================================ */
.screen {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header) + 40px) 0 0;
  display: flex;
  flex-direction: column;
}

.screen-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 56px;
}

.screen--white { background: var(--white); }
.screen--mist { background: var(--mist); }

.screen-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.screen-head p { margin-left: auto; margin-right: auto; }
.screen-head h2 { margin-bottom: 14px; }
.screen-head p:last-child { margin-bottom: 0; }

/* --- Section dengan foto latar: foto + lapisan putih agar teks tetap terbaca --- */
.screen--photo {
  position: relative;
  isolation: isolate;
  background-color: var(--mist);
  background-image: var(--photo);
  background-size: cover;
  background-position: var(--photo-pos, center);
  background-repeat: no-repeat;
}
.screen--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--veil);
}

.screen--home {
  --photo: url("/images/bg.jpg");
  --veil: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 248, 249, 0.89) 100%);
}
.screen--features {
  --photo: url("/images/fe.jpg");
  --photo-pos: 60% 50%;
  --veil: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(242, 243, 244, 0.78) 100%);
}
.screen--services {
  --photo: url("/images/op.jpg");
  --photo-pos: center 40%;
  --veil: linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(242, 243, 244, 0.62) 100%);
}
.screen--contact {
  --photo: url("/images/cu.jpg");
  --photo-pos: 70% 50%;
  --veil: linear-gradient(90deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.42) 100%);
}

/* ============================================
   Home
   ============================================ */
.home-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.home-note {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 auto 24px;
}

.home-copy h1 { margin: 0 auto 24px; max-width: 15em; }

.home-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 40px;
  color: var(--ink);
  opacity: 0.82;
}

.home-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   About: teks kiri, gambar kanan
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.about-main h2 { margin-bottom: 24px; max-width: 16em; }
.about-main > p { font-size: 1.02rem; }

.subsidiary {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.subsidiary .side-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.subsidiary h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.subsidiary p:not(.side-label) { font-size: 0.98rem; margin-bottom: 20px; }

.about-visual {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header) - 110px);
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 16px;
  box-shadow: 0 28px 56px -28px rgba(37, 39, 44, 0.45);
}

/* ============================================
   Features
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Grid Features dengan banyak item (12 modul): kolom menyesuaikan lebar layar secara otomatis */
.features-grid--full {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature {
  background: var(--panel);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  padding: 26px 26px 28px;
}

.feature-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.95rem; margin: 0; color: var(--ink-soft); }

/* ============================================
   Services (kartu memakai gaya yang sama dengan Features)
   ============================================ */

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.contact-intro h2 { margin-bottom: 18px; max-width: 14em; }
.contact-intro > p { font-size: 1.02rem; margin-bottom: 32px; color: var(--ink); opacity: 0.85; }

.contact-details { margin: 0; }
.contact-details > div {
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
}
.contact-details > div:last-child { border-bottom: 1px solid var(--line-strong); }
.contact-details dt {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.contact-details dd { margin: 0; font-size: 0.98rem; color: var(--ink); }
.contact-details a { border-bottom: 1px solid var(--line-strong); }
.contact-details a:hover { border-color: var(--ink); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  box-shadow: var(--panel-shadow);
  padding: 32px;
}
.contact-form label { display: block; }
.contact-form label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--btn);
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }

.form-success {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: #eaf5ee;
  color: #1f5a37;
  font-size: 0.93rem;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fdecec;
  color: #8a1f1f;
  font-size: 0.93rem;
}
.contact-fields { display: flex; flex-direction: column; gap: 18px; }
.contact-fields[hidden] { display: none; }
.form-success[hidden], .form-error[hidden] { display: none; }
.form-error p { margin: 0; }
.form-error p + p { margin-top: 4px; }
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #f3f3f3;
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.site-footer p {
  margin: 0 0 6px;
  max-width: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.site-footer h3 {
  font-size: 0.92rem;
  font-weight: 650;
  margin-bottom: 14px;
}
.footer-name {
  font-size: 1.05rem !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 12px !important;
}
.footer-tagline { max-width: 32ch !important; }
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  padding-bottom: 24px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ============================================
   404
   ============================================ */
.page-404 { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-404 main { flex: 1; display: flex; }
.page-404 .screen { flex: 1; min-height: 0; }

.notfound { text-align: center; }
.notfound .code {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 auto 16px; max-width: 18em; }
.notfound p { margin: 0 auto 32px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1080px) {
  .site-nav a { padding: 8px 10px; }
  .site-nav .nav-cta { padding: 9px 16px; margin-left: 4px; }
}

@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .features-grid { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --header: 64px; }
  .shell { padding: 0 24px; }
  .mark-logo { height: 40px; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -18px rgba(37, 39, 44, 0.4);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }

  .screen { padding-top: calc(var(--header) + 32px); }
  .screen-body { padding-bottom: 44px; }
  .screen-head { margin-bottom: 36px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .about-grid { gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 24px; }
  .screen--contact { --veil: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.6) 100%); }
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; align-items: start; }
  .about-visual { justify-self: stretch; max-width: none; }
  .about-visual img { aspect-ratio: 16 / 10; max-height: none; object-position: 50% 58%; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 40px; }
  .home-actions .btn { width: 100%; text-align: center; }
  .lang-btn { padding: 5px 10px; }
  .about-visual img { aspect-ratio: 4 / 3; }

  /* kartu lebih ringkas di layar kecil: ikon/angka di kiri, teks di kanan */
  .feature {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .feature-icon { grid-row: 1 / span 2; margin: 2px 0 0; }
}

/* Layar pendek (laptop kecil): rapatkan jarak agar tetap pas satu layar */
@media (min-width: 901px) and (max-height: 760px) {
  .screen { padding-top: calc(var(--header) + 16px); }
  .screen-body { padding-bottom: 28px; }
  .screen-head { margin-bottom: 28px; }
  .home-note { margin-bottom: 16px; }
  .home-copy h1 { margin-bottom: 18px; }
  .home-lede { margin-bottom: 28px; }
  .about-main h2 { margin-bottom: 18px; }
  .subsidiary { margin-top: 24px; padding-top: 22px; }
  .contact-intro > p { margin-bottom: 24px; }
  .contact-details > div { padding: 10px 0; }
  .contact-form { gap: 14px; padding: 26px; }
  .contact-form textarea { min-height: 90px; }
  .feature { padding: 20px 22px 22px; }
  .feature-icon { margin-bottom: 12px; }
}
