*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dim: rgba(59,130,246,0.15);
  --dark: #080C12;
  --dark2: #0D1117;
  --dark3: #131A24;
  --dark4: #1A2333;
  --gray: #7A8899;
  --gray-light: #B0BCC8;
  --white: #EBF0F7;
  --white2: #F4F7FB;
  --radius: 2px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

::selection { background: var(--accent); color: var(--dark); }

.cursor-glow {
  position: fixed; width: 300px; height: 300px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.6s ease, top 0.6s ease;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 220;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(8,12,18,0.92);
  backdrop-filter: blur(16px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(59,130,246,0.1);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 46px; width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--gray-light);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-book {
  background:
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.55) 50%, transparent 58%) no-repeat,
    var(--accent);
  background-size: 220% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  color: var(--dark);
  padding: 10px 28px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background-color 0.25s, background-position 0.6s ease, transform 0.2s;
}
.nav-book:hover {
  background-position: -50% 0, 0 0;
  transform: translateY(-1px);
}

.nav-end {
  display: flex; align-items: center; gap: 20px;
}

.nav-call {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray-light); text-decoration: none;
  transition: color 0.25s;
}
.nav-call svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-call-number {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-call:hover { color: var(--accent); }

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-duo {
  position: absolute; inset: 0;
  background: var(--dark);
  overflow: hidden;
}
.hero-duo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
  filter: grayscale(35%) brightness(0.75);
}
.hero-duo-left { z-index: 1; }
.hero-duo-right {
  z-index: 2;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.15s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-duo-right.is-visible {
  clip-path: inset(0 0 0 0%);
}
.hero-bg-tint {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(135deg, rgba(8,12,18,0.97) 0%, rgba(8,12,18,0.55) 50%, rgba(8,12,18,0.85) 100%);
}

.hero-deco {
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(180px, 22vw, 340px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59,130,246,0.08);
  user-select: none; pointer-events: none;
  letter-spacing: -0.02em;
}

.hero-content {
  position: relative; z-index: 5;
  max-width: 700px; padding: 140px 60px 100px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}

.barber-pole {
  display: block; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background-image: repeating-linear-gradient(45deg,
    var(--accent) 0 4px,
    var(--white2) 4px 8px,
    var(--dark4) 8px 12px);
  background-size: 200% 200%;
  box-shadow: 0 0 0 1px rgba(59,130,246,0.4), 0 0 12px rgba(59,130,246,0.3);
  animation: barberSpin 1.1s linear infinite;
}
@keyframes barberSpin {
  from { background-position: 0 0; }
  to { background-position: 24px 24px; }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900; line-height: 0.95;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 16px; color: var(--gray-light);
  max-width: 440px; line-height: 1.75;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex; align-items: center; gap: 28px;
}

.btn-primary[hidden], .btn-ghost[hidden] { display: none; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background:
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.55) 50%, transparent 58%) no-repeat,
    var(--accent);
  background-size: 220% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  color: var(--dark);
  padding: 16px 40px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  border: none; appearance: none; font-family: inherit; cursor: pointer;
  transition: background-color 0.25s, background-position 0.6s ease, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background-position: -50% 0, 0 0;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.3);
}
.btn-primary:disabled {
  opacity: 0.4; cursor: not-allowed;
  transform: none; box-shadow: none;
}
.btn-primary svg { width: 14px; height: 14px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: none;
  color: var(--white); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid rgba(245,240,232,0.3);
  appearance: none; font-family: inherit; cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

.hero-stats {
  position: absolute; bottom: 60px; right: 60px;
  display: flex; gap: 56px; z-index: 5;
}
.stat { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; line-height: 1;
  color: var(--accent); letter-spacing: 0.02em;
}
.stat-label {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 60px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

section { position: relative; z-index: 1; }

.section-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-label span {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.section-label::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--accent);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--accent); }

.about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.about-img {
  position: relative; overflow: hidden;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.6s, transform 0.8s;
}
.about-img:hover img { filter: grayscale(0%); transform: scale(1.03); }

.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--dark));
}

.about-img-badge {
  position: absolute; bottom: 40px; left: 40px;
  background: var(--accent); color: var(--dark);
  padding: 18px 28px;
}
.about-img-badge strong {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; line-height: 1;
}
.about-img-badge span {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}

.about-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
  background: var(--dark2);
}

.about-text {
  color: var(--gray-light); line-height: 1.85;
  margin: 28px 0 40px; font-size: 15px;
}

