:root {
  --bg: #FBF1F0;
  --surface: #FFFDFC;
  --ink: #4A1F35;
  --muted: #7A4560;
  --accent: #4A1F35;
  --accent-dark: #2f1222;
  --line: #E7C9CD;
  --blush: #F4D9DB; --rose: #E3A9B3; --lilac: #CDC3E8; --peach: #F6D3BE; --mint: #CFE3D8;
  --ok: #3f7d58;
  --warn: #b7791f;
  --bad: #a94442;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 "Jost", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
a { color: var(--accent-dark); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.block { padding-top: 48px; padding-bottom: 8px; }
.muted { color: var(--muted); }

.top { position: sticky; top: 0; z-index: 10; background: rgba(251,241,240,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.top nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink); }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff !important; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 600; transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 7px 16px; font-size: .92rem; }

.hero { padding: 72px 0 40px; text-align: center; background: linear-gradient(180deg, #f6e9e3, var(--bg)); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 0 auto 1.5em; }
.hero-phone { margin-top: 1em; color: var(--muted); }
.about { max-width: 680px; font-size: 1.05rem; }

.prices { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.prices li:last-child { border-bottom: 0; }
.prices small { color: var(--muted); margin-left: 8px; }
.p-price { font-weight: 600; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: .3em 0; }
.role { color: var(--accent-dark); font-weight: 600; }
.ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 14px; background: #f1d9d1; }
.ph-empty { display: grid; place-items: center; color: var(--accent-dark); font: 600 3rem Georgia, serif; }
.ph.sm { width: 64px; aspect-ratio: 1; border-radius: 50%; margin: 0 0 8px; font-size: 1.6rem; }
.link { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }

.form { display: grid; gap: 14px; max-width: 520px; margin-top: 18px; }
.form.wide { max-width: 720px; }
.form label, .inline-edit label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
input, select, textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--bad); font-weight: 400; font-size: .9rem; }
.fine { color: var(--muted); font-size: .85rem; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.foot { margin-top: 56px; padding: 36px 0; background: var(--ink); color: #efe6e1; }
.foot a { color: #f0c8bf; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: .2em 0; }
.copy { align-self: flex-end; color: #a89c97; }

.thanks { padding: 90px 20px; text-align: center; }

/* админка */
.admin .top nav { gap: 14px; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; color: var(--accent-dark); cursor: pointer; font: inherit; padding: 0; }
.notice { background: #e8f3ec; border: 1px solid #c6e0cf; padding: 10px 14px; border-radius: 10px; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .form { width: 100%; background: var(--surface); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 20px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: .92rem; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.search { display: flex; gap: 8px; margin-left: auto; }
.search input { width: 190px; padding: 7px 12px; }
.req { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.req.st-new { border-left-color: var(--warn); }
.req.st-confirmed { border-left-color: var(--ok); }
.req.st-cancelled { opacity: .65; }
.req-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.phone { font-weight: 600; }
.badge { padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #eee; }
.b-new { background: #fdf0d5; color: var(--warn); }
.b-confirmed { background: #e0f0e6; color: var(--ok); }
.b-cancelled { background: #f6dede; color: var(--bad); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; margin: 0 0 12px; }
dt { color: var(--muted); }
dd { margin: 0; }
.req-form { display: flex; gap: 8px; flex-wrap: wrap; }
.req-form select { width: auto; }
.req-form input { flex: 1; min-width: 240px; }
.inline-edit { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr 80px auto auto; gap: 8px; align-items: end; margin-bottom: 10px; }
.inline-edit.new { padding-top: 10px; border-top: 1px dashed var(--line); margin-bottom: 36px; }
.inline-edit .check { display: flex; align-items: center; gap: 6px; font-weight: 400; white-space: nowrap; padding-bottom: 12px; }
.inline-edit .check input { width: auto; }
.narrow { text-align: center; }

@media (max-width: 720px) {
  .inline-edit { grid-template-columns: 1fr 1fr; }
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; width: auto; }
  dl { grid-template-columns: 1fr; }
  dt { margin-top: 6px; }
}


/* ---- запись онлайн ---- */
.lbl { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; align-items: center; }
.slot { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.slot:hover { border-color: var(--accent); }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot.next { border-style: dashed; color: var(--accent-dark); }
.alert { background: #fbeaea; border: 1px solid #efc4c4; color: var(--bad); padding: 10px 14px; border-radius: 10px; margin: 0; }
.btn-ghost { background: transparent; color: var(--accent-dark) !important; border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--blush); }
.btn-ok { background: var(--ok); }
.btn-ok:hover { background: #2f6445; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; max-width: 460px; margin: 22px auto; text-align: left; }

/* ---- галерея работ ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.shot { position: relative; display: block; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.shot img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
a.shot:hover img { transform: scale(1.04); }
a.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.shot figcaption { padding: 8px 10px 0; font-size: .88rem; }
.shot form { padding: 0 10px 8px; }

/* ---- админка ---- */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.head-row h1 { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; }
.panel h2 { font-size: 1.25rem; }
.when { font-size: 1.05rem; }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.check input { width: auto; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card.mini { display: grid; gap: 4px; text-decoration: none; color: var(--ink); justify-items: start; }
.card.mini.dim { opacity: .55; }
.photo-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.photo-row .ph { width: 140px; margin: 0; }
.sched td { padding: 4px 8px 4px 0; }
.sched input { width: 150px; }
.off-row { justify-content: space-between; max-width: 560px; margin-bottom: 6px; }
.add-off { margin-top: 12px; }
.add-off input { width: auto; flex: 1; min-width: 140px; }
.inline-edit.head { font-weight: 600; font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.inline-edit.one { grid-template-columns: 1fr auto; max-width: 480px; }
.inline-edit { grid-template-columns: 2fr 1.1fr 90px 80px auto auto; }

/* ---- календарь ---- */
.cal-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.cal-nav input { width: auto; padding: 6px 10px; }
.cal-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cal { border-collapse: collapse; width: 100%; table-layout: fixed; min-width: 760px; }
.cal th, .cal td { border: 1px solid var(--line); padding: 0; }
.cal thead th { background: #f8e8e6; padding: 8px 6px; font-size: .92rem; position: sticky; top: 0; }
.cal th.tl { width: 58px; font-weight: 400; font-size: .78rem; color: var(--muted); text-align: right; padding-right: 6px; background: #faf6f3; vertical-align: top; }
.cal tr { height: 22px; }
.cal tr.hr td, .cal tr.hr th { border-top: 2px solid #d9c9bf; }
.cal td.free { background: #fff; }
.cal td.free a { display: block; height: 100%; min-height: 21px; }
.cal td.free a:hover { background: var(--blush); }
.cal td.off { background: repeating-linear-gradient(45deg, #f3eeea, #f3eeea 6px, #ece5e0 6px, #ece5e0 12px); }
.cal td.bk { vertical-align: top; font-size: .8rem; line-height: 1.25; }
.cal td.bk a { display: block; height: 100%; padding: 3px 6px; color: var(--ink); text-decoration: none; overflow: hidden; }
.cal td.bk small { color: #5d524d; }
.cal td.st-new { background: #fdf0d5; border-left: 4px solid var(--warn); }
.cal td.st-confirmed { background: #e0f0e6; border-left: 4px solid var(--ok); }
.cal td.st-done { background: #e8e8ee; border-left: 4px solid #8a8aa0; }
.cal .off-note { display: block; color: var(--muted); font-weight: 400; }
.legend { font-size: .85rem; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin: 0 4px 0 12px; border: 1px solid var(--line); }
.sw.st-new { background: #fdf0d5; } .sw.st-confirmed { background: #e0f0e6; } .sw.st-done { background: #e8e8ee; }
.sw.off { background: #ece5e0; }
.b-done { background: #e8e8ee; color: #55556b; }
.b-noshow { background: #f6dede; color: var(--bad); }
.req.st-done, .req.st-noshow { opacity: .8; }

@media (max-width: 720px) {
  .inline-edit.head { display: none; }
  .photo-row .ph { width: 110px; }
}

.thanks form { margin: 14px 0; }
.notice { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .block { padding-top: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { padding: 12px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: .88rem; }
  .ph { margin-bottom: 10px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .top-in { min-height: 52px; flex-wrap: nowrap; }
  body:not(.admin) .top nav a:not(.btn) { display: none; }
  .admin .top-in { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .top nav { gap: 12px; font-size: .92rem; }
  .row { grid-template-columns: 1fr; }
  .cal-nav input { max-width: 150px; }
}

section[id], footer[id] { scroll-margin-top: 72px; }

/* =================== публичный сайт «Пудра» =================== */
body.pub::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:50; opacity:.3; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .4 0 0 0 0 .45 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pub .wrap { max-width: 1200px; padding: 0 40px; }
.pub h1, .pub h2, .pub h3 { font-weight: 500; line-height: 1.02; letter-spacing: -.01em; }
.p-head { padding: 26px 0; }
.p-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.p-logo { font: 600 38px/1 'Cormorant Garamond', serif; text-decoration: none; color: var(--ink); }
.p-nav { display: flex; gap: 38px; }
.p-nav a { text-decoration: none; color: var(--muted); }
.pub .btn { background: var(--ink); color: #FFF4F2 !important; padding: 16px 28px; font-weight: 500; }
.pub .btn:hover { background: #2f1222; }
.pub .btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pub .btn.ghost:hover { background: var(--blush); }

.p-hero { padding: 30px 0 90px; }
.p-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.p-hero h1 { font-size: 104px; margin: 0 0 28px; }
.p-hero .lead { font-size: 20px; max-width: 30em; color: var(--muted); margin: 0 0 36px; }
.p-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.p-info { display: inline-flex; gap: 8px 22px; flex-wrap: wrap; background: var(--surface); border-radius: 26px; padding: 14px 24px; box-shadow: 0 10px 30px -14px rgba(122,69,96,.35); color: var(--muted); font-size: 15px; }
.mirror { position: relative; aspect-ratio: 1/1; max-width: 520px; margin-left: auto; width: 100%; }
.mirror .c { position: absolute; border-radius: 50%; }
.c1 { inset: 4%; background: radial-gradient(circle at 35% 28%, #FBE5E3 0, #EFC2C8 45%, #D79AAA 100%); box-shadow: 0 40px 70px -30px rgba(122,69,96,.55); }
.c2 { width: 46%; height: 46%; right: -4%; top: -2%; background: var(--lilac); mix-blend-mode: multiply; opacity: .9; }
.c3 { width: 30%; height: 30%; left: -4%; bottom: 6%; background: var(--peach); mix-blend-mode: multiply; }
.ring { position: absolute; inset: -3%; border-radius: 50%; border: 1.5px solid var(--ink); opacity: .55; }
.sheen { position: absolute; inset: 4%; border-radius: 50%; background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0) 38%); pointer-events: none; }
.mirror .mono { position: absolute; inset: 0; display: grid; place-items: center; font: italic 500 clamp(150px, 22vw, 260px)/1 'Cormorant Garamond', serif; color: #FFF7F5; }
.tag { position: absolute; left: -2%; bottom: 12%; background: var(--surface); border-radius: 22px; padding: 16px 22px; box-shadow: 0 16px 40px -18px rgba(74,31,53,.45); font-size: 15px; line-height: 1.35; }
.tag b { display: block; font: 600 24px/1.1 'Cormorant Garamond', serif; }

.p-sec { padding: 88px 0; }
.p-title { text-align: center; margin-bottom: 52px; }
.p-title h2 { font-size: 64px; margin: 0; }
.p-title p { margin: 14px 0 0; color: var(--muted); }
.p-about { max-width: 700px; margin: 0 auto 56px; text-align: center; font-size: 19px; color: var(--muted); }

.p-menu { columns: 2; column-gap: 72px; max-width: 1000px; margin: 0 auto; }
.p-row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; break-inside: avoid; }
.p-row .n { font-size: 17px; }
.p-row .n small { display: block; font-size: 13px; color: var(--muted); margin: 0; }
.p-row .dots { flex: 1; border-bottom: 1.5px dotted #C99AA5; transform: translateY(-5px); min-width: 20px; }
.p-row .pr { font: 600 24px/1 'Cormorant Garamond', serif; white-space: nowrap; }
.p-row .pr.ask { font: 400 15px/1 'Jost', sans-serif; color: var(--muted); }

.p-masters { background: var(--surface); }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; }
.m { text-align: left; }
.arch { aspect-ratio: 3/4; border-radius: 999px 999px 18px 18px; position: relative; overflow: hidden; margin-bottom: 18px; display: block; width: 100%; object-fit: cover; }
.arch.t0 { background: linear-gradient(160deg,#F2C3CB,#D898AA); } .arch.t1 { background: linear-gradient(160deg,#DAD2F0,#B2A5DC); }
.arch.t2 { background: linear-gradient(160deg,#F8DCC9,#E8B496); } .arch.t3 { background: linear-gradient(160deg,#D8E8DE,#A9C8B6); }
.arch.empty { display: grid; place-items: center; font: italic 500 90px/1 'Cormorant Garamond', serif; color: #FFF8F6; }
.m h3 { font-size: 34px; margin: 0 0 2px; }
.m .role { color: var(--muted); font-weight: 500; margin: 0 0 6px; }
.m p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.m a { font-size: 15px; font-weight: 500; color: var(--ink); }

.p-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; align-items: end; }
.p-work { position: relative; display: block; overflow: hidden; background: var(--blush); text-decoration: none; color: var(--ink); }
.p-work img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.p-work:nth-child(5n+1) { border-radius: 50%; } .p-work:nth-child(5n+2) { border-radius: 999px 999px 18px 18px; }
.p-work:nth-child(5n+3) { border-radius: 26px; } .p-work:nth-child(5n+4) { border-radius: 18px 18px 999px 999px; } .p-work:nth-child(5n) { border-radius: 50%; }
.p-work:nth-child(5n+2) img, .p-work:nth-child(5n+4) img { aspect-ratio: 3/4; }
.p-work:hover img { transform: scale(1.05); }
.p-work span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .85rem; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(74,31,53,.7)); }

.p-book { background: var(--blush); border-radius: 48px; margin: 0 24px; padding: 72px 0; }
.p-book .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.p-book h2 { font-size: 64px; margin: 0 0 20px; }
.p-book .side p { color: var(--muted); max-width: 24em; }
.p-card { background: var(--surface); border-radius: 30px; padding: 34px; box-shadow: 0 30px 60px -34px rgba(74,31,53,.5); }
.p-card .form { max-width: none; margin: 0; gap: 16px; }
.p-card label, .p-card .lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.p-card input, .p-card select, .p-card textarea { border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 16px; color: var(--ink); }
.p-card input:focus, .p-card select:focus, .p-card textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.p-card .slot { border-radius: 999px; border: 1.5px solid var(--line); padding: 10px 18px; font-weight: 500; }
.p-card .slot:hover { border-color: var(--ink); }
.p-card .slot.on { background: var(--ink); border-color: var(--ink); color: #FFF4F2; }
.p-card .slot.next { border-style: dashed; color: var(--ink); }
.p-card .btn { width: 100%; padding: 18px; margin-top: 6px; font-size: 17px; }

.p-foot { background: var(--ink); color: #F7E4E3; margin-top: 96px; padding: 80px 0 48px; overflow: hidden; }
.p-foot .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 48px; align-items: end; }
.p-foot .big { font: 500 150px/.8 'Cormorant Garamond', serif; color: var(--rose); }
.p-foot h3 { font-size: 28px; margin: 0 0 10px; font-style: italic; color: #fff; }
.p-foot p { color: #E9C9CF; margin: .25em 0; }
.p-foot a { color: #fff; }
.p-foot .copy { grid-column: 1/-1; color: #B98A9B; font-size: 14px; }

.thanks { padding: 70px 20px 90px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.thanks .lead { color: var(--muted); }

@media (max-width: 900px) {
  .m-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pub .wrap { padding: 0 22px; }
  .p-head { padding: 16px 0; } .p-logo { font-size: 32px; }
  .p-nav { display: none; }
  .p-bar .btn { padding: 12px 20px; font-size: 15px; }
  .p-hero { padding: 6px 0 56px; }
  .p-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .p-hero h1 { font-size: 62px; } .p-hero .lead { font-size: 18px; }
  .mirror { max-width: 320px; margin: 0 auto; }
  .p-sec { padding: 56px 0; } .p-title { margin-bottom: 30px; }
  .p-title h2, .p-book h2 { font-size: 44px; }
  .p-menu { columns: 1; }
  .m-grid { gap: 22px 14px; } .m h3 { font-size: 26px; } .arch.empty { font-size: 64px; }
  .p-works { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-book { margin: 0 10px; border-radius: 32px; padding: 46px 0; }
  .p-book .wrap { grid-template-columns: 1fr; gap: 28px; }
  .p-card { padding: 22px; }
  .p-foot .wrap { grid-template-columns: 1fr; gap: 30px; } .p-foot .big { font-size: 110px; }
}

/* ---- статистика ---- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.kpi b { font: 600 2rem/1.1 'Cormorant Garamond', Georgia, serif; }
.kpi small { color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding-top: 18px; }
.bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar i { display: block; width: 100%; background: var(--rose); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar em { font-style: normal; font-size: .72rem; color: var(--muted); }
.bar span { font-size: .7rem; color: var(--muted); height: 16px; }
.frow { display: grid; grid-template-columns: 150px 1fr 110px; gap: 12px; align-items: center; margin: 10px 0; }
.ftrack { background: var(--blush); border-radius: 999px; height: 14px; overflow: hidden; }
.ftrack i { display: block; height: 100%; background: var(--ink); border-radius: 999px; min-width: 2px; }
.fnum small { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { width: 100%; border-collapse: collapse; }
.mini td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini td:last-child { text-align: right; font-weight: 600; }
@media (max-width: 720px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr 1fr; }
  .frow .ftrack { grid-column: 1 / -1; order: 3; }
  .bar em { display: none; }
}
