/* ==========================================================================
   APEX BARBER STUDIO - DESIGN SYSTEM & STYLESHEET
   Luxury Dark Vintage & Modern Craft Barber Shop Landing Page
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- Root CSS Variables --- */
:root {
  /* Color Palette */
  --bg-dark: #080B0E;
  --bg-primary: #0F141C;
  --bg-secondary: #161D27;
  --bg-card: #1C2430;
  --bg-card-hover: #242E3E;
  --bg-glass: rgba(22, 29, 39, 0.85);
  --bg-glass-card: rgba(28, 36, 48, 0.65);
  
  /* Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F5D77F;
  --gold-dark: #A88418;
  --gold-gradient: linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #9B7811 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  
  --bronze-accent: #C88330;
  --leather-brown: #2D1E18;
  
  /* Status Colors */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --danger: #EF4444;
  --info: #3B82F6;

  /* Neutral Text Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-dark: #0F172A;

  /* Borders & Dividers */
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-subtle: rgba(212, 175, 55, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.25);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h4 {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Helper Utilities & Responsive Container --- */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-tag svg, .section-tag img {
  width: 16px;
  height: 16px;
  fill: var(--gold-primary);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-header p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

.section-padding {
  padding: 6rem 0;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: rgba(22, 29, 39, 0.6);
  border-color: var(--border-gold);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* --- Cards & Glassmorphism --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* --- Header / Navigation Bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  background: rgba(8, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 0.7rem 0;
  background: rgba(15, 20, 28, 0.95);
  border-bottom-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
  flex-shrink: 0;
}

.brand-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-primary);
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status Indicator Badge */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: var(--success-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.2rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 11, 14, 0.85) 0%, rgba(15, 20, 28, 0.95) 100%),
              url('../img/hero_barber.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Hero Badge Card - Luxury Upgrade */
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-card-inner {
  padding: 3rem 2.2rem 2.2rem 2.2rem;
  border-color: var(--border-gold);
  background: linear-gradient(145deg, rgba(28, 36, 48, 0.95) 0%, rgba(15, 20, 28, 0.95) 100%);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(212, 175, 55, 0.25);
  text-align: center;
  position: relative;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
}

.hero-card-inner:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(212, 175, 55, 0.4);
}

/* Floating VIP Badge */
.hero-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
  z-index: 5;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--text-dark);
  border-radius: 50%;
}

/* High-Contrast Black & White Male Portrait Frame */
.hero-card-portrait-wrapper {
  width: 120px;
  height: 120px;
  margin: 0.5rem auto 1.5rem auto;
  border-radius: 50%;
  padding: 4px;
  background: var(--gold-gradient);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4), var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
}

.hero-card-portrait-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  animation: spin-ring 25s linear infinite;
  pointer-events: none;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-card-portrait-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%) contrast(135%) brightness(105%);
  border: 3px solid #0F141C;
  transition: all var(--transition-normal);
}

.hero-card-inner:hover .hero-card-portrait-img {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(150%) brightness(110%);
}

.hero-card-inner:hover .hero-card-portrait-wrapper {
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

.hero-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.hero-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Feature Checklist in Hero Card */
.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  margin-bottom: 1.8rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 20, 28, 0.7);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
}

.hero-card-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.hero-card-features li svg {
  flex-shrink: 0;
}

.hero-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.hero-card-btn svg {
  transition: transform var(--transition-fast);
}

.hero-card-btn:hover svg {
  transform: translateX(4px);
}

/* --- Features / Advantages Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gold-gradient);
  transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon-wrapper svg {
  fill: var(--text-dark);
}

.feature-icon-wrapper svg {
  width: 34px;
  height: 34px;
  fill: var(--gold-primary);
  transition: fill var(--transition-normal);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.9rem;
}

/* --- Services & Pricing Section --- */
.services-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Services Tabs Filter */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card);
}

.service-card-popular {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(28, 36, 48, 0.9) 0%, rgba(36, 46, 62, 0.9) 100%);
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.service-info {
  flex: 1;
  padding-right: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.service-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-duration svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.service-pricing {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
}

.service-book-btn {
  margin-top: 1rem;
}

/* Price Calculator Banner */
.calculator-banner {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(28, 36, 48, 0.95) 0%, rgba(22, 29, 39, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.calc-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-checkbox-item:hover {
  border-color: var(--border-gold);
}

.calc-checkbox-item input[type="checkbox"] {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.calc-checkbox-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-main);
}

.calc-summary-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-total-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  margin: 0.5rem 0;
}

.calc-total-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --- Barbers Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.barber-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.barber-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.barber-img-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.barber-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.barber-card:hover .barber-img {
  transform: scale(1.08);
}

.barber-rank-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 20, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.barber-details {
  padding: 2rem;
  text-align: center;
}

.barber-name {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.barber-spec {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.barber-meta-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Gallery & Before/After Section --- */
.gallery-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 14, 0.9) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
}

.gallery-tag {
  color: var(--gold-light);
  font-size: 0.85rem;
}

/* Before / After Slider Box */
.before-after-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

.before-after-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 900px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold-gradient);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.review-stars {
  color: var(--gold-primary);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Rating Summary Box */
.rating-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
}

