:root {
  --cream: #f6efde;
  --cream-2: #efe4c9;
  --paper: #fbf6e9;
  --burgundy: #7b2d26;
  --burgundy-dark: #5c1f1a;
  --ochre: #c8842c;
  --ochre-light: #e3a84b;
  --ink: #3a2a1e;
  --ink-soft: #6f5a48;
  --line: rgba(123, 45, 38, 0.18);
  --shadow: 0 6px 24px rgba(92, 31, 26, 0.12);
  --radius: 18px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Rubik", "Segoe UI", sans-serif;
  --font-hand: "Neucha", "Comic Sans MS", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(123, 45, 38, 0.07) 1px, transparent 1.5px);
  background-size: 26px 26px;
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--ochre); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; color: var(--burgundy-dark); line-height: 1.15; }

.section { padding: 72px 0; position: relative; }
.section-alt { background: var(--paper); border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head .kicker { font-family: var(--font-hand); color: var(--ochre); font-size: 22px; display: block; margin-bottom: 4px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head .sub { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }
.section-head .wings { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; color: var(--burgundy); }
.section-head .wings::before, .section-head .wings::after { content: ""; height: 1px; width: 70px; border-top: 2px dashed var(--line); }
.section-head .wings svg { width: 26px; height: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 16px; padding: 14px 26px; border-radius: 999px;
  border: 2px solid var(--burgundy); cursor: pointer; transition: 0.2s;
}
.btn-primary { background: var(--burgundy); color: var(--cream); }
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { background: rgba(123, 45, 38, 0.07); color: var(--burgundy-dark); }
.btn-ochre { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.btn-ochre:hover { background: var(--ochre-light); border-color: var(--ochre-light); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 222, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; padding: 12px 22px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--burgundy); background: var(--paper); }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: 0.1em; color: var(--burgundy-dark); text-transform: uppercase; line-height: 1; }
.brand .brand-tag { font-family: var(--font-hand); font-size: 15px; color: var(--ink-soft); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a { font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--burgundy); border-bottom-color: var(--ochre); }
.topbar .btn { padding: 10px 20px; font-size: 14px; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger svg { width: 28px; height: 28px; stroke: var(--burgundy); }

.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px dashed var(--ochre); color: var(--burgundy);
  font-family: var(--font-hand); font-size: 19px; padding: 5px 16px; border-radius: 999px;
  background: rgba(227, 168, 75, 0.12);
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 6px; }
.hero h1 .accent { color: var(--ochre); }
.hero .hero-sub { font-family: var(--font-hand); font-size: clamp(20px, 2.6vw, 27px); color: var(--ink-soft); margin-bottom: 14px; }
.hero p.lead { color: var(--ink-soft); max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-phones { display: flex; flex-direction: column; gap: 2px; }
.hero-phones a { font-family: var(--font-head); font-size: 21px; letter-spacing: 0.03em; color: var(--burgundy-dark); }
.hero-phones .label { font-family: var(--font-hand); color: var(--ochre); font-size: 16px; }

.hero-art { position: relative; }
.hero-art .frame {
  border: 3px solid var(--burgundy); border-radius: var(--radius);
  padding: 12px; background: var(--paper); box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-art img { border-radius: 12px; }
.stamp {
  position: absolute; right: -14px; bottom: -18px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--burgundy); border: 3px double var(--burgundy);
  padding: 10px 18px; border-radius: 8px; transform: rotate(-7deg);
  background: rgba(251, 246, 233, 0.92); font-size: 15px;
  box-shadow: var(--shadow);
}
.hero-trajectory { position: absolute; left: -60px; top: -34px; width: 180px; color: var(--burgundy); opacity: 0.65; pointer-events: none; }

.masters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.master-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.master-card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.master-card img { width: 190px; height: auto; margin: 0 auto 14px; border-radius: 14px; border: 2px solid var(--line); }
.master-card h3 { font-size: 24px; }
.master-card .role { font-family: var(--font-hand); color: var(--ochre); font-size: 18px; margin: 2px 0 10px; }
.master-card p { font-size: 15px; color: var(--ink-soft); }
.about-note {
  margin-top: 34px; text-align: center; font-family: var(--font-hand);
  font-size: 22px; color: var(--ink-soft); max-width: 760px; margin-left: auto; margin-right: auto;
}

.price-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.price-search { position: relative; flex: 1; min-width: 260px; max-width: 460px; }
.price-search input {
  width: 100%; padding: 13px 18px 13px 46px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--paper);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); outline: none;
}
.price-search input:focus { border-color: var(--ochre); }
.price-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--ink-soft); }
.price-note { font-family: var(--font-hand); font-size: 17px; color: var(--ink-soft); }

