:root {
  --bg: #ffffff;
  --bg-soft: #faf7f4;
  --bg-dark: #16110d;
  --fg: #1a1410;
  --fg-muted: #6b6259;
  --accent: #d42829;
  --accent-hover: #b81f20;
  --accent-soft: #fbe4e3;
  --flame: #fe9f3c;
  --flame-soft: #ffefda;
  --border: #ece6df;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 8px 30px rgba(20, 16, 12, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--fg-muted); max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 6px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { height: 38px; width: auto; display: block; }
footer .brand img { height: 31px; filter: brightness(0) invert(1); opacity: .92; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--fg-muted); font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--flame-soft) 0%, var(--accent-soft) 45%, transparent 72%); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; max-width: 820px; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero p { font-size: 20px; color: var(--fg-muted); max-width: 600px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Grid cards */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .15s ease;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #ddd4ca; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 22px; margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--fg-muted); font-size: 15px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card-tags span {
  background: var(--accent-soft); color: var(--accent);
  padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600;
}
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto; padding-top: 18px;
  color: var(--accent); font-weight: 600; font-size: 14px;
  align-self: flex-start;
}
.card-link:hover { color: var(--accent-hover); }

/* Product block */
.product { background: var(--bg-dark); color: #fff; border-radius: 24px; padding: 56px; }
.product .eyebrow { color: var(--accent); }
.product h2 { color: #fff; }
.product p { color: #c9c0b6; font-size: 18px; max-width: 620px; margin-bottom: 28px; }
.product .feats { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 30px; }
.product .feats span { color: #e8e0d6; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.product .feats span::before { content: "→"; color: var(--accent); }
@media (max-width: 640px) { .product { padding: 36px 24px; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--fg-muted); }

/* About */
.about-stats { display: flex; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.about-stats .stat .n { font-size: 38px; font-weight: 800; color: var(--accent); }
.about-stats .stat .l { color: var(--fg-muted); font-size: 15px; }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; } }
.info-row { margin-bottom: 18px; }
.info-row .k { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); margin-bottom: 2px; }
.info-row .v { font-size: 17px; font-weight: 600; }
.req { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 24px; }
.req table { width: 100%; border-collapse: collapse; font-size: 14px; }
.req td { padding: 7px 0; vertical-align: top; }
.req td:first-child { color: var(--fg-muted); width: 44%; }
.req td:last-child { font-weight: 600; }

/* Form */
.form { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 96px; }
.form .hint { font-size: 13px; color: var(--fg-muted); margin-top: 14px; }
.form-ok { display: none; color: #1a7f37; font-weight: 600; margin-top: 12px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { background: var(--bg-dark); color: #c9c0b6; padding: 48px 0 32px; }
footer .f-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
footer .brand { color: #fff; }
footer a { color: #c9c0b6; }
footer a:hover { color: #fff; }
footer .f-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
footer .f-bottom { border-top: 1px solid #2a221b; padding-top: 20px; font-size: 13px; color: #8a8077; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
