/* ZDN Barbershop — Style Over Everything */

:root {
  --bg: #120c0a;
  --bg-soft: #1a1210;
  --bg-card: #211814;
  --bg-card-hover: #2a1e18;
  --rust: #a8542a;
  --rust-light: #c46b3a;
  --rust-dark: #7a3d1e;
  --cream: #e8dcc8;
  --cream-muted: #b8aa96;
  --cream-dim: #8a7d6e;
  --line: rgba(232, 220, 200, 0.1);
  --line-rust: rgba(168, 84, 42, 0.35);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(168, 84, 42, 0.1), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(122, 61, 30, 0.08), transparent 50%),
    var(--bg);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: auto;
}

::selection {
  background: var(--rust);
  color: var(--cream);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid var(--line);
  border-top-color: var(--rust);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-logo {
  width: 110px;
  height: auto;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}

/* Grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s, border-color 0.35s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rust-light), var(--rust));
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(168, 84, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(168, 84, 42, 0.35);
}

.btn.magnetic:hover {
  transform: none;
}

.btn-primary.magnetic:hover {
  box-shadow: 0 16px 40px rgba(168, 84, 42, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-rust);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--rust-light);
  background: rgba(168, 84, 42, 0.1);
}

.btn-lg { padding: 16px 34px; }
.btn-full { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.header.scrolled {
  background: rgba(18, 12, 10, 0.88);
  backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.preloader-logo,
.hero-logo,
.about-logo,
.footer-brand img,
.map-badge img {
  background: transparent;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color 0.3s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--rust-light);
  transition: width 0.3s var(--ease);
}

.nav a:hover { color: var(--cream); }
.nav a:hover::after { width: 100%; }

.nav a.active {
  color: var(--cream);
}

.nav a.active::after { width: 100%; }

.nav-cta {
  display: none;
}

.header-cta {
  display: inline-flex;
  padding: 11px 22px;
  font-size: 0.78rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-orb--1 {
  width: 460px;
  height: 460px;
  background: var(--rust);
  top: 16%;
  left: 58%;
  transform: translateX(-50%);
  animation: float 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 320px;
  height: 320px;
  background: var(--rust-dark);
  bottom: 8%;
  left: -6%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.hero-title-accent {
  color: var(--rust-light);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 6px 14px;
  border: 1px solid var(--line-rust);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 500;
  color: var(--cream-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--cream-muted);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--rust-light);
  line-height: 1;
}

.hero-stat > span {
  font-size: 0.78rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-logo-frame {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-glow-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 92%;
  aspect-ratio: 1;
}

.hero-logo-frame .logo-glow-wrap {
  animation: float 6s ease-in-out infinite;
}

.logo-glow-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168, 84, 42, 0.24), transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-ring {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(228, 197, 122, 0.16);
  box-shadow: inset 0 0 60px rgba(168, 84, 42, 0.08);
  pointer-events: none;
}

.hero-ring::before,
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(228, 197, 122, 0.08);
}

.hero-ring::after { inset: 18%; }

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.ornament i {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rust-light));
}

.ornament i:last-child {
  background: linear-gradient(90deg, var(--rust-light), transparent);
}

.ornament span {
  width: 7px;
  height: 7px;
  rotate: 45deg;
  border: 1px solid var(--rust-light);
  background: rgba(168, 84, 42, 0.25);
  box-shadow: 0 0 12px rgba(168, 84, 42, 0.35);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line-rust);
  border-radius: 20px;
  display: grid;
  place-items: center;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--rust-light);
  border-radius: 4px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(-4px); opacity: 0.3; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Marquee — бесшовный бесконечный цикл */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-soft);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 35s) linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--rust-light);
  white-space: nowrap;
  opacity: 0.7;
}

.marquee-dot {
  opacity: 0.45 !important;
  font-size: 1rem !important;
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--marquee-shift, -50%), 0, 0); }
}

/* Overview */
.overview {
  background: var(--bg-soft);
  padding-top: 80px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.overview-card {
  grid-column: span 4;
}

.overview-card:nth-child(4),
.overview-card:nth-child(5) {
  grid-column: span 6;
}

.overview-grid--no-gallery .overview-card {
  grid-column: span 6;
}

[hidden] {
  display: none !important;
}

.overview-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  min-height: 100%;
}

