/* ============================================================
   JPK Consultancy — Stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --night:    #0c0c14;
  --night2:   #13131f;
  --indigo:   #4f46e5;
  --indigo-l: #6366f1;
  --orange:   #f97316;
  --cream:    #f9fafb;
  --white:    #ffffff;
  --text:     #111827;
  --muted:    #6b7280;
  --border:   #e5e7eb;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --r:  12px;
  --r2: 20px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: inherit;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { line-height: 1.7; }

/* --- Layout --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.site-header.dark-mode {
  background: transparent;
}
.site-header.dark-mode.scrolled {
  background: rgba(12,12,20,0.95);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.logo-link img {
  height: 36px;
  width: auto;
}
.logo-text {
  color: var(--white);
  transition: color 0.3s;
}
.site-header.scrolled .logo-text { color: var(--text); }

/* Nav links */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s;
}
.site-header.scrolled .nav-toggle-label { border-color: var(--border); }
.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}
.site-header.scrolled .nav-toggle-label span { background: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.site-header.scrolled .nav-links a { color: var(--muted); }
.site-header.scrolled .nav-links a:hover { background: rgba(79,70,229,0.07); color: var(--indigo); }
.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 0.5rem;
  box-shadow: 0 4px 14px rgba(249,115,22,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-links .nav-cta:hover {
  background: #ea6c0a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}

@media (max-width: 760px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(12,12,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-toggle:checked ~ .nav-links { max-height: 420px; }
  .nav-links a { padding: 0.85rem 0.5rem; color: rgba(255,255,255,0.8) !important; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .nav-links .nav-cta { margin: 1rem 0 0; border-radius: 10px !important; text-align: center; }
  .site-header.scrolled .nav-links a { color: rgba(255,255,255,0.8) !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--night);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(5rem + 72px) 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(79,70,229,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(249,115,22,0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-content h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
}
.hero-lead {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 50ch;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}
.btn-primary:hover { background: #ea6c0a; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(249,115,22,0.35); }
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.btn-indigo {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(79,70,229,0.25);
}
.btn-indigo:hover { background: #4338ca; transform: translateY(-1px); }
.btn-outline-indigo {
  background: transparent;
  color: var(--indigo);
  border-color: rgba(79,70,229,0.3);
}
.btn-outline-indigo:hover { background: rgba(79,70,229,0.06); }
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item svg { color: var(--orange); opacity: 0.7; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-img-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r2) + 2px);
  background: linear-gradient(135deg, rgba(79,70,229,0.5), rgba(249,115,22,0.3), transparent);
  z-index: 0;
}
.hero-img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--r2);
  box-shadow: var(--shadow-lg);
}
.hero-img-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  z-index: 2;
  background: var(--white);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-img-badge-icon {
  width: 38px; height: 38px;
  background: rgba(79,70,229,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
}
.hero-img-badge-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); }
.hero-img-badge-text span { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { justify-content: center; }
  .hero-img-frame img { height: 300px; }
  .hero-content { max-width: 100%; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.6rem;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.6rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 540px; line-height: 1.7; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card.featured { grid-column: span 6; }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(79,70,229,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.service-card > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.1rem; flex: 1; }
.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.service-bullets li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--indigo);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
  opacity: 0.5;
}

@media (max-width: 980px) {
  .service-card, .service-card.featured { grid-column: span 6; }
}
@media (max-width: 600px) {
  .service-card, .service-card.featured { grid-column: span 12; }
}

/* ============================================================
   STATEMENT STRIP
   ============================================================ */
.statement-strip {
  background: var(--night);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.statement-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(79,70,229,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.statement-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.statement-text {}
.statement-text .section-label { color: var(--orange); opacity: 0.85; }
.statement-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.statement-quote em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.45);
}
.statement-body { color: rgba(255,255,255,0.55); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1.75rem; max-width: 46ch; }
.statement-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--r2);
  box-shadow: var(--shadow-lg);
  opacity: 0.85;
}
@media (max-width: 760px) {
  .statement-inner { grid-template-columns: 1fr; gap: 2rem; }
  .statement-visual { display: none; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { background: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0.2;
  pointer-events: none;
}
.process-step {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(79,70,229,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  margin-bottom: 1.1rem;
}
.process-step h3 { margin-bottom: 0.5rem; color: var(--text); }
.process-step p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

@media (max-width: 760px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--night);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(249,115,22,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(79,70,229,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-inner .section-label { color: var(--orange); opacity: 0.85; }
.contact-inner h2 { color: var(--white); margin-bottom: 1rem; }
.contact-inner > p { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-email {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r2);
  background: rgba(255,255,255,0.04);
  margin-bottom: 2rem;
  transition: background 0.2s, border-color 0.2s;
}
.contact-email:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.contact-meta {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--night2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer-brand img { height: 28px; width: auto; opacity: 0.6; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}