.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 8px;
}
.pillar {
  padding: 20px; border: 1px solid rgba(59,130,246,0.15);
  background: var(--dark3);
  transition: border-color 0.3s, background 0.3s;
}
.pillar:hover {
  border-color: rgba(59,130,246,0.4);
  background: var(--dark4);
}
.pillar-icon {
  width: 32px; height: 32px; margin-bottom: 12px;
  color: var(--accent);
}
.pillar h4 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.pillar p { font-size: 12px; color: var(--gray); line-height: 1.6; }

.services {
  padding: 120px 60px;
  background: var(--dark);
}

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
}

.services-tabs {
  display: flex; gap: 4px;
  background: var(--dark3); padding: 4px;
}
.tab-btn {
  padding: 10px 24px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: none; color: var(--gray);
  cursor: pointer; transition: all 0.25s;
}
.tab-btn.active {
  background: var(--accent); color: var(--dark);
}
.tab-btn:not(.active):hover { color: var(--white); }

.services-panel { display: none; }
.services-panel.active { display: block; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
}

.service-card {
  background: var(--dark3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.25s;
  cursor: default;
}
.service-card:hover { background: var(--dark4); }

.service-name {
  font-size: 14px; font-weight: 400; color: var(--white);
}
.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.services-cta {
  text-align: center; margin-top: 56px;
}
.services-note {
  font-size: 12px; color: var(--gray);
  letter-spacing: 0.08em; margin-top: 16px;
}

.team {
  padding: 120px 60px;
  background: var(--dark2);
}

.team-header {
  max-width: 520px; margin-bottom: 72px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.master-card {
  position: relative; overflow: hidden;
  cursor: pointer;
  display: block; color: inherit; text-decoration: none;
}

.master-img {
  position: relative; padding-top: 130%;
  overflow: hidden;
}
.master-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
  filter: grayscale(30%);
  transition: filter 0.5s, transform 0.6s;
}
.master-card:hover .master-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.master-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    transparent 32%,
    rgba(96,165,250,0.45) 48%,
    rgba(255,255,255,0.3) 50%,
    rgba(96,165,250,0.45) 52%,
    transparent 68%);
  transform: translateX(-140%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.master-card:hover .master-img::after {
  transform: translateX(140%);
}

.master-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,0.9) 0%, transparent 50%);
}

.master-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
}
.master-rank {
  font-size: 9px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.master-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
}

.master-book {
  display: block; margin-top: 0; padding: 0;
  height: 0; overflow: hidden;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  text-decoration: none;
  transition: height 0.3s, margin-top 0.3s;
}
.master-card:hover .master-book {
  height: 20px; margin-top: 10px;
}

.gallery-strip {
  padding: 0;
  background: var(--dark);
}

.strip-track {
  display: flex; gap: 3px;
  overflow: hidden;
}

.strip-item {
  flex: 0 0 calc(100% / 6);
  padding-top: calc(100% / 6 * 1.3);
  position: relative; overflow: hidden;
}
.strip-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
  filter: grayscale(60%);
  transition: filter 0.4s, transform 0.5s;
}
.strip-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
.strip-item-overlay {
  position: absolute; inset: 0;
  background: rgba(8,12,18,0.3);
  transition: background 0.4s;
}
.strip-item:hover .strip-item-overlay {
  background: rgba(8,12,18,0.05);
}

.location {
  padding: 120px 60px;
  background: var(--dark3);
}

.location-inner {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}

.location-details { }

.location-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.location-item:first-of-type { padding-top: 0; }

.loc-icon {
  width: 20px; height: 20px;
  color: var(--accent); flex-shrink: 0;
  margin-top: 2px;
}

.loc-label {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.loc-value {
  font-size: 15px; color: var(--white);
  line-height: 1.5;
}
.loc-value a {
  color: var(--white); text-decoration: none;
  transition: color 0.25s;
}
.loc-value a:hover { color: var(--accent); }

.location-map {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}
.map-frame {
  display: block;
  width: 100%; max-width: 100%; height: 420px;
  border: 1px solid rgba(59,130,246,0.15);
  filter: grayscale(80%) invert(5%);
  transition: filter 0.4s;
}
.map-frame:hover { filter: grayscale(0%) invert(0%); }

.map-caption {
  position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.social-section {
  padding: 80px 60px;
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(59,130,246,0.08);
  border-bottom: 1px solid rgba(59,130,246,0.08);
}

.social-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
}
.social-text h3 em { font-style: italic; color: var(--accent); }
.social-text p {
  color: var(--gray); font-size: 14px; margin-top: 8px;
}

.social-links {
  display: flex; gap: 16px;
}
.social-link {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--white); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.social-link:hover {
  background: var(--accent); color: var(--dark);
  border-color: var(--accent);
}
.social-link svg { width: 16px; height: 16px; }

.book-banner {
  position: relative;
  padding: 160px 60px;
  overflow: hidden;
  background: var(--dark2);
  text-align: center;
}

.book-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(59,130,246,0.06) 0%, transparent 70%),
    var(--dark2);
}