.overview-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-rust);
  box-shadow: var(--shadow);
}

.overview-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--rust-light);
}

.overview-card ul {
  list-style: none;
  flex: 1;
}

.overview-card ul li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--cream-muted);
}

.overview-card ul li strong {
  color: var(--cream);
  white-space: nowrap;
}

.overview-masters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.overview-masters div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--cream-muted);
}

.overview-masters img,
.overview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-rust);
  flex-shrink: 0;
}

.overview-avatar {
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rust-light), var(--rust-dark));
  color: var(--cream);
}

.overview-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  flex: 1;
  margin-bottom: 8px;
}

.overview-gthumb,
.overview-gallery img {
  width: 100%;
  height: 78px;
  border-radius: 6px;
  object-fit: cover;
}

.overview-quote {
  font-style: italic;
  color: var(--cream-muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 10px;
}

.overview-meta {
  font-size: 0.78rem;
  color: var(--rust-light);
  margin-bottom: 12px;
}

.overview-contacts {
  list-style: none;
  flex: 1;
}

.overview-contacts li {
  padding: 6px 0;
  font-size: 0.84rem;
  color: var(--cream-muted);
  border-bottom: 1px solid var(--line);
}

.overview-link {
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-light);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--rust-light), transparent);
  box-shadow: 0 0 12px rgba(168, 84, 42, 0.45);
}

.section-subtitle {
  color: var(--cream-muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* About */
.about .section-head {
  margin: 0 auto 48px;
  max-width: 720px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-logo-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-rust);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.about-logo-wrap .logo-glow-wrap {
  width: 100%;
  position: relative;
}

.about-logo {
  width: 100%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.4));
}

.about-float {
  padding: 8px 14px;
  background: rgba(18, 12, 10, 0.85);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  backdrop-filter: blur(8px);
}

.about-float--top {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 2;
}

.about-float--bottom {
  position: static;
  width: 100%;
  text-align: center;
  color: var(--rust-light);
  border-color: rgba(168, 84, 42, 0.45);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-stat {
  padding: 18px 14px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.about-stat:hover {
  border-color: var(--line-rust);
  transform: translateY(-3px);
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--rust-light);
  line-height: 1.1;
}

.about-stat > span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--cream-muted);
  line-height: 1.35;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--cream) !important;
  line-height: 1.65;
}

.about-lead strong {
  color: var(--rust-light);
}

.about-content p {
  color: var(--cream-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.about-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  color: var(--cream);
  line-height: 1.5;
}

.about-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--rust-light);
  font-size: 0.55rem;
  top: 6px;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-chips span {
  padding: 8px 16px;
  background: rgba(168, 84, 42, 0.12);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--cream);
}

.about-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.about-media .about-actions .btn {
  width: 100%;
  min-height: 48px;
  padding-inline: 14px;
  font-size: 0.74rem;
  line-height: 1.2;
  text-align: center;
}

/* Vibe / Interior */
.vibe { background: var(--bg-soft); }

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vibe-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.vibe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.vibe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.vibe-card:hover img { transform: scale(1.06); }

.vibe-card-body { padding: 22px; }

.vibe-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.vibe-card-body p {
  color: var(--cream-muted);
  font-size: 0.9rem;
}

/* Service cards */
.services { background: var(--bg-soft); }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  align-items: stretch;
}

.services-grid .popular-card {
  flex: 0 1 calc((100% - 44px) / 3);
  max-width: calc((100% - 44px) / 3);
}

.popular-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.popular-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-rust);
  box-shadow: var(--shadow);
}

.popular-card--top {
  border-color: var(--line-rust);
}

.popular-card--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust-dark), var(--rust-light), var(--rust-dark));
}

.popular-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(168, 84, 42, 0.06);
}

.popular-card--top .popular-card-head {
  background: linear-gradient(135deg, rgba(168, 84, 42, 0.18), rgba(168, 84, 42, 0.04));
}

