@charset "utf-8";
/*
 * barber.css — the design layer for the barbershop (Free build).
 * base.css carries the structural skeleton and reads design tokens (var(--brand) …)
 * that the spec path would write into style.css; on this Free build style.css is empty,
 * so this file defines every token and adds the barbershop's own component look.
 *
 * DESIGN PLAN (kept current; read /skills/design/method before changing it)
 *  Colours — a masculine barber palette, a light shop with one dark moment:
 *    ground   #f4f2ef  warm bone (the page)
 *    ink      #1c1a17  near-black text
 *    espresso #1b1713  dark surface for the hero and footer (the one strong moment)
 *    brass    #8a6420  the brand: buttons, rules, the shop sign feel
 *    surface  #ffffff  cards and the header
 *  Type roles — headings in a condensed poster face (Arial Narrow stack) set tight and
 *    in capitals for the hero and section titles; body in a humanist system sans; prices
 *    and small labels in the mono face. No web-font request (self-hosting left for later).
 *  Layout idea — a crisp light site; the home's strong moment is a full-width espresso
 *    hero with a big capital headline and one brass "Запази час" button over a thin brass
 *    rule; under it three service cards, a work strip and the hours.
 *  Check vs THE_BRIEF — reads as a men's barbershop (charcoal + brass, poster capitals,
 *    tight), not a generic business. Check vs the AI looks: not cream+terracotta (brass,
 *    not burnt orange; bone, not beige), not dark-everywhere (only hero/footer are dark),
 *    not identical soft-shadow cards (hairline borders, low radius, little shadow), no
 *    middle-dot meta chains, no arrows on links; one deliberate uppercase kicker, fit for
 *    a barbershop sign, used sparingly.
 */

:root {
  /* colour tokens base.css reads */
  --bg: #f4f2ef;
  --surface: #ffffff;
  --surface-2: #ece6dc;
  --surface-inverse: #1b1713;
  --text: #1c1a17;
  --text-muted: #5c554b;
  --text-subtle: #6f685c;
  --border: #d9d2c6;
  --brand: #8a6420;
  --brand-strong: #70511a;
  --brand-soft: #efe6d4;
  --on-brand: #ffffff;
  --on-inverse: #f3efe8;
  --danger: #a1392f;
  --ok: #2f6b3a;
  --warn: #8a6420;

  /* fonts (no external request) */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "Oswald", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* type scale */
  --step--1: 0.86rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  --step-3: clamp(2rem, 1.3rem + 3vw, 3.3rem);
  --leading: 1.6;
  --leading-tight: 1.1;
  --measure: 38rem;

  /* spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  /* shape */
  --radius: 4px;
  --radius-lg: 8px;
  --radius-full: 999px;
  --container: 70rem;
  --shadow-1: 0 1px 2px rgba(20, 16, 12, 0.08);
  --shadow-2: 0 10px 30px rgba(20, 16, 12, 0.14);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: var(--leading);
}

h1, h2, h3, .bb-kicker, .brand-text strong {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
h1, h2, h3 { line-height: var(--leading-tight); color: var(--text); }
a { color: var(--brand-strong); }

/* ---- header ---- */
.site-head {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}
.head-inner { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; padding-block: var(--sp-3); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--text); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-5); margin: 0; padding: 0; }
.nav-toggle { display: none; }
.head-call, .head-cta { white-space: nowrap; }
@media (max-width: 47.99rem) {
  .nav { margin-left: 0; width: 100%; }
  .nav ul { gap: var(--sp-4); }
}
.site-head .brand-text strong {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.site-head .brand-text small { color: var(--text-muted); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  background-color: var(--surface-inverse); color: var(--brand-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  border-radius: var(--radius);
}
.nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-strong); }

/* ---- buttons ---- */
.btn {
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-call, .btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
}
.btn-call:hover, .btn--primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: var(--on-brand);
}

