/* ===== Tokens ===== */
:root {
  --cream: #f6f1e7;
  --cream-2: #efe7d6;
  --paper: #fffdf8;
  --ink: #1c1814;
  --ink-2: #4a4138;
  --muted: #8a7f70;
  --line: #e3d9c5;
  --accent: #c8602a;
  --accent-dark: #a44d20;
  --dark: #211d18;
  --gold: #d9a441;
  --maxw: 1180px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

h1, h2, h3, .logo {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(200, 96, 42, 0.9);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 800; }
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-right: 8px;
  background: var(--accent); color: var(--cream);
  border-radius: 9px; font-size: 18px;
}
.logo__amp { color: var(--accent); }
.logo--light { color: var(--cream); }
.logo--light .logo__amp { color: var(--gold); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--accent); transition: width 0.22s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__contact { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-weight: 700; font-size: 15px; color: var(--ink); }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
}

/* ===== Hero — centered, full width ===== */
.hero { padding: 64px 0 0; text-align: center; }
.hero__top { max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-size: 13px; font-weight: 600;
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .hl {
  color: var(--accent);
  position: relative;
}
.hero h1 .hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 14px; background: rgba(217, 164, 65, 0.4); z-index: -1;
}
.hero__sub { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* full-width photo stage */
.hero__stage {
  position: relative;
  margin-top: 52px;
}
.hero__photo {
  height: 480px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(33,29,24,0) 45%, rgba(33,29,24,0.85)),
    url('images/pexels-beratilgin-17665771.jpg');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  box-shadow: 0 40px 80px -40px rgba(33,29,24,0.6);
}
.hero__photo-tag {
  color: var(--cream);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em;
}
.hero__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__chip {
  position: absolute;
  top: 28px; left: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 14px 30px -18px rgba(33,29,24,0.6);
  animation: bob 4s ease-in-out infinite;
}
.hero__stat {
  position: absolute;
  top: 24px; right: 8px;
  background: var(--accent);
  color: var(--cream);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: left;
  box-shadow: 0 14px 30px -18px rgba(200,96,42,0.9);
  animation: bob 4s ease-in-out infinite 0.6s;
}
.hero__stat b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; }
.hero__stat span { font-size: 12px; opacity: 0.9; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ea672;
  box-shadow: 0 0 0 0 rgba(62,166,114,0.5);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(62,166,114,0.5); }
  70%,100% { box-shadow: 0 0 0 9px rgba(62,166,114,0); }
}

/* facts row */
.hero__facts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 24px 64px;
}
.hero__facts div { display: flex; flex-direction: column; }
.hero__facts b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; color: var(--ink); }
.hero__facts span { font-size: 14px; color: var(--muted); }

/* ===== Strip marquee ===== */
.strip {
  background: var(--dark);
  color: var(--cream);
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip__track {
  display: flex; align-items: center; gap: 24px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.strip__track span { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; white-space: nowrap; }
.strip__track b { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections base ===== */
.section { padding: 92px 0; }
.section--cream { background: var(--cream-2); }
.section__head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section__head--left { text-align: left; margin: 0 0 44px; }
.eyebrow {
  display: inline-block; color: var(--accent);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.eyebrow--light { color: var(--gold); }
.section__head h2,
.section__head--left h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }

/* ===== Services — split layout (sticky aside + list) ===== */
.split__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.split__aside {
  position: sticky;
  top: 110px;
}
.split__aside h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 800; margin: 8px 0 14px; }
.split__aside p { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; }

.split__list { display: flex; flex-direction: column; }
.srv {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease;
}
.srv:hover { padding-left: 14px; }
.srv:last-child { border-bottom: none; }
.srv__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--accent); opacity: 0.55;
}
.srv h3 { font-size: 21px; }
.srv p { font-size: 15px; color: var(--ink-2); }
.srv__price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--ink);
}
.srv--feature {
  background: var(--ink);
  border-radius: var(--radius);
  border-bottom: none;
  padding: 26px 22px;
  margin-top: 8px;
}
.srv--feature h3,
.srv--feature .srv__price { color: var(--cream); }
.srv--feature .srv__price { color: var(--gold); }
.srv--feature p { color: #b5ab9c; }
.srv--feature:hover { padding-left: 22px; }

/* ===== Gallery — horizontal rail ===== */
.gallery-band { background: var(--dark); color: var(--cream-2); padding: 88px 0; }
.gallery-band__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.gallery-band__head h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.gallery-band__head p { color: #b5ab9c; max-width: 280px; }
.gallery-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 24px 18px;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: none;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.gallery-rail.dragging { cursor: grabbing; }
.shot {
  flex: 0 0 320px;
  height: 400px;
  border-radius: 16px;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-size: cover;
  background-position: center;
}
.shot::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.78));
}
.shot[data-img="1"] { background-image: url('images/pexels-ryank-12304511.jpg'); }
.shot[data-img="2"] { background-image: url('images/pexels-cottonbro-3993442.jpg'); }
.shot[data-img="3"] { background-image: url('images/pexels-maksgelatin-4351726.jpg'); }
.shot[data-img="4"] { background-image: url('images/pexels-clark07-27497935.jpg'); }
.shot[data-img="5"] { background-image: url('images/pexels-s-minh-151628940-11333874.jpg'); }
.shot figcaption {
  position: relative;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 18px; color: var(--cream);
}
.gallery-rail__hint {
  color: #8a7f70; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 14px; text-align: center;
}