.book-banner-deco-l {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59,130,246,0.06);
  user-select: none; pointer-events: none;
}
.book-banner-deco-r {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59,130,246,0.06);
  user-select: none; pointer-events: none;
}

.hero-deco, .book-banner-deco-l, .book-banner-deco-r {
  background-image: linear-gradient(115deg,
    transparent 15%,
    rgba(96,165,250,0.55) 48%,
    rgba(59,130,246,0.7) 50%,
    rgba(96,165,250,0.55) 52%,
    transparent 85%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: decoFade 9s ease-in-out infinite;
}
@keyframes decoFade {
  0%, 100% { background-position: 170% 0; }
  50% { background-position: -70% 0; }
}

.book-banner-inner { position: relative; z-index: 2; }

.book-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900; line-height: 1;
  margin-bottom: 24px;
}
.book-banner h2 em { font-style: italic; color: var(--accent); }

.book-banner p {
  color: var(--gray-light); font-size: 16px;
  max-width: 440px; margin: 0 auto 48px; line-height: 1.7;
}

footer {
  background: var(--dark);
  padding: 60px 60px 170px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px; margin-bottom: 56px;
}

.footer-brand img {
  height: 48px; margin-bottom: 20px;
  filter: brightness(0.9);
}
.footer-brand p {
  color: var(--gray); font-size: 13px;
  line-height: 1.75; max-width: 260px;
}

.footer-col h5 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--gray); font-size: 13px;
  text-decoration: none; transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-hours { }
.hour-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.hour-row .days { color: var(--gray); }
.hour-row .time { color: var(--white); font-weight: 500; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-copy {
  font-size: 12px; color: var(--gray);
  letter-spacing: 0.06em;
}
.footer-copy a { color: var(--accent); text-decoration: none; }

.footer-socials {
  display: flex; gap: 16px;
}
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray); text-decoration: none;
  transition: all 0.25s;
}
.footer-social-link:hover {
  border-color: var(--accent); color: var(--accent);
}
.footer-social-link svg { width: 16px; height: 16px; }

.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.float-row {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  display: flex; gap: 8px;
  width: 190px;
}

.float-book {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex: 1 1 auto; min-width: 0;
  background: var(--accent); color: var(--dark);
  padding: 14px 20px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(59,130,246,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.float-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(59,130,246,0.45);
}
.float-book svg { width: 14px; height: 14px; flex-shrink: 0; }

.float-call {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 48px;
  background: var(--dark3); color: var(--accent);
  border: 1px solid rgba(59,130,246,0.35);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(4,6,10,0.5);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
}
.float-call svg { width: 18px; height: 18px; }
.float-call:hover {
  transform: translateY(-3px);
  background: var(--accent); color: var(--dark); border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(59,130,246,0.35);
}

.float-ai {
  position: fixed; bottom: 96px; right: 32px; z-index: 99;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 190px; box-sizing: border-box;
  background: var(--dark3); color: var(--white);
  border: 1px solid rgba(59,130,246,0.35);
  padding: 13px 26px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(4,6,10,0.5);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.float-ai:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(59,130,246,0.35);
}
.float-ai svg { width: 15px; height: 15px; color: var(--accent); }

@keyframes navBadgePulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.7); transform: scale(1); }
  70% { box-shadow: 0 0 0 8px rgba(59,130,246,0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); transform: scale(1); }
}
.nav-badge-new { position: relative; }
.nav-badge-new::after {
  content: '';
  position: absolute; top: -4px; right: -14px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-light);
  animation: navBadgePulse 1.6s ease-out infinite;
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal.reveal-left { transform: translateX(-60px); }
.reveal.reveal-right { transform: translateX(60px); }
.reveal.reveal-left.visible,
.reveal.reveal-right.visible { transform: translateX(0); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 10px rgba(59,130,246,0.5);
  z-index: 200;
}

