:root {
  --navy: #0F172A;
  --slate: #475569;
  --emerald: #10B981;
  --offwhite: #F8FAFC;
  --dark: #1E293B;
  --white: #FFFFFF;
  --muted: #64748B;
  --border: #E2E8F0;
  --soft: #ECFDF5;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--offwhite);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.logo-mark span:last-child {
  color: var(--emerald);
  margin-left: 1px;
}

.logo-text strong,
.footer-brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.logo-text small,
.footer-brand small {
  color: var(--slate);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  color: var(--slate);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.nav-cta:hover {
  background: #111c34;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 14px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  display: block;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--navy);
  left: 0;
}

.mobile-toggle span::before {
  top: -7px;
}

.mobile-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  padding: 96px 0 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid rgba(16, 185, 129, 0.24);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

h1,
.h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.065em;
  color: var(--navy);
  margin-bottom: 24px;
}

h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--slate);
  max-width: 720px;
}

.hero-actions,
.section-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--emerald);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.27);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.34);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.hero-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
}

.workflow-panel {
  background: linear-gradient(135deg, var(--navy), #1f2c48);
  border-radius: 24px;
  padding: 24px;
  min-height: 420px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.workflow-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.22);
}

.panel-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  margin-bottom: 34px;
}

.panel-badge {
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.panel-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.panel-item {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
}

.panel-item small {
  display: block;
  color: #CBD5E1;
  font-weight: 700;
  margin-bottom: 6px;
}

.panel-item strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-item strong span {
  color: var(--emerald);
}

.kpi-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.kpi {
  background: var(--white);
  color: var(--navy);
  padding: 16px;
  border-radius: 16px;
}

.kpi strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.kpi small {
  display: block;
  color: var(--slate);
  font-weight: 700;
  line-height: 1.25;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--white);
}

.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.subtext {
  color: var(--slate);
  font-size: 18px;
}

.problem-grid,
.card-grid,
.industry-grid,
.process-grid,
.values-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.industry-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: process;
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.problem-card,
.industry-card,
.process-card,
.case-card,
.contact-card,
.about-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.alt .card,
.alt .problem-card,
.alt .industry-card,
.alt .process-card,
.alt .case-card {
  background: var(--offwhite);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 20px;
  margin-bottom: 18px;
}

.problem-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.problem-card .check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-weight: 1000;
}

.card p,
.problem-card p,
.industry-card p,
.process-card p,
.case-card p,
.contact-card p,
.about-panel p {
  color: var(--slate);
}

.process-card {
  position: relative;
}

.process-card::before {
  counter-increment: process;
  content: counter(process);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -170px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: #CBD5E1;
  max-width: 720px;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  max-width: 960px;
}

.breadcrumb {
  color: var(--emerald);
  font-weight: 900;
  margin-bottom: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 110px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.sticky-note h3 {
  color: var(--white);
}

.sticky-note p,
.sticky-note li {
  color: #CBD5E1;
}

.clean-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.clean-list li {
  padding-left: 28px;
  position: relative;
  color: var(--slate);
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 1000;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.service-detail h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--soft);
  color: var(--navy);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 800;
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-highlight {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 34px;
  min-height: 100%;
}

.about-highlight h2,
.about-highlight h3 {
  color: var(--white);
}

.about-highlight p,
.about-highlight li {
  color: #CBD5E1;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.skill-tags span {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #A7F3D0;
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
  font-size: 13px;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case-card.featured {
  background: var(--navy);
  color: var(--white);
  grid-column: span 2;
}

.case-card.featured h2,
.case-card.featured h3 {
  color: var(--white);
}

.case-card.featured p,
.case-card.featured li {
  color: #CBD5E1;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.case-column {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--offwhite);
  color: var(--dark);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  background: var(--white);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand small,
.footer-col p,
.footer-col a {
  color: #CBD5E1;
}

.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.success-alert,
.error-alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 800;
}

.success-alert {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.error-alert {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: 84px 20px auto 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

  .hero-grid,
  .two-col,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .card-grid,
  .industry-grid,
  .process-grid,
  .values-grid,
  .about-grid,
  .case-layout,
  .case-columns,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card.featured {
    grid-column: span 2;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .sticky-note {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .navbar {
    min-height: 76px;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 12px;
  }

  .hero {
    padding: 62px 0 52px;
  }

  .section {
    padding: 58px 0;
  }

  .problem-grid,
  .card-grid,
  .industry-grid,
  .process-grid,
  .values-grid,
  .about-grid,
  .case-layout,
  .case-columns,
  .footer-grid,
  .form-grid,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-column: span 1;
  }

  .workflow-panel {
    min-height: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}