/* ===== Team — offset cards ===== */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.barber {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.barber--offset { transform: translateY(38px); }
.barber:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -28px rgba(33,29,24,0.5); }
.barber--offset:hover { transform: translateY(32px); }
.barber__photo {
  height: 300px;
  background-size: cover;
  background-position: center top;
}
.barber__photo--1 { background-image: url('images/1.jpg'); }
.barber__photo--2 { background-image: url('images/2.jpg'); }
.barber__photo--3 { background-image: url('images/3.jpg'); }
.barber__info { padding: 22px; }
.barber h3 { font-size: 20px; }
.barber__role { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.barber__info p:last-child { font-size: 15px; }

/* ===== Pricing — photo + list ===== */
.price-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.price-split__photo {
  height: 100%;
  min-height: 440px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(33,29,24,0.25), rgba(33,29,24,0.88)),
    url('images/pexels-cottonbro-3993442.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.price-split__quote { color: var(--cream); }
.quote-big__stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; margin-bottom: 12px; }
.price-split__quote blockquote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem; font-weight: 600;
  line-height: 1.35; margin-bottom: 12px;
}
.price-split__quote figcaption { font-size: 14px; color: #cabfae; }
.price-split__list h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; margin: 6px 0 8px; }
.price-split__sub { color: var(--muted); margin-bottom: 22px; }

.pricelist {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 24px;
}
.pricelist__row {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 0;
  border-bottom: 1px dashed var(--line);
}
.pricelist__row:last-child { border-bottom: none; }
.pricelist__row > div:first-child { display: flex; flex-direction: column; }
.pricelist__row b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; color: var(--ink); }
.pricelist__row span { font-size: 13px; color: var(--muted); }
.pricelist__dots { flex: 1; border-bottom: 2px dotted var(--line); height: 1px; align-self: flex-end; margin-bottom: 6px; }
.pricelist__price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); }
.pricelist__row--feature {
  margin: 4px -24px -10px;
  padding: 18px 24px;
  background: var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
}
.pricelist__row--feature b,
.pricelist__row--feature .pricelist__price { color: var(--cream); }
.pricelist__row--feature .pricelist__price { color: var(--gold); }
.pricelist__row--feature span { color: #b5ab9c; }
.pricelist__row--feature .pricelist__dots { border-color: #4a4138; }

/* ===== Booking ===== */
.book { background: var(--dark); color: var(--cream-2); padding: 92px 0; }
.book__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.book__copy h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 14px; }
.book__copy p { color: #b5ab9c; font-size: 17px; margin-bottom: 22px; }
.book__perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.book__perks li { font-size: 15px; color: var(--cream-2); }
.book__form { background: var(--paper); border-radius: 18px; padding: 30px; }
.book__form h3 { font-size: 22px; margin-bottom: 18px; }
.book__form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px;
}
.book__form input,
.book__form select {
  font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--cream); color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.book__form input:focus,
.book__form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 96, 42, 0.15);
}
.book__form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; font-weight: 500; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: var(--cream-2); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer__brand .logo { margin-bottom: 12px; }
.footer__brand p { color: #b5ab9c; font-size: 15px; max-width: 250px; }
.footer__col h4 { font-family: 'Bricolage Grotesque', sans-serif; color: var(--cream); font-size: 15px; margin-bottom: 10px; }
.footer__col p { font-size: 14px; color: #b5ab9c; }
.footer__social { display: flex; gap: 16px; margin-top: 12px; }
.footer__social a { font-size: 14px; color: var(--gold); font-weight: 600; }
.footer__social a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px 0; border-top: 1px solid #3a322a;
  font-size: 13px; color: #8a7f70;
}
.footer__demo { opacity: 0.8; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split__inner { grid-template-columns: 1fr; gap: 36px; }
  .split__aside { position: static; }
  .team { grid-template-columns: 1fr; }
  .barber--offset { transform: none; }
  .barber--offset:hover { transform: translateY(-6px); }
  .price-split { grid-template-columns: 1fr; }
  .price-split__photo { min-height: 320px; }
  .book__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav__links.open a { padding: 12px 0; }
}
@media (max-width: 560px) {
  .section, .book, .gallery-band { padding: 60px 0; }
  .hero__photo { height: 340px; }
  .hero__stat, .hero__chip { position: static; display: inline-flex; margin: 8px 6px 0; }
  .hero__floats { position: static; padding: 0 24px; text-align: center; }
  .shot { flex-basis: 260px; height: 330px; }
  .footer__inner { grid-template-columns: 1fr; }
  .srv { grid-template-columns: auto 1fr; }
  .srv__price { grid-column: 2; justify-self: start; }
}