.popular-card--vip .popular-card-head {
  background: linear-gradient(135deg, rgba(168, 84, 42, 0.14), transparent);
}

.popular-card--vip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust-dark), var(--cream-muted), var(--rust-dark));
}

.popular-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 0;
}

.popular-rank {
  position: static;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--rust-light);
  line-height: 1;
}

.popular-badge {
  display: inline-block;
  align-self: auto;
  margin-bottom: 0;
  padding: 5px 12px;
  background: var(--rust);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.popular-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding-right: 0;
}

.popular-card p {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.popular-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 20px 16px;
  padding: 12px 14px;
  border-top: none;
  background: rgba(168, 84, 42, 0.08);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius-sm);
}

.popular-bottom .price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--rust-light);
}

.popular-bottom .time {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.popular-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 14px 20px;
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(168, 84, 42, 0.28);
}

.popular-book { display: none; }

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--rust-light);
}

.time {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* Masters */
.masters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.master-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  transform-style: preserve-3d;
}

.master-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-rust);
  box-shadow: var(--shadow);
}

.master-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--bg-soft);
}

.master-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(18, 12, 10, 0.72));
  pointer-events: none;
}

.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.6s var(--ease);
}

.master-card:hover .master-photo img { transform: scale(1.08); }

.master-card h3,
.master-card .master-role,
.master-card .master-tags,
.master-card > p:not(.master-meta) {
  padding-left: 20px;
  padding-right: 20px;
}

.master-card h3 {
  margin-top: 16px;
  margin-bottom: 4px;
}

.master-role {
  color: var(--rust-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.master-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.master-tags span {
  padding: 4px 10px;
  background: rgba(168, 84, 42, 0.15);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rust-light);
}

.master-card > p:not(.master-role):not(.master-meta) {
  color: var(--cream-muted);
  font-size: 0.88rem;
  padding-bottom: 12px;
}

.master-card__footer {
  margin-top: auto;
  padding: 0 20px;
}

.master-book {
  margin-bottom: 12px;
}

.master-meta {
  padding-bottom: 18px !important;
  font-size: 0.78rem !important;
  color: var(--rust-light) !important;
  border-top: 1px solid var(--line);
  padding-top: 12px !important;
}

.master-services {
  list-style: none;
  margin: 0 20px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.master-services li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--cream-muted);
  padding: 5px 0;
}

.master-services li span {
  color: var(--rust-light);
  font-weight: 600;
  white-space: nowrap;
}

/* Gallery */
.gallery { background: var(--bg-soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  grid-template-areas:
    "fade beard beard pompadour"
    "crop classic classic pompadour";
  gap: 14px;
}

.gallery-item:nth-child(1) { grid-area: fade; }
.gallery-item:nth-child(2) { grid-area: beard; }
.gallery-item:nth-child(3) { grid-area: classic; }
.gallery-item:nth-child(4) { grid-area: pompadour; }
.gallery-item:nth-child(5) { grid-area: crop; }

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 200px;
}

