:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --line: #e6eaf0;
  --text: #111827;
  --muted: #5f6b7a;
  --primary: #142b4d;
  --accent: #b58a43;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 900px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.nav a {
  color: var(--muted);
  font-weight: 700;
}
.nav a:hover { color: var(--primary); }

.hero {
  padding: 64px 0 36px;
  background:
    radial-gradient(circle at top left, rgba(181, 138, 67, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(20, 43, 77, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 43, 77, 0.06);
  color: var(--primary);
  border: 1px solid rgba(20, 43, 77, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  color: var(--primary);
}
.hero-copy h2 {
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  line-height: 1.2;
  margin: 18px 0 16px;
}
.hero-copy p {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 680px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #244b7d);
  color: #fff;
  box-shadow: 0 14px 30px rgba(20, 43, 77, 0.16);
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.panel-label {
  display: block;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.panel-card strong {
  font-size: 1.05rem;
}

.section { padding: 86px 0; }
.alt { background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%); }
.section-head { margin-bottom: 30px; }
.section-head.center { text-align: center; }
.section-head h3,
.info-block h3,
.cta-box h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--primary);
}
.content-box,
.info-block,
.cta-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.content-box p,
.info-block p,
.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
}
.service-card h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--primary);
}
.service-card p { margin: 0; color: var(--muted); }
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cta-section { padding-top: 10px; }
.cta-box { text-align: center; }
.cta-box p { margin: 12px auto 24px; max-width: 780px; }

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
}
.footer p {
  margin: 0;
  color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-grid,
  .services-grid,
  .two-col,
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; justify-content: center; padding: 14px 0; }
  .nav { justify-content: center; }
}

@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  .section { padding: 64px 0; }
  .container { width: min(var(--container), calc(100% - 24px)); }
  .btn { width: 100%; }
  .hero-buttons { flex-direction: column; }
}
