:root {
  --navy: #0d2342;
  --navy-deep: #08172c;
  --blue: #1936e8;
  --blue-soft: #eaf0ff;
  --line: rgba(10, 26, 63, 0.12);
  --text: #1a2740;
  --muted: #5f6d84;
  --white: #ffffff;
  --surface: #f6f8fc;
  --shadow: 0 24px 80px rgba(5, 18, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(10, 26, 63, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(25, 54, 232, 0.12));
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand span {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background:
    radial-gradient(circle at top right, rgba(25, 54, 232, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fd 50%, #eef3fb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 23, 44, 0.02), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-label,
.mini-label,
.footer-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1,
.section h2,
.contact-panel h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  max-width: 12ch;
}

.lead,
.section p,
.contact-panel p,
.stack-list p,
.info-card p,
.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy .lead {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(25, 54, 232, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  border-color: rgba(10, 26, 63, 0.1);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 26, 63, 0.08);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-card,
.info-card,
.address-card,
.office-note,
.contact-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 63, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border-radius: 30px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-card-top img {
  width: 104px;
  object-fit: contain;
}

.hero-card-top h2 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--navy);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.hero-stat-grid article {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
}

.hero-stat-grid span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-stat-grid strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--navy);
}

.section {
  padding: 88px 0;
}

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

.two-column,
.office-grid,
.contact-panel,
.split-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

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

.card-grid {
  display: grid;
  gap: 22px;
}

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

.info-card {
  padding: 28px;
  border-radius: 28px;
}

.info-card h3,
.stack-list h3,
.office-note h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--navy);
}

.section-accent {
  background: linear-gradient(135deg, var(--navy) 0%, #122d57 70%, #173973 100%);
}

.section-accent h2,
.section-accent p,
.section-accent h3,
.section-label-light {
  color: var(--white);
}

.stack-list {
  display: grid;
  gap: 16px;
}

.stack-list article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.address-card,
.office-note {
  padding: 28px;
  border-radius: 28px;
}

.address-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--navy);
}

.contact-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.contact-panel {
  gap: 34px;
}

.contact-form {
  padding: 28px;
  border-radius: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(10, 26, 63, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fbfcff;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 34px 0 20px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.footer-grid p,
.footer-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  padding-top: 16px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .office-grid,
  .contact-panel,
  .split-highlight,
  .three-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }
}

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

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero-card,
  .info-card,
  .address-card,
  .office-note,
  .contact-form {
    border-radius: 24px;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