.section-title em {
  background-image: linear-gradient(115deg, var(--accent) 38%, var(--white2) 50%, var(--accent) 62%);
  background-size: 280% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title.visible em {
  animation: titleShimmer 1.2s ease-out 0.15s forwards;
}
@keyframes titleShimmer {
  from { background-position: 200% 0; }
  to { background-position: -30% 0; }
}

/* ---------- Language switcher ---------- */
.nav-lang {
  display: flex; align-items: center; gap: 10px;
}
.nav-lang a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--gray); text-decoration: none;
  transition: color 0.25s;
}
.nav-lang a.active { color: var(--accent); }
.nav-lang a:hover { color: var(--white); }

.mobile-menu-lang {
  display: flex; gap: 20px; margin-top: 40px;
}
.mobile-menu-lang a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gray); text-decoration: none;
}
.mobile-menu-lang a.active { color: var(--accent); }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none; position: relative; z-index: 210;
  width: 28px; height: 20px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 2px; background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-toggle span { top: 9px; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); background: var(--accent); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); background: var(--accent); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 205;
  background: rgba(8,12,18,0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow-y: auto;
  padding: 100px 24px 40px;
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mobile-menu ul { list-style: none; text-align: center; width: 100%; }
.mobile-menu li {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu.open li { opacity: 1; transform: translateY(0); }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 28px;
}
.mobile-menu .mobile-menu-book {
  display: inline-block;
  background: var(--accent); color: var(--dark);
  padding: 16px 48px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.mobile-menu .mobile-menu-book:hover { color: var(--dark); }
.mobile-menu .mobile-menu-call {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--white); text-decoration: none;
  padding: 14px 28px;
  max-width: min(300px, calc(100vw - 64px));
}
.mobile-menu-call svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.mobile-menu-call span {
  display: flex; flex-direction: column; align-items: flex-start;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  white-space: nowrap;
}
.mobile-menu-call small {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 2px;
}
.mobile-menu-call:hover { border-color: var(--accent); }
body.menu-open { overflow: hidden; }

/* ---------- Inner page header ---------- */
.page-header {
  position: relative; overflow: hidden;
  padding: 180px 60px 60px;
}
.page-header-deco {
  position: absolute; right: -10px; top: 40%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px, 16vw, 240px);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(59,130,246,0.08);
  user-select: none; pointer-events: none;
  letter-spacing: -0.02em;
}

/* ---------- Barbers rail ---------- */
.barbers-rail {
  position: relative;
  padding: 0 60px 100px;
}
.barbers-rail-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.barbers-rail-track::-webkit-scrollbar { display: none; }

.barbers-rail-item {
  flex: 0 0 260px; scroll-snap-align: start;
  position: relative; overflow: hidden;
  display: block; color: inherit; text-decoration: none;
  transition: transform 0.4s ease;
}
.barbers-rail-item:hover { transform: translateY(-6px); }

.barbers-rail-img {
  position: relative; padding-top: 130%; overflow: hidden;
}
.barbers-rail-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(35%);
  transition: filter 0.5s, transform 0.6s;
}
.barbers-rail-item:hover .barbers-rail-img img {
  filter: grayscale(0%); transform: scale(1.06);
}
.barbers-rail-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,0.9) 0%, transparent 55%);
}
.barbers-rail-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.barbers-rail-rank {
  font-size: 9px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 4px;
}
.barbers-rail-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
}

.rail-arrow {
  position: absolute; top: 45%; transform: translateY(-50%);
  width: 44px; height: 44px; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19,26,36,0.85);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--white); cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.rail-arrow:hover {
  background: var(--accent); color: var(--dark); border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}
.rail-arrow svg { width: 18px; height: 18px; }
.rail-arrow.prev { left: 20px; }
.rail-arrow.next { right: 20px; }

/* ---------- Barber detail ---------- */
.barber-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 70vh;
}
.barber-detail-img {
  position: relative; overflow: hidden;
  min-height: 480px;
}
.barber-detail-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(25%);
}
.barber-detail-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--dark2));
}
.barber-detail-info {
  background: var(--dark2);
  padding: 80px 90px 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.barber-detail-rank {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.barber-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px); font-weight: 700;
  margin-bottom: 24px;
}
.barber-detail-bio {
  color: var(--gray-light); line-height: 1.85; font-size: 15px;
  max-width: 460px; margin-bottom: 32px;
}
.barber-detail-actions {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.barber-social {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(245,240,232,0.3);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.barber-social:hover { color: var(--accent); border-color: var(--accent); }
.barber-social svg { width: 15px; height: 15px; }

.barber-back {
  position: absolute; top: 100px; left: 60px; z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gray-light); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.25s;
}
.barber-back:hover { color: var(--accent); }
.barber-back svg { width: 14px; height: 14px; }

.barber-pager {
  position: fixed; right: 32px; top: 50%; transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.barber-pager a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19,26,36,0.85);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--white); text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.barber-pager a:hover {
  background: var(--accent); color: var(--dark); border-color: var(--accent);
  transform: scale(1.1);
}
.barber-pager a svg { width: 16px; height: 16px; }
.barber-pager-count {
  font-size: 11px; color: var(--gray); letter-spacing: 0.08em;
}

