/* =============================================
   MELLIZOS BARBER SHOP — HIGH-END STYLE SYSTEM
   Colors: Matte Deep Black (#212121)
           Pure White (#FAFAFA)
           Warm Toasted Cream (#F5F0E1)
           Vibrant Crimson Red (#C62828) (CTA)
           Cobalt Blue (#283593) (Active/Links/Icons)
   Fonts: Outfit + Playfair Display
 ============================================= */

:root {
  /* Brand Color Palette */
  --bg-primary:    #212121;  /* Matte Deep Black */
  --bg-secondary:  #1A1A1A;  /* Lighter Black for section depth */
  --bg-surface:    #2A2A2A;  /* Accent Black for containers */
  
  --text-primary:  #FAFAFA;  /* Pure White */
  --text-muted:    #A3A3A3;  /* Crisp light gray for helper texts */
  --text-dark:     #212121;  /* Dark text for toasted cream cards */
  
  --card-bg:       #F5F0E1;  /* Warm Toasted Cream */
  --card-border:   rgba(40, 53, 147, 0.12); /* Subtle Cobalt border tint */
  
  --cta:           #C62828;  /* Vibrant Crimson Red */
  --cta-hover:     #B71C1C;  /* Darker Crimson */
  --accent:        #283593;  /* Cobalt Blue */
  --accent-hover:  #1A237E;  /* Darker Cobalt */
  
  /* Status Colors */
  --green:         #283593;  /* Use Cobalt Blue for Available/Active states to match request */
  --glt:           rgba(40, 53, 147, 0.12);
  --amber:         #C62828;  /* Use Crimson Red for Busy/Alert states to match request */
  --alt:           rgba(198, 40, 40, 0.12);
  
  /* Legacy Variables Mapping for index.html Inline Styles */
  --black:         #212121;
  --white:         #FAFAFA;
  --mid:           #A3A3A3;
  --fog:           rgba(250, 250, 250, 0.08);
  --ghost:         rgba(250, 250, 250, 0.04);
  --rf:            9999px;
  
  /* Fonts */
  --font:          'Gotham', 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif:         'Gotham', 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Layout and Transitions */
  --nav-h:         72px;
  --ease:          cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Radii */
  --r-sm:          4px;
  --r-md:          8px;
  --r-lg:          16px;
  --r-xl:          24px;
  --r-full:        9999px;

  /* Shadows */
  --sh-sm:         0 4px 12px rgba(0,0,0,0.25);
  --sh-md:         0 8px 30px rgba(0,0,0,0.35);
  --sh-lg:         0 16px 48px rgba(0,0,0,0.5);
  --sh-focus:      0 0 0 3px rgba(40, 53, 147, 0.4);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--accent);
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: var(--r-full);
  border: 1px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* HEADER & NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--text-primary);
}

