:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --border: #e4e4e7;
  --accent: #111827;
  --accent-soft: #f4f4f5;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.07);
  --radius-lg: 14px;
  --radius-sm: 8px;
  --max-width: 1040px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  stroke: #f9fafb;
  stroke-width: 1.6;
}

.brand-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #1a1a1a;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* HERO ---------------------------------------------------*/
.hero {
  padding-top: 56px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #16a34a;
}

.hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-meta {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 18px;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--muted);
}

.hero-tag span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* SERVICES ----------------------------------------------*/
.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px 16px 18px;
  background: #fff;
}

.service-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #2d2d2d;
  background: #2d2d2d;
  font-size: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.2s ease;
  cursor: default;
}

.chip:hover {
  background: #3d3d3d;
  border-color: #3d3d3d;
  color: #ffffff;
  transform: translateY(-1px);
}

/* APPROACH ----------------------------------------------*/
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 26px;
}

.steps {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.steps li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.steps li::before {
  content: "•";
  position: absolute;
  left: 3px;
  top: 0;
  color: #111827;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 12px;
  color: #4b5563;
}

.stack-pill {
  border-radius: 999px;
  background: #f3f4f6;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #e5e7eb;
  color: #374151;
  transition: all 0.2s ease;
  cursor: default;
}

.stack-pill:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-1px);
}

/* CONTACT -----------------------------------------------*/
.contact-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px 24px 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin: 0 auto;
}

.contact-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #d4d4d8;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-submit {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #2d2d2d;
  color: #ffffff;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  align-self: center;
  margin-top: 4px;
}

.form-submit:hover {
  background: #3d3d3d;
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.contact-alternative {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.contact-alternative a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-alternative a:hover {
  color: #3d3d3d;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 8px;
}

.form-message-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.footer {
  border-top: 1px solid #e5e7eb;
  padding: 18px 20px 24px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand-mark svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 1.6;
}

.footer-brand-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111827;
}

/* RESPONSIVE --------------------------------------------*/
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .approach-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding-inline: 16px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 24px;
  }
  .hero-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 10px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .hero-card {
    padding: 18px 18px 16px;
  }
  .section {
    padding: 32px 16px;
  }
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .service-card {
    padding: 14px 14px 16px;
  }
  .approach-grid {
    gap: 20px;
  }
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stack-pill {
    padding: 5px 8px;
    font-size: 11px;
  }
      .contact-box {
        padding: 20px 20px 18px;
      }
      .form-submit {
        width: 100%;
      }
  .footer {
    padding: 16px 16px 20px;
    font-size: 11px;
  }
}