.barber-portfolio {
  padding: 100px 60px;
  background: var(--dark3);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 56px;
}
.portfolio-item {
  position: relative; overflow: hidden;
  padding-top: 120%;
  cursor: pointer;
  border: none; background: none; padding-left: 0; padding-right: 0;
}
.portfolio-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s, transform 0.6s;
}
.portfolio-item:hover img { filter: grayscale(0%); transform: scale(1.06); }
.portfolio-item-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,12,18,0.92), transparent);
  font-size: 13px; color: var(--white);
  text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.portfolio-item:hover .portfolio-item-caption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,6,10,0.94);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(900px, 90vw); max-height: 74vh;
  object-fit: contain;
}
.lightbox-caption { color: var(--gray-light); font-size: 14px; text-align: center; }
.lightbox-close {
  position: absolute; top: 32px; right: 40px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.25s, color 0.25s;
}
.lightbox-close:hover { color: var(--accent); border-color: var(--accent); }
.lightbox-close svg { width: 18px; height: 18px; }

/* ---------- Works filter & grid ---------- */
.works-filter {
  padding: 0 60px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.filter-select {
  appearance: none;
  background: var(--dark3);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  padding: 12px 36px 12px 18px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  transition: border-color 0.25s;
}
.filter-select:hover { border-color: rgba(59,130,246,0.5); }
.filter-select:disabled { opacity: 0.4; cursor: not-allowed; }

.works-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; padding: 0 60px 100px;
}
.work-card {
  position: relative; overflow: hidden;
  padding-top: 120%;
}
.work-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(25%);
  transition: filter 0.5s, transform 0.6s;
}
.work-card:hover img { filter: grayscale(0%); transform: scale(1.05); }
.work-card-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,12,18,0.92), transparent);
  font-size: 13px; color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.work-card:hover .work-card-caption { opacity: 1; transform: translateY(0); }
.work-card.is-hidden { display: none; }

.works-empty {
  display: none;
  flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 80px 32px;
  color: var(--gray);
}
.works-empty.is-visible { display: flex; }
.works-empty strong {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: var(--white); font-weight: 700;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px; padding: 0 60px 60px;
}
.blog-card {
  display: block; color: inherit; text-decoration: none;
  background: var(--dark3);
  transition: transform 0.4s ease;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card-img {
  position: relative; padding-top: 60%; overflow: hidden;
}
.blog-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(25%);
  transition: filter 0.5s, transform 0.6s;
}
.blog-card:hover .blog-card-img img { filter: grayscale(0%); transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-card-date {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; line-height: 1.25;
  margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 13px; color: var(--gray-light); line-height: 1.7;
  margin-bottom: 16px;
}
.blog-card-more {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}

.blog-pagination { padding: 0 60px 80px; }

.blog-article {
  max-width: 780px; margin: 0 auto;
  padding: 180px 32px 120px;
}
.blog-article-date {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.blog-article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15;
  margin-bottom: 40px;
}
.blog-article-cover {
  margin-bottom: 48px;
}
.blog-article-cover img {
  width: 100%; height: auto; object-fit: cover;
  max-height: 480px;
}
.blog-article-body {
  color: var(--gray-light); font-size: 16px; line-height: 1.9;
}
.blog-article-body p { margin-bottom: 24px; }
.blog-article-body h2, .blog-article-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white); margin: 40px 0 20px; line-height: 1.3;
}
.blog-article-body ul, .blog-article-body ol { margin: 0 0 24px 20px; }
.blog-article-body a { color: var(--accent); }
.blog-article-body img { max-width: 100%; height: auto; margin: 24px 0; }

/* ---------- AI Stylist ---------- */
.ai-stylist-intro {
  max-width: 560px; color: var(--gray-light);
  font-size: 15px; line-height: 1.7; margin-top: 20px;
}

.ai-stylist {
  max-width: 640px; margin: 0 auto;
  padding: 0 32px 120px;
}

