:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #14202e;
  --muted: #5a6778;
  --line: #e2e7ee;
  --navy: #0f2a47;
  --accent: #c8102e;
  --accent-dark: #a30d25;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.2em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; font-size: 1.25rem; letter-spacing: .12em; text-decoration: none; color: var(--navy); }
.logo::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; background: var(--accent); border-radius: 50%; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button {
  border: 0; background: none; padding: 6px 10px; cursor: pointer;
  font: inherit; font-size: .85rem; color: var(--muted);
}
.lang button.is-active { background: var(--navy); color: #fff; }

/* Hero */
.hero {
  padding: 96px 0 104px;
  background: linear-gradient(135deg, var(--navy) 0%, #1c4372 100%);
  color: #fff;
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; opacity: .8; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 820px; }
.lead { font-size: 1.15rem; max-width: 640px; opacity: .9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card__num { color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { display: flex; gap: 16px; }
.steps__n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.steps p { color: var(--muted); margin: 0; }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.why li { border-top: 3px solid var(--accent); padding-top: 20px; }
.why p { color: var(--muted); margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info p { opacity: .85; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact__list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact__list span { font-size: .85rem; opacity: .7; }
.contact__list a, .contact__list b { font-size: 1.1rem; font-weight: 600; text-decoration: none; }

.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); border-color: transparent; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.form__status.is-ok { background: #e7f6ec; color: #17603a; }
.form__status.is-error { background: #fdecee; color: #a30d25; }
.btn:disabled { opacity: .6; cursor: wait; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }

.footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .contact { grid-template-columns: 1fr; }
}