.gallery-visual {
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover .gallery-visual { transform: scale(1.06); }

.g1 { background: linear-gradient(135deg, #1a1210 0%, #4a2818 50%, #2a1810 100%); }
.g2 { background: linear-gradient(135deg, #211814 0%, #6b3a22 60%, #1a1210 100%); }
.g3 { background: linear-gradient(160deg, #120c0a 0%, #3d2518 50%, #1a1210 100%); }
.g4 { background: linear-gradient(180deg, #1a1210 0%, #5a3520 50%, #120c0a 100%); }
.g5 { background: linear-gradient(135deg, #181210 0%, #4a3020 50%, #211814 100%); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(18, 12, 10, 0.92));
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-stars {
  color: var(--rust-light);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rust-light), var(--rust-dark));
  color: var(--cream);
  flex-shrink: 0;
}

.review-head strong { display: block; }

.review-head span {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

.review-card p {
  color: var(--cream-muted);
  font-style: italic;
}

.reviews-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.reviews-summary div {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius);
}

.reviews-summary strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--rust-light);
  line-height: 1;
  margin-bottom: 6px;
}

.reviews-summary span {
  font-size: 0.78rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Contacts */
.contacts { background: var(--bg-soft); }

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto;
  gap: 24px 40px;
  align-items: start;
}

.contacts-head {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  margin-bottom: 8px;
}

.contacts-lead {
  color: var(--cream-muted);
  margin-bottom: 0;
}

.info-cards {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(38, 27, 22, 0.96), rgba(24, 17, 14, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(168, 84, 42, 0.08), transparent 55%);
  pointer-events: none;
}

.info-card__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(168, 84, 42, 0.14);
  border: 1px solid rgba(196, 107, 58, 0.28);
  color: var(--rust-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.info-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.info-card p {
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.info-card__highlight {
  color: var(--cream);
  font-weight: 500;
}

.info-card:hover {
  border-color: var(--line-rust);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.info-card__phone-link {
  display: inline-block;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  transition: color 0.3s;
}

.info-card__phone-link:hover {
  color: var(--rust-light);
}

.contacts-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contacts-socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(168, 84, 42, 0.08);
  border: 1px solid rgba(168, 84, 42, 0.18);
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.contacts-socials a:hover {
  background: rgba(168, 84, 42, 0.18);
  border-color: var(--rust-light);
  transform: translateY(-1px);
}

.contacts-socials a:hover .social-link__icon {
  background: var(--rust);
  border-color: var(--rust-light);
  color: var(--cream);
}

.contacts-socials a:hover .social-link__label {
  color: var(--cream);
}

.social-link__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(168, 84, 42, 0.16);
  border: 1px solid rgba(196, 107, 58, 0.32);
  color: var(--rust-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}

.social-link__icon svg {
  width: 26px;
  height: 26px;
}

.social-link__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: var(--cream-muted);
  transition: color 0.35s;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socials a {
  padding: 10px 18px;
  border: 1px solid var(--line-rust);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.socials a:hover {
  background: var(--rust);
  color: var(--cream);
}

.map-wrap {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--line-rust);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(42, 30, 24, 0.95), rgba(33, 24, 20, 0.9));
  border-bottom: 1px solid var(--line-rust);
}

.map-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.map-toolbar__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rust-light);
  transition: color 0.25s;
}

.map-toolbar__link:hover {
  color: var(--cream);
}

.map-frame {
  position: relative;
  flex: 1;
  min-height: 0;
}

.map-canvas {
  position: absolute;
  inset: 0;
  background: #1c1816;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, transparent 72%, rgba(18, 12, 10, 0.35) 100%);
}

.map-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(18, 12, 10, 0.92);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.map-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.map-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--cream);
  margin-bottom: 2px;
}

.map-badge span {
  display: block;
  font-size: 0.8rem;
  color: var(--cream-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: var(--line-rust); }

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--rust-light);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--cream-muted);
  font-size: 0.92rem;
}

/* Footer */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand img {
  width: 64px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--cream-muted);
  line-height: 1.6;
}

.footer-brand em {
  color: var(--rust-light);
  font-style: normal;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--cream-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--cream); }

.footer-copy {
  text-align: right;
  color: var(--cream-dim);
  font-size: 0.82rem;
}

.footer-copy p + p { margin-top: 4px; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  padding: 7px 12px;
  border: 1px solid var(--line-rust);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.footer-socials a:hover {
  background: var(--rust);
  border-color: var(--rust-light);
  color: var(--cream);
}

.nav-backdrop { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 48px 24px 72px;
  background: rgba(6, 5, 4, 0.92);
  backdrop-filter: blur(16px);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line-rust);
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--cream);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-rust);
  border-radius: 50%;
  background: rgba(26, 22, 18, 0.8);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-item { cursor: pointer; }

.review-card,
.info-card,
.popular-card,
.overview-card {
  backdrop-filter: blur(6px);
}

.review-card {
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-rust);
  box-shadow: var(--shadow);
}

/* Reveal helpers */
.reveal, .reveal-left, .reveal-right {
  will-change: transform, opacity;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rust-dark), var(--rust-light));
  z-index: 10001;
  pointer-events: none;
}

