/* 1. Переменные: основные цвета сайта. */
:root {
  --bg: #101719;
  --panel: #182225;
  --text: #f3f5f0;
  --muted: #b7c6c3;
  --accent: #c5fa70;
  --line: #344346;
}
/* 2. Базовые настройки для всей страницы. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1120px, 90%); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--accent); color: var(--bg); padding: .5rem; z-index: 1; }
.skip:focus { top: 1rem; }
/* 3. Шапка: Flexbox располагает элементы в строку. */
.header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.brand span { color: var(--accent); }
.brand small { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--accent); }
/* 4. Первый экран: Grid делит его на две колонки. */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 55px; align-items: center; padding-block: 75px 65px; }
.eyebrow { font-size: 11px; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; margin: 0 0 20px; }
.dot { display: inline-block; background: var(--accent); width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.055em; }
h1 em { color: var(--accent); font-style: normal; }
.intro { font-size: 17px; color: var(--muted); max-width: 440px; margin: 24px 0 30px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 15px 20px; background: var(--accent); color: #14200d; font-weight: 700; border-radius: 6px; transition: transform .15s; }
.button:hover { transform: translateY(-2px); }
.note { color: var(--muted); font-size: 13px; margin-top: 16px; }
/* 5. Декоративная графика, созданная средствами CSS. */
.visual { min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(circle at center, #425840, transparent 62%), repeating-linear-gradient(90deg, transparent 0 31px, #ffffff09 31px 32px), repeating-linear-gradient(0deg, #1b2527 0 31px, #253234 31px 32px); }
.visual-top, .visual-bottom { width: 100%; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.visual-top span:last-child { color: var(--accent); }
.chip { width: min(70%, 245px); aspect-ratio: 1; border: 1px solid #819b75; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(145deg,#394b42,#10191b 75%); box-shadow: 0 0 0 12px #111c1b77, 0 0 0 13px #748e6d, 0 25px 60px #0008; font-size: clamp(55px, 8vw, 105px); font-weight: 900; letter-spacing: -.09em; }
.chip-accent { color: var(--accent); }
/* 6. Сетка услуг и контактный блок. */
.services { padding-block: 42px 64px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 24px; border-radius: 10px; }
.number { color: var(--accent); font-family: monospace; font-size: 14px; }
.card h3 { margin-top: 28px; font-size: 22px; }
.card p, .contact-box p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.contact { padding-bottom: 55px; }
.contact-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; }
.demo-badge { border: 1px solid var(--line); padding: 10px 14px; color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
/* 7. Адаптация: на узком экране колонки становятся строками. */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 42px; }
  .visual { min-height: 320px; }
  .cards { grid-template-columns: 1fr; }
  .contact-box { flex-direction: column; align-items: flex-start; padding: 24px; }
  .brand small, .desktop { display: none; }
  nav { gap: 14px; }
  .header { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* 8. Дополнительные элементы демонстрационной версии. */
.sample { display: inline-block; border: 1px solid var(--line); border-radius: 4px; padding: 5px 9px; font-size: 10px; color: var(--muted); letter-spacing: .3px; }
.demo-contact { max-width: 320px; }
.demo-contact summary { cursor: pointer; list-style: none; }
.demo-contact summary::-webkit-details-marker { display: none; }
.demo-contact summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.demo-contact p { font-size: 14px; }
@media(max-width:360px) { .brand { font-size: 19px; } nav { gap: 10px; font-size: 13px; } .visual-top,.visual-bottom { font-size: 8px; } }
