:root {
  --paper: #f8f5f4;
  --paper-raised: #fffdfd;
  --ink: #241519;
  --ink-soft: #5c464c;
  --wine: #940724;
  --wine-deep: #6d0419;
  --rose: #f2e2e5;
  --line: #e0d0d4;
  --radius: 12px;
  --measure: 62ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Golos Text", "Onest", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

a {
  color: var(--wine);
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.brand-name em {
  font-style: normal;
  color: var(--wine);
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--wine);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--wine);
  font: 600 15px/1.2 "Onest", sans-serif;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-solid {
  background: var(--wine);
  color: var(--paper-raised);
}

.btn-solid:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--wine);
}

.btn-ghost:hover {
  background: var(--wine);
  color: var(--paper-raised);
}

.header-contacts .btn {
  padding: 8px 20px;
  white-space: nowrap;
}

/* ---------- cut line divider ---------- */

.cut {
  position: relative;
  border: 0;
  border-top: 2px dashed var(--line);
  margin: 0;
  overflow: visible;
}

.cut::after {
  content: "✂";
  position: absolute;
  top: 0.5px;
  left: 9%;
  transform: translateY(-50%) scaleX(-1);
  line-height: 1;
  font-size: 22px;
  color: var(--wine);
  background: var(--paper);
  padding: 0 6px;
}

.cut-alt::after {
  left: auto;
  right: 12%;
}

/* ---------- sections ---------- */

.section {
  padding: 88px 0;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 18px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 20px;
}

/* ---------- salon photo ---------- */

.salon-photo {
  display: block;
  width: 100%;
  height: clamp(240px, 38vw, 440px);
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 40px;
}

/* ---------- hero ---------- */

.hero {
  padding: 32px 0 40px;
}

.hero-eyebrow {
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(44px, 9vw, 104px);
  margin: 0 0 16px;
  line-height: 1.02;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--wine);
}


.founder-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.founder-card blockquote {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
}

.founder-card blockquote::before {
  content: "«";
  color: var(--wine);
}

.founder-card blockquote::after {
  content: "»";
  color: var(--wine);
}

.founder-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.founder-sign::before {
  content: "";
  width: 34px;
  border-top: 2px dashed var(--wine);
}


.hero-text p {
  max-width: var(--measure);
  font-size: 19px;
  margin: 0 0 16px;
}

.hero-text .lead {
  font-size: 22px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- плюсы ---------- */

.pluses {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.pluses li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 500;
}

.pluses .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--wine);
  font-weight: 700;
}

.pluses li.accent {
  font-family: "Golos Text", "Onest", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--wine);
  border-bottom: 2px solid var(--wine);
  white-space: nowrap;
}

.pluses li.accent small {
  display: block;
  font-family: "Onest", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .pluses {
    grid-template-columns: 1fr;
  }
  .pluses li.accent {
    white-space: normal;
  }
}

/* ---------- прейскурант ---------- */

.pricelist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pricelist li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pricelist .item {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 500;
}

.pricelist li::before {
  content: "✂";
  transform: scaleX(-1) translateY(1px);
  color: var(--wine);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.pricelist li:hover::before {
  opacity: 1;
}

.pricelist .leader {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-5px);
  transition: border-color 0.18s ease;
}

.pricelist li:hover .leader {
  border-color: var(--wine);
}

.pricelist .value {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--ink-soft);
  text-align: right;
}

.pricelist .value strong {
  color: var(--wine);
  font-weight: 700;
}

.pricelist-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- scale section ---------- */

.scale-statement {
  font-size: clamp(24px, 3.6vw, 38px);
  max-width: 22ch;
  margin: 0 0 40px;
  color: var(--wine);
}

.scale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scale-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.scale-card h3 {
  font-family: "Golos Text", sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--wine);
}

.scale-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- CRM ---------- */

.crm-intro {
  max-width: var(--measure);
  font-size: 19px;
  margin: 0 0 36px;
}

.crm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.crm-card {
  border: 1.5px solid var(--wine);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper-raised);
}

.crm-card h3 {
  font-family: "Golos Text", sans-serif;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--wine-deep);
}

.crm-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.crm-card li {
  margin-bottom: 6px;
}

/* ---------- смета ---------- */

.estimate {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 48px;
  align-items: start;
}

.estimate-text p {
  max-width: var(--measure);
  margin: 0 0 16px;
}

.receipt {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  box-shadow: 0 10px 30px rgb(109 4 25 / 0.08);
}

.receipt-head {
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.receipt-row span:last-child {
  color: var(--wine);
  text-align: right;
  flex-shrink: 0;
}

.receipt-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.receipt-total span:last-child {
  color: var(--wine);
}

/* ---------- манифест ---------- */

.manifesto {
  background: var(--wine-deep);
  color: #f3e4e7;
  padding: 96px 0;
}

.manifesto .eyebrow {
  color: #e8a4b0;
}

.manifesto-quote {
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.25;
  max-width: 26ch;
  margin: 0 0 20px;
  color: #fffdfd;
}

.manifesto-quote em {
  font-style: normal;
  color: #e8a4b0;
}

.manifesto p.author {
  color: #c9909b;
  margin: 0 0 40px;
}

.manifesto .btn-solid {
  background: var(--paper-raised);
  border-color: var(--paper-raised);
  color: var(--wine-deep);
}

.manifesto .btn-solid:hover {
  background: var(--rose);
  border-color: var(--rose);
}

/* ---------- footer ---------- */

.site-footer {
  padding: 36px 0 44px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--wine);
}

/* ---------- contacts page ---------- */

.contacts-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.contacts-card {
  width: 100%;
  text-align: center;
}

.contacts-card h1 {
  font-size: clamp(32px, 6vw, 64px);
  margin: 0 0 16px;
  color: var(--wine);
}

.contacts-card > p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 48px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-phone {
  font-family: "Golos Text", sans-serif;
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--wine);
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .estimate {
    grid-template-columns: 1fr;
  }
  .scale-grid,
  .crm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }
  .hero {
    padding: 48px 0 60px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .header-contacts {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .header-contacts .btn {
    width: 100%;
    text-align: center;
  }
  .header-contacts .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .header-phone {
    font-size: 12px;
  }
  .pricelist .item {
    white-space: normal;
  }
  .pricelist li {
    flex-wrap: wrap;
  }
  .pricelist .leader {
    display: none;
  }
  .pricelist .value {
    width: 100%;
    text-align: left;
  }
}
