:root {
  --accent: #c8102e;          /* satu warna aksen — ganti sesuai identitas Annastasya */
  --accent-dark: #a00d25;
  --text: #5f6368;
  --head: #1d1f23;
  --line: #e6e7e9;
  --soft: #f6f7f8;
  --dark: #1b1d21;
  --navy: #1f2a44;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: Poppins, sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.25; font-weight: 700; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
section { padding: 90px 0; }
.soft { background: var(--soft); }
.eyebrow { display: block; color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.sec-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.sec-head { max-width: 620px; margin-bottom: 44px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.ico { display: inline-block; }
.ico svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font: 600 14px Poppins, sans-serif; border-radius: 2px; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--head); }
.btn-wa { background: #25d366; border-color: #25d366; }
.btn-wa:hover { background: #1da851; border-color: #1da851; }
.btn-wa svg { width: 18px; height: 18px; }
.more { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Foto: taruh file di img/, warna gelap tampil selama foto belum ada */
.ph { background: #3a3f47 center / cover no-repeat; }

/* Loader */
#loader { position: fixed; inset: 0; background: #fff; z-index: 999; display: grid; place-items: center; transition: opacity .4s; }
#loader.done { opacity: 0; pointer-events: none; }
#loader::after { content: ""; width: 42px; height: 42px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, color .3s; }
.site-header.scrolled, .site-header.menu-open { background: #fff; color: var(--head); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { font-weight: 700; font-size: 23px; letter-spacing: .01em; }
.logo span { color: var(--accent); }
.menu { display: flex; gap: 30px; }
.menu a { font-size: 14px; font-weight: 500; padding: 6px 0; transition: color .2s; }
.menu a:hover, .menu a.active { color: var(--accent); }
.burger { display: none; background: none; border: 0; color: inherit; width: 38px; height: 38px; cursor: pointer; }
.burger .ico { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; height: min(100vh, 780px); min-height: 560px; overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 15, .82), rgba(10, 12, 15, .35)); }
.slide .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.slide h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); max-width: 760px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-nav { position: absolute; z-index: 2; bottom: 110px; left: 0; right: 0; display: flex; justify-content: flex-end; gap: 8px; }
.hero-nav button, .car-btn { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.hero-nav button { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.hero-nav button:hover { background: var(--accent); border-color: var(--accent); }
.hero-nav .ico, .car-btn .ico { width: 20px; height: 20px; }

/* Strip 4 keunggulan */
.perks { position: relative; z-index: 3; margin-top: -70px; padding: 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .08); border-top: 3px solid var(--accent); }
.perk { padding: 30px 24px; display: flex; gap: 16px; border-right: 1px solid var(--line); }
.perk:last-child { border-right: 0; }
.perk .ico { width: 42px; height: 42px; color: var(--accent); flex: none; }
.perk h4 { font-size: 15px; margin-bottom: 4px; }
.perk p { font-size: 13px; line-height: 1.6; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .ph { aspect-ratio: 4 / 3; }
.split p + p, [data-profile] p + p { margin-top: 14px; }
.counter { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.counter b { font-size: 64px; line-height: 1; color: var(--accent); font-weight: 700; }
.counter span { font-weight: 600; color: var(--head); line-height: 1.4; }

/* Ubin layanan */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 20px; text-align: center; transition: .25s; }
.tile .ico { width: 54px; height: 54px; color: var(--accent); margin-bottom: 16px; transition: .25s; }
.tile h3 { font-size: 15px; font-weight: 600; transition: .25s; }
.tile:hover { background: var(--accent); }
.tile:hover .ico, .tile:hover h3 { color: #fff; }

/* Carousel */
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 60px) / 4); }
.track.one > * { flex-basis: 100%; }
.car-btns { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.car-btn { background: #fff; border: 1px solid var(--line); color: var(--head); }
.car-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Sertifikasi */
.cert { display: block; background: #fff; border: 1px solid var(--line); padding: 32px 20px; text-align: center; transition: .2s; }
a.cert:hover { border-color: var(--accent); }
.badge { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; border: 4px double var(--navy); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 13px; line-height: 1.2; padding: 8px; }
.cert h3 { font-size: 16px; }
.cert p { font-size: 13px; }
.cert small { display: block; margin-top: 10px; font-size: 12px; color: #8a8d91; line-height: 1.6; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

/* Formulir */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border: 1px solid var(--line); background: #fff; font: 14px Poppins, sans-serif; color: var(--head); border-radius: 2px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }
.form label { font-size: 13px; font-weight: 500; color: var(--head); }
.form .hint { font-size: 12px; color: #8a8d91; }
.form .btn { justify-self: start; }
.form-status { padding: 12px 16px; font-size: 14px; }
.form-status.terkirim { background: #e8f6ee; color: #146c3b; }
.form-status.gagal { background: #fdecee; color: var(--accent-dark); }

/* Klien */
.client-slide { background: #fff; border: 1px solid var(--line); padding: 40px; text-align: center; }
.sector { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--head); margin-bottom: 14px; }
.sector .ico { width: 34px; height: 34px; color: var(--accent); }
.sector:hover { color: var(--accent); }
.client-groups { columns: 2 320px; column-gap: 40px; }
.client-group { break-inside: avoid; margin-bottom: 36px; }
.client-group h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); margin-bottom: 12px; }
.client-group h3 .ico { width: 28px; height: 28px; color: var(--accent); }
.client-group li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* Strip foto */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.photo-strip .ph { aspect-ratio: 16 / 9; }

/* Halaman dalam */
.page-hero { position: relative; padding: 170px 0 80px; color: #fff; background-image: url(../img/hero-1.jpg); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 12, 15, .72); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.crumb { font-size: 13px; margin-top: 8px; opacity: .85; }
.crumb a:hover { color: #fff; text-decoration: underline; }

.svc { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 50px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc > .ico { width: 60px; height: 60px; color: var(--accent); }
.svc h2 { font-size: 24px; margin-bottom: 10px; }
.bullets { margin-top: 14px; display: grid; gap: 6px; }
.bullets li { padding-left: 22px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.fact { border: 1px solid var(--line); padding: 28px 22px; }
.fact b { display: block; font-size: 30px; color: var(--accent); line-height: 1.2; margin-bottom: 4px; }
.fact span { font-size: 13px; }

.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.office { border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 30px; }
.office h3 { margin-bottom: 14px; font-size: 18px; }

.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.contact-list .ico { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }

/* Footer */
.site-footer { background: var(--dark); color: #a7abb1; padding-top: 80px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul li { padding: 4px 0; }
.site-footer ul a:hover { color: var(--accent); }
.site-footer .more { display: inline-block; margin-top: 14px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13px; }

.to-top, .wa-float { position: fixed; right: 20px; z-index: 40; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; }
.wa-float { bottom: 20px; width: 56px; height: 56px; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.wa-float svg { width: 30px; height: 30px; }
.to-top { bottom: 88px; width: 44px; height: 44px; background: var(--accent); color: #fff; opacity: 0; pointer-events: none; transition: .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top .ico { width: 20px; height: 20px; }

/* Responsif */
@media (max-width: 991px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 4px 16px 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 12px 0; color: var(--head); border-bottom: 1px solid var(--line); }
  .menu a.active { color: var(--accent); }
  .perks-grid, .tiles, .facts { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .track > * { flex-basis: calc((100% - 20px) / 2); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  section { padding: 64px 0; }
  .perks-grid, .facts, .foot-grid, .form-row, .photo-strip { grid-template-columns: 1fr; }
  .perk { border-right: 0; border-bottom: 1px solid var(--line); }
  .perk:last-child { border-bottom: 0; }
  .track > * { flex-basis: 100%; }
  .hero-nav { bottom: 100px; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .client-slide { padding: 28px 20px; }
}