/* Custom scissors cursor */
.cursor-scissors {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10004;
  opacity: 0;
  will-change: transform;
}

.cursor-scissors-inner {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
}

.cursor-scissors-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.scissors-state--closed {
  pointer-events: none;
}

body.custom-cursor {
  cursor: none;
}

body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor .btn,
body.custom-cursor input,
body.custom-cursor select,
body.custom-cursor textarea,
body.custom-cursor label {
  cursor: none;
}

body.custom-cursor .cursor-scissors {
  opacity: 1;
  transition: opacity 0.3s;
}

body.custom-cursor .cursor-scissors.is-hover .cursor-scissors-svg {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 84, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.4s;
}

body.custom-cursor .cursor-glow { opacity: 1; }

body.cursor-mode-default .cursor-scissors,
body.cursor-mode-default .cursor-glow {
  opacity: 0 !important;
}

/* Cursor switch */
.cursor-switch {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 192px;
  padding: 14px 16px 16px;
  background: rgba(18, 12, 10, 0.94);
  border: 1px solid var(--line-rust);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.cursor-switch__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.cursor-switch__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cursor-switch__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 62px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(26, 18, 16, 0.8);
  color: var(--cream-muted);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.cursor-switch__btn span {
  display: block;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}

.cursor-switch__btn svg {
  flex-shrink: 0;
}

.cursor-switch__btn:hover {
  border-color: var(--line-rust);
  color: var(--cream);
}

.cursor-switch__btn.is-active {
  border-color: var(--rust-light);
  background: rgba(168, 84, 42, 0.18);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(196, 107, 58, 0.35);
}

.cursor-switch__btn:focus-visible {
  outline: 2px solid var(--rust-light);
  outline-offset: 2px;
}

.cursor-switch__scroll {
  height: 3px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cursor-switch__scroll-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rust-dark), var(--rust-light));
  transition: width 0.12s linear;
}

body.custom-cursor .cursor-switch__btn {
  cursor: none;
}

/* Responsive */
@media (max-width: 1280px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100vh;
    flex-direction: column;
    gap: 22px;
    padding: calc(var(--header-h) + 36px) 36px 36px;
    background: rgba(18, 16, 13, 0.97);
    border-left: 1px solid var(--line-rust);
    backdrop-filter: blur(20px);
    transition: right 0.4s var(--ease);
    z-index: 1001;
  }

  .nav.open { right: 0; }
  .burger { display: flex; z-index: 1002; }
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rust-light), var(--rust));
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .nav-cta::after { display: none; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
  }

  .nav-backdrop[hidden] { display: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }

  .contacts-head,
  .info-cards,
  .map-wrap {
    grid-column: 1;
    grid-row: auto;
  }

  .map-wrap {
    min-height: 420px;
  }

  .map-frame {
    min-height: 360px;
  }

  .cursor-switch {
    display: none;
  }

  .hero-visual { order: -1; }
  .hero-logo-frame { width: min(280px, 70vw); }

  .services-grid .popular-card {
    flex: 0 1 calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }
  .masters-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-card,
  .overview-card:nth-child(4),
  .overview-card:nth-child(5) { grid-column: auto; }
  .vibe-grid { grid-template-columns: 1fr; }
  .reviews-grid,
  .reviews-summary { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
    grid-template-areas:
      "fade beard"
      "classic pompadour"
      "crop crop";
  }

  .gallery-ph { min-height: 180px; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img { margin-inline: auto; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    padding: calc(var(--header-h) + 32px) 32px 32px;
    background: var(--bg-soft);
    border-left: 1px solid var(--line);
    transition: right 0.4s var(--ease);
  }

  .nav.open { right: 0; }

  .burger { display: flex; }
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rust-light), var(--rust));
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .nav-cta::after { display: none; }

  .about-actions {
    grid-template-columns: 1fr;
  }

  .services-grid .popular-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .masters-grid,
  .overview-grid { grid-template-columns: 1fr; }

  .hero-title { white-space: normal; }
  .brand-text { display: none; }
  .header-cta { padding: 10px 16px; font-size: 0.72rem; }

  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-inner { animation: none; }
}
