/* SKAI - сайт построителя потолков. Цвета и шрифт - брендбук SKAI (D:\cloude\brandbook-skai). */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --indigo: #1E2A78;
  --indigo-hot: #16205E;
  --sky: #4F8CFF;
  --sky-dark: #7FB0FF;
  --star: #8CB8FF;
  --night: #0E1433;
  --night-2: #171D45;
  --bg: #F4F4F2;
  --bg-2: #ECECEA;
  --surface: #FFFFFF;
  --text: #1C1C1A;
  --muted: #5F5F5B;
  --line: #E3E3DF;
  --link: #2962D9;
  --ok: #12965E;
  --logo-ai: #4F8CFF;
  --shadow: 0 10px 30px rgba(14, 20, 51, 0.10);
  --r: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1029;
    --bg-2: #10163A;
    --surface: #171D45;
    --text: #ECEAE3;
    --muted: #A8A69E;
    --line: rgba(255, 255, 255, 0.12);
    --link: #7FB0FF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1029;
  --bg-2: #10163A;
  --surface: #171D45;
  --text: #ECEAE3;
  --muted: #A8A69E;
  --line: rgba(255, 255, 255, 0.12);
  --link: #7FB0FF;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.hl { color: var(--sky-dark); }
.hl2 { color: var(--link); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-big { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn-main { background: var(--indigo); color: #fff; }
.btn-main:hover { background: var(--indigo-hot); color: #fff; }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: #3B7BF0; color: #fff; }
.btn-line { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: #fff; }
:root[data-theme="dark"] .btn-line, .sec-dark .btn-line { color: #fff; border-color: rgba(255,255,255,.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-line { color: #fff; border-color: rgba(255,255,255,.6); } }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: var(--night); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; color: #fff; }
.logo { height: 30px; width: 92px; color: #fff; --logo-ai: var(--sky-dark); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav-login { display: none; }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-login { color: #fff; border-color: rgba(255,255,255,.45); padding: 9px 16px; }
.top-login:hover { background: rgba(255,255,255,.12); color: #fff; }
.top .btn-main { background: var(--sky); padding: 9px 16px; }
.top .btn-main:hover { background: #3B7BF0; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Первый экран */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 70% -10%, #26337F 0%, var(--night) 55%), var(--night); color: #fff; padding: 72px 0 64px; }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #8CB8FF 60%, transparent 61%),
    radial-gradient(1px 1px at 28% 62%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 44% 32%, #8CB8FF 60%, transparent 61%),
    radial-gradient(1px 1px at 60% 80%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 72% 14%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 86% 48%, #8CB8FF 60%, transparent 61%),
    radial-gradient(1px 1px at 92% 86%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 6% 88%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 36% 92%, #8CB8FF 60%, transparent 61%),
    radial-gradient(1px 1px at 52% 8%, #fff 60%, transparent 61%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-dark); margin-bottom: 18px; }
.tag-dark { color: var(--link); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; margin-bottom: 22px; }
.lead { font-size: 18px; line-height: 1.5; font-weight: 500; color: rgba(255,255,255,.86); max-width: 560px; }
.hero .lead { margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.62); }

/* Окно демонстрации */
.device { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); color: var(--text); }
.device-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 3px solid var(--indigo); background: #fff; }
.logo-sm { height: 22px; width: 68px; color: var(--indigo); --logo-ai: var(--sky); }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #F4F4F2; color: #1C1C1A; border: 1px solid #E3E3DF; }
.chip-num { color: #8A5A00; background: #FFF4DB; border-color: #F3DDA6; }
.chip-dim { color: #5F5F5B; font-weight: 600; }
.chip-sum { margin-left: auto; background: var(--indigo); color: #fff; border-color: var(--indigo); transition: background .3s; white-space: nowrap; }
.chip-sum.lit { background: var(--ok); border-color: var(--ok); }
.demo { display: block; width: 100%; height: auto; background: #fff; }
.demo text { user-select: none; }
.demo g[class^="g-"] { opacity: 0; transition: opacity .55s ease; }
.demo .paper { transition: opacity .6s ease; }
.demo .paper-app { opacity: 0; }
.demo[data-phase="sketch"] .g-sketch, .demo[data-phase="scan"] .g-sketch { opacity: 1; }
.demo[data-phase="scan"] .g-scan { opacity: 1; }
.demo[data-phase="draw"] .g-draw, .demo[data-phase="cut"] .g-draw, .demo[data-phase="est"] .g-draw { opacity: 1; }
.demo[data-phase="cut"] .g-cut { opacity: 1; }
.demo[data-phase="est"] .g-est { opacity: 1; }
.demo[data-phase="draw"] .paper-sketch, .demo[data-phase="cut"] .paper-sketch, .demo[data-phase="est"] .paper-sketch { opacity: 0; }
.demo[data-phase="draw"] .paper-app, .demo[data-phase="cut"] .paper-app, .demo[data-phase="est"] .paper-app { opacity: 1; }
.demo[data-phase="est"] .g-draw .dims, .demo[data-phase="est"] .g-draw .angles, .demo[data-phase="est"] .g-draw .plate { opacity: .35; }
.demo[data-phase="cut"] .g-draw .plate { opacity: 0; }
.demo .g-draw .dims, .demo .g-draw .angles, .demo .g-draw .plate { transition: opacity .4s; }
.demo .hand { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.demo[data-phase="sketch"] .hand { animation: draw 1.8s ease-out forwards; }
.demo[data-phase="scan"] .hand { stroke-dashoffset: 0; }
.demo .outline { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.demo[data-phase="draw"] .outline { animation: draw 1.1s ease-out forwards; }
.demo[data-phase="cut"] .outline, .demo[data-phase="est"] .outline { stroke-dashoffset: 0; }
.demo .beam { animation: none; }
.demo[data-phase="scan"] .beam { animation: beam 1.6s linear forwards; }
.demo .dots circle { opacity: 0; }
.demo[data-phase="scan"] .dots circle { animation: pop .35s ease-out forwards; }
.demo[data-phase="scan"] .dots circle:nth-child(1), .demo[data-phase="scan"] .dots circle:nth-child(2) { animation-delay: .25s; }
.demo[data-phase="scan"] .dots circle:nth-child(3), .demo[data-phase="scan"] .dots circle:nth-child(4) { animation-delay: .35s; }
.demo[data-phase="scan"] .dots circle:nth-child(5), .demo[data-phase="scan"] .dots circle:nth-child(6) { animation-delay: .85s; }
.demo[data-phase="scan"] .dots circle:nth-child(7), .demo[data-phase="scan"] .dots circle:nth-child(8) { animation-delay: .85s; }
.demo[data-phase="scan"] .dots circle:nth-child(9), .demo[data-phase="scan"] .dots circle:nth-child(10) { animation-delay: 1.05s; }
.demo[data-phase="scan"] .dots circle:nth-child(11), .demo[data-phase="scan"] .dots circle:nth-child(12) { animation-delay: 1.05s; }
.demo .g-scan .plate { opacity: 0; }
.demo[data-phase="scan"] .g-scan .plate { animation: fade .4s ease-out 1.2s forwards; }
.demo .g-cut .strip, .demo .g-cut .seam, .demo .g-cut .arrows { opacity: 0; }
.demo[data-phase="cut"] .g-cut .s1 { animation: fade .5s ease-out .1s forwards; }
.demo[data-phase="cut"] .g-cut .s2 { animation: fade .5s ease-out .5s forwards; }
.demo[data-phase="cut"] .g-cut .seam, .demo[data-phase="cut"] .g-cut .arrows { animation: fade .5s ease-out .9s forwards; }
.demo .g-est .card { transform-origin: 423px 280px; }
.demo[data-phase="est"] .g-est .card { animation: rise .55s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes beam { from { transform: translateY(0); } to { transform: translateY(460px); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; } to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translate(300px, 200px) scale(.96); } to { opacity: 1; transform: translate(300px, 180px) scale(1); } }
.phases { display: flex; gap: 6px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid #E3E3DF; }
.phases button { flex: 1; border: 0; background: #F4F4F2; color: #5F5F5B; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 4px; border-radius: 9px; cursor: pointer; position: relative; overflow: hidden; }
.phases button.on { background: var(--indigo); color: #fff; }
.phases button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sky-dark); transform-origin: left; animation: bar var(--dur, 3s) linear forwards; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.55); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .demo g[class^="g-"], .demo .paper, .demo .hand, .demo .outline, .demo .beam, .demo .dots circle, .demo .g-scan .plate, .demo .g-cut .strip, .demo .g-cut .seam, .demo .g-cut .arrows, .demo .g-est .card, .phases button.on::after { animation: none !important; transition: none !important; }
  .demo .hand, .demo .outline { stroke-dashoffset: 0; }
  .demo .dots circle, .demo .g-scan .plate, .demo .g-cut .strip, .demo .g-cut .seam, .demo .g-cut .arrows { opacity: 1; }
}

/* Полоса цифр */
.strip { background: var(--indigo); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px 0; }
.strip-in div { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; border-left: 1px solid rgba(255,255,255,.18); }
.strip-in div:first-child { border-left: 0; padding-left: 0; }
.strip-in b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.strip-in span { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.3; }

/* Разделы */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-2); }
.sub { font-size: 18px; color: var(--muted); max-width: 720px; margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { position: relative; background: var(--surface); border-radius: var(--r); padding: 26px 26px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 46px; height: 46px; border-radius: 13px; background: var(--indigo); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-soon { border-style: dashed; }
.soon { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--link); background: rgba(79,140,255,.12); padding: 5px 10px; border-radius: 999px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.step { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; flex: 1; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; background: #fff; }
.shot img { aspect-ratio: 5 / 3; object-fit: cover; object-position: top left; transition: transform .4s; }
.shot:hover img { transform: scale(1.03); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 18px; margin-top: 44px; }
.g { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.g img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.g:hover img { transform: scale(1.03); }
.g span { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(14,20,51,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-tall img { object-position: top center; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.who article { background: var(--surface); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 4px solid var(--indigo); }
.who h3 { margin-bottom: 10px; }
.who p { color: var(--muted); font-size: 15px; }

/* Тарифы */
.period { display: inline-flex; margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.period button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 9px; cursor: pointer; }
.period button em { font-style: normal; color: var(--ok); font-weight: 700; margin-left: 6px; font-size: 12px; }
.period button.on { background: var(--indigo); color: #fff; }
.period button.on em { color: #B9F2D5; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-hot { border: 2px solid var(--indigo); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan-for { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 42px; }
.price { margin: 18px 0 8px; display: flex; flex-direction: column; gap: 2px; }
.price b { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price > span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 14px 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(#000, #000); mask-composite: exclude; }
.plan .btn { width: 100%; }
.plans-note { margin-top: 20px; color: var(--muted); font-size: 14px; max-width: 760px; }

.compare { margin-top: 64px; }
.compare h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.table { margin-top: 20px; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: top; }
thead th { border-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
thead th:last-child { color: var(--link); }
tbody td:first-child { font-weight: 700; width: 24%; }
tbody td:nth-child(2) { color: var(--muted); }
tbody td:last-child { font-weight: 700; color: var(--text); background: rgba(79,140,255,.07); }
.src { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Производствам */
.sec-dark { background: radial-gradient(900px 500px at 10% 0%, #26337F 0%, var(--night) 60%), var(--night); color: #fff; }
.sec-dark h2 { color: #fff; }
.prod-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.prod-in .lead { margin: 18px 0 28px; }
.prod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prod-list li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.prod-list b { font-size: 16px; }
.prod-list span { color: rgba(255,255,255,.72); font-size: 14px; }

/* Вопросы */
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 16px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 400; color: var(--link); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Финальный призыв */
.final { background: var(--indigo); color: #fff; padding: 80px 0; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mark { width: 64px; height: 64px; color: #fff; --logo-ai: var(--sky-dark); }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.8); font-size: 17px; }
.final .btn { margin-top: 10px; }

/* Подвал */
.foot { background: var(--night); color: rgba(255,255,255,.82); padding: 48px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.foot-col b { color: #fff; margin-bottom: 4px; }
.foot-col a { color: rgba(255,255,255,.82); }
.foot-col a:hover { color: #fff; }
.foot-col span { color: rgba(255,255,255,.55); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }

/* Адаптив */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-login { display: block; }
  .top-login { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 0 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .strip-in div { border-left: 0; padding: 0; }
  .strip-in div:nth-child(5) { grid-column: span 2; }
  .steps, .who, .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 2; }
  .prod-in, .faq-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .sec { padding: 64px 0; }
}
@media (max-width: 600px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .top-in { height: 58px; gap: 12px; }
  .nav { top: 58px; }
  .top .btn-main { padding: 8px 12px; font-size: 14px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .cta .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .g-tall { height: 360px; grid-row: span 1; }
  .foot-in { grid-template-columns: 1fr; }
  .strip-in b { font-size: 22px; }
  .phases button { font-size: 12px; padding: 7px 2px; }
  .device-bar { gap: 6px; padding: 8px 10px; }
  .chip { padding: 3px 8px; font-size: 11px; white-space: nowrap; }
  .chip-dim { display: none; }
  .logo-sm { width: 56px; height: 18px; }
}
