/* ============================================================
   KosStudio — стиль сайта (старый дизайн: Playfair + Inter)
   Розовая тема в тон приложению.
   ============================================================ */

:root {
  --rose: #C9697A;
  --rose-soft: #E8A9B4;
  --gold: #C2A06B;
  --blush: #F3E3E0;
  --cream: #FAF5F1;
  --ink: #34272B;
  --ink-soft: #8C7C80;
  --line: #EFE6E1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 28px rgba(201,105,122,0.12);
  --shadow-sm: 0 4px 14px rgba(52,39,43,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
}

a { text-decoration: none; color: inherit; }
em { font-style: italic; color: var(--rose); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; width: 100%; }

.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; color: var(--gold);
  text-transform: uppercase;
}

/* ===== Шапка ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,245,241,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), var(--rose-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600;
}
.logo__text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--ink); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--rose); }
.nav__cta {
  background: var(--rose); color: #fff !important;
  padding: 9px 18px; border-radius: 30px; font-size: 14px !important;
}
.nav__cta:hover { background: var(--ink) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-soft));
  color: #fff; box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }
.btn--ghost:hover { background: var(--rose); color: #fff; }
.btn--full { width: 100%; margin-top: 10px; }

/* ===== Hero ===== */
.hero { padding: 80px 0 60px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.1; color: var(--ink); margin: 16px 0 20px; }
.hero__lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; max-width: 460px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; }
.hero__card {
  width: 100%; max-width: 340px; aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--rose), var(--rose-soft));
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.hero__card-k { font-family: 'Playfair Display', serif; font-size: 120px; color: rgba(255,255,255,0.9); line-height: 1; }
.hero__card-name { color: rgba(255,255,255,0.85); font-size: 20px; letter-spacing: 3px; }
.hero__scroll {
  display: block; text-align: center; margin-top: 30px;
  color: var(--ink-soft); font-size: 22px;
}

/* ===== Секции ===== */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 36px; color: var(--ink); margin-top: 10px; }
.section-sub { color: var(--ink-soft); margin-top: 8px; }

/* О студии */
.about { padding: 72px 0; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about__item {
  background: #fff; padding: 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.about__num { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); font-weight: 600; }
.about__item h3 { font-size: 22px; margin: 10px 0 8px; color: var(--ink); }
.about__item p { color: var(--ink-soft); font-size: 15px; }

/* ===== Услуги / цены (старый простой вид) ===== */
.services { padding: 72px 0; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; padding: 8px 0;
}
.price-card__head { display: flex; align-items: center; gap: 12px; padding: 16px 24px 10px; }
.price-card__icon { display: none; }
.price-card__count { display: none; }
.price-card__title { font-size: 20px; color: var(--ink); }
.price-list { list-style: none; padding: 0 24px 14px; }
.price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--line); gap: 12px;
}
.price-row__dots { display: none; }
.price-row__name { font-size: 15px; color: var(--ink); }
.price-row__meta { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.price-row__time {
  font-size: 12px; color: var(--ink-soft);
}
.price-row__price {
  font-family: 'Playfair Display', serif; font-weight: 600;
  color: var(--ink); font-size: 16px;
  background: var(--blush); padding: 5px 12px; border-radius: 10px;
}
.price-card__note {
  font-size: 12px; color: var(--ink-soft); padding: 0 24px 14px;
  line-height: 1.5; font-style: italic;
}

/* ===== Приложение ===== */
.app { padding: 72px 0; }
.app__inner {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--rose), var(--rose-soft));
  border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow);
}
.app__text .eyebrow { color: rgba(255,255,255,0.8); }
.app__text h2 { color: #fff; font-size: 36px; margin: 8px 0 14px; }
.app__text p { color: rgba(255,255,255,0.9); margin-bottom: 22px; max-width: 400px; }
.app__badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.2); color: #fff;
  padding: 9px 18px; border-radius: 30px; font-size: 14px; font-weight: 500;
}
.app__phone { display: flex; justify-content: center; }
.phone {
  width: 200px; height: 410px; border-radius: 34px;
  background: #fff; padding: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.phone__slider {
  position: relative; width: 100%; height: 100%;
  border-radius: 26px; overflow: hidden; background: var(--cream);
}
.phone__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.phone__shot.is-active { opacity: 1; }

/* ===== Контакты ===== */
.contact { padding: 72px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 36px; }
.contact__info h2 { font-size: 36px; color: var(--ink); margin: 8px 0 10px; }
.contact__lead { color: var(--ink-soft); margin-bottom: 24px; }
.contact__list { list-style: none; display: grid; gap: 12px; }
.contact__list li {
  display: flex; align-items: center; gap: 15px;
  background: #fff; padding: 15px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform .15s;
}
.contact__list li:hover { transform: translateX(4px); }
.contact__ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blush);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0;
}
.contact__label { display: block; font-size: 12px; color: var(--ink-soft); }
.contact__list a, .contact__list div > span:last-child { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact__list a:hover { color: var(--rose); }

.contact__card {
  background: #fff; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); align-self: start;
}
.contact__card h3 { font-size: 22px; margin-bottom: 16px; color: var(--ink); }
.hours { list-style: none; margin-bottom: 18px; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { color: var(--ink-soft); }
.hours li span:last-child { font-weight: 600; }
.hours__closed { color: var(--rose) !important; }

/* ===== Подвал ===== */
.footer { background: var(--ink); color: #fff; padding: 40px 0; margin-top: 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer .logo__text { color: #fff; }
.footer__addr { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 6px; }
.footer__copy { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ===== Появление при прокрутке ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================================ */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; max-width: 540px; }
  .contact__grid { grid-template-columns: 1fr; }
  .app__inner { grid-template-columns: 1fr; text-align: center; padding: 38px 28px; }
  .app__text p { margin-left: auto; margin-right: auto; }
  .app__badges { justify-content: center; }
  .app__phone { margin-top: 10px; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    box-shadow: var(--shadow);
  }
  .nav__links.open { max-height: 340px; }
  .nav__links a { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__cta { border-radius: 0; text-align: center; }

  .hero { padding: 44px 0 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero__visual { order: -1; }
  .hero__card { max-width: 240px; }
  .hero__card-k { font-size: 84px; }
  .hero h1 { font-size: 40px; }
  .hero__lead { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .about, .services, .app, .contact { padding: 44px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 14px; }
  .section-head h2 { font-size: 32px; }
  .contact__info h2, .app__text h2 { font-size: 30px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .price-row { flex-wrap: wrap; gap: 4px; }
  .price-row__meta { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