/* ---- hero ---- */
.bb-hero {
  background-color: var(--surface-inverse);
  color: var(--on-inverse);
}
.bb-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-8) var(--sp-5);
}
.bb-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--step--1);
  color: var(--brand-soft);
  margin-bottom: var(--sp-3);
}
.bb-hero h1 {
  font-size: var(--step-3);
  text-transform: uppercase;
  color: var(--on-inverse);
  margin: 0 0 var(--sp-4);
  max-width: 18ch;
}
.bb-hero__rule {
  width: 4rem; height: 3px; background: var(--brand);
  border: 0; margin: var(--sp-4) 0;
}
.bb-hero__lead {
  font-size: var(--step-1);
  color: var(--on-inverse);
  max-width: var(--measure);
  margin: 0 0 var(--sp-6);
}
.bb-cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.bb-hero .btn-ghost {
  color: var(--on-inverse);
  border-color: rgba(243, 239, 232, 0.5);
  background: transparent;
}
.bb-hero .btn-ghost:hover { background: rgba(243, 239, 232, 0.12); color: var(--on-inverse); }

/* ---- generic sections ---- */
.bb-head { max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.bb-head h2 { font-size: var(--step-2); text-transform: uppercase; }
.bb-head p { color: var(--text-muted); max-width: var(--measure); }

/* ---- service cards ---- */
.bb-cols {
  max-width: var(--container);
  margin: var(--sp-6) auto 0;
  padding-inline: var(--sp-5);
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .bb-cols { grid-template-columns: repeat(3, 1fr); } }
.bb-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.bb-card h3 { font-size: var(--step-1); text-transform: uppercase; margin: 0 0 var(--sp-2); }
.bb-card p { color: var(--text-muted); margin: 0 0 var(--sp-3); }
.bb-card .bb-price { font-family: var(--font-mono); font-weight: 700; color: var(--brand-strong); }

/* ---- work strip / gallery ---- */
.bb-strip {
  max-width: var(--container);
  margin: var(--sp-6) auto 0;
  padding-inline: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48rem) { .bb-strip { grid-template-columns: repeat(4, 1fr); } }
.bb-shot {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
}
.bb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-more { margin-top: var(--sp-5); font-weight: 700; }

/* ---- gallery page ---- */
.bb-gallery {
  max-width: var(--container);
  margin: var(--sp-6) auto 0;
  padding-inline: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48rem) { .bb-gallery { grid-template-columns: repeat(3, 1fr); } }
.bb-gallery .bb-shot { margin: 0; }
.bb-gallery .bb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- call to action band ---- */
.bb-band {
  background-color: var(--brand-soft);
  border-block: 1px solid var(--border);
  margin-top: var(--sp-8);
}
.bb-band__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-7) var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
}
.bb-band h2 { font-size: var(--step-2); text-transform: uppercase; margin: 0; }
.bb-band p { color: var(--text-muted); margin: var(--sp-2) 0 0; }

/* ---- footer ---- */
.site-foot {
  background-color: var(--surface-inverse);
  color: var(--on-inverse);
}
.site-foot .foot-h { color: var(--on-inverse); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }
.site-foot a { color: #e9e1d2; background-color: var(--surface-inverse); }
.site-foot .muted, .site-foot .small { color: #c9c0b2; background-color: var(--surface-inverse); }
.site-foot .hours th { color: var(--on-inverse); }
.site-foot .hours td { color: #d8cfc0; background-color: var(--surface-inverse); }
.foot-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; padding-block: var(--sp-7); }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: var(--sp-2); }
.nap { line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; padding-right: var(--sp-3); font-weight: 600; }
.foot-bottom { padding-bottom: var(--sp-6); }

/* ---- price list (services page) ---- */
.bb-pricelist { max-width: 46rem; margin: var(--sp-6) auto 0; padding-inline: var(--sp-5); }
.bb-price-row {
  display: flex; align-items: baseline; gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
}
.bb-price-row__name { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-1); }
.bb-price-row__dots { flex: 1; border-bottom: 1px dotted var(--border); transform: translateY(-0.25em); }
.bb-price-row__price { font-family: var(--font-mono); font-weight: 700; color: var(--brand-strong); white-space: nowrap; }
.bb-price-row__desc { width: 100%; color: var(--text-muted); font-size: var(--step--1); margin-top: var(--sp-1); }
