:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #f9f9fb;
  --text: #14213d;
  --muted: #5f6d8e;
  --primary: #1f3f75;
  --primary-dark: #16305f;
  --accent: #d4a373;
  --border: #e7eaf3;
  --shadow: 0 20px 45px rgba(20, 33, 61, 0.08);
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--primary);
  background: #eef3fb;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at top right, rgba(212, 163, 115, 0.18), transparent 15%),
    linear-gradient(90deg, #f7f9ff 0%, #eef5ff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto auto -80px -60px;
  width: 240px;
  height: 240px;
  background: rgba(31, 63, 117, 0.06);
  border-radius: 999px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero h1,
.section-heading h2,
.about-section h2,
.contact-section h2 {
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3rem, 4.3vw, 4.5rem);
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 580px;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-highlights li::before {
  content: '•';
  color: var(--primary);
  margin-right: 0.4rem;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-card-badge {
  display: inline-flex;
  background: #eef5ff;
  color: var(--primary);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
}

.hero-card-stats {
  display: grid;
  gap: 1rem;
}

.hero-card-stats div {
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 1rem;
}

.hero-card-stats strong {
  font-size: 2rem;
  color: var(--primary);
}

.logos {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.8rem;
}

.services-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.service-card,
.result-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.service-card h3,
.result-card h3 {
  margin-bottom: 0.65rem;
}

.about-section {
  background: linear-gradient(90deg, #f7f9ff 0%, #fff 100%);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-section p,
.contact-section p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.about-panel div {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.about-panel strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.contact-section {
  background: #fff;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.contact-form {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.footer {
  padding: 1rem 0 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-btn {
    width: min(90%, 240px);
  }
}

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

  .hero {
    padding: 72px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .services-grid,
  .results-grid,
  .logos-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card,
  .service-card,
  .result-card,
  .contact-form,
  .about-panel div {
    padding: 1.2rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
