/* Публичная страница студии */
:root {
  --ink: #1f1d33; --muted: #6b6a80; --line: #ece9f5; --bg: #fffaf5; --navy: #1d1a39;
  --accent: #f76707; --accent-2: #ff922b; --violet: #7950f2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.ln-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 10px 24px;
  background: rgba(29, 26, 57, .96); color: #fff; }
.ln-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.ln-brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.ln-nav { display: flex; gap: 4px; margin-left: 12px; }
.ln-nav a { color: #e3e1f5; text-decoration: none; padding: 6px 12px; border-radius: 8px; }
.ln-nav a:hover { background: rgba(255, 255, 255, .1); }
.ln-actions { margin-left: auto; display: flex; gap: 8px; }

.ln-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: 10px; background: var(--accent);
  color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--accent); }
.ln-btn:hover { background: #e8590c; border-color: #e8590c; }
.ln-btn.ghost { background: transparent; color: inherit; border-color: rgba(247, 103, 7, .5); }
.ln-top .ln-btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.ln-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.ln-btn.big { padding: 12px 24px; font-size: 17px; }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ln-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 48px 0 24px; }
.ln-hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 6px; color: var(--accent); }
.ln-tagline { font-size: 21px; margin: 0 0 18px; font-weight: 600; }
.ln-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ln-features li { padding-left: 30px; position: relative; }
.ln-features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.ln-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ln-cta.col { flex-direction: column; align-items: stretch; max-width: 340px; }
.ln-phone { font-size: 20px; font-weight: 700; margin: 16px 0 0; }
.ln-phone a { color: var(--ink); text-decoration: none; }
.ln-hero-img img { border-radius: 20px; box-shadow: 0 20px 50px rgba(247, 103, 7, .25); width: 100%; aspect-ratio: 1; object-fit: cover; }
.ln-about { background: #fff; border-radius: 16px; padding: 18px 24px; border: 1px solid var(--line); font-size: 17px; }
.ln-about p { margin: 0; }

.ln-section { padding: 36px 0 8px; }
.ln-section h2 { font-size: 30px; margin: 0 0 16px; }
.ln-note { color: var(--muted); margin: -8px 0 14px; font-size: 14px; }
.ln-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ln-subject { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.ln-subject b { font-size: 17px; }
.ln-subject span { color: var(--muted); font-size: 14px; }

.ln-promo img { border-radius: 16px; max-height: 320px; width: auto; margin-bottom: 16px; }
.ln-promo-text { display: inline-block; background: var(--accent); color: #fff; padding: 6px 14px; border-radius: 10px; font-weight: 600; }
.ln-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; align-items: start; }
.ln-price-card { background: #fff; border-radius: 16px; padding: 18px 20px; border: 1px solid var(--line); }
.ln-price-card h3 { margin: 0; color: var(--accent); font-size: 19px; }
.ln-price-card .ln-note { margin: 2px 0 10px; }
.ln-price-card table { width: 100%; border-collapse: collapse; }
.ln-price-card td { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ln-price { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px !important; }

.ln-schedule { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.ln-sched-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.ln-sched-card h3 { margin: 0 0 6px; font-size: 18px; color: var(--violet); }
.ln-sched-card ul { list-style: none; margin: 0; padding: 0; }
.ln-sched-card li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ln-sched-card li span { color: var(--muted); text-align: right; }

.ln-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ln-gallery img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.ln-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid var(--line); }
.ln-contact-grid p { margin: 0 0 10px; }
.ln-footer { text-align: center; color: var(--muted); padding: 30px 16px 40px; font-size: 14px; }

@media (max-width: 860px) {
  .ln-top { padding: 8px 14px; gap: 10px; flex-wrap: wrap; }
  .ln-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .ln-nav a { padding: 4px 10px; white-space: nowrap; }
  .ln-brand span { font-size: 16px; }
  main { padding: 0 16px; }
  .ln-hero { grid-template-columns: 1fr; padding-top: 24px; gap: 20px; }
  .ln-hero h1 { font-size: 34px; }
  .ln-hero-img { order: -1; }
  .ln-prices, .ln-schedule { grid-template-columns: 1fr; }
  .ln-contact-grid { grid-template-columns: 1fr; }
  .ln-gallery { grid-template-columns: 1fr 1fr; }
}

/* Телефон: кнопки входа и записи меньше и в одной строке с логотипом */
@media (max-width: 520px) {
  .ln-top { flex-wrap: wrap; }
  .ln-brand { gap: 6px; font-size: 15px; min-width: 0; }
  .ln-brand img { width: 30px; height: 30px; }
  .ln-brand span { font-size: 15px; white-space: nowrap; }
  .ln-actions { gap: 6px; flex-shrink: 0; }
  .ln-top .ln-actions .ln-btn { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
}
