/* =========================================================================
   Оформление собранных страниц каталога и мастеров.
   Токены те же, что на главной (index.html) — страницы должны выглядеть
   как её продолжение, а не как отдельный сайт.
   ========================================================================= */
:root{
  --bg:#FFF8FA; --bg-2:#FDF1F5; --surface:#FFFFFF;
  --ink:#2A1A21; --ink-2:#6E5A63; --muted:#9A8790;
  --line:#F3DFE6; --line-2:#EBD0DA;
  --primary:#B8355E; --primary-press:#9C2A4E; --primary-soft:#FDE9F0;
  --r-pill:999px; --r-lg:28px; --r-md:20px; --r-sm:14px;
  --sh-1:0 2px 8px rgba(184,53,94,.06);
  --sh-2:0 10px 30px rgba(184,53,94,.10);
  --header-h:72px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font:400 16px/1.65 "Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{width:min(1120px,100% - 32px);margin-inline:auto}

/* ------------------------------------------------------------- шапка --- */
.hdr{
  position:sticky;top:0;z-index:40;height:var(--header-h);
  background:rgba(255,248,250,.9);backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid var(--line);
}
.hdr-in{display:flex;align-items:center;gap:20px;height:var(--header-h)}
.logo{display:inline-flex;align-items:center;gap:10px;color:var(--ink);
  font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;font-weight:700}
.logo:hover{text-decoration:none}
.logo img{width:38px;height:auto;display:block}
.nav{display:flex;gap:22px;margin-left:10px}
.nav a{color:var(--ink-2);font-weight:500;font-size:15px}
.hdr-tel{margin-left:auto;color:var(--ink);font-weight:600;white-space:nowrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 20px;border:0;border-radius:var(--r-pill);
  font:600 15px/1 "Manrope",sans-serif;cursor:pointer;text-decoration:none;
  transition:transform .16s ease,background .16s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-press)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line-2)}
.btn-ghost:hover{background:var(--primary-soft)}
.btn-lg{height:52px;padding:0 26px;font-size:16px}

/* -------------------------------------------------------- крошки ------ */
.crumbs{padding:14px 0 0;font-size:14px;color:var(--muted)}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--primary)}
.crumbs i{font-style:normal;margin:0 8px;opacity:.5}
.crumbs span{color:var(--ink-2)}

/* ---------------------------------------------------------- страница -- */
.page{padding:22px 0 64px}
h1{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;
  font-size:clamp(30px,4.4vw,46px);line-height:1.12;margin:8px 0 12px;letter-spacing:-.01em}
h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;
  font-size:clamp(23px,3vw,30px);margin:0 0 14px}
h3{font-size:18px;font-weight:700;margin:26px 0 10px}
.lead{font-size:clamp(16px,1.7vw,19px);color:var(--ink-2);max-width:68ch;margin:0 0 20px}
.muted{color:var(--ink-2)}
.small{font-size:14px}
.block{margin-top:44px}

.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:12px;margin:0 0 24px;padding:0}
.facts div{background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:14px 16px;box-shadow:var(--sh-1)}
.facts dt{font-size:13px;color:var(--muted);margin-bottom:4px}
.facts dd{margin:0;font-weight:700;font-size:17px}

.cta{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}

/* ------------------------------------------------------------ прайс --- */
.tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-md);
  background:var(--surface);box-shadow:var(--sh-1)}
table.price{border-collapse:collapse;width:100%;min-width:520px;font-size:15px}
table.price th,table.price td{padding:13px 16px;text-align:left;
  border-bottom:1px solid var(--line)}
table.price thead th{font-size:13px;text-transform:uppercase;letter-spacing:.04em;
  color:var(--muted);font-weight:600;background:var(--bg-2)}
table.price tbody tr:last-child th,table.price tbody tr:last-child td{border-bottom:0}
table.price tbody th{font-weight:600}
table.price tbody th span{display:block;font-weight:400;font-size:13px;color:var(--muted)}
table.price td{white-space:nowrap;font-variant-numeric:tabular-nums}
table.price td.no{color:var(--muted)}
table.price tbody tr:hover{background:var(--bg-2)}

/* --------------------------------------------------------- карточки --- */
.sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.scard{display:flex;flex-direction:column;gap:6px;padding:20px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--sh-1);color:var(--ink);transition:transform .16s ease,box-shadow .16s ease}
.scard:hover{text-decoration:none;transform:translateY(-2px);box-shadow:var(--sh-2)}
.scard b{font-size:19px;font-family:"Cormorant Garamond",Georgia,serif;font-weight:700}
.scard span{font-size:14px;color:var(--primary);font-weight:600}
.scard i{font-style:normal;font-size:14px;color:var(--ink-2);line-height:1.5}

.mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.mcard{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--sh-1);color:var(--ink);transition:transform .16s ease}
.mcard:hover{text-decoration:none;transform:translateY(-2px)}
.mcard img,.mcard .ava{width:64px;height:64px;border-radius:50%;object-fit:cover;
  margin-bottom:8px;background:var(--primary-soft);display:flex;
  align-items:center;justify-content:center;font-weight:700;color:var(--primary)}
.mcard b{font-size:16px}
.mcard span{font-size:13px;color:var(--ink-2)}
.mcard i{font-style:normal;font-size:13px;color:var(--muted)}

.mhead{display:flex;gap:22px;align-items:flex-start;flex-wrap:wrap}
.mphoto{width:140px;height:140px;border-radius:var(--r-md);object-fit:cover;
  border:1px solid var(--line)}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a{display:inline-flex;align-items:center;height:36px;padding:0 15px;
  border-radius:var(--r-pill);border:1px solid var(--line-2);
  background:var(--surface);color:var(--ink);font-size:14px;font-weight:500}
.chips a:hover{text-decoration:none;background:var(--primary-soft);color:var(--primary)}

.steps{margin:0;padding-left:22px;color:var(--ink-2);max-width:68ch}
.steps li{margin-bottom:8px}

/* ----------------------------------------------------------- подвал --- */
footer{background:var(--bg-2);border-top:1px solid var(--line);padding:36px 0 44px;
  margin-top:56px}
.foot{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap}
.foot-req{color:var(--ink-2);font-size:14px;line-height:1.9}
.foot-req a{color:var(--ink)}
.foot-docs{display:flex;flex-direction:column;gap:8px;font-size:14px}
.foot-docs b{margin-bottom:4px}
.foot-docs a{color:var(--ink-2)}

@media (max-width:860px){
  .nav{display:none}
  .hdr-tel{font-size:14px}
}
@media (max-width:560px){
  .hdr-tel{display:none}
  .btn-lg{width:100%}
  .mhead{gap:14px}
  .mphoto{width:96px;height:96px}
}
