/* ===== Stage 7 homepage styles — dom-kraski.ru ===== */
/* Mobile-first; tokens come after dk_header.css */

.dk-hero {
  background: linear-gradient(180deg, #fff 0%, #f7f6f3 100%);
  padding: 40px 0 56px;
}
.dk-hero-inner {
  max-width: 1220px; margin: 0 auto; padding: 0 16px;
  display: grid; gap: 32px;
}
.dk-hero-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1f5fa8; margin-bottom: 12px;
}
.dk-hero-title {
  font-size: 34px; line-height: 1.12; font-weight: 800; color: #2b241c; letter-spacing: -.01em;
}
.dk-hero-sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: #6d6355; max-width: 52ch; }
.dk-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.dk-hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #6d6355; list-style: none; padding: 0; }
.dk-hero-trust li { display: flex; align-items: center; gap: 8px; }
.dk-hero-trust li::before { content: "✓"; color: #2e8b57; font-weight: 700; }
.dk-hero-media { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px rgba(43,36,28,.10), 0 12px 32px rgba(43,36,28,.07); aspect-ratio: 4 / 3; }
.dk-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons — 48px touch target */
.dk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-size: 16px; font-weight: 600; transition: background .15s, transform .1s;
}
.dk-btn:active { transform: scale(.98); }
.dk-btn-primary { background: #1f5fa8; color: #fff; }
.dk-btn-primary:hover { background: #164a85; }
.dk-btn-ghost { border: 2px solid #1f5fa8; color: #1f5fa8; }
.dk-btn-ghost:hover { background: #eaf2fb; }

/* Bands */
.dk-band { padding: 48px 0; }
.dk-band-soft { background: #f1efe9; }
.dk-band-dark { background: #2b241c; color: #f7f6f3; }
.dk-container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 16px; }
.dk-band-title { font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 24px; color: #2b241c; }
.dk-band-title-light { color: #f7f6f3; }

/* ===== 2. Category grid ===== */
.dk-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; }
.dk-cat-tile {
  display: block; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(43,36,28,.06), 0 2px 8px rgba(43,36,28,.05);
  transition: transform .15s, box-shadow .15s;
}
.dk-cat-tile:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(43,36,28,.10), 0 12px 32px rgba(43,36,28,.07); }
.dk-cat-tile-img { display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #f1efe9; }
.dk-cat-tile-name { display: block; padding: 12px 14px; font-weight: 700; font-size: 15px; color: #2b241c; }

/* ===== 3. Advantages ===== */
.dk-adv-grid { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; padding: 0; }
.dk-adv-item { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(43,36,28,.06), 0 2px 8px rgba(43,36,28,.05); }
.dk-adv-ico { font-size: 22px; display: block; margin-bottom: 8px; color: #1f5fa8; }
.dk-adv-item h3 { font-size: 16px; color: #2b241c; margin-bottom: 6px; }
.dk-adv-item p { font-size: 14px; line-height: 1.5; color: #6d6355; }

/* ===== 4. Quiz band (existing carousel — only the copy line is new) ===== */
.dk-quiz-copy { max-width: 1220px; margin: 0 auto 20px; padding: 0 16px; }
.dk-quiz-title { font-size: 26px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.dk-quiz-sub { margin-top: 8px; font-size: 16px; color: #f2f7fd; text-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* ===== 5. Brands carousel ===== */
.dk-brands-carousel { display: flex; align-items: center; gap: 12px; }
.dk-brands-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; flex: 1; list-style: none; scrollbar-width: thin; }
.dk-brands-track li { flex: 0 0 auto; scroll-snap-align: start; }
.dk-brands-track img { height: 52px; width: 130px; object-fit: contain; filter: grayscale(40%); transition: filter .15s; }
.dk-brands-track a:hover img { filter: none; }
.dk-brands-nav {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #e3dfd6; background: #fff; color: #6d6355; cursor: pointer; font-size: 16px;
}
.dk-brands-nav:hover { background: #eaf2fb; color: #1f5fa8; }

/* ===== 6. Contacts ===== */
.dk-contacts { display: grid; gap: 28px; }
.dk-contacts-phone { display: block; font-size: 30px; font-weight: 800; color: #fff; margin: 8px 0 2px; }
.dk-contacts-note { font-size: 14px; color: #c9bfb1; }
.dk-contacts-hours { font-size: 16px; color: #f0e9df; margin-top: 10px; }
.dk-contacts-email { display: inline-block; margin-top: 12px; color: #6ea2db; font-size: 16px; }
.dk-contacts-side h3 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.dk-contacts-side p { font-size: 15px; color: #c9bfb1; line-height: 1.5; margin-bottom: 16px; }
.dk-contacts-side .dk-btn { margin-top: 4px; }

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .dk-band { padding: 64px 0; }
  .dk-band-title { font-size: 32px; }
  .dk-hero { padding: 64px 0 72px; }
  .dk-hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .dk-hero-title { font-size: 46px; }
  .dk-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .dk-adv-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .dk-quiz-title { font-size: 32px; }
  .dk-contacts { grid-template-columns: 1.2fr .8fr; align-items: center; }
}
@media (min-width: 1024px) {
  .dk-hero-title { font-size: 54px; }
  .dk-adv-grid { grid-template-columns: repeat(4, 1fr); }
}
