/* =====================================================================
   TMD — HR Consultant & Event Management
   Palet dari brand book: navy #093166, merah #E71824, biru muda #9DB9D9
   Display: Anton (kondensat berat, mengikuti judul di company profile)
   Teks:    Plus Jakarta Sans
   ===================================================================== */

:root {
  --navy:        #093166;
  --navy-deep:   #06234A;
  --navy-soft:   #42618A;
  --red:         #E71824;
  --red-dark:    #C21019;
  --blue-light:  #9DB9D9;
  --wash:        #E8F0F7;
  --wash-line:   #DEE8F2;
  --white:       #FFFFFF;
  --ink:         #16233A;
  --ink-muted:   #5B6B84;

  --max:      1180px;
  --gutter:   clamp(1.25rem, 4vw, 2.5rem);
  --radius:   14px;
  --radius-s: 8px;

  --shadow:      0 10px 30px rgba(9, 49, 102, .10);
  --shadow-lift: 0 18px 44px rgba(9, 49, 102, .18);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------ type */
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; max-width: 68ch; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .95;
  text-transform: uppercase;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-soft);
  font-weight: 700;
  margin-bottom: .9rem;
  display: block;
}
.lead { font-size: 1.1rem; color: var(--ink-muted); }
.text-muted { color: var(--ink-muted); }

/* ------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--wash { background: var(--wash); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--blue-light); }

.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head--split {
  max-width: none; display: flex; gap: 2rem;
  align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
}

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--wash); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-more { font-weight: 700; color: var(--red); }
.link-more:hover { color: var(--red-dark); text-decoration: underline; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--wash-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
@media (max-width: 480px) { .brand img { height: 42px; } }

/* Teks hanya untuk pembaca layar dan mesin pencari */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--radius-s);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.nav a:hover { color: var(--red); }
.nav a.is-active { color: var(--navy); }
.nav a.is-active::after {
  content: ''; display: block; height: 3px; width: 22px;
  background: var(--red); border-radius: 2px; margin-top: 3px;
}
.nav .btn { margin-left: .6rem; }
.nav .btn.is-active::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem;
  color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--wash-line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--wash-line); }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,35,74,.94) 0%, rgba(9,49,102,.86) 48%, rgba(231,24,36,.55) 100%);
}
.hero__inner {
  position: relative;
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  max-width: 760px;
}
.hero__kicker {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 1.6rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
}
.hero__rule { width: 84px; height: 6px; background: var(--red); border-radius: 3px; margin: 1.4rem 0 1.6rem; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.08rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* Pita statistik di kaki hero */
.hero__stats {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__stat { padding: 1.4rem 0; }
.hero__stat + .hero__stat { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.4rem; }
.hero__stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; }
.hero__stat span { font-size: .8rem; color: var(--blue-light); }

/* Banner judul halaman dalam */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: clamp(2.8rem, 7vw, 4.5rem) 0;
  position: relative;
}
.page-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 45%, var(--red) 45%, var(--red) 100%);
}
.page-banner h1 { color: #fff; margin-bottom: .3rem; }
.page-banner p { color: rgba(255,255,255,.8); margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--blue-light); margin-bottom: .9rem; }
.breadcrumb a { color: var(--blue-light); }
.breadcrumb a:hover { color: #fff; }

/* ------------------------------------------------------------ cards */
.card {
  background: #fff;
  border: 1px solid var(--wash-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card__media { aspect-ratio: 16 / 10; background: var(--wash); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; font-size: 1.12rem; }
.card__body p { font-size: .92rem; color: var(--ink-muted); margin-bottom: 1rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

.tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 999px;
  background: var(--wash); color: var(--navy);
  margin-bottom: .75rem;
}
.tag--red { background: var(--red); color: #fff; }
.tag--navy { background: var(--navy); color: #fff; }
.tag--light { background: var(--blue-light); color: var(--navy-deep); }

.price { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.price--free { color: var(--red); }
.price s { font-family: var(--font-body); font-size: .85rem; color: var(--ink-muted); margin-right: .4rem; }

/* Kartu layanan: nomor urut dipakai karena daftar spesialisasi memang bernomor di company profile */
.service {
  background: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.5rem; border-top: 5px solid var(--navy);
  box-shadow: var(--shadow);
}
.service:nth-child(even) { border-top-color: var(--red); }
.service h3 { margin-bottom: .55rem; }
.service p { font-size: .93rem; color: var(--ink-muted); margin: 0; }

/* Event ringkas dengan blok tanggal */
.event-row {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--wash-line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.event-date {
  flex: 0 0 auto; text-align: center;
  background: var(--navy); color: #fff; border-radius: var(--radius-s);
  padding: .6rem .85rem; min-width: 68px;
}
.event-date b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.event-date span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); }
.event-row h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.event-meta { font-size: .85rem; color: var(--ink-muted); }

/* Blok ajakan gabung PGC */
.pgc-banner {
  background: var(--navy);
  border-radius: var(--radius);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.pgc-banner h2 { color: #fff; }
.pgc-banner p { color: rgba(255,255,255,.85); }
.pgc-values { display: grid; gap: .6rem; }
.pgc-value {
  background: rgba(255,255,255,.08); border-left: 4px solid var(--blue-light);
  padding: .7rem 1rem; border-radius: var(--radius-s); font-weight: 600; font-size: .92rem;
}
.pgc-value:nth-child(2) { border-left-color: #fff; }
.pgc-value:nth-child(3) { border-left-color: var(--red); }
@media (max-width: 820px) { .pgc-banner { grid-template-columns: 1fr; } }

/* Logo klien */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; background: var(--wash-line); border: 1px solid var(--wash-line); border-radius: var(--radius); overflow: hidden; }
.client-grid > div { background: #fff; display: grid; place-items: center; padding: 1.4rem 1rem; min-height: 104px; }
.client-grid img { max-height: 46px; width: auto; object-fit: contain; }
.client-grid span { font-size: .85rem; font-weight: 600; color: var(--navy-soft); text-align: center; }

/* ------------------------------------------------------------ forms */
.form-group { margin-bottom: 1.1rem; }
label { display: block; font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], select, textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1.5px solid var(--wash-line); border-radius: var(--radius-s);
  background: #fff; font-family: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; }
textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--ink-muted); margin-top: .3rem; }
.form-error { font-size: .82rem; color: var(--red-dark); margin-top: .3rem; font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--wash-line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }

.alert {
  padding: .9rem 1.1rem; border-radius: var(--radius-s);
  margin-bottom: 1.2rem; font-size: .92rem; border-left: 4px solid;
}
.alert--success { background: #EAF6EE; border-color: #2E7D46; color: #1E5730; }
.alert--error   { background: #FDECED; border-color: var(--red); color: var(--red-dark); }
.alert--warning { background: #FFF6E5; border-color: #C98A00; color: #8A6000; }
.alert--info    { background: var(--wash); border-color: var(--navy); color: var(--navy); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand img { height: 46px; margin-bottom: 1rem; }
.footer-quote { font-family: var(--font-display); font-size: 1.15rem; color: #fff; line-height: 1.25; text-transform: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.2rem 0; font-size: .82rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.empty-state {
  border: 1.5px dashed var(--wash-line); border-radius: var(--radius);
  padding: 2.5rem 1.5rem; text-align: center; color: var(--ink-muted);
}
.empty-state p { margin-inline: auto; }

.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: .5rem .9rem; border-radius: var(--radius-s);
  border: 1px solid var(--wash-line); font-size: .9rem; font-weight: 600;
}
.pagination .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
