:root{
  --white: #ffffff;
  --soft: #f6f7fb;

  --navText: #1f2937;
  --muted: #6b7280;

  --blue: #0f2a44;
  --blue2: #0b2238;

  --accent: #e11d2e;
  --accentDark: #b9131f;

  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 10px 25px rgba(15, 23, 42, .10);

  --radius: 18px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--navText);
}

/* Utilities */
.container{ max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.center{ text-align:center; }
.mt-18{ margin-top: 18px; }

/* NAVBAR */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 24px;
}

.brand-link{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}

.brand-logo{
  height: 44px;
  width: auto;
  display:block;
}

.brand-text{ line-height: 1.15; }
.brand-name{ font-weight: 900; letter-spacing: .2px; }
.brand-tagline{ font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.nav{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a{
  text-decoration:none;
  color: var(--navText);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  opacity: .85;
}

.nav a:hover{
  opacity: 1;
  background: rgba(15, 23, 42, 0.06);
}

.nav a.active{
  opacity: 1;
  color: var(--accent);
}

/* tombol navbar */
.btn-nav{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 800 !important;
  border: 1px solid transparent;
}

/* BUTTONS */
.btn-primary,
.btn-outline,
.btn-wa{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .15s ease;
  white-space: nowrap;
}

.btn-primary{
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover{
  background: var(--accentDark);
  transform: translateY(-1px);
}

.btn-outline{
  background: #fff;
  border-color: var(--border);
  color: var(--navText);
}
.btn-outline:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-wa{
  background: #16a34a;
  color: #fff;
}
.btn-wa:hover{
  filter: brightness(0.98);
  transform: translateY(-1px);
}

/* HERO */
.hero{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  padding: 64px 0;
}

.hero-inner{
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}

.hero-title{
  color: #fff;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: .4px;
}

.hero-desc{
  color: rgba(255,255,255,.82);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 620px;
}

.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap:wrap;
}

.hero-right{ position: relative; min-height: 340px; }

.hero-image{
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.hero-image img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display:block;
}

/* stat cards */
.stat{
  position:absolute;
  bottom: -18px;
  left: 18px;
  width: 210px;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.stat-white{
  background: #fff;
  color: var(--navText);
}

.stat-red{
  background: var(--accent);
  color: #fff;
  left: auto;
  right: 18px;
  bottom: -34px;
  width: 240px;
}

.stat-num{
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.stat-label{
  margin-top: 6px;
  font-weight: 700;
  opacity: .9;
}

/* TITLES */
.section-title{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .4px;
  margin-bottom: 12px;
}

.section-subtitle{
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

/* WHY */
.why{
  background: var(--white);
  padding: 64px 0;
}

.why-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.why-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  transition: .15s ease;
}

.why-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.why-ico{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(225,29,46,.10);
  color: var(--accent);
  margin-bottom: 12px;
}

.why-card i{ font-size: 22px; }

.why-card h3{
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.why-card p{
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* TESTIMONIAL */
.testi{
  background: var(--soft);
  padding: 64px 0;
}

.testi-head{
  text-align:center;
  margin-bottom: 22px;
}

.testi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.testi-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  transition: .15s ease;
}

.testi-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testi-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap:wrap;
}

.testi-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 12px;
  color: #111827;
}

.testi-stars{
  color: #f59e0b;
  font-size: 14px;
  white-space:nowrap;
}

.testi-text{
  color: #111827;
  opacity: .92;
  line-height: 1.6;
  font-size: 14px;
  margin: 0 0 12px;
}

.testi-name{
  font-weight: 900;
  margin: 0;
}

.testi-meta{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* CONTACT */
.contact{
  background: #fff;
  padding: 64px 0;
}

.contact-grid{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  transition: .15s ease;
}

.contact-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-muted{
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.contact-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* FOOTER SIMPLE (fix: tidak kepotong & center) */
.footer-simple{
  background: #0b1220;
  color: rgba(255,255,255,.88);
  text-align: center;
  padding: 18px 12px;
  font-size: 14px;
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* RESPONSIVE */
@media (max-width: 1000px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-right{ min-height: 360px; }
  .hero-title{ font-size: 38px; }
}

@media (max-width: 900px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .testi-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .navbar{ padding: 12px 14px; }
  .brand-logo{ height: 40px; }
  .hero{ padding: 52px 0; }
  .hero-title{ font-size: 32px; }
  .why-grid{ grid-template-columns: 1fr; }
  .testi-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .stat{ position: static; width: 100%; margin-top: 12px; }
  .stat-red{ width: 100%; }
  .hero-right{ min-height: auto; }
}
