@import url('https://fonts.googleapis.com/css2?family=Söhne:wght@300;400;500;600&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

:root {
  --white: #ffffff;
  --bg: #fafaf8;
  --bg2: #f5f5f2;
  --black: #0d0d0d;
  --text: #1a1a1a;
  --text-2: #4a4a4a;
  --text-3: #888884;
  --border: rgba(0,0,0,0.08);
  --border-2: rgba(0,0,0,0.14);
  --nav-h: 68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--black); color: var(--white); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(255,255,255,0.96); }

.nav-logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.nav-center {
  display: flex; align-items: center; gap: 8px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-center a {
  font-size: 14px; font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: -0.1px;
}
.nav-center a:hover { color: var(--black); background: var(--bg2); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn-nav-secondary {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
  transition: all 0.2s;
}
.btn-nav-secondary:hover { color: var(--black); border-color: rgba(0,0,0,0.25); }

.btn-nav-primary {
  font-size: 14px; font-weight: 500;
  color: var(--white);
  text-decoration: none;
  padding: 8px 18px;
  background: var(--black);
  border-radius: 6px;
  transition: opacity 0.2s;
}
.btn-nav-primary:hover { opacity: 0.82; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--black); transition: all 0.3s; display: block; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 60px) 48px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: var(--bg);
}
.hero-label-dot { width: 6px; height: 6px; background: var(--black); border-radius: 50%; }

.hero h1 {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 600;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--black);
  max-width: 860px;
  margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: var(--text-3); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--white);
  background: var(--black);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.84; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  background: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--bg); transform: translateY(-1px); }

.hero-banner {
  width: 100%; max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}
.hero-banner img { width: 100%; display: block; }

/* ── SECTION COMMON ── */
.section { padding: 100px 48px; }
.section-sm { padding: 72px 48px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }

.eyebrow {
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--text-3); }

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  font-weight: 400;
}

/* ── TRUST STRIP ── */
.trust-strip {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; gap: 0; overflow: hidden;
}
.trust-label {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-3);
  white-space: nowrap;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border-2);
  flex-shrink: 0;
}
.trust-items { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-item {
  font-size: 13px; font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
  opacity: 0.7;
}

/* ── SERVICES ── */
.services-section { background: var(--white); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 64px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background 0.25s;
  position: relative;
}
.service-card:hover { background: var(--bg); }
.service-num {
  font-size: 11px; font-weight: 500;
  color: var(--text-3); letter-spacing: 1px;
  margin-bottom: 20px;
}
.service-icon {
  width: 40px; height: 40px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
}
.service-title {
  font-size: 16px; font-weight: 600;
  color: var(--black);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.service-desc {
  font-size: 14px; line-height: 1.65;
  color: var(--text-2); margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 500;
  color: var(--text-3);
  background: var(--bg2);
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.3px;
}

/* ── STATS ── */
.stats-section {
  background: var(--black);
  padding: 80px 48px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-left: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px; margin: 0 auto;
}
.stat-cell {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
  font-size: 52px; font-weight: 600;
  color: var(--white); line-height: 1;
  letter-spacing: -2px; margin-bottom: 10px;
}
.stat-label {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.4);
  line-height: 1.5; letter-spacing: 0.2px;
}

/* ── APPROACH ── */
.approach-section { background: var(--bg); }
.approach-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.approach-principles { display: flex; flex-direction: column; gap: 0; }
.principle {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 24px 1fr;
  gap: 16px; align-items: start;
  transition: padding-left 0.25s;
}
.principle:first-child { border-top: 1px solid var(--border); }
.principle:hover { padding-left: 8px; }
.principle-num {
  font-size: 11px; font-weight: 500;
  color: var(--text-3); padding-top: 4px;
}
.principle-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.principle-desc { font-size: 13px; line-height: 1.65; color: var(--text-2); }

/* ── PROCESS ── */
.process-section { background: var(--white); }
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  margin-top: 56px;
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg); }
.step-num {
  font-size: 11px; font-weight: 500;
  color: var(--text-3); letter-spacing: 1px; margin-bottom: 20px;
}
.step-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 10px; }
.step-desc { font-size: 13px; line-height: 1.65; color: var(--text-2); }

/* ── INDUSTRIES ── */
.industries-section { background: var(--bg); }
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 56px;
}
.industry-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.industry-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.industry-icon { font-size: 24px; margin-bottom: 12px; }
.industry-title { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.industry-sub { font-size: 12px; color: var(--text-3); }

/* ── CHAT WIDGET ── */
.chat-section {
  background: var(--white);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.chat-container {
  max-width: 680px; margin: 0 auto;
}
.chat-box {
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  margin-top: 40px;
}
.chat-header {
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.chat-header-dot {
  width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.2);
}
.chat-header-title { font-size: 14px; font-weight: 600; color: var(--black); }
.chat-header-sub { font-size: 12px; color: var(--text-3); margin-left: auto; }
.chat-messages {
  padding: 24px;
  min-height: 200px;
  display: flex; flex-direction: column; gap: 16px;
}
.chat-msg {
  display: flex; gap: 10px; align-items: flex-start;
}
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  flex-shrink: 0;
}
.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 14px; line-height: 1.55;
  color: var(--text);
  border: 1px solid var(--border);
}
.chat-msg.user .chat-bubble {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.chat-typing {
  display: none; gap: 10px; align-items: flex-start;
  padding: 0 24px 16px;
}
.chat-typing.visible { display: flex; }
.typing-dots { display: flex; gap: 4px; padding: 12px 16px; background: var(--bg); border-radius: 12px; border: 1px solid var(--border); }
.typing-dot {
  width: 6px; height: 6px; background: var(--text-3); border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-input-row {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center;
  background: var(--white);
}
#chatInput {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none; max-height: 120px;
}
#chatInput:focus { border-color: var(--border-2); background: var(--white); }
#chatInput::placeholder { color: var(--text-3); }
#chatSend {
  width: 38px; height: 38px;
  background: var(--black); border: none; border-radius: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity 0.2s;
}
#chatSend:hover { opacity: 0.8; }
#chatSend svg { width: 16px; height: 16px; }

/* ── CTA ── */
.cta-section {
  background: var(--black);
  padding: 120px 48px;
  text-align: center;
}
.cta-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600; letter-spacing: -2px; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.cta-title em { font-style: normal; color: rgba(255,255,255,0.4); }
.cta-sub {
  font-size: 17px; color: rgba(255,255,255,0.5);
  max-width: 480px; margin: 0 auto 40px; line-height: 1.65;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--black); background: var(--white);
  padding: 13px 26px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-white:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 48px 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.footer-logo img { height: 28px; width: auto;  margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.35); max-width: 280px; }
.footer-col-title { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.25); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-tagline { font-size: 11px; font-weight: 500; letter-spacing: 2px; color: rgba(255,255,255,0.15); text-transform: uppercase; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .nav-right .btn-nav-secondary { display: none; }
  .hamburger { display: flex; }

  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .hero-banner { border-radius: 10px; }

  .trust-strip { padding: 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-label { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border-2); padding-bottom: 10px; }

  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
  .services-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-section { padding: 60px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .chat-section { padding: 64px 20px; }
  .cta-section { padding: 80px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