.nav.scrolled {
  background: rgba(33, 33, 33, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  box-shadow: var(--sh-sm);
}

.nav.on-dark {
  color: var(--text-primary);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-svg {
  animation: logo-spin 20s linear infinite;
  flex-shrink: 0;
  color: var(--accent);
}

@keyframes logo-spin {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  color: var(--text-primary);
  border: 1.5px solid transparent;
}

.nav-btn:hover {
  background: rgba(250, 250, 250, 0.06);
}

.nav-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
}

.nav-btn--dash {
  border: 1.5px solid rgba(250, 250, 250, 0.3);
}

.nav-btn--dash:hover {
  border-color: var(--accent);
  background: rgba(40, 53, 147, 0.1);
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 0.4rem;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(40, 53, 147, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(40, 53, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 53, 147, 0); }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border-radius: var(--r-md);
  transition: background-color 0.2s;
}

.nav-hamburger:hover {
  background: rgba(250, 250, 250, 0.05);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  padding: 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 899;
  box-shadow: var(--sh-lg);
}

.mobile-menu.open {
  display: flex;
}

.mob-btn {
  padding: 0.9rem 1.2rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mob-btn:hover, .mob-btn.active {
  background: rgba(40, 53, 147, 0.15);
  color: var(--text-primary);
}

/* SHARED SECTION DESIGN & TYPOGRAPHY */
.view {
  display: none;
  animation: view-fade-in 0.45s var(--ease);
}

.view.active {
  display: block;
}

@keyframes view-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.tag--inv {
  color: rgba(250, 250, 250, 0.5);
}

.h1-serif {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h2-serif {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.h2-serif em, .h1-serif em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.h2-serif-sm {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
}

.body-txt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.sec-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.sec-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.sec-head .body-txt {
  margin-top: 1rem;
}

/* REVEAL ON SCROLL EFFECTS */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal {
  transform: translateY(32px);
}

.reveal-l {
  transform: translateX(-32px);
}

.reveal-r {
  transform: translateX(32px);
}

.reveal.visible, .reveal-l.visible, .reveal-r.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--cta);
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary svg {
  transition: transform 0.25s var(--ease);
}

.btn-primary:hover {
  background-color: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(198, 40, 40, 0.6);
}

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

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--bg-surface);
  border: 1px solid rgba(250, 250, 250, 0.1);
  box-shadow: var(--sh-sm);
}

.btn-dark:hover {
  background-color: var(--bg-primary);
  border-color: rgba(250, 250, 250, 0.25);
  box-shadow: var(--sh-md);
}

.btn-white {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(250, 250, 250, 0.25);
}

.btn-white:hover {
  background-color: #f0f0f0;
  box-shadow: 0 8px 24px rgba(250, 250, 250, 0.4);
}

.btn-lg {
  padding: 1.1rem 2.6rem;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(250, 250, 250, 0.35);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
}

.btn-outline-white:hover {
  border-color: var(--text-primary);
  background: rgba(250, 250, 250, 0.08);
  transform: translateY(-2px);
}

.btn-ghost-d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(250, 250, 250, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
}

.btn-ghost-d:hover {
  border-color: var(--text-primary);
  background: rgba(250, 250, 250, 0.05);
}

.btn-back {
  display: block;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.btn-back:hover {
  color: var(--text-primary);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-primary);
  background-color: #121212;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(110%) brightness(40%);
  transform: scale(1.05);
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(33,33,33,0.3) 0%, rgba(33,33,33,0.1) 50%, rgba(33,33,33,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 820px;
  margin-top: -2rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.eline {
  flex: 0 0 40px;
  height: 1px;
  background: rgba(250, 250, 250, 0.25);
}

.hero-title {
  margin-bottom: 1.75rem;
}

.hero-title span {
  display: block;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: rgba(250, 250, 250, 0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 3.25rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 42, 42, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(250, 250, 250, 0.08);
  padding: 1.5rem 2rem;
}

.hstat {
  text-align: center;
  padding: 0 3rem;
}

.hstat-n {
  display: block;
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.hstat-l {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.hstat-div {
  width: 1px;
  height: 40px;
  background: rgba(250, 250, 250, 0.12);
}

/* TICKER */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-top: 1px solid rgba(250, 250, 250, 0.05);
  border-bottom: 1px solid rgba(250, 250, 250, 0.05);
  padding: 1.1rem 0;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: tick-animation 35s linear infinite;
}

.ticker-track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.td {
  color: var(--accent) !important;
}

@keyframes tick-animation {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SOBRE NOSOTROS (ABOUT) */
.about-sec {
  padding: 9.5rem 2rem;
  background-color: var(--bg-secondary);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6.5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(250, 250, 250, 0.06);
  filter: grayscale(20%);
  transition: filter 0.5s var(--ease);
}

.about-img-wrap:hover .about-img {
  filter: grayscale(0%);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: var(--text-primary);
  padding: 1.6rem 2rem;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--sh-md);
  border: 1px solid rgba(250,250,250,0.1);
}

.ab-n {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.ab-l {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.7);
  margin-top: 0.3rem;
}

.about-txt .tag {
  margin-bottom: 1rem;
}

.about-txt .h2-serif {
  margin-bottom: 1.75rem;
}

.about-txt .body-txt {
  margin-bottom: 1.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.pillar {
  padding: 1.6rem;
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  border: 1px solid rgba(250, 250, 250, 0.05);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pillar:hover {
  border-color: rgba(250, 250, 250, 0.15);
  transform: translateY(-2px);
}

.pi {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.pillar p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* SERVICIOS (SERVICES GRID) */
.services-sec {
  padding: 9.5rem 2rem;
  background-color: var(--bg-primary);
}

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

.svc-card {
  position: relative;
  padding: 3.25rem 2.75rem;
  border-radius: var(--r-xl);
  background-color: var(--card-bg); /* Warm Toasted Cream */
  color: var(--text-dark) !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--sh-sm);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(40, 53, 147, 0.25);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card--feat {
  border-left: 4px solid var(--cta);
}

.svc-card--feat::before {
  background-color: var(--cta) !important;
}

.feat-lbl {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.95rem;
  border-radius: var(--r-full);
  background: var(--cta);
  color: var(--text-primary);
  box-shadow: var(--sh-sm);
}

.svc-n {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.1em;
}

.svc-ico {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.svc-card h3 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--text-dark) !important;
}

.svc-card p {
  font-size: 0.92rem;
  color: rgba(33, 33, 33, 0.75) !important;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.svc-foot {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.svc-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark) !important;
}

.svc-dur {
  font-size: 0.78rem;
  color: rgba(33, 33, 33, 0.55) !important;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-full);
  background: var(--bg-primary);
  color: var(--text-primary) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}

.svc-btn:hover {
  background: var(--cta);
  color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

/* GALERIA (GALLERY) */
.gallery-sec {
  padding: 0 2rem 9.5rem;
  background-color: var(--bg-primary);
}

.gallery-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.gitem {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(250, 250, 250, 0.05);
  box-shadow: var(--sh-sm);
}

.gitem img {
  width: 100%;
  height: 100%;
  transition: transform 0.65s var(--ease), filter 0.65s var(--ease);
  filter: grayscale(35%) brightness(90%);
}

.gitem:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) brightness(100%);
}

.gitem--lg {
  aspect-ratio: 4/3;
}

.gcol {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gcol .gitem {
  flex: 1;
}

.gcap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(33, 33, 33, 0.85) 0%, rgba(33, 33, 33, 0) 100%);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
  border-left: 3px solid var(--accent);
}

.gitem:hover .gcap {
  opacity: 1;
  transform: translateY(0);
}

/* EQUIPO (TEAM) */
.team-sec {
  padding: 9.5rem 2rem;
  background: var(--bg-secondary);
}

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

.team-card {
  background: var(--bg-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(250, 250, 250, 0.05);
  transition: all 0.35s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(250, 250, 250, 0.12);
}

.tc-top {
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(250, 250, 250, 0.05);
  position: relative;
}

.tc-av {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(40, 53, 147, 0.3);
}

.tc-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.tc-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.tc-body {
  padding: 1.75rem 2.25rem;
}

.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.ttag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: rgba(250, 250, 250, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(250, 250, 250, 0.04);
}

.tc-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.tc-foot {
  padding: 1.1rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(250, 250, 250, 0.05);
  background: rgba(0, 0, 0, 0.1);
}

.tsbadge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bdot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ts-avail {
  background: rgba(40, 53, 147, 0.15);
  color: var(--text-primary);
  border: 1px solid rgba(40, 53, 147, 0.3);
}

.ts-avail .bdot-sm {
  background: var(--text-primary);
  animation: pulse-dot-active 2s infinite;
}

@keyframes pulse-dot-active {
  0% { box-shadow: 0 0 0 0 rgba(250, 250, 250, 0.8); }
  70% { box-shadow: 0 0 0 5px rgba(250, 250, 250, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 250, 250, 0); }
}

.ts-busy {
  background: var(--alt);
  color: var(--cta);
  border: 1px solid rgba(198, 40, 40, 0.25);
}

.ts-busy .bdot-sm {
  background: var(--cta);
  animation: pulse-dot-busy 1.5s infinite;
}

@keyframes pulse-dot-busy {
  0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.8); }
  70% { box-shadow: 0 0 0 5px rgba(198, 40, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}

.ts-away {
  background: rgba(250, 250, 250, 0.05);
  color: var(--text-muted);
}

.ts-away .bdot-sm {
  background: var(--text-muted);
}

.tc-book {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

.tc-book:hover {
  color: var(--text-primary);
}

/* TESTIMONIOS (TESTIMONIALS) */
.testi-sec {
  padding: 9.5rem 2rem;
  background-color: var(--bg-primary);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
}

.testi {
  padding: 2.75rem;
  background-color: var(--card-bg); /* Warm Toasted Cream */
  color: var(--text-dark) !important;
  border-radius: var(--r-xl);
  border: 1px solid var(--card-border);
  box-shadow: var(--sh-sm);
  transition: all 0.35s var(--ease);
}

.testi:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: rgba(40, 53, 147, 0.25);
}

.testi-stars {
  color: var(--cta);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.testi blockquote {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--text-dark) !important;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.testi-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tauth-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-auth strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-auth span {
  font-size: 0.78rem;
  color: rgba(33, 33, 33, 0.6) !important;
}

/* INFORMACION (INFO & MAP) */
.info-sec {
  padding: 7.5rem 2rem;
  background: var(--bg-secondary);
}

.info-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.info-card {
  padding: 2.75rem 2.5rem;
  background: var(--bg-surface);
  border: 1px solid rgba(250, 250, 250, 0.05);
  border-radius: var(--r-xl);
  transition: all 0.3s var(--ease);
}

.info-card:hover {
  border-color: rgba(250, 250, 250, 0.12);
  transform: translateY(-2px);
}

.info-ico {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.sched {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.sched span:nth-child(odd) {
  font-weight: 600;
  color: var(--text-primary);
}

.closed {
  color: var(--cta);
  font-style: italic;
}

.info-addr {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.info-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.info-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info-link:hover {
  color: var(--text-primary);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.1rem;
}

.social-lnk {
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s var(--ease);
}

.social-lnk:hover {
  color: var(--accent);
}

/* SECCION LLAMADA A LA ACCION (CTA) */
.cta-sec {
  padding: 10.5rem 2rem;
  background-color: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(40, 53, 147, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-eye {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.cta-h2 {
  margin-bottom: 3.25rem;
}

.cta-h2 em {
  color: var(--cta);
}

/* FOOTER */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.06);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-logo svg {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

/* MODAL DE RESERVA & CALENDARIO INTERACTIVO */
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-ov.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-primary);
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--sh-lg);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(250,250,250,0.1) transparent;
}

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

.modal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.modal-logo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-mini-t {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-mini-d {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.modal-x {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  border: 1px solid rgba(250, 250, 250, 0.05);
}

.modal-x:hover {
  background: var(--cta);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* PROGRESS BAR */
.bprog {
  margin-bottom: 2.5rem;
}

.bprog-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bdot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(250, 250, 250, 0.15);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.bdot.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(40, 53, 147, 0.4);
}

.bdot.done {
  border-color: var(--accent);
  background: var(--bg-surface);
  color: var(--accent);
}

.bdot.done span {
  display: none;
}

.bdot.done::after {
  content: '✓';
  font-size: 0.85rem;
  font-weight: bold;
}

.bstep span:last-child {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.bcon {
  flex: 1;
  height: 2px;
  background: rgba(250, 250, 250, 0.1);
  margin: 0 0.5rem 1rem;
  max-width: 60px;
  transition: background 0.3s var(--ease);
}

.bcon.done {
  background: var(--accent);
}

/* STEP PANES */
.bstep-pane {
  display: none;
  animation: pane-slide-in 0.35s var(--ease);
}

.bstep-pane.active {
  display: block;
}

@keyframes pane-slide-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-h {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.step-h em {
  font-style: italic;
  color: var(--accent);
}

/* STEP 1: SERVICE OPTIONS */
.svc-opts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sopt {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.6rem;
  border: 1.5px solid rgba(250, 250, 250, 0.08);
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  width: 100%;
  text-align: left;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.sopt:hover {
  border-color: rgba(250, 250, 250, 0.25);
  transform: translateY(-2px);
}

.sopt.selected {
  border-color: var(--accent);
  background: var(--card-bg); /* Dynamic inversion to Cream Card */
  color: var(--text-dark) !important;
  box-shadow: var(--sh-md);
}

.sopt-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  background: var(--cta);
  color: var(--text-primary);
}

.sopt.selected .sopt-badge {
  background: var(--cta);
  color: var(--text-primary);
}

.sopt-ico {
  font-size: 1.4rem;
  min-width: 32px;
  text-align: center;
  color: var(--accent);
}

.sopt.selected .sopt-ico {
  color: var(--accent);
}

.sopt-info {
  flex: 1;
}

.sopt-info strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.sopt-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sopt.selected .sopt-info span {
  color: rgba(33, 33, 33, 0.65) !important;
}

.sopt-meta {
  text-align: right;
}

.sopt-p {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.sopt-d {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.sopt.selected .sopt-d {
  color: rgba(33, 33, 33, 0.55) !important;
}

/* STEP 2: BARBER OPTIONS */
.barber-opts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bopt {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.6rem;
  border: 1.5px solid rgba(250, 250, 250, 0.08);
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  width: 100%;
  text-align: left;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  color: var(--text-primary);
}

.bopt:hover {
  border-color: rgba(250, 250, 250, 0.25);
  transform: translateY(-2px);
}

.bopt.selected {
  border-color: var(--accent);
  background: var(--card-bg); /* Dynamic inversion to Cream Card */
  color: var(--text-dark) !important;
  box-shadow: var(--sh-md);
}

.bopt-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s;
}

.bopt.selected .bopt-av {
  background: var(--accent);
  color: var(--text-primary);
}

.bopt-info {
  flex: 1;
}

.bopt-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.bopt-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bopt.selected .bopt-info small {
  color: rgba(33, 33, 33, 0.6) !important;
}

.bst {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
}

.bst-a {
  background: rgba(40, 53, 147, 0.15);
  color: var(--text-primary);
  border: 1px solid rgba(40, 53, 147, 0.3);
}
.bopt.selected .bst-a {
  background: rgba(40, 53, 147, 0.1);
  color: var(--accent);
  border-color: rgba(40, 53, 147, 0.3);
}

.bst-b {
  background: var(--alt);
  color: var(--cta);
}
.bopt.selected .bst-b {
  background: var(--alt);
  color: var(--cta);
}

.bst-w {
  background: rgba(250, 250, 250, 0.05);
  color: var(--text-muted);
}

/* STEP 3: DATE & TIME PICKER */
.dt-picker {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.cal-wrap {
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-surface);
}

.cal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
}

.cal-hd span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  border: 1px solid rgba(250, 250, 250, 0.05);
}

.cal-nav:hover {
  background: rgba(250, 250, 250, 0.08);
  color: var(--text-primary);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.75rem;
  gap: 4px;
}

.cdh {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.4rem 0;
  text-transform: uppercase;
}

.cday {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  color: var(--text-primary);
}

.cday:hover:not(.past):not(.empty) {
  background: rgba(250, 250, 250, 0.08);
}

.cday.sel {
  background: var(--accent) !important;
  color: var(--text-primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(40, 53, 147, 0.4);
}

.cday.tdy:not(.sel) {
  font-weight: 700;
  outline: 1.5px solid var(--cta);
}

.cday.past, .cday.empty {
  color: rgba(250, 250, 250, 0.15) !important;
  cursor: default;
}

.ts-wrap {
  display: flex;
  flex-direction: column;
}

.ts-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.ts-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1.25rem;
  border: 1.5px dashed rgba(250, 250, 250, 0.1);
  border-radius: var(--r-lg);
  text-align: center;
}

.time-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.tslot {
  padding: 0.7rem 0.5rem;
  border: 1px solid rgba(250, 250, 250, 0.08);
  background: var(--bg-surface);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tslot:hover {
  border-color: rgba(250, 250, 250, 0.25);
  background: rgba(250, 250, 250, 0.05);
}

.tslot.sel {
  background: var(--accent) !important;
  color: var(--text-primary) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 10px rgba(40, 53, 147, 0.3);
}

.tslot.taken {
  background: rgba(0, 0, 0, 0.15);
  color: rgba(250, 250, 250, 0.15);
  cursor: default;
  border-color: transparent;
  text-decoration: line-through;
}

/* STEP 4: FORM & CONFIRMATION */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fg {
  margin-bottom: 1.25rem;
}

.fg label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.fg input, .fg textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(250, 250, 250, 0.1);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  outline: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: all 0.25s var(--ease);
  resize: vertical;
}

.fg input:focus, .fg textarea:focus {
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: var(--sh-focus);
}

.fg input.err, .fg textarea.err {
  border-color: var(--cta);
}

.bsummary {
  background: var(--bg-surface);
  border: 1px solid rgba(250, 250, 250, 0.05);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-muted);
}

.bsummary strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* SUCCESS SCREEN */
.ok-screen {
  text-align: center;
  padding: 2rem 0;
}

.ok-ico-wrap {
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
  animation: pop-animation 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ok-ico-wrap svg {
  width: 100%;
  height: 100%;
}

.check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-check 0.6s 0.3s var(--ease) forwards;
  stroke: var(--accent);
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

@keyframes pop-animation {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ok-screen h2 {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1.1rem;
}

.ok-screen p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.ok-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   VIEW 2: STATUS PAGE
 ============================================= */
.status-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.status-hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(250, 250, 250, 0.05);
}

.sh-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.sh-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.live-ind {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

.sh-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sh-time strong {
  color: var(--text-primary);
}

.status-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 2rem 6.5rem;
}

.sb-hd {
  margin-bottom: 2rem;
}

.bsc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
}

.bsc {
  border: 1px solid rgba(250, 250, 250, 0.06);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-surface);
  transition: all 0.3s var(--ease);
  box-shadow: var(--sh-sm);
}

.bsc:hover {
  box-shadow: var(--sh-md);
  border-color: rgba(250, 250, 250, 0.15);
}

.bsc-stripe {
  height: 4px;
  transition: background 0.35s;
}

.bsc.available .bsc-stripe { background: var(--accent); }
.bsc.busy .bsc-stripe { background: var(--cta); }
.bsc.away .bsc-stripe { background: rgba(250, 250, 250, 0.2); }
.bsc.off .bsc-stripe { background: rgba(250, 250, 250, 0.1); }

.bsc-bd {
  padding: 2rem;
}

.bsc-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.bsc-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s;
}

.bsc.available .bsc-av { background: var(--glt); color: var(--text-primary); }
.bsc.busy .bsc-av { background: var(--alt); color: var(--cta); }
.bsc.away .bsc-av, .bsc.off .bsc-av { background: rgba(250,250,250,0.05); color: var(--text-muted); }

.bsc-nm {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bsc-sp {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bsc-sr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bsc.available .sdot { background: var(--accent); animation: pulse-dot-active 2s infinite; }
.bsc.busy .sdot { background: var(--cta); animation: pulse-dot-busy 1.5s infinite; }
.bsc.away .sdot, .bsc.off .sdot { background: var(--text-muted); }

.bsc-stxt {
  font-size: 0.85rem;
  font-weight: 600;
}

.bsc.available .bsc-stxt { color: var(--text-primary); }
.bsc.busy .bsc-stxt { color: var(--cta); }
.bsc.away .bsc-stxt, .bsc.off .bsc-stxt { color: var(--text-muted); }

.bsc-client {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 250, 250, 0.05);
}

.bsc-cl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.bsc-cn {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.bsc-pl {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.bsc-pt {
  height: 4px;
  background: rgba(250, 250, 250, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.bsc-pb {
  height: 100%;
  background: var(--cta);
  border-radius: 2px;
  transition: width 1s linear;
}

/* Citas List (Reservations) */
.res-list, .full-res-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ri {
  display: grid;
  grid-template-columns: 70px 1px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.6rem;
  border: 1px solid rgba(250, 250, 250, 0.06);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.3) 0%, rgba(30, 30, 30, 0.5) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s var(--ease);
  animation: row-fade-in 0.35s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ri:hover {
  border-color: rgba(250, 250, 250, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.ri-time {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ri-div {
  height: 38px;
  background: rgba(250, 250, 250, 0.08);
}

.ri-nm {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.ri-det {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ri-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  background: rgba(40, 53, 147, 0.15);
  color: var(--text-primary);
  border: 1px solid rgba(40, 53, 147, 0.3);
}

.empty-st {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  padding: 3.5rem 2rem;
  border: 1.5px dashed rgba(250, 250, 250, 0.08);
  border-radius: var(--r-lg);
}

@keyframes row-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   VIEW 3: PANEL BARBERO
 ============================================= */
.bp-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: var(--bg-primary);
}

.bp-hero {
  padding: 5rem 2.5rem 4rem;
  background: radial-gradient(circle at 10% 20%, rgba(40, 53, 147, 0.15) 0%, rgba(26, 26, 26, 0.95) 90%);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

@media(min-width: 769px) {
  .bp-hero {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 1.5rem;
  }
}

.bp-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.65;
}

.bp-identity {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}

.bp-id-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bid-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1.5px solid rgba(250, 250, 250, 0.06);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.bid-card:hover {
  border-color: rgba(250, 250, 250, 0.2);
}

.bid-card.sel {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: var(--sh-md);
}

.bid-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bid-card.sel .bid-av {
  background: rgba(250, 250, 250, 0.15);
}

.bid-nm {
  font-size: 0.92rem;
  font-weight: 700;
}

.bid-st {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.bid-card.sel .bid-st {
  color: rgba(250, 250, 250, 0.75);
}

/* TABS */
.bp-tabs-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.75rem 2rem 0;
}

.bp-tabs {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  padding-bottom: 0.75rem;
}

.bp-tab {
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  background: transparent;
}

.bp-tab:hover {
  color: var(--text-primary);
  background: rgba(250, 250, 250, 0.03);
}

.bp-tab.active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.06) 0%, rgba(250, 250, 250, 0.02) 100%);
  border: 1px solid rgba(250, 250, 250, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bp-panel {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.25rem 2rem 5rem;
}

.bp-panel.active {
  display: block;
}

/* CONTROL CARDS */
.ctrl-card {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.45) 0%, rgba(30, 30, 30, 0.7) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.3s var(--ease);
}
.ctrl-card:hover {
  border-color: rgba(250, 250, 250, 0.15);
  box-shadow: var(--sh-lg);
}

.ctrl-stripe {
  height: 4px;
}

.cs-avail { background: var(--accent); }
.cs-busy { background: var(--cta); }
.cs-away { background: rgba(250, 250, 250, 0.2); }
.cs-off { background: rgba(250, 250, 250, 0.1); }

.ctrl-body {
  padding: 2.5rem;
}

.ctrl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ctrl-nm {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.csbadge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.csb-avail { background: rgba(40, 53, 147, 0.15); color: var(--text-primary); border: 1px solid rgba(40, 53, 147, 0.3); }
.csb-busy { background: var(--alt); color: var(--cta); border: 1px solid rgba(198, 40, 40, 0.3); }
.csb-away { background: rgba(250, 250, 250, 0.05); color: var(--text-muted); }
.csb-off { background: rgba(250, 250, 250, 0.03); color: var(--text-muted); }

.ctrl-info {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ctrl-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Jornada timer bar */
.jornada-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.6rem;
  background: rgba(40, 53, 147, 0.1);
  border-radius: var(--r-lg);
  margin-bottom: 2rem;
  border: 1px solid rgba(40, 53, 147, 0.2);
}

.jb-ico {
  font-size: 1.5rem;
}

.jb-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.jb-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.jornada-bar.off {
  background: rgba(250, 250, 250, 0.03);
  border-color: rgba(250, 250, 250, 0.05);
}

.jornada-bar.off .jb-label, .jornada-bar.off .jb-time {
  color: var(--text-muted);
}

.elapsed-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.5rem;
  background: var(--alt);
  border-radius: var(--r-lg);
  margin-bottom: 2rem;
  border: 1px solid rgba(198, 40, 40, 0.2);
}

.er-ico {
  font-size: 1.4rem;
}

.er-lbl {
  font-size: 0.75rem;
  color: var(--cta);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.er-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cta);
}

.ctrl-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.ca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}

.ca-start {
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(40, 53, 147, 0.3);
}

.ca-start:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.ca-finish {
  background: var(--cta);
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

.ca-finish:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
}

.ca-away {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid rgba(250, 250, 250, 0.15);
}

.ca-away:hover {
  border-color: var(--text-primary);
}

.ca-return {
  background: var(--accent);
  color: var(--text-primary);
}

.ca-return:hover {
  background-color: var(--accent-hover);
}

.ca-jornada-start {
  background: var(--cta);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.ca-jornada-start:hover {
  background-color: var(--cta-hover);
  transform: translateY(-1px);
}

.ca-jornada-end {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1.5px solid rgba(250, 250, 250, 0.15);
}

.ca-jornada-end:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* Stats cards in control panel */
.my-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.msk {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.35) 0%, rgba(30, 30, 30, 0.55) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 250, 250, 0.07);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.msk:hover {
  border-color: rgba(250, 250, 250, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.msk-n {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.msk-l {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.completed-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ci {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(250, 250, 250, 0.05);
  border-radius: var(--r-lg);
  font-size: 0.88rem;
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.3) 0%, rgba(30, 30, 30, 0.5) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ci:hover {
  border-color: rgba(250, 250, 250, 0.15);
}

.ci-svc {
  font-weight: 700;
  flex: 1;
}

.ci-cl {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ci-t {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============================================
   VIEW 4: DASHBOARD ADMIN
 ============================================= */
.dash-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: var(--bg-primary);
}

.dash-hero {
  padding: 5rem 2.5rem 4rem;
  background: radial-gradient(circle at 90% 20%, rgba(198, 40, 40, 0.12) 0%, rgba(26, 26, 26, 0.95) 90%);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  text-align: center;
  position: relative;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.dash-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 2rem 6rem;
}

/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.kpi {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.35) 0%, rgba(30, 30, 30, 0.55) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 250, 250, 0.07);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s var(--ease);
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 250, 250, 0.18);
  box-shadow: var(--sh-md);
}

.kpi-n {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.kpi-l {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.kpi--green { border-top: 3px solid var(--accent); }
.kpi--amber { border-top: 3px solid var(--cta); }
.kpi--black { border-top: 3px solid var(--text-primary); }
.kpi--blue { border-top: 3px solid #29b6f6; }

/* Barber dashboard cards */
.barber-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bdc {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.45) 0%, rgba(30, 30, 30, 0.7) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bdc:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(250, 250, 250, 0.18);
  transform: translateY(-3px);
}

.bdc-stripe {
  height: 4px;
}

.bdc-bd {
  padding: 2rem;
}

.bdc-top {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.bdc-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}

.bdc-nm {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bdc-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.bdk {
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--r-md);
  padding: 0.95rem 0.5rem;
  text-align: center;
}

.bdk-n {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.bdk-l {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bdc-bar-wrap {
  margin-bottom: 0.5rem;
}

.bdc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.bdc-bar-track {
  height: 6px;
  background: rgba(250, 250, 250, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.bdc-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s var(--ease);
}

.bdc-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(250, 250, 250, 0.05);
  padding-top: 1.1rem;
  margin-top: 1.25rem;
}

.shift-on {
  color: var(--accent); /* Cobalt Blue */
  font-weight: 700;
}

.shift-off {
  color: var(--text-muted);
}

/* =============================================
   TOAST NOTIFICATIONS
 ============================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid rgba(250, 250, 250, 0.12);
  padding: 0.95rem 1.85rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--sh-lg);
  animation: toast-in 0.35s var(--ease) forwards;
  white-space: nowrap;
}

.toast.out {
  animation: toast-out 0.3s var(--ease) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-12px) scale(0.95); }
}

/* RESPONSIVE LAYOUTS */
@media(max-width: 1080px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-img {
    aspect-ratio: 16/10;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gcol {
    flex-direction: row;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .barber-dash-grid {
    grid-template-columns: 1fr;
  }
  .bid-cards {
    grid-template-columns: 1fr;
  }
  .my-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 768px) {
  .nav-inner {
    padding: 0 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .about-sec, .services-sec, .gallery-sec, .team-sec, .testi-sec, .info-sec {
    padding: 6rem 1.5rem;
  }
  .cta-sec {
    padding: 7.5rem 1.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 2rem 1.5rem;
  }
  .dt-picker {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .ctrl-actions {
    flex-direction: column;
  }
  .ca-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .my-stats-grid {
    grid-template-columns: 1fr;
  }
  .hstat {
    padding: 0 1.5rem;
  }
}

/* STAFF MANAGEMENT DASHBOARD UPGRADE */
.staff-mgmt-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.staff-card {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.45) 0%, rgba(30, 30, 30, 0.7) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 250, 250, 0.07);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.3s var(--ease);
}

.staff-card:hover {
  border-color: rgba(250, 250, 250, 0.12);
  box-shadow: var(--sh-lg);
}

.staff-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
}

.staff-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Dynamic list items */
.staff-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.staff-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.05);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
}

.staff-card-item:hover {
  background: rgba(250, 250, 250, 0.04);
  border-color: rgba(250, 250, 250, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.staff-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.staff-item-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FAFAFA;
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.staff-card-item:hover .staff-item-avatar {
  transform: scale(1.05);
}

.staff-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.staff-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.staff-item-name {
  font-size: 0.95rem;
  color: #FAFAFA;
  font-weight: 600;
}

.staff-item-user {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.staff-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.staff-item-role {
  font-size: 0.68rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-full);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.staff-item-tag {
  font-size: 0.64rem;
  background: rgba(250, 250, 250, 0.05);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(250, 250, 250, 0.03);
}

/* Delete button styling */
.btn-delete-staff {
  background: rgba(198, 40, 40, 0.08) !important;
  border: 1px solid rgba(198, 40, 40, 0.2) !important;
  color: var(--cta) !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--r-md) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s var(--ease) !important;
}

.btn-delete-staff:hover {
  background: var(--cta) !important;
  border-color: var(--cta) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.25);
  transform: translateY(-1px);
}

.btn-delete-staff svg {
  stroke: currentColor;
}

/* Input Fields with Left Icons styling */
.fg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.fg-input-icon {
  position: absolute;
  left: 1.1rem;
  color: rgba(250, 250, 250, 0.35);
  pointer-events: none;
  transition: color 0.25s var(--ease);
}

.fg-input-wrap input,
.fg-input-wrap textarea {
  padding-left: 2.8rem !important;
}

.fg-input-wrap input:focus ~ .fg-input-icon,
.fg-input-wrap textarea:focus ~ .fg-input-icon {
  color: var(--accent);
}

/* Preset color picker */
.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-surface);
  border: 1.5px solid rgba(250, 250, 250, 0.1);
  border-radius: var(--r-md);
  height: 48px;
  width: 100%;
}

.color-presets {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.color-preset-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}

.color-preset-btn:hover {
  transform: scale(1.15);
}

.color-preset-btn.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--bg-primary);
}

.custom-color-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  cursor: pointer;
}

.custom-color-wrap input[type="color"] {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
}

.custom-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(250, 250, 250, 0.2);
  display: inline-block;
  transition: all 0.2s var(--ease);
  background-image: conic-gradient(red, yellow, green, cyan, blue, magenta, red);
}

.custom-color-wrap:hover .custom-color-swatch {
  transform: scale(1.1);
  border-color: var(--text-primary);
}

/* Button style adjustments */
.btn-save-staff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-edit-staff {
  background: rgba(40, 53, 147, 0.08) !important;
  border: 1px solid rgba(40, 53, 147, 0.2) !important;
  color: var(--accent) !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--r-md) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s var(--ease) !important;
}

.btn-edit-staff:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 4px 10px rgba(40, 53, 147, 0.25);
  transform: translateY(-1px);
}

.btn-edit-staff svg {
  stroke: currentColor;
}

/* =============================================
   INICIAR CORTE MODAL — Service Selector
 ============================================= */
.cm-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.cm-svc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(250, 250, 250, 0.04);
  border: 1.5px solid rgba(250, 250, 250, 0.1);
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: left;
}

.cm-svc-btn span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mid);
  transition: color 0.2s;
}

.cm-svc-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(40, 53, 147, 0.08);
}

.cm-svc-btn:hover span {
  color: var(--accent);
}

.cm-svc-btn.active {
  background: rgba(40, 53, 147, 0.15);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.cm-svc-btn.active span {
  color: var(--accent);
  font-weight: 800;
}

/* Textarea inside modal */
.modal textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid rgba(250, 250, 250, 0.1);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.85rem 1.1rem;
  resize: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.modal textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-mini-t {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-mini-d {
  font-size: 0.84rem;
  color: var(--mid);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* BREAK SLOTS GRID & BUTTONS */
.break-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-top: 1rem;
}

.break-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(250, 250, 250, 0.08);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.break-slot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.break-slot-btn.slot-available {
  border-color: rgba(46, 125, 50, 0.3);
  background: rgba(46, 125, 50, 0.04);
}

.break-slot-btn.slot-available:hover {
  border-color: rgba(46, 125, 50, 0.6);
  background: rgba(46, 125, 50, 0.08);
}

.break-slot-btn.slot-blocked {
  border-color: rgba(198, 40, 40, 0.3);
  background: rgba(198, 40, 40, 0.04);
}

.break-slot-btn.slot-blocked:hover {
  border-color: rgba(198, 40, 40, 0.6);
  background: rgba(198, 40, 40, 0.08);
}

.bsb-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.bsb-status {
  font-size: 0.68rem;
  font-weight: 600;
}

.break-slot-btn.slot-available .bsb-status {
  color: #81c784;
}

.break-slot-btn.slot-blocked .bsb-status {
  color: #e57373;
}

/* COMPLETED LIST & ITEMS STYLE (PREMIUM) */
.completed-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.ci {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(250, 250, 250, 0.05);
  border-radius: var(--r-lg);
  background: rgba(250, 250, 250, 0.02);
  transition: all 0.25s var(--ease);
}

.ci:hover {
  border-color: rgba(250, 250, 250, 0.12);
  background: rgba(250, 250, 250, 0.04);
  transform: translateY(-1px);
}

.ci-svc {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ci-cl {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

.ci-t {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.ci strong {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}
