/* ===== VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96C;
  --gold-dark: #9A7A30;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #252525;
  --white: #FAFAF8;
  --muted: #888888;
  --error: #E05252;
  --success: #52C07A;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 999;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}

.nav.scrolled {
  height: 62px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-icon {
  font-size: 1.3rem;
  color: var(--gold);
  transform: rotate(-30deg);
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.3));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-book {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  border-radius: 1px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.nav-book:hover::before { opacity: 1; }
.nav-book span { position: relative; z-index: 1; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 1px;
  transition: all 0.25s;
}
.nav-user:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.05);
}

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--black);
}

.nav-user-name {
  font-size: 0.72rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== PAGE SYSTEM ===== */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.visible .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 60%, transparent 100%),
    linear-gradient(0deg, rgba(10,10,10,0.8) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero.visible .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.visible .hero-title { opacity: 1; transform: translateY(0); }

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(250,250,248,0.65);
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.visible .hero-desc { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.visible .hero-actions { opacity: 1; transform: translateY(0); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  border-radius: 1px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
}
.btn-gold:hover::before { opacity: 1; }
.btn-gold span, .btn-gold svg { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(201,168,76,0.4);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scanLine 2s infinite;
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Hero stats */
.hero-stats {
  position: absolute;
  bottom: 32px;
  right: 60px;
  display: flex;
  gap: 40px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s 0.9s;
}
.hero.visible .hero-stats { opacity: 1; }

.hero-stat {
  text-align: right;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ===== SECTION SHARED ===== */
.section {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 56px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.service-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.07);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  background: var(--dark2);
  border-color: rgba(201,168,76,0.15);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--gold);
  opacity: 0.8;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
}
.service-price span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-wrap {
  position: relative;
}

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

.testimonial-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 40px 36px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(24px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(250,250,248,0.85);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.testimonial-role {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 80px;
}

.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
  filter: brightness(0.7) saturate(0.8);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.5) saturate(0.6);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.contact-info-item:hover .contact-info-icon {
  background: rgba(201,168,76,0.15);
}

.contact-info-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.cf-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  transition: all 0.25s;
  outline: none;
  appearance: none;
}

.cf-group input::placeholder,
.cf-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.06);
}

.cf-group select option { background: var(--dark2); }

.cf-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ===== HOURS TABLE ===== */
.hours-table {
  margin-top: 36px;
  border: 1px solid rgba(201,168,76,0.1);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.hours-row:last-child { border-bottom: none; }
.hours-row:hover { background: rgba(201,168,76,0.03); }
.hours-day { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; }
.hours-time { font-family: var(--font-display); font-size: 1rem; color: var(--gold); }
.hours-closed { color: var(--muted); font-size: 0.75rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding: 60px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.25s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.about-img {
  position: relative;
  aspect-ratio: 4/5;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.about-img::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid rgba(201,168,76,0.2);
  z-index: -1;
}

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

.barber-card {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.barber-card.visible { opacity: 1; transform: translateY(0); }

.barber-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.8);
  transition: all 0.5s;
}

.barber-card:hover img {
  filter: brightness(0.5) saturate(0.6);
  transform: scale(1.04);
}

.barber-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(10,10,10,0.95) 0%, transparent 100%);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.barber-card:hover .barber-info { transform: translateY(0); }

.barber-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.barber-role {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(8px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  width: 100%;
  max-width: 540px;
  padding: 48px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(224,82,82,0.1);
  border-color: rgba(224,82,82,0.3);
  color: var(--error);
}

/* ===== UTILITY ===== */
.gold { color: var(--gold); }
.text-muted { color: var(--muted); }

/* Mobile tap improvements */
a, button { -webkit-tap-highlight-color: transparent; }
input, textarea, select { -webkit-appearance: none; border-radius: 0; }
* { touch-action: manipulation; }

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  opacity: 0;
  z-index: 1000;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: rgba(82,192,122,0.4); color: var(--success); }
.toast.error { border-color: rgba(224,82,82,0.4); color: var(--error); }

/* ===================================================
   RESPONSIVE — TABLET (≤1024px)
   =================================================== */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .section { padding: 80px 32px; }
  .hero-content { padding: 0 32px; }
  .hero-stats { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-track { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .barbers-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-row { grid-template-columns: 1fr; }

  /* inline-style overrides via classes */
  .home-services-grid { grid-template-columns: 1fr 1fr !important; }
  .home-testimonials-grid { grid-template-columns: 1fr 1fr !important; }
  .home-section-pad { padding: 80px 32px !important; }
  .home-gallery-pad { padding: 0 32px 80px !important; }
  .home-testi-pad { padding: 80px 32px !important; }
  .home-cta-pad { padding: 80px 32px !important; }
  .pricing-banner-pad { padding: 0 32px 80px !important; }
  .stats-strip { padding: 24px 32px !important; gap: 32px !important; }
}

/* ===================================================
   RESPONSIVE — MOBILE (≤768px)
   =================================================== */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* ----- NAV ----- */
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { font-size: 1.15rem; }

  /* ----- SECTIONS ----- */
  .section { padding: 52px 16px; }
  .section-desc { font-size: 0.82rem; margin-bottom: 36px; }

  /* ----- HERO ----- */
  .hero { min-height: 92svh; align-items: flex-end; padding-bottom: 60px; }
  .hero-content { padding: 0 16px; max-width: 100%; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .hero-desc { font-size: 0.82rem; margin-bottom: 28px; max-width: 100%; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-scroll { left: 16px; bottom: 16px; font-size: 0.6rem; }
  .hero-eyebrow { font-size: 0.6rem; }

  /* ----- BUTTONS ----- */
  .btn-gold { padding: 14px 24px; font-size: 0.72rem; }
  .btn-outline { padding: 13px 24px; font-size: 0.72rem; }

  /* ----- INLINE SECTION OVERRIDES ----- */
  .home-services-grid { grid-template-columns: 1fr !important; }
  .home-testimonials-grid { grid-template-columns: 1fr !important; }
  .home-section-pad { padding: 52px 16px !important; }
  .home-gallery-pad { padding: 0 16px 52px !important; }
  .home-testi-pad { padding: 52px 16px !important; }
  .home-cta-pad { padding: 52px 16px !important; }
  .pricing-banner-pad { padding: 0 16px 52px !important; }
  .pricing-banner-inner { flex-direction: column !important; align-items: flex-start !important; gap: 20px !important; padding: 28px 24px !important; }
  .pricing-banner-inner .btn-gold { width: 100%; justify-content: center; }
  .stats-strip { padding: 20px 16px !important; gap: 16px !important; flex-wrap: wrap !important; justify-content: center !important; }
  .stats-strip-item { flex: 0 0 calc(50% - 16px) !important; justify-content: center !important; }

  /* Gallery header flex */
  .gallery-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .gallery-header .btn-outline { width: 100%; justify-content: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  /* Gallery */
  .gallery-strip { grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 24px; }
  .gallery-item { aspect-ratio: 1/1; }

  /* Testimonials */
  .testimonials-track { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 28px 24px; }

  /* Barbers */
  .barbers-grid { grid-template-columns: 1fr; gap: 2px; }

  /* About */
  .about-hero { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .about-img { aspect-ratio: 4/3; }
  .about-img::before { display: none; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-item { gap: 14px; }
  .hours-table { margin-top: 24px; }

  /* Footer */
  .footer { padding: 48px 16px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.65rem; }
  .footer-brand-desc { max-width: 100%; }

  /* Modal */
  .modal {
    padding: 28px 20px 32px;
    margin: 12px;
    max-width: calc(100vw - 24px);
    border-radius: 8px;
  }
  .modal-overlay { padding: 12px; align-items: flex-end; }

  /* Testimonials page stats */
  .testi-stats { gap: 24px !important; flex-wrap: wrap !important; }
  .testi-stats > div { flex: 0 0 calc(33% - 16px) !important; text-align: center; }

  /* CTA buttons */
  .cta-actions { flex-direction: column !important; align-items: center !important; }
  .cta-actions .btn-gold,
  .cta-actions .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact form */
  .cf-row { grid-template-columns: 1fr; gap: 0; }

  /* Toast */
  .toast { font-size: 0.75rem; padding: 12px 20px; white-space: normal; text-align: center; max-width: calc(100vw - 32px); }
}

/* ===================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   =================================================== */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 11vw, 2.8rem); }
  .section-title { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16/10; }

  .testi-stats > div { flex: 0 0 100% !important; }

  .barbers-grid { grid-template-columns: 1fr; }

  .nav-book { display: none; }

  /* Chat panel full width on tiny screens */
  .chat-panel {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 80svh !important;
    border-radius: 16px 16px 0 0 !important;
    transform-origin: bottom center !important;
  }
  .chat-fab {
    left: 16px !important;
    bottom: 16px !important;
  }
}

/* ===================================================
   iOS SAFE AREA INSETS (notch / dynamic island)
   =================================================== */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }
  #mobileMenu {
    top: calc(var(--nav-h) + env(safe-area-inset-top));
  }
  .chat-fab {
    bottom: calc(32px + env(safe-area-inset-bottom));
  }
  .scroll-top-btn {
    bottom: calc(32px + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px) {
    .chat-fab { bottom: calc(16px + env(safe-area-inset-bottom)); }
    .scroll-top-btn { bottom: calc(20px + env(safe-area-inset-bottom)); }
    .modal { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  }
  @media (max-width: 480px) {
    .chat-panel { padding-bottom: env(safe-area-inset-bottom); }
  }
}
.page {
  animation: none;
}
.page.active {
  animation: pageIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   SCROLL TO TOP BUTTON
   =================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(17,17,17,0.95);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.2);
}
@media (max-width: 768px) {
  .scroll-top-btn { bottom: 20px; right: 16px; width: 40px; height: 40px; }
}

