/* ============================================
   TRUST LEGALITAS - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --red: #7B1515;
  --red-light: #FBF5F5;
  --red-border: #e8d0d0;
  --gray-bg: #f9f9f9;
  --gray-border: #eee;
  --gray-text: #666;
  --gray-muted: #999;
  --dark: #111;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-alt { background: var(--gray-bg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* --- Typography --- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.2vw, 28px);
  color: #1a1a1a;
  line-height: 1.28;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 540px;
}
.section-bar {
  height: 3px;
  width: 40px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* --- Inline SVG Icons --- */
.ic { width: 1em; height: 1em; fill: currentColor; vertical-align: middle; flex-shrink: 0; }
.ic-sm { width: 14px; height: 14px; }
.ic-md { width: 20px; height: 20px; }
.ic-lg { width: 24px; height: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .1s;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-red { background: transparent; color: var(--red); border: 1.5px solid var(--red); }

/* --- Card Base --- */
.card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--red-border);
  box-shadow: 0 4px 16px rgba(123,21,21,.06);
}
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--red);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar { background: var(--red); padding: 7px 0; }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__link {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.topbar__link:hover { color: #fff; }
.topbar__socials { display: flex; gap: 12px; }
.topbar__social {
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.topbar__social:hover { color: #fff; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: #555;
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--red); font-weight: 600; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 4px;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 12px 24px 16px;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.nav-mobile .btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--red);
  background-image: url('../images/bg-texture.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
  padding: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.hero__left {
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--red) 0%, rgba(123,21,21,.3) 50%, transparent 100%);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  width: fit-content;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 42px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero__sub {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   STAT STRIP
   ============================================ */
.stat-strip {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 24px 0;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid #eee;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--red);
  display: block;
}
.stat-label {
  font-size: 12px;
  color: var(--gray-muted);
  margin-top: 3px;
  display: block;
}

/* ============================================
   FEATURED STRIP
   ============================================ */
.feat-strip {
  background: var(--red-light);
  border-bottom: 1px solid var(--red-border);
  padding: 13px 0;
}
.feat-strip .container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.feat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}
.feat-divider { width: 1px; height: 20px; background: #ddd; flex-shrink: 0; }
.feat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-chip {
  background: #fff;
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
}
.feat-chip--new { background: var(--red-light); }

/* ============================================
   PAIN CARDS
   ============================================ */
.pain-title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.pain-list { display: flex; flex-direction: column; gap: 5px; }
.pain-list li {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.pain-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 6px;
}
.pain-solution {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.55;
}

/* ============================================
   SBUJK SECTION
   ============================================ */
.sbujk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.sbujk-text { font-size: 14px; color: var(--gray-text); line-height: 1.75; margin-bottom: 16px; }
.sbujk-alert {
  background: var(--red-light);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 15px;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}
.sbujk-alert strong { color: var(--red); }
.sbujk-img {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sbujk-img img { width: 100%; height: auto; }

.manfaat-item {
  background: var(--red-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.manfaat-item:last-child { margin-bottom: 0; }
.manfaat-icon {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.manfaat-title { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.manfaat-sub { font-size: 11px; color: #777; line-height: 1.5; }

/* ============================================
   KLASIFIKASI
   ============================================ */
.klas-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.klas-icon {
  width: 36px; height: 36px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: var(--red);
}
.klas-name { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 7px; }
.klas-subs { display: flex; flex-direction: column; gap: 4px; }
.klas-sub {
  font-size: 11px; color: #888;
  padding-left: 10px; position: relative;
}
.klas-sub::before {
  content: ''; width: 3px; height: 3px;
  background: #ccc; border-radius: 50%;
  position: absolute; left: 0; top: 6px;
}

.hukum-box {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}
.hukum-title {
  font-size: 13px; font-weight: 600; color: #1a1a1a;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hukum-item {
  font-size: 12px; color: var(--gray-text);
  line-height: 1.6;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 8px;
}
.hukum-item:last-child { margin-bottom: 0; }
.hukum-num {
  min-width: 20px; height: 20px;
  background: var(--red); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  flex-shrink: 0; margin-top: 1px;
}

/* ============================================
   BUNDLE
   ============================================ */
.bundle-section {
  background: var(--red);
  background-image: url('../images/bg-texture.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
  padding: 56px 0;
}
.bundle-eyebrow {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.bundle-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  color: #fff; line-height: 1.28; margin-bottom: 10px;
}
.bundle-sub {
  font-size: 14px; color: rgba(255,255,255,.72);
  line-height: 1.65; margin-bottom: 28px; max-width: 480px;
}
.bundle-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.bundle-card--highlight {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}
.bundle-badge {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px;
}
.bundle-name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.bundle-items { display: flex; flex-direction: column; gap: 5px; }
.bundle-item {
  font-size: 12px; color: rgba(255,255,255,.75);
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.45;
}
.bundle-note {
  font-size: 11px; color: rgba(255,255,255,.5);
  font-style: italic; margin: 16px 0;
}

/* ============================================
   LAYANAN / SERVICES
   ============================================ */
.service-name { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 5px; }
.service-desc { font-size: 12px; color: #888; line-height: 1.55; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.service-tag {
  font-size: 10px; color: var(--red);
  background: var(--red-light); border-radius: 4px;
  padding: 2px 8px; font-weight: 500;
}
.service-badge {
  display: inline-block;
  background: var(--red-light); color: var(--red);
  font-size: 10px; font-weight: 600;
  padding: 2px 9px; border-radius: 10px; margin-top: 8px;
}

/* ============================================
   WHY US
   ============================================ */
.why-title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.why-desc { font-size: 12px; color: #888; line-height: 1.65; }

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.process-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}
.process-step:last-child { border-bottom: none; }
.process-dot {
  min-width: 34px; height: 34px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.process-title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 3px; }
.process-desc { font-size: 12px; color: #888; line-height: 1.55; }
.process-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-img img {
  width: 100%; height: 100%;
  object-fit: cover; min-height: 380px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 720px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-question {
  font-size: 14px; font-weight: 600; color: #1a1a1a;
  margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 9px;
}
.faq-answer {
  font-size: 12px; color: #888;
  line-height: 1.65; padding-left: 33px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testi-card {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.testi-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2px solid var(--red-light);
}
.testi-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.testi-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.testi-service { font-size: 11px; color: var(--gray-muted); margin-bottom: 7px; }
.testi-stars { color: #F5A623; font-size: 14px; margin-bottom: 8px; }
.testi-quote {
  font-size: 12px; color: var(--gray-text);
  line-height: 1.6; font-style: italic;
}

/* ============================================
   AREA COVERAGE
   ============================================ */
.area-strip { background: var(--red-light); padding: 28px 0; }
.area-inner { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.area-label {
  font-size: 14px; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 7px; color: #1a1a1a;
}
.area-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.area-pill {
  font-size: 11px; background: #fff;
  border: 1px solid var(--red-border);
  color: var(--red); padding: 5px 13px;
  border-radius: 20px; font-weight: 500;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--red);
  background-image: url('../images/bg-texture.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
  padding: 56px 0;
  text-align: center;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 30px);
  color: #fff; margin-bottom: 12px;
}
.cta-sub {
  font-size: 14px; color: rgba(255,255,255,.72);
  line-height: 1.65; margin-bottom: 24px;
}
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); padding: 48px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-logo-text { font-size: 15px; font-weight: 600; color: #fff; }
.footer-desc { font-size: 12px; color: #666; line-height: 1.65; }
.footer-col-title {
  font-size: 11px; font-weight: 700; color: #aaa;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px;
}
.footer-link {
  font-size: 12px; color: #666;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; transition: color .15s;
}
.footer-link:hover { color: #aaa; }
.footer-divider { border: none; border-top: 1px solid #222; margin: 0 0 20px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 11px; color: #444; }
.footer-market { display: flex; gap: 6px; }
.footer-market-badge {
  background: #1a1a1a; border: 1px solid #333;
  color: #666; font-size: 11px;
  padding: 4px 11px; border-radius: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__left { padding: 40px 24px 36px; }
  .hero__right { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 12px;
  }
  .stat-item:nth-child(4) { border-right: none; }
  .sbujk-row { grid-template-columns: 1fr; gap: 20px; }
  .bundle-section .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-img { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .feat-divider { display: none; }
  .section { padding: 40px 0; }
  .area-inner { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}