.ai-stylist-form {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.ai-stylist-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: var(--dark3); padding: 4px;
}
.ai-stylist-tab {
  padding: 10px 18px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: none; color: var(--gray);
  cursor: pointer; transition: all 0.25s;
  white-space: nowrap;
}
.ai-stylist-tab.active { background: var(--accent); color: var(--dark); }
.ai-stylist-tab:not(.active):hover { color: var(--white); }

.ai-stylist-beard-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-light); cursor: pointer; margin-top: -8px;
  transition: opacity 0.2s;
}
.ai-stylist-beard-toggle.is-disabled {
  opacity: 0.35; pointer-events: none;
}
.ai-stylist-switch-input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ai-stylist-switch {
  position: relative;
  width: 38px; height: 22px; flex-shrink: 0;
  background: var(--dark3);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s;
}
.ai-stylist-switch::before {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gray-light);
  transition: transform 0.25s, background 0.25s;
}
.ai-stylist-switch-input:checked + .ai-stylist-switch {
  background: var(--accent); border-color: var(--accent);
}
.ai-stylist-switch-input:checked + .ai-stylist-switch::before {
  transform: translateX(16px);
  background: var(--dark);
}

.ai-stylist-capture[hidden] { display: none; }
.ai-stylist-capture {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 100%;
}
.ai-stylist-camera-frame {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 4 / 3;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
}
.ai-stylist-camera-frame video,
.ai-stylist-camera-frame .ai-stylist-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ai-stylist-camera-frame video { transform: scaleX(-1); }
.ai-stylist-camera-start {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: none; color: var(--gray); cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.ai-stylist-camera-start svg { width: 32px; height: 32px; color: var(--accent); }
.ai-stylist-camera-error {
  font-size: 12px; color: #fca5a5; text-align: center;
}
.ai-stylist-camera-actions {
  display: flex; gap: 16px;
}

.ai-stylist-drop[hidden] { display: none; }
.ai-stylist-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3;
  background: var(--dark3);
  border: 1px dashed rgba(59,130,246,0.3);
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.ai-stylist-drop:hover { border-color: rgba(59,130,246,0.6); background: var(--dark4); }
.ai-stylist-drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.ai-stylist-drop-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray);
}
.ai-stylist-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.ai-stylist-hint {
  font-size: 12px; color: var(--gray); text-align: center; margin-top: -12px;
}

.ai-stylist-remaining {
  font-size: 12px; color: var(--gray); letter-spacing: 0.05em;
}

.ai-stylist-loading[hidden], .booking-loading[hidden] { display: none; }
.ai-stylist-loading, .booking-loading {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 60px 0; color: var(--gray-light); text-align: center;
}
.ai-stylist-spinner {
  width: 40px; height: 40px;
  border: 2px solid rgba(59,130,246,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: aiSpin 0.9s linear infinite;
}
@keyframes aiSpin { to { transform: rotate(360deg); } }

.ai-stylist-error {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  color: #fca5a5;
  padding: 16px 20px;
  font-size: 13px;
  text-align: center;
}

.ai-stylist-result { text-align: center; }
.ai-stylist-result img {
  width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: cover;
  margin: 0 auto 32px;
}
.ai-stylist-result-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700; margin: 12px 0 16px;
}
.ai-stylist-result-text {
  color: var(--gray-light); line-height: 1.8; font-size: 15px;
  max-width: 480px; margin: 0 auto 32px;
}
.ai-stylist-result-actions {
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
}

/* ---------- AI stylist: recommendations & try-on ---------- */
.stylist-recommendations[hidden], .stylist-tryon[hidden] { display: none; }
.stylist-recommendations { text-align: center; margin-top: 56px; }
.stylist-reco-intro {
  color: var(--gray-light); line-height: 1.8; font-size: 15px;
  max-width: 480px; margin: 0 auto 32px;
}
.stylist-reco-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-bottom: 32px; text-align: left;
}
.stylist-reco-card {
  background: var(--dark3); overflow: hidden;
  display: flex; flex-direction: column;
}
.stylist-reco-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  filter: grayscale(25%); transition: filter 0.5s, transform 0.6s;
}
.stylist-reco-card:hover img { filter: grayscale(0%); transform: scale(1.03); }
.stylist-reco-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stylist-reco-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.stylist-badge {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: rgba(59,130,246,0.12);
  padding: 4px 8px; white-space: nowrap;
}
.stylist-reco-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700; line-height: 1.25;
}
.stylist-reco-card-body p {
  color: var(--gray-light); font-size: 13px; line-height: 1.7; flex: 1;
}
.stylist-reco-card-body .btn-primary {
  align-self: flex-start; margin-top: 4px; font-size: 11px; padding: 12px 22px;
}

