:root {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-soft: #eaf2fb;
  --text: #102033;
  --muted: #607083;
  --primary: #0b66c3;
  --primary-dark: #064785;
  --accent: #28b6a9;
  --border: #dce7f2;
  --shadow: 0 24px 60px rgba(14, 43, 78, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.narrow {
  width: min(840px, calc(100% - 40px));
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 249, 252, 0.88);
  border-bottom: 1px solid rgba(220, 231, 242, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(11, 102, 195, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: #e9f3ff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(14, 43, 78, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  padding-top: 104px;
  background:
    radial-gradient(circle at 80% 10%, rgba(40, 182, 169, 0.22), transparent 26rem),
    radial-gradient(circle at 15% 15%, rgba(11, 102, 195, 0.16), transparent 30rem);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

.hero-copy,
.page-hero p,
.section-heading p {
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.centered-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(11, 102, 195, 0.25);
}

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

.button.secondary {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--border);
}

.button.light {
  background: #fff;
  color: var(--primary-dark);
}

.hero-card,
.card,
.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
}

.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
  color: var(--primary-dark);
  background: #e4f6f4;
  font-weight: 800;
  font-size: 0.86rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.cards {
  display: grid;
  gap: 24px;
}

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

.card {
  padding: 28px;
}

.card-icon {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.soft {
  background: var(--surface-soft);
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-list a {
  padding: 16px 18px;
  border: 1px solid rgba(11, 102, 195, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  color: var(--primary-dark);
}

.cta-section {
  padding: 0 0 88px;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 42px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  box-shadow: var(--shadow);
}

.cta p,
.cta .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.cta h2 {
  color: #fff;
}

.page-hero {
  padding-top: 104px;
  background: linear-gradient(180deg, #eef6ff, var(--bg));
  text-align: center;
}

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

.service {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(14, 43, 78, 0.08);
}

.service > span {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
}

.service ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 22px;
  padding-left: 20px;
  color: var(--muted);
}

.rich-text p:first-child {
  margin-top: 0;
}

.contact-grid {
  align-items: stretch;
}

.contact-card,
.contact-form {
  padding: 32px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-details a {
  color: var(--primary);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #b42318;
  font-weight: 700;
}

.field-hint {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.field-hint a {
  color: var(--primary);
  font-weight: 800;
}

.form-embed-card {
  align-content: start;
}

.form-embed {
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fbff;
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: 580px;
  border: 0;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fbfdff;
  font: inherit;
}

input.field-error,
select.field-error,
textarea.field-error {
  border-color: #b42318;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1fr;
  gap: 10px;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 48px 0 24px;
  background: #0b1726;
  color: #fff;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.footer-brand {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

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

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin-top: 42px;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero,
  .page-hero {
    padding-top: 72px;
  }

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

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

  .cta {
    display: grid;
    padding: 30px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }
}
