/* ============================================================
   TRUST BARBERSHOP — premium landing
   Тема: Deep Charcoal #121820 + латунь #C5A059. Шрифты: Archivo + Inter.
   ============================================================ */

:root {
  --bg:        #121820;
  --bg-alt:    #0e131a;
  --surface:   #19212b;
  --surface-2: #202b37;
  --line:      #2b3744;
  --text:      #f0ece4;
  --muted:     #98a3af;
  --brass:     #c5a059;
  --brass-soft:#dcbd7e;
  --leather:   #8b5a2b;
  --radius:    14px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4,.brand__name { font-family: 'Archivo', sans-serif; font-weight: 800; line-height: 1.06; letter-spacing: -.01em; }
.accent { color: var(--brass); }
.muted { color: var(--muted); }

/* ---------- Иконки (inline SVG) ---------- */
.ic { width: 24px; height: 24px; flex: 0 0 auto; }
.ic--sm { width: 18px; height: 18px; }
.ic--lg { width: 38px; height: 38px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 6px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: .03em; text-transform: uppercase; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 17px 38px; font-size: 15px; }
.btn--brass {
  background: linear-gradient(135deg, var(--brass-soft), var(--brass));
  color: #1a1305; box-shadow: 0 10px 28px rgba(197,160,89,.28);
}
.btn--brass:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(197,160,89,.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(240,236,228,.28); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }

/* ---------- Навигация ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(14,19,26,.88); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 22px; font-weight: 900; letter-spacing: .14em; }
.brand__sub  { font-size: 9px; font-weight: 600; letter-spacing: .44em; color: var(--brass); margin-top: 3px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 13.5px; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--brass); transition: width .25s var(--ease); }
.nav__links a:hover::after { width:100%; }
.nav__cta { padding: 11px 22px; font-size: 13px; }

/* ---------- БЛОК 1: HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url('../img/gallery/work-05.jpeg') center 30% / cover no-repeat;
  transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate;
  filter: grayscale(.25) brightness(.55);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,24,32,.96) 0%, rgba(18,24,32,.82) 45%, rgba(18,24,32,.55) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 35%);
}
.hero__inner { position: relative; padding: 130px 24px 90px; max-width: 760px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: 12px; color: var(--brass); font-weight: 600; margin-bottom: 22px; }
.hero__title { font-size: clamp(42px, 7.5vw, 88px); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.hero__text { font-size: clamp(16px, 2vw, 20px); color: #cfd6dd; margin: 24px 0 36px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trigger { display: flex; align-items: center; gap: 9px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero__trigger .ic { color: var(--brass); }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; width: 24px; height: 40px; border: 2px solid rgba(240,236,228,.3); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll::before { content:''; position:absolute; top:8px; left:50%; width:3px; height:8px; background: var(--brass); border-radius:2px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* ---------- БЛОК 2: ПОЛОСА АВТОРИТЕТА ---------- */
.authority { background: linear-gradient(90deg, #1d130a, #2a1a0d, #1d130a); border-block: 1px solid rgba(197,160,89,.25); }
.authority__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 26px; padding: 16px 24px; }
.authority__item { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #e7ddc9; letter-spacing: .01em; }
.authority__item strong { color: var(--brass-soft); font-family: 'Archivo'; font-weight: 800; }
.authority__item .ic { width: 20px; height: 20px; color: var(--brass); }
.authority__item .ic--star { color: var(--brass-soft); }
.authority__sep { width: 1px; height: 18px; background: rgba(197,160,89,.3); }

/* ---------- Секции ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section__kicker { text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: var(--brass); font-weight: 700; }
.section__title { font-size: clamp(30px, 5vw, 48px); margin: 14px 0; text-transform: uppercase; }
.section__lead { color: var(--muted); font-size: 17px; }
.section__cta { text-align: center; margin-top: 48px; }

/* ---------- СПЕЦОФФЕР ---------- */
.offer {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: linear-gradient(135deg, rgba(197,160,89,.16), rgba(197,160,89,.04));
  border: 1.5px solid rgba(197,160,89,.5); border-radius: var(--radius);
  padding: 38px 42px;
}
.offer::after { content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; background: radial-gradient(circle, rgba(197,160,89,.18), transparent 70%); }
.offer__ribbon { position: absolute; top: 0; left: 0; background: var(--brass); color: #1a1305; font-family:'Archivo'; font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 18px; border-radius: 0 0 10px 0; }
.offer__body { display: flex; align-items: center; gap: 22px; margin-top: 12px; position: relative; z-index: 1; }
.offer__icon { color: var(--brass); }
.offer__text h2 { font-size: clamp(26px,3.5vw,36px); text-transform: uppercase; }
.offer__text p { color: #cfd6dd; margin-top: 8px; max-width: 520px; }
.offer .btn { position: relative; z-index: 1; }

/* ---------- БЛОК 3: МЕНЮ ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.menu-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s var(--ease), border-color .3s; }
.menu-card:hover { transform: translateY(-6px); border-color: rgba(197,160,89,.5); }
.menu-card--feat { background: var(--surface-2); border-color: var(--brass); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.menu-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brass); color:#1a1305; font-family:'Archivo'; font-weight:800; font-size: 11px; letter-spacing:.12em; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; white-space: nowrap; }
.menu-card h3 { font-size: 24px; }
.menu-card__desc { color: var(--muted); font-size: 15px; margin: 14px 0 24px; flex: 1; }
.menu-card__foot { border-top: 1px solid var(--line); padding-top: 18px; }
.menu-card__price { font-family:'Archivo'; font-weight: 800; font-size: 30px; color: var(--brass); }

.menu-extra { list-style: none; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 0 40px; }
.menu-extra li { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.menu-extra small { color: var(--muted); font-weight: 400; }
.menu-extra b { font-family:'Archivo'; color: var(--brass); font-size: 17px; }

/* ---------- БЛОК 4: ПИЛЛАРЫ ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; transition: transform .3s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(197,160,89,.5); }
.pillar__icon { color: var(--brass); margin-bottom: 20px; }
.pillar h3 { font-size: 22px; margin-bottom: 12px; }
.pillar p { color: var(--muted); }

/* ---------- БЛОК 5: ГАЛЕРЕЯ ---------- */
.work-swiper { padding: 8px 24px 56px; max-width: 1320px; margin: 0 auto; }
.work-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/4; background: var(--surface); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s; filter: saturate(.95) brightness(.92); }
.work-card:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1.02); }
.work-card__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 14px; font-size: 13px; letter-spacing: .04em; color: #f0ece4; background: linear-gradient(0deg, rgba(10,14,19,.9), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.work-card:hover .work-card__label { opacity: 1; transform: translateY(0); }
.swiper-pagination-bullet { background: var(--muted); }
.swiper-pagination-bullet-active { background: var(--brass); }
.swiper-button-prev, .swiper-button-next { color: var(--brass); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 24px; font-weight: 700; }

/* ---------- БЛОК 6: ОТЗЫВЫ ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.review__stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote { font-size: 16px; line-height: 1.7; color: #dfe4ea; }
.review figcaption { margin-top: 18px; font-family:'Archivo'; font-weight: 700; font-size: 15px; }
.review figcaption span { color: var(--muted); font-family:'Inter'; font-weight: 400; }
.review__tag { position: absolute; top: 12px; right: 12px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 3px 8px; border-radius: 20px; }
.reviews-note { text-align: center; margin-top: 28px; font-size: 14px; }

/* ---------- БЛОК 7: ФИНАЛЬНЫЙ ЗАХВАТ ---------- */
.closer { background: var(--bg-alt); }
.closer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.closer__map iframe { width: 100%; height: 440px; border: 0; border-radius: var(--radius); border: 1px solid var(--line); filter: grayscale(.4) contrast(1.05) brightness(.9); }
.closer__title { font-size: clamp(28px,4vw,44px); text-transform: uppercase; }
.closer__sub { color: var(--muted); font-size: 17px; margin: 16px 0 28px; }
.closer__list { list-style: none; margin-top: 32px; }
.closer__list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.closer__list .ic { color: var(--brass); margin-top: 2px; }
.closer__list small { color: var(--muted); }
.closer__list a:hover { color: var(--brass); }

/* ---------- ПОДВАЛ ---------- */
.footer { background: #0a0e13; border-top: 1px solid var(--line); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 46px; }
.footer__brand .brand__name { font-size: 24px; letter-spacing: .14em; }
.footer__brand .brand__sub { font-size: 9px; letter-spacing: .44em; color: var(--brass); }
.footer__slogan { color: var(--brass); margin-top: 14px; font-size: 14px; font-style: italic; }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 14px; }
.footer__col p { font-size: 15px; margin-bottom: 8px; }
.footer__col a:hover { color: var(--brass); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 24px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- ЛИПКАЯ МОБИЛЬНАЯ ПАНЕЛЬ ---------- */
.mobile-bar { display: none; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 980px) {
  .menu-grid, .pillars, .reviews-grid { grid-template-columns: 1fr; }
  .menu-card--feat { order: -1; }
  .closer__grid { grid-template-columns: 1fr; }
  .closer__map { order: 2; }
  .menu-extra { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .offer { padding: 30px 24px; }
  .offer__body { flex-direction: column; align-items: flex-start; text-align: left; }
  .offer .btn, .offer__text p { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .hero__inner { padding-top: 120px; }
  .reviews-grid { gap: 16px; }

  .mobile-bar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 60; background: rgba(14,19,26,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; }
  .mobile-bar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 14px; border-radius: 8px; font-family:'Archivo'; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
  .mobile-bar__btn--call { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
  .mobile-bar__btn--book { background: linear-gradient(135deg, var(--brass-soft), var(--brass)); color: #1a1305; }
  body { padding-bottom: 72px; }
}

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