.rating-big-score {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.score-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem 2rem;
}

/* --- Contacts & Location Section --- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-primary);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.contact-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.map-container {
  width: 100%;
  height: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(28, 36, 48, 0.9) 0%, rgba(8, 11, 14, 0.95) 100%),
              url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-pin-badge {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  margin-bottom: 1rem;
  animation: bounce-pin 2s infinite;
}

@keyframes bounce-pin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.map-pin-badge svg {
  width: 30px;
  height: 30px;
  fill: var(--text-dark);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--gold-primary);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --- Booking Modal Wizard --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal {
  width: 100%;
  max-width: 750px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--gold-glow);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .booking-modal {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--gold-light);
}

.modal-body {
  padding: 2rem;
  max-height: 75vh;
  overflow-y: auto;
}

/* Wizard Steps Indicator */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
  transform: translateY(-50%);
}

.wizard-step {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.wizard-step.active {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

.wizard-step.completed {
  background: var(--gold-dark);
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.wizard-content {
  display: none;
}

.wizard-content.active {
  display: block;
}

/* Form inputs styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.time-slot-btn {
  padding: 0.7rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.time-slot-btn:hover, .time-slot-btn.selected {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--gold-primary);
}

.modal-footer {
  padding: 1.2rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--gold-glow);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slide-toast 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   BREAKPOINTS STRICTLY MATCHING rules/breakpoints.md
   Mobile: 0–767px
   Tablet: 768–1023px
   Laptop: 1024–1279px
   Desktop: 1280–1439px
   Large Desktop: 1440px и более (base desktop 1440px)
   ========================================================================== */

/* --- Mobile Breakpoint (0-767px) --- */
@media (max-width: 767px) {
  .container {
    padding: 0 1.2rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hamburger-btn {
    display: block;
  }
  
  .status-indicator {
    display: none;
  }

  .header-actions .open-booking-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 5rem 1.8rem;
    align-items: flex-start;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  /* Hero Mobile Layout */
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    margin-top: 1rem;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
    margin-bottom: 2.5rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .hero-card-inner {
    padding: 2.5rem 1.2rem 1.8rem 1.2rem;
  }

  .hero-card-title {
    font-size: 1.3rem;
  }

  /* Features & Cards Mobile */
  .features-grid, .team-grid, .reviews-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .barber-img-wrapper {
    height: 320px;
  }

  /* Services Grid Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .service-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.2rem;
  }

  .service-info {
    padding-right: 0;
  }

  .service-pricing {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .service-price {
    font-size: 1.5rem;
  }

  .service-book-btn {
    margin-top: 0;
  }

  /* Calculator Mobile */
  .calculator-banner {
    padding: 1.8rem 1.2rem;
    margin-top: 2.5rem;
  }

  .calculator-grid, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calc-options-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .calc-summary-box {
    padding: 1.5rem 1rem;
  }

  .calc-total-price {
    font-size: 2rem;
  }

  /* Before/After Mobile */
  .before-after-container {
    padding: 1.2rem 1rem;
  }

  .ba-slider {
    height: 320px;
  }

  .ba-handle-button {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  /* Reviews & Rating Mobile */
  .rating-summary-card {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1.8rem 1.2rem;
  }

  .rating-big-score {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    padding: 1.2rem 1.2rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
  }

  /* Contacts & Map Mobile */
  .map-container {
    height: 300px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Booking Wizard Modal Mobile */
  .booking-modal {
    margin: 0.5rem;
    max-height: 90vh;
  }

  .modal-header {
    padding: 1.2rem 1.2rem;
  }

  .modal-body {
    padding: 1.2rem;
    max-height: 65vh;
  }

  .modal-footer {
    padding: 1rem 1.2rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet Breakpoint (768-1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .features-grid, .team-grid, .reviews-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .calculator-grid, .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Laptop Breakpoint (1024-1279px) --- */
@media (min-width: 1024px) and (max-width: 1279px) {
  .features-grid, .team-grid, .reviews-grid, .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* --- Desktop Breakpoint (1280-1439px) --- */
@media (min-width: 1280px) and (max-width: 1439px) {
  .container {
    max-width: 1280px;
  }
}

/* --- Large Desktop Breakpoint (1440px и более) --- */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}