.price-cat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(92, 31, 26, 0.06);
}
.price-cat summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 20px; color: var(--burgundy-dark);
  transition: background 0.15s;
}
.price-cat summary::-webkit-details-marker { display: none; }
.price-cat summary:hover { background: rgba(227, 168, 75, 0.1); }
.price-cat summary .cat-ico {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  border: 2px dashed var(--ochre); display: grid; place-items: center;
  font-size: 20px; background: var(--cream);
}
.price-cat summary .chevron { margin-left: auto; transition: transform 0.25s; stroke: var(--burgundy); width: 22px; height: 22px; }
.price-cat[open] summary .chevron { transform: rotate(180deg); }
.price-cat[open] summary { border-bottom: 1px dashed var(--line); }
.price-cat .cat-body { padding: 8px 22px 18px; }
.price-cat .cat-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-cat .cat-body h3 { font-family: var(--font-hand); text-transform: none; letter-spacing: 0; color: var(--ochre); font-size: 19px; margin: 14px 0 4px; }
.price-cat th {
  text-align: left; font-family: var(--font-head); text-transform: uppercase; font-size: 12.5px;
  letter-spacing: 0.08em; color: var(--ink-soft); padding: 12px 8px 6px; border-bottom: 1px solid var(--line);
}
.price-cat th:last-child, .price-cat td:last-child { text-align: right; white-space: nowrap; width: 110px; }
.price-cat td { padding: 9px 8px; border-bottom: 1px dashed var(--line); }
.price-cat tr:last-child td { border-bottom: none; }
.price-cat td.price, .price-cat .cat-body td:last-child { font-family: var(--font-head); color: var(--burgundy); font-size: 16.5px; }
.price-cat tr.dim { display: none; }
.price-cat .group-row td { font-family: var(--font-hand); font-size: 18px; color: var(--ochre); padding-top: 16px; }

.price-empty { display: none; text-align: center; font-family: var(--font-hand); font-size: 20px; color: var(--ink-soft); padding: 26px; }
.price-empty.show { display: block; }
mark.hit { background: rgba(227, 168, 75, 0.5); border-radius: 4px; padding: 0 2px; }

.reviews-wrap { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; }
.review-badge {
  display: flex; align-items: center; gap: 16px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.review-badge:hover { transform: translateY(-3px); color: var(--burgundy); }
.review-badge .rb-score { font-family: var(--font-head); font-size: 44px; color: var(--ochre); line-height: 1; }
.review-badge .rb-stars { color: var(--ochre); letter-spacing: 2px; font-size: 18px; }
.review-badge .rb-text { font-size: 14.5px; color: var(--ink-soft); }
.reviews-note { max-width: 380px; font-family: var(--font-hand); font-size: 20px; color: var(--ink-soft); text-align: center; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s;
}
.post-card:hover { transform: translateY(-4px); }
.post-card .post-date { font-family: var(--font-hand); color: var(--ochre); font-size: 16px; }
.post-card h3 { font-size: 20px; text-transform: none; letter-spacing: 0; }
.post-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.post-card .post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12.5px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px dashed var(--ochre); color: var(--burgundy); border-radius: 999px; padding: 2px 10px;
}
.post-card .read-more { font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-empty {
  text-align: center; font-family: var(--font-hand); font-size: 21px; color: var(--ink-soft);
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 42px 20px;
}
.blog-all { text-align: center; margin-top: 30px; }

.contacts-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-ico {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--burgundy); color: var(--cream); display: grid; place-items: center;
}
.contact-item .ci-ico svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 16px; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-item a.tel { font-family: var(--font-head); font-size: 21px; color: var(--burgundy-dark); }
.contact-item .ci-note { font-size: 14.5px; color: var(--ink-soft); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.map-frame { border: 3px solid var(--burgundy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.map-frame iframe { display: block; width: 100%; height: 430px; border: 0; }

.footer { background: var(--burgundy-dark); color: var(--cream-2); padding: 34px 0; margin-top: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; }
.footer .f-brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ochre); }
.footer .f-brand span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--cream-2); }
.footer a:hover { color: var(--ochre-light); }
.footer .f-note { font-family: var(--font-hand); font-size: 16px; color: rgba(246, 239, 222, 0.75); }

.wip-banner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 46vh; font-family: var(--font-hand); font-size: 26px; color: var(--ink-soft);
}
.wip-banner .stamp { position: static; transform: rotate(-3deg); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { max-width: 640px; }
  .masters-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 2px dashed var(--line); flex-direction: column; align-items: stretch; padding: 14px 22px; gap: 4px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; border-bottom: 1px dashed var(--line); }
  .burger { display: block; }
  .topbar .btn { display: none; }
}

@media (max-width: 620px) {
  .masters-grid, .blog-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero-trajectory { display: none; }
  .stamp { right: 6px; }
}
