/* PT Permata Sukses Selalu
   Corporate stylesheet
   ------------------------------------------------------------------ */

:root {
  --navy: #12233a;
  --charcoal: #2b3541;
  --body-text: #454f5b;
  --muted: #6b7683;
  --rule: #dfe4e9;
  --rule-strong: #c8d0d8;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-deep: #0f1d2e;
  --blue: #1b5fa8;
  --blue-dark: #16497f;
  --green: #2f8f63;

  --wrap: 1180px;
  --gutter: 24px;

  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Reset and base
   ------------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 600;
}

h1 { font-size: 2.35rem; letter-spacing: -0.015em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.14rem; letter-spacing: 0; }
h4 { font-size: 1rem; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* Header
   ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand img { width: 34px; height: 34px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.685rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--rule-strong);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.85rem;
  padding: 9px 13px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.nav-toggle .bars {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--charcoal);
}
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after { top: 5px; }

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

.site-nav a {
  display: inline-block;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.925rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

/* Hero
   ------------------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 33, 0.93) 0%, rgba(9, 20, 33, 0.82) 38%, rgba(9, 20, 33, 0.45) 68%, rgba(9, 20, 33, 0.3) 100%);
}

.hero-inner {
  position: relative;
  padding-top: 104px;
  padding-bottom: 108px;
}

.hero-copy { max-width: 640px; }

.hero .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #9fc6ea;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: 2.65rem;
  margin-bottom: 20px;
}

.hero p {
  color: #d9e2eb;
  font-size: 1.075rem;
  max-width: 560px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border: 1px solid var(--blue);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  margin-left: 10px;
}
.btn-outline:hover,
.btn-outline:focus { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-quiet {
  background: #fff;
  color: var(--navy);
  border-color: var(--rule-strong);
}
.btn-quiet:hover,
.btn-quiet:focus { background: var(--bg-alt); border-color: var(--muted); }

/* Section framework
   ------------------------------------------------------------------ */

.section { padding: 78px 0; }
.section-tight { padding: 58px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-rule { border-top: 1px solid var(--rule); }

.section-head { max-width: 720px; margin-bottom: 38px; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 600;
}

.eyebrow-quiet { color: var(--muted); font-weight: 600; }

.lede { font-size: 1.06rem; color: var(--charcoal); }

.figure { margin: 0; }

.figure img { width: 100%; }

.caption {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--rule-strong);
}

/* Company overview
   ------------------------------------------------------------------ */

.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.overview-grid .figure img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 50%; }

.fact-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.fact-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  font-size: 0.94rem;
}

.fact-list .term {
  color: var(--navy);
  font-weight: 600;
}

/* Infrastructure rows
   ------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}

.split:first-of-type { border-top: 0; padding-top: 8px; }

.split-reverse .split-media { order: 2; }

.split-media img { width: 100%; }

.split-body h3 { margin-bottom: 12px; }

.split-index {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.ratio-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.ratio-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.ratio-square img { aspect-ratio: 1 / 1; object-fit: cover; }
.ratio-pano img { aspect-ratio: 21 / 9; object-fit: cover; }

.point-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.point-list li {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 0.94rem;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--green);
}

/* Operations
   ------------------------------------------------------------------ */

.ops-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.ops-lead .figure img { aspect-ratio: 3 / 2; object-fit: cover; }

.ops-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 54px;
  margin-top: 46px;
  padding-top: 38px;
  border-top: 1px solid var(--rule);
}

.ops-item h4 {
  margin-bottom: 6px;
  color: var(--navy);
}

.ops-item p { font-size: 0.94rem; }

.ops-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 50px;
}

.ops-pair .figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.ops-pair h4 { margin: 18px 0 6px; }
.ops-pair p { font-size: 0.94rem; }

/* Reliability
   ------------------------------------------------------------------ */

.reliability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}

.principle-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-strong);
}

.principle-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  margin-top: 9px;
}

.principle-list strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.principle-list span { font-size: 0.93rem; }

/* Indonesia context
   ------------------------------------------------------------------ */

.context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.context-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.context-body {
  background: var(--bg-deep);
  color: #cdd7e1;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.context-body h2 { color: #fff; }
.context-body .eyebrow { color: #9fc6ea; }
.context-body p { color: #cdd7e1; }

/* About
   ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid .figure img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Contact
   ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 30px 32px;
}

.contact-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.contact-email {
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--blue);
  word-break: break-word;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 95, 168, 0.35);
}

.contact-email:hover { border-bottom-color: var(--blue); }

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 11px 13px;
}

.form-row textarea { min-height: 132px; resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(27, 95, 168, 0.18);
  outline-offset: 0;
}

.form-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--bg-alt);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.form-status[hidden] { display: none; }

/* Footer
   ------------------------------------------------------------------ */

.site-footer {
  background: var(--bg-deep);
  color: #a8b6c4;
  padding: 46px 0 34px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { width: 30px; height: 30px; }

.footer-brand strong {
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a { color: #cdd7e1; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  padding-top: 22px;
  font-size: 0.84rem;
  color: #8798a8;
}

/* Responsive
   ------------------------------------------------------------------ */

@media (max-width: 940px) {
  .overview-grid,
  .split,
  .ops-lead,
  .ops-pair,
  .reliability-grid,
  .about-grid,
  .contact-grid,
  .context {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-reverse .split-media { order: 0; }
  .split { padding: 34px 0; }
  .ops-columns { grid-template-columns: 1fr; gap: 22px; }
  .context-body { padding: 44px 24px; }
  .context-media img { min-height: 260px; }
  .fact-list li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 1.95rem; }
  h2 { font-size: 1.45rem; }

  .hero-inner { padding-top: 62px; padding-bottom: 66px; }
  .hero-media img { object-position: 62% 50%; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(9, 20, 33, 0.86) 0%, rgba(9, 20, 33, 0.9) 100%);
  }
  .hero p { font-size: 1rem; }

  .section { padding: 52px 0; }
  .section-tight { padding: 44px 0; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 10px 22px rgba(15, 29, 46, 0.08);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 14px;
  }

  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav li:last-child { border-bottom: 0; }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 0;
    width: 100%;
  }

  .site-nav a:hover,
  .site-nav a:focus,
  .site-nav a.is-active { color: var(--blue); }

  .brand-sub { display: none; }
  .brand-name { font-size: 0.86rem; }
  .brand img { width: 30px; height: 30px; }
  .header-inner { min-height: 66px; gap: 12px; }

  .hero .eyebrow { font-size: 0.63rem; letter-spacing: 0.13em; }

  .btn { display: block; text-align: center; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .hero .btn { max-width: 320px; }

  .contact-card { padding: 24px 20px; }
}

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