/* ===================================================
   NAV ACTIVE LINK INDICATOR (mobile highlight)
   =================================================== */
@media (max-width: 768px) {
  #mobileMenu a.mob-active {
    color: var(--gold) !important;
    border-left: 2px solid var(--gold);
    padding-left: 18px;
    background: rgba(201,168,76,0.04);
  }
}

/* ===================================================
   BOOKING MODAL — MOBILE BOTTOM SHEET
   =================================================== */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    margin: 0;
    padding: 24px 20px 36px;
    max-height: 92svh;
    overflow-y: auto;
  }
  /* Drag handle indicator */
  .modal::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto 20px;
  }
  /* Modal date/time row stacks */
  .modal .modal-dt-row {
    grid-template-columns: 1fr !important;
  }
}

/* ===================================================
   CONTACT PAGE — MAP FULL WIDTH MOBILE
   =================================================== */
@media (max-width: 768px) {
  .contact-map-wrap {
    margin-top: 24px;
    aspect-ratio: 4/3;
  }
}

/* ===================================================
   SERVICE CARD BOOK BUTTON — MOBILE FULL WIDTH
   =================================================== */
@media (max-width: 768px) {
  .service-card > div:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .service-card > div:last-child button {
    width: 100%;
    text-align: center;
    padding: 10px 18px !important;
  }
}

/* ===================================================
   HERO — GRADIENT OVERLAY STRONGER ON MOBILE
   =================================================== */
@media (max-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.3) 100%);
  }
  .hero-bg { filter: brightness(0.3); }
}

/* ===================================================
   TESTIMONIALS PAGE — STATS RESPONSIVE
   =================================================== */
@media (max-width: 600px) {
  .testi-stats {
    justify-content: space-around !important;
    gap: 16px !important;
  }
  .testi-stats > div {
    flex: 0 0 auto !important;
    min-width: 80px;
  }
  .testi-stats > div > div:first-child {
    font-size: 2.2rem !important;
  }
}

/* ===================================================
   FOOTER PHONE LINK MOBILE
   =================================================== */
@media (max-width: 768px) {
  .footer-links a[href^="tel"] {
    color: var(--gold);
    font-weight: 600;
  }
}

/* ===================================================
   SMOOTH IMAGE LOADING
   =================================================== */
img {
  max-width: 100%;
  display: block;
}
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ===================================================
   FOCUS STYLES (ACCESSIBILITY)
   =================================================== */
:focus-visible {
  outline: 2px solid rgba(201,168,76,0.6);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ===================================================
   SELECTION COLOR
   =================================================== */
::selection {
  background: rgba(201,168,76,0.25);
  color: var(--white);
}

/* ===================================================
   SCROLLBAR (DESKTOP)
   =================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.45); }


/* ===================================================
   ABOUT PAGE — FACT CARDS
   =================================================== */
.about-fact-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.07);
  padding: 36px 28px;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.about-fact-card:hover {
  border-color: rgba(201,168,76,0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.about-fact-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.about-fact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.about-fact-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===================================================
   ABOUT PAGE — BARBER BIO CARDS
   =================================================== */
.barbers-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.barber-bio-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.07);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.barber-bio-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.barber-bio-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
.barber-bio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.85) saturate(0.8);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.barber-bio-card:hover .barber-bio-img img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.04);
}

.barber-bio-body {
  padding: 22px 20px 24px;
}
.barber-bio-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.barber-bio-role {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.barber-bio-exp {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}
.barber-bio-desc {
  font-size: 0.76rem;
  line-height: 1.65;
  color: rgba(250,250,248,0.6);
  margin-bottom: 14px;
}
.barber-bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.barber-bio-tags span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  color: var(--gold);
  border-radius: 20px;
}

/* ===================================================
   ABOUT PAGE — VALUES / WHY US
   =================================================== */
.about-values-block {
  border-radius: 2px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-item {
  text-align: center;
}
.value-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.3));
}
.value-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.value-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===================================================
   ABOUT PAGE — RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {
  .barbers-full-grid { grid-template-columns: repeat(3, 1fr); }
  .about-facts-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
  .barbers-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-values-block { padding: 40px 28px !important; }
}
@media (max-width: 600px) {
  .barbers-full-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .barber-bio-body { padding: 14px 14px 16px; }
  .barber-bio-name { font-size: 1rem; }
  .barber-bio-desc { display: none; }
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-values-block { padding: 32px 20px !important; }
  .about-facts-grid { grid-template-columns: 1fr 1fr !important; gap: 2px !important; }
}
@media (max-width: 400px) {
  .barbers-full-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   MEMBERSHIP PRICING CARDS
   =================================================== */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: stretch;
}

.membership-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 44px 36px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.membership-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  z-index: 2;
}

/* Featured / most popular card */
.membership-featured {
  background: linear-gradient(160deg, #1a1a1a 0%, #161410 100%);
  border-color: rgba(201,168,76,0.3) !important;
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
}
.membership-featured:hover {
  transform: translateY(-13px);
  box-shadow: 0 32px 90px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.1);
}

.membership-popular-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.membership-tier {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.membership-featured .membership-tier { color: var(--gold); }

.membership-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.membership-price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

.membership-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-style: italic;
}

.membership-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 32px;
}
.membership-perks li {
  font-size: 0.8rem;
  color: rgba(250,250,248,0.7);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.membership-perks li::first-letter { /* the ✓ */ }
.membership-featured .membership-perks li { color: rgba(250,250,248,0.85); }

.membership-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  margin-top: auto;
}
.membership-btn:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.membership-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.membership-btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.membership-btn-gold:hover {
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
}
.membership-btn-gold:hover::before { opacity: 1; }
.membership-btn-gold span { position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 900px) {
  .membership-grid { grid-template-columns: 1fr; gap: 16px; }
  .membership-featured { transform: none; }
  .membership-featured:hover { transform: translateY(-4px); }
  .membership-card { padding: 32px 28px; }
}
@media (max-width: 480px) {
  .membership-card { padding: 28px 20px; }
  .membership-price { font-size: 2.6rem; }
}