.stylist-tryon { text-align: center; margin-bottom: 40px; }
.stylist-slider {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1;
  margin: 0 auto 32px; overflow: hidden; background: var(--dark3);
}
.stylist-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-select: none; user-select: none; pointer-events: none;
}
.stylist-slider-before {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.stylist-slider-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--white); pointer-events: none;
}
.stylist-slider-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.stylist-slider-label {
  position: absolute; bottom: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: rgba(8,12,18,0.65); padding: 4px 10px;
  pointer-events: none;
}
.stylist-slider-label-before { left: 12px; }
.stylist-slider-label-after { right: 12px; }

/* ---------- Booking modal ---------- */
.booking-modal {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 24px;
}
.booking-modal.open { opacity: 1; visibility: visible; }

.booking-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(4,6,10,0.88);
  backdrop-filter: blur(6px);
}

.booking-modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--dark2);
  border: 1px solid rgba(59,130,246,0.2);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.booking-modal.open .booking-modal-panel { transform: translateY(0); }

.booking-modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0;
  color: var(--gray); cursor: pointer;
  transition: color 0.25s, background 0.25s;
}
.booking-modal-close:hover { color: var(--accent); background: var(--dark3); }
.booking-modal-close svg { width: 18px; height: 18px; }

.booking-modal-header {
  padding: 32px 32px 20px;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.booking-steps {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap;
}
.booking-step {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray);
  padding: 8px 14px;
  background: var(--dark3);
  border: 1px solid transparent;
}
.booking-step.active { color: var(--accent); border-color: rgba(59,130,246,0.4); }
.booking-step.done { color: var(--white); }
.booking-step.clickable { cursor: pointer; transition: color 0.2s, background 0.2s; }
.booking-step.clickable:hover:not(.active) { color: var(--white); background: var(--dark4); }
.booking-step.done::before { content: '✓ '; color: var(--accent); }

.booking-option-any {
  border-color: rgba(59,130,246,0.35) !important;
  font-weight: 600;
}
.booking-empty-note { margin: 12px 0 0; text-transform: none; letter-spacing: 0; }

.booking-scope-note {
  padding: 10px 14px; margin-bottom: 12px;
  background: var(--accent-dim); border-left: 2px solid var(--accent);
  color: var(--gray-light) !important;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}

.booking-conflict-note {
  padding: 12px 16px; margin-bottom: 14px;
  background: rgba(229,72,77,0.12); border-left: 2px solid #E5484D;
  color: var(--gray-light) !important;
  text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.6;
}

.booking-option-staff.is-incompatible { opacity: 0.45; }
.booking-option-staff.is-incompatible:hover { opacity: 0.7; }
.booking-staff-warning {
  font-size: 11px; letter-spacing: 0.04em; color: var(--gray);
}

.booking-modal-body {
  padding: 24px 32px; overflow-y: auto; flex: 1;
  min-height: 220px; position: relative;
}

.booking-panel-label {
  font-size: 12px; color: var(--gray); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

.booking-list {
  display: flex; flex-direction: column; gap: 8px;
}
.booking-option {
  text-align: left;
  padding: 14px 18px;
  background: var(--dark3);
  border: 1px solid transparent;
  color: var(--white); font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.booking-option:hover { background: var(--dark4); }
.booking-option.selected { border-color: var(--accent); background: var(--dark4); }

.booking-group-title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 18px 0 4px;
}
.booking-group-title:first-child { margin-top: 0; }

.booking-option-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.booking-option-price {
  color: var(--gray-light); font-size: 13px; white-space: nowrap;
}

.booking-option-staff {
  display: flex; align-items: center; gap: 14px;
}
.booking-staff-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.booking-staff-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.booking-staff-name { font-size: 14px; }

.booking-calendar { margin-bottom: 28px; }

.booking-calendar-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.booking-calendar-month {
  font-size: 14px; font-weight: 600; color: var(--white);
  text-transform: capitalize; text-align: center; flex: 1;
}
.booking-calendar-nav {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3); border: 1px solid transparent; padding: 0;
  color: var(--white); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}
.booking-calendar-nav svg { width: 16px; height: 16px; }
.booking-calendar-nav:hover:not(:disabled) { border-color: var(--accent); background: var(--dark4); }
.booking-calendar-nav:disabled { opacity: 0.25; cursor: not-allowed; }

