:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #0f172a;
  --muted: #526072;
  --border: #e6eaf0;
  --accent: #ea580c;
  --accent-strong: #c2410c;
  --accent-soft: #fff1e8;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: all .2s ease; line-height: 1;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(234, 88, 12, .35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); background: var(--bg-alt); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(234, 88, 12, .35), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(234, 88, 12, .18), transparent 60%);
}
.hero-inner { position: relative; padding: 84px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(234, 88, 12, .16);
  color: #fdba74; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 18px 0 16px; }
.hero h1 em { color: #fb923c; font-style: normal; }
.hero p.lead { color: #cbd5e1; font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { border-color: #334155; color: #e2e8f0; background: rgba(255,255,255,.05); }
.hero .btn-outline:hover { border-color: #fb923c; color: #fb923c; }
.hero-visual {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 340px;
  background:
    linear-gradient(135deg, rgba(234, 88, 12, .85), rgba(15, 23, 42, .4)),
    repeating-linear-gradient(45deg, #334155 0 26px, #1e293b 26px 52px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  display: grid; place-items: center;
}
.hero-visual .hv-label { font-size: 56px; text-align: center; color: #fff; font-weight: 800; }
.hero-visual .hv-sub { color: #fdba74; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 30px 0; }
.stat { text-align: center; }
.stat .num { font-size: 34px; font-weight: 800; color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s ease; display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #fcd9c3; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 26px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: auto; }

/* Project cards */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.project-thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 44px; color: #fff;
  background: linear-gradient(135deg, #334155, #1e293b);
}
.project-card .pc-body { padding: 18px 20px 20px; }
.project-card .pc-cat { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-card h3 { font-size: 17px; margin-top: 6px; }

/* Post cards */
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); display: grid; place-items: center; font-size: 34px; }
.post-card .pc-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { color: var(--muted); font-size: 13px; }
.post-card h3 { font-size: 18px; }

/* ---------- Value props ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .v-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 22px;
}
.value h4 { font-size: 16px; }
.value p { color: var(--muted); font-size: 14px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--accent), var(--accent-strong)); color: #fff; border-radius: 24px; padding: 48px; text-align: center; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-strip p { color: #ffe4d1; margin-bottom: 24px; }
.cta-strip .btn-dark { background: #fff; color: var(--accent); }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.page-hero .crumbs { color: #94a3b8; font-size: 14px; margin-top: 10px; }
.page-hero .crumbs a { color: #fdba74; }

/* ---------- Service detail ---------- */
.prose { color: var(--muted); font-size: 16px; }
.prose h2, .prose h3 { color: var(--text); margin: 24px 0 10px; }
.prose p { margin: 12px 0; }
.prose ul { margin: 12px 0 12px 20px; }
.prose li { margin: 6px 0; }
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.side-card h4 { font-size: 15px; margin-bottom: 14px; }

/* ---------- Contact ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--border);
  border-radius: 11px; background: var(--bg-alt); transition: border .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.alert { padding: 14px 18px; border-radius: 11px; margin-bottom: 18px; font-weight: 600; font-size: 14px; }
.alert-success { background: #e9f9ef; color: #15803d; border: 1px solid #bfe8cf; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-info-item .ci { font-size: 20px; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.pager a, .pager span { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cbd5e1; padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-contact { display: block; color: #94a3b8; margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: #fdba74; }
.footer-brand { color: #fff; }
.footer-desc { color: #94a3b8; font-size: 14px; margin-top: 14px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; color: #64748b; font-size: 13px; }

/* ---------- WA float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px;
  background: #25d366; color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Empty state ---------- */
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .layout-2col { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 72px; }
  .grid-3, .grid-4, .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 260px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); flex-direction: column;
    align-items: stretch; padding: 12px 20px 20px; gap: 6px;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-cta { margin: 10px 0 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-strip { padding: 36px 22px; }
  .section { padding: 52px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}