/* ===================================================
   NAV ADMIN BUTTON
   =================================================== */
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 1px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.nav-admin:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}
@media (max-width: 768px) {
  .nav-admin { display: none; }
}

/* ===================================================
   LIGHT THEME — COMPLETE
   =================================================== */
[data-theme="light"] {
  --gold:       #8B6914;
  --gold-light: #B8891C;
  --gold-dark:  #6A5010;
  --black:      #F2F0EB;
  --dark:       #FFFFFF;
  --dark2:      #F7F6F2;
  --dark3:      #EEECEA;
  --dark4:      #E4E2DE;
  --white:      #1C1C1A;
  --muted:      #6B6B68;
  --error:      #C53030;
  --success:    #1A7A48;
}

/* body & base */
[data-theme="light"] body { background: #F2F0EB; color: #1C1C1A; }
[data-theme="light"] body::before { opacity: 0; }

/* nav */
[data-theme="light"] .nav {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .nav-logo-text { color: #1C1C1A; }
[data-theme="light"] .nav-links a { color: #6B6B68; }
[data-theme="light"] .nav-links a:hover { color: #1C1C1A; }
[data-theme="light"] .nav-links a.active { color: var(--gold); }
[data-theme="light"] .nav-links a::after { background: var(--gold); }
[data-theme="light"] .nav-hamburger span { background: #1C1C1A; }
[data-theme="light"] .nav-theme { border-color: rgba(0,0,0,0.15); color: #6B6B68; }
[data-theme="light"] .nav-theme:hover { border-color: var(--gold); color: var(--gold); background: rgba(139,105,20,0.06); }
[data-theme="light"] .nav-admin { border-color: rgba(0,0,0,0.15); color: #6B6B68; }
[data-theme="light"] .nav-admin:hover { border-color: var(--gold); color: var(--gold); background: rgba(139,105,20,0.06); }

/* mobile menu */
[data-theme="light"] #mobileMenu {
  background: rgba(255,255,255,0.99) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] #mobileMenu a { color: #6B6B68 !important; border-bottom-color: rgba(0,0,0,0.05) !important; }
[data-theme="light"] #mobileMenu a:hover { color: #1C1C1A !important; }

/* hero */
[data-theme="light"] .hero-bg { filter: brightness(0.55); }
[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(242,240,235,0.96) 0%, rgba(242,240,235,0.6) 55%, transparent 100%),
    linear-gradient(0deg, rgba(242,240,235,0.9) 0%, transparent 45%);
}
[data-theme="light"] .hero-title { color: #1C1C1A; }
[data-theme="light"] .hero-eyebrow { color: var(--gold); }
[data-theme="light"] .hero-desc { color: rgba(28,28,26,0.65); }
[data-theme="light"] .hero-scroll { color: rgba(0,0,0,0.35); }
[data-theme="light"] .hero-scroll-line { background: rgba(139,105,20,0.3); }

/* intro strip */
[data-theme="light"] .stats-strip {
  background: rgba(255,255,255,0.7) !important;
  border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .stats-strip-item span:last-child { color: rgba(28,28,26,0.5) !important; }

/* sections */
[data-theme="light"] .section-tag { color: var(--gold); }
[data-theme="light"] .section-tag::before { background: var(--gold); }
[data-theme="light"] .section-title { color: #1C1C1A; }
[data-theme="light"] .section-desc { color: #6B6B68; }
[data-theme="light"] .divider-line { background: linear-gradient(90deg, var(--gold), transparent); }

/* service cards */
[data-theme="light"] .service-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .service-card:hover {
  background: #FAFAF7;
  border-color: rgba(139,105,20,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .service-name { color: #1C1C1A; }
[data-theme="light"] .service-desc { color: #6B6B68; }
[data-theme="light"] .service-icon { color: var(--gold); }

/* gallery */
[data-theme="light"] .gallery-item img { filter: brightness(0.85) saturate(0.85); }
[data-theme="light"] .gallery-item:hover img { filter: brightness(0.65) saturate(0.7); }

/* testimonials section bg */
[data-theme="light"] section.home-testi-pad {
  background: #EEECEA !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .testimonial-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(139,105,20,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .testimonial-stars { color: var(--gold); }
[data-theme="light"] .testimonial-quote { color: rgba(28,28,26,0.8); }
[data-theme="light"] .testimonial-name { color: #1C1C1A; }
[data-theme="light"] .testimonial-role { color: #6B6B68; }

/* about page */
[data-theme="light"] .about-fact-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .about-fact-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-color: rgba(139,105,20,0.2); }
[data-theme="light"] .about-fact-num { color: var(--gold); }
[data-theme="light"] .about-fact-label { color: #1C1C1A; }
[data-theme="light"] .about-fact-desc { color: #6B6B68; }

[data-theme="light"] .barber-bio-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .barber-bio-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: rgba(139,105,20,0.2); }
[data-theme="light"] .barber-bio-name { color: #1C1C1A; }
[data-theme="light"] .barber-bio-role { color: var(--gold); }
[data-theme="light"] .barber-bio-exp { color: #6B6B68; }
[data-theme="light"] .barber-bio-desc { color: rgba(28,28,26,0.6); }
[data-theme="light"] .barber-bio-tags span { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.2); color: var(--gold); }

[data-theme="light"] .about-values-block { background: #FFFFFF !important; border-color: rgba(0,0,0,0.07) !important; }
[data-theme="light"] .value-icon { color: var(--gold); }
[data-theme="light"] .value-title { color: #1C1C1A; }
[data-theme="light"] .value-desc { color: #6B6B68; }

/* about story text */
[data-theme="light"] .about-hero p { color: rgba(28,28,26,0.7) !important; }
[data-theme="light"] .about-img::before { border-color: rgba(139,105,20,0.25); }

/* barber cards (old grid) */
[data-theme="light"] .barber-info { background: linear-gradient(0deg, rgba(242,240,235,0.98) 0%, transparent 100%); }
[data-theme="light"] .barber-name { color: #1C1C1A; }
[data-theme="light"] .barber-role { color: var(--gold); }

/* hours table */
[data-theme="light"] .hours-table { border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .hours-row { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .hours-row:hover { background: rgba(0,0,0,0.02); }
[data-theme="light"] .hours-day { color: #1C1C1A; }
[data-theme="light"] .hours-time { color: var(--gold); }

/* contact page */
[data-theme="light"] .contact-info-icon {
  background: rgba(139,105,20,0.08);
  border-color: rgba(139,105,20,0.2);
  color: var(--gold);
}
[data-theme="light"] .contact-info-label { color: var(--gold); }
[data-theme="light"] .contact-info-value { color: #1C1C1A; }

/* forms */
[data-theme="light"] .cf-group label { color: #6B6B68; }
[data-theme="light"] .cf-group input,
[data-theme="light"] .cf-group select,
[data-theme="light"] .cf-group textarea {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.12);
  color: #1C1C1A;
}
[data-theme="light"] .cf-group input::placeholder,
[data-theme="light"] .cf-group textarea::placeholder { color: rgba(28,28,26,0.3); }
[data-theme="light"] .cf-group input:focus,
[data-theme="light"] .cf-group select:focus,
[data-theme="light"] .cf-group textarea:focus {
  border-color: var(--gold);
  background: rgba(139,105,20,0.03);
  box-shadow: 0 0 0 3px rgba(139,105,20,0.08);
}

/* booking modal */
[data-theme="light"] .modal {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
[data-theme="light"] .modal-overlay { background: rgba(28,28,26,0.55); }
[data-theme="light"] .modal-close {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #6B6B68;
}
[data-theme="light"] .modal-close:hover { background: rgba(201,48,48,0.08); }
[data-theme="light"] .section-tag[style*="margin-bottom:8px"] { color: var(--gold); }

/* testimonials page */
[data-theme="light"] .testi-stats > div > div:first-child { color: var(--gold); }

/* CTA section */
[data-theme="light"] .home-cta-pad { background: #EEECEA; }

/* footer stays dark always */
[data-theme="light"] .footer {
  background: #1C1C1A;
  border-top-color: rgba(255,255,255,0.07);
}
[data-theme="light"] .footer-brand-name,
[data-theme="light"] .footer-brand-desc,
[data-theme="light"] .footer-col-title,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-bottom { color: rgba(250,250,248,0.6); }
[data-theme="light"] .footer-col-title { color: rgba(201,168,76,0.8); }
[data-theme="light"] .footer-links a:hover { color: rgba(201,168,76,0.9); }
[data-theme="light"] .footer-social a { border-color: rgba(255,255,255,0.12); color: rgba(250,250,248,0.5); }
[data-theme="light"] .footer-social a:hover { border-color: rgba(201,168,76,0.5); color: rgba(201,168,76,0.9); }

/* scroll-to-top */
[data-theme="light"] .scroll-top-btn {
  background: rgba(255,255,255,0.95);
  border-color: rgba(139,105,20,0.3);
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* chatbot */
[data-theme="light"] .chat-fab {
  box-shadow: 0 8px 28px rgba(139,105,20,0.35);
}
[data-theme="light"] .chat-panel {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 16px 60px rgba(0,0,0,0.15);
}
[data-theme="light"] .chat-header {
  background: linear-gradient(135deg, rgba(139,105,20,0.07), rgba(139,105,20,0.02));
  border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .chat-name { color: #1C1C1A; }
[data-theme="light"] .chat-status { color: #6B6B68; }
[data-theme="light"] .chat-close-btn { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #6B6B68; }
[data-theme="light"] .chat-quick-prompts { border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] .chat-quick-prompts button {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
  color: rgba(28,28,26,0.6);
}
[data-theme="light"] .chat-quick-prompts button:hover { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.25); color: var(--gold); }
[data-theme="light"] .chat-feed { scrollbar-color: rgba(0,0,0,0.15) transparent; }
[data-theme="light"] .chat-msg-bot .chat-bubble {
  background: #F0EFE9;
  border-color: rgba(0,0,0,0.07);
  color: #1C1C1A;
}
[data-theme="light"] .chat-msg-user .chat-bubble { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
[data-theme="light"] .chat-input-area { background: rgba(0,0,0,0.03); border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .chat-input { background: #FFFFFF; border-color: rgba(0,0,0,0.12); color: #1C1C1A; }
[data-theme="light"] .chat-input::placeholder { color: rgba(28,28,26,0.35); }
[data-theme="light"] .chat-input:focus { border-color: var(--gold); }

/* toast */
[data-theme="light"] .toast {
  background: #FFFFFF;
  border-color: rgba(139,105,20,0.3);
  color: #1C1C1A;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
[data-theme="light"] .toast.success { color: var(--success); border-color: rgba(26,122,72,0.3); }
[data-theme="light"] .toast.error { color: var(--error); border-color: rgba(197,48,48,0.3); }

/* Theme toggle button */
.nav-theme {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.nav-theme:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: rotate(20deg);
}
@media (max-width: 768px) { .nav-theme { display: none; } }

/* ===================================================
   LIGHT THEME — BUTTONS & BORDERED ELEMENTS
   =================================================== */

/* Primary gold button */
[data-theme="light"] .btn-gold {
  background: linear-gradient(135deg, #8B6914, #6A5010);
  color: #fff;
}
[data-theme="light"] .btn-gold::before { background: linear-gradient(135deg, #A8862E, #8B6914); }
[data-theme="light"] .btn-gold:hover { box-shadow: 0 12px 36px rgba(139,105,20,0.35); }

/* Outline button */
[data-theme="light"] .btn-outline {
  border-color: rgba(0,0,0,0.2);
  color: #1C1C1A;
}
[data-theme="light"] .btn-outline:hover {
  border-color: #8B6914;
  color: #8B6914;
  background: rgba(139,105,20,0.05);
}

/* Nav Book Now */
[data-theme="light"] .nav-book { background: linear-gradient(135deg, #8B6914, #6A5010); color: #fff; }
[data-theme="light"] .nav-book::before { background: linear-gradient(135deg, #A8862E, #8B6914); }
[data-theme="light"] .nav-book:hover { box-shadow: 0 6px 20px rgba(139,105,20,0.3); }

/* Service card inline book button */
[data-theme="light"] .service-card > div:last-child button {
  border-color: rgba(139,105,20,0.3) !important;
  color: #8B6914 !important;
  background: transparent !important;
}
[data-theme="light"] .service-card > div:last-child button:hover {
  background: rgba(139,105,20,0.08) !important;
  border-color: #8B6914 !important;
}

/* Modal close */
[data-theme="light"] .modal-close {
  background: #f5f5f2;
  border-color: rgba(0,0,0,0.12);
  color: #6B6B68;
}
[data-theme="light"] .modal-close:hover {
  background: rgba(197,48,48,0.08);
  color: #C53030;
  border-color: rgba(197,48,48,0.3);
}

/* Chat send button */
[data-theme="light"] .chat-send-btn { background: linear-gradient(135deg, #8B6914, #6A5010); color: #fff; }
[data-theme="light"] .chat-send-btn:hover { box-shadow: 0 4px 14px rgba(139,105,20,0.35); }

/* Footer social always dark */
[data-theme="light"] .footer-social a { border-color: rgba(255,255,255,0.15); color: rgba(250,250,248,0.5); }
[data-theme="light"] .footer-social a:hover { border-color: rgba(201,168,76,0.5); color: rgba(201,168,76,0.9); }

/* Barber info overlay on cards */
[data-theme="light"] .barber-info { background: linear-gradient(0deg, rgba(28,28,26,0.9) 0%, transparent 100%); }

/* Stats strip */
[data-theme="light"] .stats-strip-item span:first-child { color: #8B6914 !important; }

/* ===================================================
   BOOKING MODAL — CUSTOM DATE/TIME PICKER
   =================================================== */

/* Wider modal for the booking flow */
.booking-modal {
  max-width: 580px;
  padding: 32px 36px 36px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Step indicator */
.bk-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.bk-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.bk-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark3);
  border: 2px solid var(--dark4);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.bk-step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.25s;
}
.bk-step.active .bk-step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.bk-step.active .bk-step-label { color: var(--gold); }
.bk-step.done .bk-step-num {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.bk-step.done .bk-step-label { color: var(--gold); }
.bk-step-line {
  flex: 1;
  height: 1px;
  background: var(--dark4);
  margin: 0 8px;
}

/* Panel */
.bk-panel { display: none; }
.bk-panel.active { display: block; }
.bk-panel-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 4px;
}
.bk-panel-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Name row */
.bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Service cards grid */
.bk-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 18px;
}
.bk-service-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 10px 9px;
  cursor: pointer;
  transition: all 0.18s;
  background: rgba(255,255,255,0.02);
  text-align: center;
  user-select: none;
}
.bk-service-card:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.05);
}
.bk-service-card.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.bk-service-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.3;
}
.bk-service-price {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 500;
}
.bk-service-card.active .bk-service-name { color: var(--gold); }

/* Barber chips */
.bk-barber-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
  margin-bottom: 0;
}
.bk-barber-chip {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  background: transparent;
}
.bk-barber-chip:hover {
  border-color: rgba(201,168,76,0.35);
  color: var(--white);
}
.bk-barber-chip.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}

/* Calendar */
.bk-calendar {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  user-select: none;
}
.bk-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bk-cal-month {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.bk-cal-arrow {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.bk-cal-arrow:hover { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.3); color: var(--gold); }
.bk-cal-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.bk-cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.bk-cal-days-header span {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.bk-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
  border: 1px solid transparent;
  position: relative;
}
.bk-cal-day:hover:not(.past):not(.empty) {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.25);
  color: var(--gold);
}
.bk-cal-day.today {
  border-color: rgba(201,168,76,0.4);
  color: var(--gold);
}
.bk-cal-day.selected {
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 700;
  border-color: var(--gold);
}
.bk-cal-day.past, .bk-cal-day.empty {
  color: rgba(255,255,255,0.15);
  cursor: not-allowed;
  pointer-events: none;
}
.bk-cal-day.empty { background: none; cursor: default; }
.bk-cal-day.sunday { color: rgba(248,113,113,0.6); }
.bk-cal-day.sunday.past { color: rgba(248,113,113,0.2); }
.bk-cal-day.sunday:hover:not(.past) { color: var(--gold); }

/* Selected date pill */
.bk-selected-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 7px;
}

/* Loading spinner for time slots */
.bk-time-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 14px 0;
}
.bk-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: bkSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes bkSpin { to { transform: rotate(360deg); } }

/* Time slots */
.bk-time-section { margin-bottom: 16px; }
.bk-time-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.bk-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.bk-time-slot {
  padding: 9px 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
  color: var(--white);
  user-select: none;
}
.bk-time-slot:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
}
.bk-time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.bk-time-slot.am { color: rgba(250,250,248,0.7); }
.bk-time-slot.pm { color: var(--white); }

/* Empty time state */
.bk-time-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  opacity: 0.7;
}

/* Step nav (back / next buttons row) */
.bk-step-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bk-step-nav .btn-outline { flex-shrink: 0; }
.bk-step-nav .btn-gold { flex: 1; justify-content: center; }
.bk-step-nav .btn-gold:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* Summary card in step 3 */
.bk-summary {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bk-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bk-summary-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.bk-summary-value {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  text-align: right;
}
.bk-summary-value.gold { color: var(--gold); }

/* Light theme adjustments */
[data-theme="light"] .bk-calendar { background: #f7f6f2; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .bk-cal-month { color: #1C1C1A; }
[data-theme="light"] .bk-cal-arrow { background: #fff; border-color: rgba(0,0,0,0.1); color: #6B6B68; }
[data-theme="light"] .bk-cal-arrow:hover { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.3); color: #8B6914; }
[data-theme="light"] .bk-cal-days-header span { color: #999; }
[data-theme="light"] .bk-cal-day { color: #1C1C1A; }
[data-theme="light"] .bk-cal-day.past, [data-theme="light"] .bk-cal-day.empty { color: rgba(0,0,0,0.18); }
[data-theme="light"] .bk-cal-day.today { border-color: rgba(139,105,20,0.5); color: #8B6914; }
[data-theme="light"] .bk-cal-day:hover:not(.past):not(.empty) { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.3); color: #8B6914; }
[data-theme="light"] .bk-cal-day.selected { background: #8B6914; color: #fff !important; }
[data-theme="light"] .bk-cal-day.sunday { color: rgba(197,48,48,0.55); }
[data-theme="light"] .bk-selected-date { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.25); color: #8B6914; }
[data-theme="light"] .bk-service-card { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .bk-service-card:hover { border-color: rgba(139,105,20,0.4); background: rgba(139,105,20,0.05); }
[data-theme="light"] .bk-service-card.active { border-color: #8B6914; background: rgba(139,105,20,0.08); }
[data-theme="light"] .bk-service-name { color: #1C1C1A; }
[data-theme="light"] .bk-service-card.active .bk-service-name { color: #8B6914; }
[data-theme="light"] .bk-service-price { color: #8B6914; }
[data-theme="light"] .bk-barber-chip { border-color: rgba(0,0,0,0.12); color: #6B6B68; }
[data-theme="light"] .bk-barber-chip:hover { border-color: rgba(139,105,20,0.4); color: #1C1C1A; }
[data-theme="light"] .bk-barber-chip.active { border-color: #8B6914; background: rgba(139,105,20,0.08); color: #8B6914; }
[data-theme="light"] .bk-time-slot { border-color: rgba(0,0,0,0.1); color: #1C1C1A; background: #fff; }
[data-theme="light"] .bk-time-slot:hover { border-color: rgba(139,105,20,0.4); background: rgba(139,105,20,0.07); color: #8B6914; }
[data-theme="light"] .bk-time-slot.selected { background: #8B6914; border-color: #8B6914; color: #fff; }
[data-theme="light"] .bk-time-slot.am { color: rgba(28,28,26,0.65); }
[data-theme="light"] .bk-summary { background: #f7f6f2; border-color: rgba(139,105,20,0.2); }
[data-theme="light"] .bk-summary-label { color: #999; }
[data-theme="light"] .bk-summary-value { color: #1C1C1A; }
[data-theme="light"] .bk-summary-value.gold { color: #8B6914; }
[data-theme="light"] .bk-step-num { background: #f0f0eb; border-color: #ddd; color: #999; }
[data-theme="light"] .bk-step-line { background: #ddd; }
[data-theme="light"] .bk-step.active .bk-step-num { background: #8B6914; border-color: #8B6914; color: #fff; }
[data-theme="light"] .bk-step.active .bk-step-label { color: #8B6914; }
[data-theme="light"] .bk-step.done .bk-step-num { background: rgba(139,105,20,0.12); border-color: #8B6914; color: #8B6914; }
[data-theme="light"] .bk-step.done .bk-step-label { color: #8B6914; }
[data-theme="light"] .bk-step-nav { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .bk-panel-title { color: #1C1C1A; }
[data-theme="light"] .bk-panel-sub { color: #6B6B68; }
[data-theme="light"] .bk-time-label { color: #999; }
[data-theme="light"] .bk-time-empty { color: #999; }
[data-theme="light"] .bk-time-loading { color: #999; }
[data-theme="light"] .bk-spinner { border-color: rgba(139,105,20,0.2); border-top-color: #8B6914; }

/* Responsive */
@media (max-width: 600px) {
  .booking-modal { padding: 24px 18px 28px; }
  .bk-service-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-time-grid { grid-template-columns: repeat(3, 1fr); }
  .bk-row { grid-template-columns: 1fr; gap: 0; }
  .bk-step-label { display: none; }
}

/* =======================================================
   GLOBAL — ROUNDED SHAPES EVERYWHERE
   ======================================================= */
:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
}

/* Override rectangle shapes on key elements */
.btn-gold, .btn-outline, .nav-book, .nav-theme, .nav-admin { border-radius: var(--radius-pill) !important; }
.service-card, .testimonial-card, .barber-bio-card, .about-fact-card { border-radius: var(--radius-md); }
.stat-card, .hours-table, .table-wrap { border-radius: var(--radius-md); }
.modal { border-radius: var(--radius-xl); }
.modal-close { border-radius: 50% !important; }
.chat-panel { border-radius: var(--radius-xl); }
.chat-bubble { border-radius: var(--radius-md) !important; }
.chat-msg-user .chat-bubble { border-bottom-right-radius: 4px !important; }
.chat-msg-bot .chat-bubble { border-bottom-left-radius: 4px !important; }
.chat-input { border-radius: var(--radius-pill) !important; }
.chat-send-btn { border-radius: 50% !important; }
.toast { border-radius: var(--radius-pill) !important; }
.scroll-top-btn { border-radius: 50% !important; }
.cf-group input, .cf-group select, .cf-group textarea { border-radius: var(--radius-sm) !important; }
.filter-input, .filter-select, .filter-clear { border-radius: var(--radius-sm) !important; }

/* =======================================================
   MOBILE MENU — NEW DESIGN
   ======================================================= */
#mobileMenu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 98;
  display: none;
  flex-direction: column;
  padding: calc(var(--nav-h) + 16px) 0 0;
}
#mobileMenu.open { display: flex; }

.mob-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  padding: 8px 0 24px;
}

.mob-menu-links {
  display: flex;
  flex-direction: column;
}

.mob-link {
  display: block;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(250,250,248,0.55);
  cursor: pointer;
  transition: color 0.2s;
  border: none;
  background: none;
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 1;
}
.mob-link:hover, .mob-link.mob-active { color: var(--white); }

.mob-menu-footer {
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-book-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.mob-book-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.mob-menu-utils {
  display: flex;
  gap: 10px;
}

.mob-util-btn {
  flex: 1;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.mob-util-btn:hover { background: rgba(255,255,255,0.08); color: var(--white); }

[data-theme="light"] #mobileMenu { background: var(--black); }
[data-theme="light"] .mob-link { color: rgba(250,250,248,0.55); }
[data-theme="light"] .mob-link:hover { color: #fff; }
[data-theme="light"] .mob-util-btn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(250,250,248,0.6); }
[data-theme="light"] .mob-util-btn:hover { color: #fff; }

/* =======================================================
   BOOK FAB BUTTON
   ======================================================= */
.book-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.book-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201,168,76,0.55);
}
.book-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }

@media (max-width: 480px) {
  .book-fab { bottom: 20px; right: 16px; padding: 13px 18px; font-size: 0.74rem; }
  .book-fab span { display: none; }
  .book-fab { border-radius: 50%; width: 54px; height: 54px; justify-content: center; padding: 0; }
}

/* =======================================================
   BOOKING DRAWER
   ======================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.booking-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: var(--dark);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.booking-drawer.open { transform: translateX(0); }

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.drawer-header-left { display: flex; align-items: center; gap: 12px; }
.drawer-scissors {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--black);
  flex-shrink: 0;
}
.drawer-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; line-height: 1.1; }
.drawer-sub { font-size: 0.68rem; color: var(--muted); margin-top: 1px; }
.drawer-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* Progress bar */
.drawer-progress {
  height: 3px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.drawer-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
  border-radius: 0 2px 2px 0;
}

/* Step labels */
.drawer-steps {
  display: flex;
  padding: 10px 24px 0;
  gap: 4px;
  flex-shrink: 0;
}
.drawer-step {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  cursor: default;
}
.drawer-step.active { color: var(--gold); background: rgba(201,168,76,0.1); }
.drawer-step.done { color: rgba(201,168,76,0.6); }

/* Scrollable body */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.2) transparent;
}
.drawer-body::-webkit-scrollbar { width: 3px; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 2px; }

/* Panels */
.drawer-panel { display: none; }
.drawer-panel.active { display: block; animation: dpIn 0.3s ease; }
@keyframes dpIn { from { opacity:0; transform: translateX(12px); } to { opacity:1; transform: translateX(0); } }

/* Section titles */
.d-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.d-req { color: var(--gold); }

/* Row / fields */
.d-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-field { margin-bottom: 14px; }
.d-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.d-field input, .d-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}
.d-field input::placeholder, .d-field textarea::placeholder { color: rgba(255,255,255,0.22); }
.d-field input:focus, .d-field textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

/* Service grid */
.d-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.d-service-card {
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 12px 8px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  background: rgba(255,255,255,0.02);
  user-select: none;
}
.d-service-card:hover { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); }
.d-service-card.active { border-color: var(--gold); background: rgba(201,168,76,0.12); }
.d-svc-icon { font-size: 1.2rem; margin-bottom: 5px; line-height: 1; }
.d-svc-name { font-size: 0.66rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 3px; }
.d-service-card.active .d-svc-name { color: var(--gold); }
.d-svc-price { font-size: 0.62rem; color: var(--gold); font-weight: 500; }

/* Barber chips */
.d-barber-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.d-chip {
  padding: 7px 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.d-chip:hover { border-color: rgba(201,168,76,0.4); color: var(--white); }
.d-chip.active { border-color: var(--gold); background: rgba(201,168,76,0.1); color: var(--gold); }

/* Calendar */
.d-calendar {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
  user-select: none;
}
.d-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.d-cal-month {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}
.d-cal-arr {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.15s;
}
.d-cal-arr:hover { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.35); color: var(--gold); }
.d-cal-arr:disabled { opacity: 0.25; cursor: not-allowed; }
.d-cal-dows {
  display: grid; grid-template-columns: repeat(7,1fr);
  margin-bottom: 6px;
}
.d-cal-dows span {
  text-align: center;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); padding: 3px 0;
}
.d-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.d-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.78rem; font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
  border: 1.5px solid transparent;
}
.d-cal-day:hover:not(.d-past):not(.d-empty) { background: rgba(201,168,76,0.12); color: var(--gold); }
.d-cal-day.d-today { border-color: rgba(201,168,76,0.5); color: var(--gold); }
.d-cal-day.d-selected { background: var(--gold) !important; color: var(--black) !important; font-weight: 700; border-color: transparent !important; }
.d-cal-day.d-past { color: rgba(255,255,255,0.15); cursor: not-allowed; pointer-events: none; }
.d-cal-day.d-empty { pointer-events: none; }
.d-cal-day.d-sun { color: rgba(248,113,113,0.55); }

/* Date label */
.d-date-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--gold);
  padding: 8px 12px;
  background: rgba(201,168,76,0.08);
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

/* Time loading */
.d-time-loading {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.76rem; color: var(--muted);
  padding: 12px 0;
}
.d-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: dSpin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes dSpin { to { transform: rotate(360deg); } }

/* Time grid */
.d-time-section { margin-bottom: 16px; }
.d-time-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.d-time-slot {
  padding: 9px 4px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.7rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: rgba(255,255,255,0.02);
  color: var(--white);
  user-select: none;
}
.d-time-slot:hover { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.08); color: var(--gold); }
.d-time-slot.active { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 700; }
.d-time-slot.am { color: rgba(250,250,248,0.65); }

/* Empty state */
.d-time-empty {
  text-align: center; padding: 20px 12px;
  color: var(--muted); font-size: 0.76rem; line-height: 1.65;
}
.d-time-empty-icon { font-size: 1.6rem; margin-bottom: 8px; opacity: 0.5; }

/* Summary */
.d-summary {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.d-summary-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.d-summary-row:last-child { border-bottom: none; }
.d-summary-label { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; padding-top: 1px; }
.d-summary-value { font-size: 0.8rem; font-weight: 500; color: var(--white); text-align: right; line-height: 1.4; }
.d-summary-value.gold { color: var(--gold); }

/* Nav rows */
.d-nav-row {
  display: flex; gap: 10px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Drawer buttons */
.d-btn-primary {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.d-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.d-btn-primary:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.d-btn-ghost {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 18px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.d-btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }

.d-btn-confirm {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.d-btn-confirm:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,0.35); }
.d-btn-confirm:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* Light theme drawer */
[data-theme="light"] .booking-drawer { background: #fff; box-shadow: -12px 0 50px rgba(0,0,0,0.15); }
[data-theme="light"] .drawer-header { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .drawer-title { color: #1C1C1A; }
[data-theme="light"] .drawer-sub { color: #6B6B68; }
[data-theme="light"] .drawer-close { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #6B6B68; }
[data-theme="light"] .drawer-close:hover { background: rgba(0,0,0,0.08); color: #1C1C1A; }
[data-theme="light"] .drawer-progress { background: rgba(0,0,0,0.06); }
[data-theme="light"] .drawer-step { color: #999; }
[data-theme="light"] .drawer-step.active { color: #8B6914; background: rgba(139,105,20,0.08); }
[data-theme="light"] .drawer-step.done { color: rgba(139,105,20,0.6); }
[data-theme="light"] .drawer-body { scrollbar-color: rgba(139,105,20,0.2) transparent; }
[data-theme="light"] .d-section-title { color: #999; }
[data-theme="light"] .d-field label { color: #6B6B68; }
[data-theme="light"] .d-field input, [data-theme="light"] .d-field textarea { background: #f7f6f2; border-color: rgba(0,0,0,0.12); color: #1C1C1A; }
[data-theme="light"] .d-field input::placeholder, [data-theme="light"] .d-field textarea::placeholder { color: rgba(28,28,26,0.3); }
[data-theme="light"] .d-field input:focus, [data-theme="light"] .d-field textarea:focus { border-color: #8B6914; background: rgba(139,105,20,0.03); }
[data-theme="light"] .d-service-card { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .d-service-card:hover { border-color: rgba(139,105,20,0.4); background: rgba(139,105,20,0.06); }
[data-theme="light"] .d-service-card.active { border-color: #8B6914; background: rgba(139,105,20,0.1); }
[data-theme="light"] .d-svc-name { color: #1C1C1A; }
[data-theme="light"] .d-service-card.active .d-svc-name { color: #8B6914; }
[data-theme="light"] .d-svc-price { color: #8B6914; }
[data-theme="light"] .d-chip { border-color: rgba(0,0,0,0.12); color: #6B6B68; }
[data-theme="light"] .d-chip:hover { border-color: rgba(139,105,20,0.4); color: #1C1C1A; }
[data-theme="light"] .d-chip.active { border-color: #8B6914; background: rgba(139,105,20,0.1); color: #8B6914; }
[data-theme="light"] .d-calendar { background: #f7f6f2; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .d-cal-month { color: #1C1C1A; }
[data-theme="light"] .d-cal-arr { background: #fff; border-color: rgba(0,0,0,0.1); color: #6B6B68; }
[data-theme="light"] .d-cal-arr:hover { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.3); color: #8B6914; }
[data-theme="light"] .d-cal-dows span { color: #999; }
[data-theme="light"] .d-cal-day { color: #1C1C1A; }
[data-theme="light"] .d-cal-day.d-past { color: rgba(0,0,0,0.2); }
[data-theme="light"] .d-cal-day.d-today { border-color: rgba(139,105,20,0.5); color: #8B6914; }
[data-theme="light"] .d-cal-day:hover:not(.d-past):not(.d-empty) { background: rgba(139,105,20,0.09); color: #8B6914; }
[data-theme="light"] .d-cal-day.d-selected { background: #8B6914 !important; color: #fff !important; }
[data-theme="light"] .d-cal-day.d-sun { color: rgba(197,48,48,0.55); }
[data-theme="light"] .d-date-label { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.25); color: #8B6914; }
[data-theme="light"] .d-time-slot { background: #fff; border-color: rgba(0,0,0,0.1); color: #1C1C1A; }
[data-theme="light"] .d-time-slot:hover { border-color: rgba(139,105,20,0.4); background: rgba(139,105,20,0.07); color: #8B6914; }
[data-theme="light"] .d-time-slot.active { background: #8B6914; border-color: #8B6914; color: #fff; }
[data-theme="light"] .d-time-slot.am { color: rgba(28,28,26,0.6); }
[data-theme="light"] .d-summary { background: #f7f6f2; border-color: rgba(139,105,20,0.2); }
[data-theme="light"] .d-summary-row { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .d-summary-label { color: #999; }
[data-theme="light"] .d-summary-value { color: #1C1C1A; }
[data-theme="light"] .d-summary-value.gold { color: #8B6914; }
[data-theme="light"] .d-nav-row { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .d-btn-ghost { border-color: rgba(0,0,0,0.15); color: #6B6B68; }
[data-theme="light"] .d-btn-ghost:hover { border-color: rgba(0,0,0,0.3); color: #1C1C1A; }
[data-theme="light"] .d-time-empty, [data-theme="light"] .d-time-loading { color: #999; }

/* Mobile drawer full width */
@media (max-width: 480px) {
  .booking-drawer {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    top: auto;
    height: 92svh;
    border-radius: 20px 20px 0 0;
  }
  .drawer-overlay { background: rgba(0,0,0,0.55); }
  .d-service-grid { grid-template-columns: repeat(2,1fr) !important; }
  .d-time-grid { grid-template-columns: repeat(3,1fr) !important; }
  .d-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .booking-drawer { width: 100%; border-radius: 0; }
  .d-service-grid { grid-template-columns: repeat(4,1fr); }
}

/* =======================================================
   IMPROVED MOBILE — GLOBAL FIXES
   ======================================================= */
@media (max-width: 768px) {
  /* Text overflow fixes */
  .hero-title { word-break: break-word; hyphens: auto; }
  .section-title { word-break: break-word; }
  .service-name { font-size: 1.1rem; }
  .barber-bio-name { font-size: 0.9rem; }

  /* Service cards on mobile */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { border-radius: var(--radius-md); padding: 24px 20px; }

  /* Testimonials */
  .testimonials-track { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { border-radius: var(--radius-md); padding: 24px 20px; }

  /* Contact layout */
  .contact-layout { gap: 32px; }

  /* About facts grid */
  .about-facts-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .about-fact-card { border-radius: var(--radius-md); padding: 18px 16px; }

  /* Hours table */
  .hours-day { font-size: 0.72rem; }
  .hours-time { font-size: 0.85rem; }

  /* Membership section on mobile */
  .membership-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer { padding: 40px 20px 32px; }

  /* Chat panel on mobile */
  .chat-panel { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

  /* Gallery */
  .gallery-strip { grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius-md); overflow: hidden; }

  /* Section padding tighter */
  .section { padding: 48px 16px; }
  .home-section-pad { padding: 48px 16px !important; }
  .home-gallery-pad { padding: 0 16px 48px !important; }
  .home-testi-pad { padding: 48px 16px !important; }
  .home-cta-pad { padding: 48px 16px !important; }
}

@media (max-width: 480px) {
  .about-facts-grid { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery-strip { grid-template-columns: 1fr; }

  /* Booking drawer on very small screens */
  .d-service-grid { grid-template-columns: repeat(2, 1fr); }
  .d-time-grid { grid-template-columns: repeat(3, 1fr); }

  /* Barber chips wrap better */
  .d-barber-chips { gap: 5px; }
  .d-chip { font-size: 0.68rem; padding: 6px 11px; }

  /* Summary rows */
  .d-summary-value { font-size: 0.75rem; }
}

/* Hide the old book-now button on mobile since FAB handles it */
@media (max-width: 768px) {
  .nav-book { display: none; }
  .nav-theme { display: flex; }
}

/* =======================================================
   FLOATING BUTTONS — MOBILE REORGANIZE
   Avoid overlapping: chat=bottom-left, book=bottom-right
   scroll-top=hidden on mobile (handled by pull-to-refresh)
   ======================================================= */

/* On mobile, move chat to bottom-left, book stays bottom-right */
@media (max-width: 768px) {
  /* scroll-to-top: keep it but smaller and don't overlap */
  .scroll-top-btn {
    bottom: 90px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.7rem;
  }
  /* Chat FAB: bottom-left */
  .chat-fab {
    left: 16px !important;
    bottom: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }
  /* Chat panel: full-width bottom drawer */
  .chat-panel {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 75svh !important;
    border-radius: 20px 20px 0 0 !important;
    transform-origin: bottom center !important;
  }
  /* Book FAB: bottom-right, pill shape */
  .book-fab {
    right: 16px !important;
    bottom: 20px !important;
    padding: 13px 18px !important;
    font-size: 0.72rem !important;
    border-radius: var(--radius-pill) !important;
    width: auto !important;
    height: auto !important;
  }
  .book-fab span { display: inline !important; }
}

@media (max-width: 400px) {
  .book-fab span { display: none !important; }
  .book-fab {
    width: 50px !important; height: 50px !important;
    padding: 0 !important; border-radius: 50% !important;
    justify-content: center !important;
  }
  .chat-fab { width: 46px !important; height: 46px !important; }
  .scroll-top-btn { display: none !important; }
}

/* =======================================================
   BARBER SECTION — MOBILE HORIZONTAL SCROLL
   ======================================================= */
@media (max-width: 900px) {
  .barbers-full-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 680px) {
  /* Convert to horizontal scroll */
  .barbers-full-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding: 4px 4px 16px !important;
    margin-bottom: 40px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .barbers-full-grid::-webkit-scrollbar { display: none; }
  .barber-bio-card {
    min-width: 190px !important;
    max-width: 190px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    border-radius: 12px;
  }
  .barber-bio-img { aspect-ratio: 4/5; }
  .barber-bio-body { padding: 12px 12px 14px; }
  .barber-bio-name { font-size: 0.95rem; }
  .barber-bio-role { font-size: 0.6rem; }
  .barber-bio-exp { font-size: 0.62rem; margin-bottom: 8px; }
  .barber-bio-desc { display: none !important; }
  .barber-bio-tags { gap: 4px; }
  .barber-bio-tags span { font-size: 0.58rem; padding: 3px 8px; }
}
@media (max-width: 400px) {
  .barber-bio-card { min-width: 165px !important; max-width: 165px !important; }
  .barber-bio-name { font-size: 0.88rem; }
}

/* =======================================================
   FLOATING BUTTONS — MOBILE ARRANGEMENT
   3 buttons: chat (bottom-left), book (bottom-right)
   scroll-top disappears on mobile to reduce clutter
   ======================================================= */
@media (max-width: 768px) {
  /* Chat: anchored bottom-left, smaller */
  .chat-fab {
    left: 16px !important;
    bottom: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }

  /* Chat panel becomes bottom sheet */
  .chat-panel {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 72svh !important;
    border-radius: 20px 20px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  /* Book FAB: bottom-right pill */
  .book-fab {
    right: 16px !important;
    bottom: 20px !important;
    padding: 12px 16px !important;
    font-size: 0.72rem !important;
    border-radius: 100px !important;
    width: auto !important;
    height: auto !important;
  }
  .book-fab span { display: inline !important; }

  /* Scroll-to-top: hide on mobile to keep screen clear */
  .scroll-top-btn { display: none !important; }
}

@media (max-width: 400px) {
  /* Very small phones: make both FABs circular, no text */
  .book-fab {
    width: 50px !important; height: 50px !important;
    padding: 0 !important; border-radius: 50% !important;
    justify-content: center !important;
  }
  .book-fab span { display: none !important; }
  .chat-fab {
    width: 46px !important; height: 46px !important;
  }
}

/* =======================================================
   CUSTOM SELECT DROPDOWN — shared across site & admin
   ======================================================= */
.cf-custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}
.cf-select-display {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.cf-select-display:hover {
  border-color: rgba(201,168,76,0.3);
}
.cf-select-display.has-value {
  color: var(--white);
}
.cf-select-display.open {
  border-color: var(--gold);
}
.cf-select-display svg {
  flex-shrink: 0;
  transition: transform 0.18s;
  opacity: 0.5;
}
.cf-select-display.open svg {
  transform: rotate(180deg);
  opacity: 1;
}
.cf-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
}
.cf-select-dropdown.open {
  display: block;
}
.cf-select-opt {
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cf-select-opt:last-child { border-bottom: none; }
.cf-select-opt:hover {
  background: rgba(201,168,76,0.08);
  color: var(--white);
}
.cf-select-opt.selected {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  font-weight: 600;
}

/* Light theme */
[data-theme="light"] .cf-select-display {
  background: var(--dark2);
  border-color: rgba(0,0,0,0.12);
  color: rgba(28,28,26,0.45);
}
[data-theme="light"] .cf-select-display.has-value { color: #1C1C1A; }
[data-theme="light"] .cf-select-display.open { border-color: #8B6914; }
[data-theme="light"] .cf-select-dropdown {
  background: #fff;
  border-color: rgba(139,105,20,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
[data-theme="light"] .cf-select-opt {
  color: #5a5a56;
  border-bottom-color: rgba(0,0,0,0.04);
}
[data-theme="light"] .cf-select-opt:hover { background: rgba(139,105,20,0.07); color: #1C1C1A; }
[data-theme="light"] .cf-select-opt.selected { background: rgba(139,105,20,0.1); color: #8B6914; }

/* Fix booking drawer z-index so dropdowns inside show above overlay */
.booking-drawer {
  z-index: 202 !important;
}
.drawer-overlay {
  z-index: 201 !important;
}
/* Ensure any custom dropdown inside the drawer floats above everything */
.booking-drawer .cf-select-dropdown,
.booking-drawer .d-time-dropdown {
  z-index: 9999 !important;
}

/* Fix time dropdowns in admin (barber schedule) */
.time-dropdown {
  z-index: 9999 !important;
}

/* =======================================================
   MOBILE — GLOBAL TOUCH & USABILITY IMPROVEMENTS
   ======================================================= */
/* Prevent iOS font size adjustment */
html { -webkit-text-size-adjust: 100%; }

/* All tap targets minimum 44px */
@media (max-width: 768px) {
  button, a, [onclick] { touch-action: manipulation; }

  /* Nav */
  .nav { height: 56px; }
  .nav-links { display: none; } /* handled by mobile menu */
  .nav-logo-text { font-size: 0.95rem; }

  /* Mobile menu links — bigger, easier to tap */
  .mob-link { font-size: 2rem; padding: 16px 24px; }
  .mob-book-btn { min-height: 52px; font-size: 0.85rem; }
  .mob-util-btn { min-height: 44px; }

  /* Hero text wraps cleanly */
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.8rem); line-height: 1.1; }
  .hero-eyebrow { font-size: 0.68rem; }
  .hero-desc { font-size: 0.82rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-btns .btn-gold, .hero-btns .btn-outline { width: 100%; justify-content: center; max-width: 280px; min-height: 48px; }

  /* Stats strip — single column on tiny screens */
  .stats-strip { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Sections — tighter padding */
  .section { padding: 44px 16px; }

  /* Service cards — full width on tiny screens */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px 18px; }

  /* About hero stacks */
  .about-hero { flex-direction: column; gap: 28px; }

  /* Contact form — full width inputs */
  .cf-group input, .cf-group select, .cf-group textarea { font-size: 16px; min-height: 48px; padding: 12px 14px; }
  .cf-group textarea { min-height: 120px; }

  /* Custom select on contact — bigger tap targets */
  .cf-select-display { min-height: 48px; font-size: 16px; }
  .cf-select-opt { padding: 13px 14px; font-size: 15px; }

  /* Footer stacks on small screens */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer { padding: 36px 16px 28px; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }

  /* Booking drawer inputs — 16px prevents iOS zoom */
  .d-field input, .d-field textarea { font-size: 16px; }
  .d-btn-primary, .d-btn-ghost, .d-btn-confirm { min-height: 48px; }

  /* Chat panel on mobile */
  .chat-header { padding: 14px 16px; }
  .chat-feed { padding: 14px 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .stats-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 16px; }

  /* Testimonials single column */
  .testimonials-track { grid-template-columns: 1fr !important; }

  /* Booking drawer full screen on tiny phones */
  .booking-drawer { width: 100% !important; border-radius: 0 !important; }
}

/* Safe area for bottom-fixed elements */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .book-fab { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .chat-fab { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
