/* ── Герой ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, #0f2d1a 60%, #1e4d1e 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 60px 24px;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25; color: var(--white); margin-bottom: 18px;
}
.hero-text h1 span { color: var(--orange); }
.hero-text p { color: var(--muted); line-height: 1.7; margin-bottom: 28px; font-size: 1rem; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img-wrap { flex-shrink: 0; }
.hero-img-placeholder {
  width: 240px; height: 280px;
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--muted);
  font-size: 2.5rem; gap: 8px;
}
.hero-img-placeholder small { font-size: .8rem; }

/* ── Превью услуг ──────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-thumb {
  height: 160px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 2rem;
  border-bottom: 1px solid var(--border);
}
.service-thumb img { width:100%; height:100%; object-fit:cover; }
.service-body { padding: 18px; flex: 1; display:flex; flex-direction:column; gap:8px; }
.service-name { font-size: 1rem; font-weight: 600; color: var(--white); }
.service-price { color: var(--orange); font-weight: 700; font-size: 1.05rem; }
.service-cat   { font-size: .78rem; color: var(--muted); }
.service-body .btn { margin-top: auto; }

/* ── CTA секция ────────────────────────────────────────────── */
.cta-section { background: var(--orange); padding: 48px 24px; }
.cta-inner {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.cta-card {
  flex: 1; min-width: 260px;
  background: rgba(0,0,0,.2); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.cta-card h3 { color: var(--white); font-size: 1.15rem; }
.cta-card p  { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.6; }
.cta-card .btn-outline {
  border-color: var(--white); color: var(--white);
}
.cta-card .btn-outline:hover { background: var(--white); color: var(--orange); }

/* ── Контакты на главной ───────────────────────────────────── */
.contacts-bar {
  display: flex; gap: 24px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.contact-item { display: flex; align-items: center; gap: 10px; }
.contact-icon { font-size: 1.3rem; }
.contact-item a { color: var(--orange); }
.contact-item a:hover { text-decoration: underline; }

/* ── Форма записи в модалке ────────────────────────────────── */
.booking-step { display: flex; flex-direction: column; gap: 14px; }
.booking-select { width: 100%; }


/* Выбор времени */
.time-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-top: 8px;
}
.time-btn {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 4px; text-align: center;
  cursor: pointer; font-size: .85rem; color: var(--text);
  transition: background .15s;
}
.time-btn:hover   { background: var(--border); }
.time-btn.selected{ background: var(--orange); border-color: var(--orange); color:#fff; font-weight:700; }

@media(max-width:650px){
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-btns  { justify-content: center; }
  .hero-img-placeholder { width: 100%; }
  .contacts-bar{ flex-direction: column; }
}

/* Праздничные дни в календаре */
.cal-day.holiday {
  color: #c080e0;
  cursor: default;
  opacity: .65;
}
.cal-day.holiday sup { font-size: .55rem; }

/* Легенда календаря */
.cal-legend {
  display: flex; gap: 14px; margin-top: 10px;
  font-size: .75rem; color: var(--muted);
}
.leg-item { display: flex; align-items: center; gap: 5px; }
.leg-dot  { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ── Адаптив главной страницы ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 28px;
  }
  .hero-btns { justify-content: center; }
  .hero-img-placeholder { width: 100%; max-width: 320px; height: 220px; margin: 0 auto; }
  .cta-inner { flex-direction: column; }
  .contacts-bar { flex-direction: column; gap: 16px; }
}

@media (max-width: 600px) {
  .hero-text h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }

  /* Превью услуг — 1 колонка */
  #services-preview { grid-template-columns: 1fr; }

  /* Слоты времени — 3 колонки */
  .time-grid { grid-template-columns: repeat(3, 1fr); }

  /* Секция контактов */
  .contact-item { flex-direction: column; gap: 4px; }
}