:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1a2638;
  --muted: #64748b;
  --primary: #3f6fa5;
  --primary-dark: #2f5784;
  --accent: #8a8a8a;
  --line: #d6dee8;
  --radius: 16px;
  --shadow: 0 14px 38px rgba(20, 36, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-family: "Outfit", sans-serif;
}

p {
  margin: 0 0 1rem;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: flex;
  align-items: center;
  height: 68px;
}

.brand img {
  width: 162px;
  max-width: 30.6vw;
  display: block;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 1.2rem;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0 4vw 1rem;
}

.mobile-nav a {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.eyebrow,
.section-eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  max-width: 18ch;
}

.hero-copy p {
  color: var(--muted);
  max-width: 56ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.64rem 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
}

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

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

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-card ul {
  margin: 1rem 0 1.3rem;
  padding-left: 1.1rem;
  list-style-position: outside;
  text-align: left;
  align-self: stretch;
  margin-left: -0.3rem;
  color: var(--muted);
}

.hero-card li {
  margin: 0.4rem 0;
}

.section {
  padding: 4.2rem 0;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  max-width: 18ch;
}

.service-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}

.service-card h3 {
  margin-top: 0;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.section-muted {
  background: #f1f5fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

.feature-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 0.65rem;
}

.testimonial-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

blockquote {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  color: var(--muted);
}

cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.section-accent {
  background: linear-gradient(180deg, #f7f9fc 0%, #edf3fb 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

input,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
  text-align: center;
}

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

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

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

  .hero {
    padding-top: 4.2rem;
  }
}
