/* Climberlykits — общий стиль сайта
   Фирменный цвет #0a624c, шрифт Rubik (как в логотипе) */

:root {
  --brand: #0a624c;
  --brand-dark: #074636;
  --brand-soft: #e6f1ed;
  --wood: #f6efe4;
  --wood-dark: #c9a87a;
  --text: #1d2b27;
  --muted: #5d6b67;
  --white: #ffffff;
  --wb: #a316a8;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(10, 98, 76, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--brand); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ===== ШАПКА ===== */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-soft);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 60px;
}
.nav { display: flex; gap: 18px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--brand); }

/* ===== ЛОГОТИП (текстом, как на изделиях) ===== */
.logo {
  display: inline-flex; flex-direction: column;
  font-weight: 900; line-height: 0.92; letter-spacing: 0.02em;
  font-size: 17px; text-decoration: none;
  color: var(--white);
  -webkit-text-stroke: 4px var(--brand);
  paint-order: stroke fill;
}
.logo sup { font-size: 0.45em; vertical-align: top; -webkit-text-stroke: 2px var(--brand); }
.logo--big { font-size: 44px; -webkit-text-stroke: 9px var(--brand); }
.logo--big sup { -webkit-text-stroke: 4px var(--brand); }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 16px 'Rubik', sans-serif; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: var(--white); }
.btn--wb { background: var(--wb); color: var(--white); }
.btn--block { display: flex; width: 100%; }

/* ===== СЕКЦИИ ===== */
section { padding: 48px 0; }
.section--wood { background: var(--wood); }
.section--soft { background: var(--brand-soft); }
h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(22px, 4.5vw, 30px); font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 12px; }

/* ===== ГЛАВНАЯ: HERO ===== */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--brand-soft), var(--white)); }
.hero .logo--big { margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ===== КАРТОЧКИ ===== */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.card__img {
  aspect-ratio: 4 / 3; border-radius: 12px; background: var(--wood);
  display: flex; align-items: center; justify-content: center;
  color: var(--wood-dark); font-size: 14px; text-align: center; overflow: hidden;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .btn { align-self: flex-start; padding: 10px 18px; font-size: 15px; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.feature { padding: 18px; border-radius: var(--radius); background: var(--white); }
.feature__icon { font-size: 28px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== СТРАНИЦА ИНСТРУКЦИИ ===== */
.instr-head { padding: 20px 0 12px; }
.instr-head h1 { font-size: clamp(22px, 5vw, 32px); }
.instr-head p { color: var(--muted); margin-top: 4px; }

.video {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: #0d1f1a; box-shadow: var(--shadow);
}
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: #cfe3dc; text-align: center; padding: 16px;
}
.video__play {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand); display: flex; align-items: center; justify-content: center;
}
.video__play::after {
  content: ''; margin-left: 6px;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.quick a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px; border-radius: 12px; background: var(--brand-soft);
  text-decoration: none; color: var(--brand-dark); font-weight: 600; font-size: 14px; text-align: center;
}
.quick span { font-size: 22px; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step p { color: var(--muted); font-size: 15px; }

.kit { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kit li { background: var(--white); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.kit b { color: var(--brand); }

details {
  background: var(--white); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(10, 98, 76, 0.06);
}
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; color: var(--muted); }

.cta-box {
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 28px 20px; display: grid; gap: 12px; text-align: center;
}
.cta-box h2 { margin-bottom: 0; }
.cta-box p { opacity: .9; }
.cta-box .btn--outline { border-color: #fff; }

.todo { background: #fff6d6; border: 1px dashed #d8b23a; color: #6b5300; border-radius: 8px; padding: 2px 6px; font-size: 13px; }

/* ===== ПОДВАЛ ===== */
.footer { background: var(--brand-dark); color: #cfe3dc; padding: 36px 0; font-size: 14px; }
.footer .wrap { display: grid; gap: 16px; }
.footer a { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 600px) {
  .nav { display: none; }
  section { padding: 36px 0; }
  .hero__actions .btn { flex: 1 1 100%; }
}
