/* ============================================
   KKP Ashadi & Rekan — Konsultan Pajak Karawang
   Design: Professional / Tax Consultant
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a; background: #fff; line-height: 1.7;
  -webkit-font-smoothing: antialiased; font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-header {
  text-align: center; max-width: 720px; margin: 0 auto 50px;
}
.section-tag {
  display: inline-block; background: rgba(201, 168, 76, 0.12);
  color: #f9961e; font-size: 0.8em; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2em; font-weight: 700; color: #ec1d23;
  margin-bottom: 14px; line-height: 1.3;
}
.section-header p { color: #555; font-size: 1.15em; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 6px; font-weight: 600;
  font-size: 0.95em; transition: all 0.3s; cursor: pointer;
  border: none; font-family: inherit; min-height: 44px;
}
.btn-primary {
  background: #ec1d23; color: #fff;
}
.btn-primary:hover { background: #c4151a; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: #f9961e; color: #f9961e; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(249, 150, 30, 0.95); backdrop-filter: blur(10px);
  transition: background 0.3s; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1em; color: #fff;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu {
  display: flex; align-items: center; gap: 28px;
}
.nav-menu .nav-link {
  color: rgba(255,255,255,0.8); font-size: 0.9em; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active { color: #fff; }
.nav-menu .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: #fff; transition: width 0.3s;
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after { width: 100%; }
.nav-cta {
  background: #ec1d23; color: #fff !important; padding: 10px 20px;
  border-radius: 6px; font-weight: 600; font-size: 0.88em;
  transition: background 0.3s;
}
.nav-cta:hover { background: #c4151a; }

/* ---------- TOGGLE (Hamburger) ---------- */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: 0.3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-layer {
  position: absolute; inset: -60px; z-index: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat; opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1); filter: blur(6px);
}
.hero-bg-layer.active {
  opacity: 1; z-index: 1; transform: scale(1.12); filter: blur(0);
}
.hero-bg-layer.exit {
  opacity: 1; z-index: 1; transform: scale(1.2); filter: blur(10px);
}
.hero-bg-1 { background-image: url('../images/image_01-1536x864-1.jpg'); }
.hero-bg-2 { background-image: url('../images/image_02-1.jpg'); }
.hero-bg-3 { background-image: url('../images/image_03-1.jpg'); }
.hero-bg-4 { background-image: url('../images/image_04-1.jpg'); }
.hero-bg-5 { background-image: url('../images/image_05-1.jpg'); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px;
  transform-style: preserve-3d; will-change: transform;
}
.hero-content h1 {
  font-size: 3em; font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.15em; color: rgba(255,255,255,0.85);
  line-height: 1.7; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero--short { padding: 120px 0 50px; }
.page-hero--short h1 { font-size: 1.8em; }
.page-hero {
  position: relative; padding: 140px 0 80px;
  background: url('../images/image_01-1536x864-1.jpg') center center / cover no-repeat;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 {
  font-size: 2.4em; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.page-hero-content p {
  font-size: 1.1em; color: rgba(255,255,255,0.8); max-width: 600px;
}

/* ---------- ABOUT ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.about-text p { margin-bottom: 18px; color: #444; font-size: 1.08em; }
.about-text strong { color: #ec1d23; }
.about-stats {
  display: flex; gap: 30px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 2em; font-weight: 800; color: #f9961e; }
.stat-label { font-size: 0.95em; color: #666; }

.vision-mission { margin-top: 50px; }
.vm-card {
  background: #f5f7fa; padding: 36px; border-radius: 12px;
  border-left: 4px solid #f9961e; text-align: center;
}
.vm-card i { font-size: 2em; color: #f9961e; margin-bottom: 12px; }
.vm-card h3 { color: #ec1d23; margin-bottom: 8px; }
.vm-card p { color: #555; max-width: 700px; margin: 0 auto; font-size: 1.05em; }

/* ---------- WHY US ---------- */
.why-us { background: #f5f7fa; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff; padding: 32px 24px; border-radius: 12px;
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.why-icon {
  width: 60px; height: 60px; background: rgba(249,150,30,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.4em; color: #f9961e;
}
.why-card h3 { font-size: 1.1em; color: #ec1d23; margin-bottom: 10px; }
.why-card p { font-size: 1em; color: #555; }

/* ---------- SERVICES ---------- */
.services { background: #fff; }
.service-category { margin-bottom: 50px; }
.service-category h3 {
  font-size: 1.4em; font-weight: 700; color: #ec1d23;
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.service-category h3 i { color: #f9961e; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #f5f7fa; padding: 24px; border-radius: 10px;
  border: 1px solid transparent; transition: 0.3s;
}
.service-card:hover {
  border-color: #f9961e; background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.service-card h4 {
  font-size: 1.08em; font-weight: 600; color: #ec1d23;
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(249,150,30,0.3);
}
.service-card p { font-size: 0.95em; color: #555; line-height: 1.6; }
.service-cta {
  text-align: center; padding: 40px; background: #f5f7fa;
  border-radius: 12px; margin-top: 30px;
}
.service-cta p { font-size: 1.1em; font-weight: 600; color: #ec1d23; margin-bottom: 16px; }

/* ---------- CONSULTANTS ---------- */
.consultants { background: #f5f7fa; }
.consultant-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.consultant-card {
  background: #fff; padding: 32px 20px 24px;
  text-align: center; border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.consultant-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.consultant-avatar {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px; border: 3px solid #f9961e; background: #e8e8e8;
}
.consultant-avatar img { width: 100%; height: 100%; object-fit: cover; }
.consultant-card h4 { font-size: 1.1em; font-weight: 700; color: #ec1d23; }
.consultant-title { font-size: 0.9em; color: #777; margin-top: 6px; }

/* ---------- BLOG LIST ---------- */
.blog-list { background: #fff; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 800px; margin: 0 auto; }
.blog-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 24px;
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #eee; transition: box-shadow 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.blog-thumb { overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.blog-body { padding: 24px 24px 24px 0; }
.blog-date { font-size: 0.85em; color: #888; display: block; margin-bottom: 8px; }
.blog-cat {
  display: inline-block; font-size: 0.78em; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: #f9961e; background: rgba(249,150,30,0.1);
  padding: 3px 12px; border-radius: 12px; margin-bottom: 8px;
}
.blog-body h3 { font-size: 1.15em; font-weight: 700; color: #ec1d23; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 0.92em; color: #555; margin-bottom: 14px; }
.blog-readmore {
  color: #f9961e; font-weight: 600; font-size: 0.88em;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s;
}
.blog-readmore:hover { gap: 10px; }

/* ---------- ARTICLE DETAIL ---------- */
.article-detail { background: #fff; }
.article-content { max-width: 800px; margin: 0 auto; }
.article-meta { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-date { font-size: 0.9em; color: #888; }
.article-content h1 { font-size: 2em; font-weight: 800; color: #ec1d23; line-height: 1.3; margin-bottom: 24px; }
.article-thumb { width: 100%; border-radius: 12px; margin-bottom: 30px; }
.article-body p { margin-bottom: 18px; color: #333; line-height: 1.8; font-size: 1.05em; }
.article-body h2 { font-size: 1.4em; color: #ec1d23; margin: 30px 0 14px; }
.article-body h3 { font-size: 1.2em; color: #ec1d23; margin: 24px 0 12px; }
.article-body ul, .article-body ol { margin: 12px 0 18px 24px; color: #333; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body a { color: #c4151a; text-decoration: underline; }
.article-body strong { color: #ec1d23; }
.article-body blockquote {
  border-left: 4px solid #f9961e; padding: 16px 20px; margin: 20px 0;
  background: #f5f7fa; border-radius: 0 8px 8px 0; font-style: italic; color: #555;
}
.article-nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eee; }

/* ---------- CLIENTS ---------- */
.clients { background: #f5f7fa; }
.client-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px 60px; max-width: 900px; margin: 0 auto;
}
.client-logo {
  opacity: 0.6; transition: opacity 0.3s; filter: grayscale(100%);
}
.client-logo:hover { opacity: 1; filter: grayscale(0%); }
.client-logo img { height: 50px; width: auto; object-fit: contain; }

/* ---------- CONTACT ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item i {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(236,29,35,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1em; color: #ec1d23;
}
.contact-item h4 { font-size: 1em; color: #ec1d23; margin-bottom: 4px; }
.contact-item p { font-size: 1em; color: #555; line-height: 1.6; }

.hours-card {
  background: #f5f7fa; padding: 32px 28px; border-radius: 12px;
  border-top: 4px solid #f9961e;
}
.hours-card i { font-size: 1.4em; color: #f9961e; display: block; text-align: center; margin-bottom: 8px; }
.hours-card h4 { text-align: center; color: #ec1d23; margin-bottom: 20px; }
.hours-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.hours-card li { display: flex; justify-content: space-between; font-size: 1em; color: #444; padding: 6px 0; border-bottom: 1px dashed #ddd; }
.hours-card .closed { color: #c0392b; font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer {
  background: #ec1d23; color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95em; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1em; transition: 0.3s; color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: #f9961e; border-color: #f9961e; color: #ec1d23; }

.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.1em; }
.footer-links ul, .footer-services-list ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-services-list a {
  font-size: 0.95em; color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-links a:hover, .footer-services-list a:hover { color: #f9961e; }
.footer-contact p {
  font-size: 0.95em; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact i { width: 16px; color: #f9961e; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding: 20px 0;
  text-align: center; font-size: 0.9em; color: rgba(255,255,255,0.4);
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.6em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .consultant-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.5em; }

  .hero-content h1 { font-size: 2em; }
  .hero-content p { font-size: 1em; }

  .blog-card { grid-template-columns: 1fr; }
  .blog-thumb img { min-height: 180px; }
  .blog-body { padding: 16px; }
  .article-content h1 { font-size: 1.4em; }

  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(249,150,30,0.98); flex-direction: column; gap: 0;
    padding: 20px 24px; transform: translateY(-100%);
    opacity: 0; pointer-events: none; transition: 0.3s;
    border-bottom: 2px solid rgba(236,29,35,0.3);
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-menu li { width: 100%; }
  .nav-menu .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-menu .nav-link::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; justify-content: center; }

  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 576px) {
  .why-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .consultant-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.6em; }
  .about-stats { flex-direction: column; gap: 16px; }
}