.booking-calendar-weekdays,
.booking-calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.booking-calendar-weekdays {
  margin-bottom: 8px;
}
.booking-calendar-weekdays span {
  text-align: center; font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray);
}

.booking-calendar-day {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3); border: 1px solid transparent; padding: 0;
  color: var(--white); font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.booking-calendar-day:hover:not(:disabled) { background: var(--dark4); border-color: rgba(59,130,246,0.4); }
.booking-calendar-day.selected { background: var(--accent); border-color: var(--accent); color: var(--dark); font-weight: 600; }
.booking-calendar-day.is-unavailable {
  background: transparent; color: var(--gray); opacity: 0.35; cursor: not-allowed;
}
.booking-calendar-day.is-blank { background: none; border: none; cursor: default; }
.booking-calendar-empty { margin: 0; grid-column: 1 / -1; }

.booking-time-label {
  color: var(--accent);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  scroll-margin-top: 12px;
}
.booking-time-label[hidden] { display: none; }

.booking-time-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px;
}
.booking-time-slot {
  padding: 10px 8px;
  background: var(--dark3);
  border: 1px solid transparent;
  color: var(--white); font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.booking-time-slot:hover { background: var(--dark4); }
.booking-time-slot.selected { border-color: var(--accent); background: var(--accent); color: var(--dark); }

.booking-form-grid {
  display: flex; flex-direction: column; gap: 14px;
}
.booking-input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(59,130,246,0.15);
  color: var(--white); font-size: 14px; font-family: inherit;
  padding: 14px 16px;
  transition: border-color 0.25s;
}
.booking-input:focus { outline: none; border-color: var(--accent); }
textarea.booking-input { resize: vertical; }

.booking-panel[hidden] { display: none; }
.booking-success {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 32px 0;
}
.booking-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
}
.booking-success p { color: var(--gray-light); font-size: 14px; }
.booking-success-summary {
  color: var(--white) !important; font-weight: 600;
  padding: 14px 20px; background: var(--dark3); margin-top: 4px;
}
.booking-success-body {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%;
}
.booking-success-body[hidden] { display: none; }

.booking-success .btn-ghost { margin-top: 8px; }
.booking-success .btn-ghost[hidden] { display: none; }

.booking-cancel-link {
  background: none; border: none; padding: 6px 0; margin-top: 4px;
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--gray); text-decoration: underline; cursor: pointer;
  transition: color 0.2s;
}
.booking-cancel-link:hover { color: #E5484D; }
.booking-cancel-link[hidden] { display: none; }

.booking-modal-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.booking-modal-footer .btn-primary { margin-left: auto; }
.booking-modal-footer .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 640px) {
  .booking-modal { padding: 0; align-items: flex-end; }
  .booking-modal-panel { max-width: 100%; max-height: 92vh; }
}

@media (max-width: 1200px) {
  .nav-call-number { display: none; }
}

@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .hero-content { padding: 130px 32px 80px; }
  .hero-stats { right: 32px; bottom: 40px; gap: 36px; }
  .hero-scroll { left: 32px; }
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 420px; }
  .about-img-overlay { background: linear-gradient(to top, var(--dark) 0%, transparent 60%); }
  .about-content { padding: 60px 32px; }
  .services { padding: 80px 32px; }
  .team { padding: 80px 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .location { padding: 80px 32px; }
  .location-inner { grid-template-columns: 1fr; gap: 48px; }
  .social-section { flex-direction: column; gap: 32px; padding: 60px 32px; text-align: center; }
  .book-banner { padding: 100px 32px; }
  footer { padding: 60px 32px 170px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-header { padding: 150px 32px 40px; }
  .barbers-rail { padding: 0 32px 80px; }
  .barber-detail { grid-template-columns: 1fr; }
  .barber-detail-info { padding: 56px 32px; }
  .barber-back { left: 32px; }
  .barber-portfolio { padding: 80px 32px; }
  .works-filter { padding: 0 32px 32px; }
  .works-grid { padding: 0 32px 80px; }
  .blog-grid { padding: 0 32px 40px; gap: 20px; }
  .blog-pagination { padding: 0 32px 60px; }
  .blog-article { padding: 150px 24px 80px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-lang { display: none; }
  .nav-book { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 48px; }
  .hero-stats { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .strip-item { flex: 0 0 calc(100% / 3); }
  .services-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .about-pillars { grid-template-columns: 1fr; }
  .rail-arrow { display: none; }
  .barber-pager { right: 16px; gap: 10px; }
  .barber-pager a { width: 36px; height: 36px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
}
