/* ============================================================
   RICARDO HAIRCUTS BARBIERE — Custom Design System
   Premium Barbershop Website | Negro · Dorado · Blanco
   No frameworks. Every line intentional.
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Palette */
  --black-deep: #050505;
  --black-rich: #0a0a0a;
  --black-soft: #111111;
  --black-card: #141414;
  --gray-dark: #1a1a1a;
  --gray-mid: #2a2a2a;
  --gray-light: #888888;
  --gray-muted: #b0b0b0;

  --gold-dark: #a8860c;
  --gold-primary: #d4af37;
  --gold-light: #e8c84a;
  --gold-pale: #f5e6a3;

  --white-pure: #ffffff;
  --white-warm: #f5f5f0;
  --white-muted: #d9d9d9;

  /* Typography */
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s var(--ease-premium);
  --transition-mid: 0.5s var(--ease-premium);
  --transition-slow: 0.8s var(--ease-premium);

  /* Borders */
  --border-gold: 1px solid rgba(212, 175, 55, 0.25);
  --border-gold-strong: 1px solid rgba(212, 175, 55, 0.5);

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.08);
  --shadow-gold-hover: 0 0 50px rgba(212, 175, 55, 0.15), 0 8px 40px rgba(0, 0, 0, 0.5);

  /* Layout */
  --max-width: 1240px;
  --nav-height: 80px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white-warm);
  background-color: var(--black-deep);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--gold-light);
}

ul {
  list-style: none;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white-pure);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray-muted);
  max-width: 600px;
  line-height: 1.8;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
  margin: var(--space-md) 0 var(--space-lg);
  border: none;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-mid), box-shadow var(--transition-mid);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.1);
}

.navbar.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 50px;
  width: auto;
  filter: invert(1);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-pure);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

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

.nav-links a:hover {
  color: var(--gold-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--black-deep) !important;
  background: var(--gold-primary);
  padding: 10px 24px !important;
  border-radius: 0;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1200;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white-pure);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 12s linear;
}

.hero:hover .hero-bg img {
  transform: scale(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(5, 5, 5, 0.6) 0%,
      rgba(5, 5, 5, 0.2) 40%,
      rgba(5, 5, 5, 0.5) 70%,
      rgba(5, 5, 5, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--nav-height) var(--space-md) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: var(--border-gold);
  padding: 8px 20px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInDown 1s var(--ease-premium) 0.3s forwards;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-primary);
}

.hero-logo {
  width: 140px;
  height: auto;
  margin: 0 auto var(--space-md);
  filter: invert(1);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-premium) 0.5s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-premium) 0.7s forwards;
}

.hero h1 span {
  display: block;
  color: var(--gold-primary);
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-muted);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-premium) 0.9s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-premium) 1.1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black-deep);
  background: var(--gold-primary);
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-muted);
  background: transparent;
  padding: 16px 36px;
  border: var(--border-gold-strong);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-premium) 1.5s forwards;
}

.hero-scroll span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold-primary);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--space-3xl) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content {
  position: relative;
}

.about-content .section-subtitle {
  margin-bottom: var(--space-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  border: var(--border-gold);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-muted);
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  width: 90%;
  max-width: 450px;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: 15px;
  left: 15px;
  border: var(--border-gold-strong);
  z-index: -1;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold-primary);
  color: var(--black-deep);
  padding: var(--space-md);
  text-align: center;
  z-index: 2;
}

.about-experience-badge .exp-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .exp-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--space-3xl) 0;
  background: var(--black-rich);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-header .gold-line {
  margin: var(--space-md) auto var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--black-card);
  border: var(--border-gold);
  overflow: hidden;
  transition: all var(--transition-mid);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition-fast);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.service-card:hover::after {
  border-color: var(--gold-primary);
}

.service-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-mid);
  filter: brightness(0.8) saturate(0.9);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1);
}

.service-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, var(--black-card));
  pointer-events: none;
}

.service-card-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  border: var(--border-gold);
  padding: 6px 14px;
  z-index: 2;
}

.service-card-price span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.service-card-body {
  padding: var(--space-md);
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-body p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-primary);
  opacity: 0.8;
}

.service-card-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-primary);
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location {
  padding: var(--space-3xl) 0;
  position: relative;
}

.location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.location-info {
  padding-right: var(--space-lg);
}

.location-info .section-subtitle {
  margin-bottom: var(--space-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border: var(--border-gold);
  transition: all var(--transition-fast);
}

.info-item:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.03);
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: var(--border-gold);
}

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

.info-details h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-pure);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-details p,
.info-details a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-muted);
  line-height: 1.6;
}

.info-details a:hover {
  color: var(--gold-primary);
}

.location-map {
  position: relative;
  border: var(--border-gold);
  overflow: hidden;
}

.location-map::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 1;
  pointer-events: none;
}

.location-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  transition: filter var(--transition-mid);
}

.location-map:hover iframe {
  filter: brightness(0.95);
}

/* ============================================================
   SCHEDULE / HOURS
   ============================================================ */
.schedule-table {
  width: 100%;
  margin-top: var(--space-md);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-day {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-muted);
}

.schedule-hours {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-muted);
}

.schedule-row.today .schedule-day {
  color: var(--gold-primary);
  font-weight: 600;
}

.schedule-row.today .schedule-hours {
  color: var(--gold-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--black-rich);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 40px;
  filter: invert(1);
  opacity: 0.7;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-muted);
  letter-spacing: 1.5px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-gold);
  color: var(--gray-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 1px;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black-card);
  border: var(--border-gold-strong);
  padding: 14px 24px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2), 0 8px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--gold-primary);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.whatsapp-float-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* WhatsApp pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-visual {
    order: -1;
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    z-index: 1100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

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

  .stat-label {
    font-size: 0.6rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
  }

  .whatsapp-float-text {
    display: none;
  }

  .location-map iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .service-card-image {
    height: 200px;
  }
}

/* ============================================================
   BOOKING PAGE — /reservar (Client Interface)
   ============================================================ */
.booking-page {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  min-height: 100vh;
  position: relative;
}

.booking-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.booking-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.booking-header .section-subtitle {
  margin: 0 auto;
}

.booking-header .gold-line {
  margin: var(--space-md) auto var(--space-lg);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* ── Booking Cards (shared container) ── */
.booking-card {
  background: var(--black-card);
  border: var(--border-gold);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
}

.booking-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-gold);
}

.booking-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-pure);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.booking-card-title svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

/* ── Date Selector ── */
.date-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  padding: 14px 16px;
  background: var(--gray-dark);
  border: var(--border-gold);
  color: var(--gray-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.date-chip:hover {
  border-color: var(--gold-primary);
  color: var(--white-pure);
  background: rgba(212, 175, 55, 0.05);
}

.date-chip.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--black-deep);
}

.date-chip-day {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.date-chip-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.date-chip-month {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.date-chip.active .date-chip-day,
.date-chip.active .date-chip-num,
.date-chip.active .date-chip-month {
  color: var(--black-deep);
}

/* ── Time Grid ── */
.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: var(--space-md);
}

.time-slot {
  padding: 12px 8px;
  background: var(--gray-dark);
  border: var(--border-gold);
  color: var(--white-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

.time-slot.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--black-deep);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.time-slot.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: line-through;
}

/* ── Time Legend ── */
.time-legend {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gray-muted);
  letter-spacing: 0.5px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-dot.available {
  background: var(--gray-dark);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.legend-dot.selected {
  background: var(--gold-primary);
}

.legend-dot.full {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.4;
}

/* ── Booking Form ── */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-dark);
  border: var(--border-gold);
  color: var(--white-pure);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  outline: none;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--gray-light);
  font-weight: 300;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: rgba(26, 26, 26, 0.8);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--black-card);
  color: var(--white-pure);
}

/* ── Booking Summary ── */
.booking-summary {
  background: rgba(212, 175, 55, 0.04);
  border: var(--border-gold);
  padding: var(--space-md);
  margin-top: var(--space-xs);
}

.booking-summary h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gray-muted);
}

.summary-row strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white-pure);
}

/* ── Submit Button ── */
.booking-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-xs);
  padding: 18px 36px;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
}

/* ── Notice ── */
.booking-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--space-md);
  background: rgba(212, 175, 55, 0.04);
  border: var(--border-gold);
  border-left: 3px solid var(--gold-primary);
  margin-top: var(--space-sm);
}

.booking-notice svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  fill: var(--gold-primary);
  margin-top: 2px;
}

.booking-notice p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray-muted);
  line-height: 1.7;
}

.booking-notice p strong {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ── Booking Responsive ── */
@media (max-width: 1024px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .booking-page {
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

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

  .date-selector {
    gap: 8px;
  }

  .date-chip {
    min-width: 65px;
    padding: 10px 12px;
  }

  .date-chip-num {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   ADMIN PANEL — /admin (Ricardo's Interface)
   ============================================================ */
.admin-page {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  min-height: 100vh;
  position: relative;
}

.admin-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* ── Admin Header ── */
.admin-header {
  margin-bottom: var(--space-xl);
}

.admin-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.admin-header-top .gold-line {
  margin-bottom: 0;
}

.admin-welcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--black-card);
  border: var(--border-gold);
}

.admin-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border: var(--border-gold-strong);
}

.admin-avatar svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-primary);
}

.admin-greeting {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

/* ── Metric Cards ── */
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.metric-card {
  background: var(--black-card);
  border: var(--border-gold);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.metric-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-4px);
}

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

.metric-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: var(--border-gold);
  margin-bottom: var(--space-sm);
}

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

.metric-icon-accent {
  background: rgba(212, 175, 55, 0.12);
}

.metric-data {
  margin-bottom: 10px;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white-pure);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-value small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--gray-muted);
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-muted);
}

.metric-trend {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-trend svg {
  width: 14px;
  height: 14px;
}

.metric-trend-up {
  color: #2ecc71;
}

.metric-trend-up svg {
  fill: #2ecc71;
}

/* ── Admin Table Section ── */
.admin-table-section {
  background: var(--black-card);
  border: var(--border-gold);
  padding: var(--space-lg);
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.admin-table-header .booking-card-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.admin-table-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.admin-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-filter label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-muted);
}

.admin-filter select {
  padding: 8px 32px 8px 12px;
  background: var(--gray-dark);
  border: var(--border-gold);
  color: var(--white-pure);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.admin-filter select:focus {
  border-color: var(--gold-primary);
}

.admin-filter select option {
  background: var(--black-card);
  color: var(--white-pure);
}

/* ── Table ── */
.admin-table-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--black-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.admin-table thead tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-table th {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.admin-table td {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white-muted);
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.admin-table tbody tr {
  transition: background var(--transition-fast);
}

.admin-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.03);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Client cell */
.client-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-avatar-sm {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: var(--border-gold);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.phone-link {
  color: var(--gray-muted) !important;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast) !important;
}

.phone-link:hover {
  color: var(--gold-primary) !important;
}

/* Service Tag */
.service-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: var(--border-gold);
  padding: 4px 12px;
  letter-spacing: 0.5px;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
}

.status-confirmed {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.status-pending {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.25);
}

.status-completed {
  color: var(--gray-light);
  background: rgba(136, 136, 136, 0.08);
  border: 1px solid rgba(136, 136, 136, 0.2);
}

/* ── Admin Responsive ── */
@media (max-width: 1200px) {
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-page {
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  /* Improve metrics on mobile */
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .metric-card {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .metric-icon {
    margin-bottom: var(--space-sm);
  }

  .metric-trend {
    justify-content: center;
    width: 100%;
  }

  .admin-header-top {
    flex-direction: column;
  }

  .admin-welcome {
    width: 100%;
    justify-content: center;
  }

  .admin-table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .admin-filter {
    width: 100%;
    justify-content: space-between;
  }

  .admin-filter select {
    flex: 1;
    margin-left: 10px;
  }

  /* Responsive card-style table */
  .admin-table {
    min-width: unset;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .admin-table tbody tr {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    border: var(--border-gold);
    border-radius: 12px;
    background: var(--black-card);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }

  .admin-table tbody tr::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
  }

  .admin-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: normal;
  }

  .admin-table td::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-right: var(--space-sm);
    flex-shrink: 0;
  }

  /* Make Cliente the header of the card */
  .admin-table td:nth-child(3) {
    order: -1;
    border-bottom: var(--border-gold-strong);
    padding-bottom: 14px;
    margin-bottom: 8px;
    padding-top: 4px;
  }

  .admin-table td:nth-child(3)::before {
    display: none; /* Hide 'Cliente' label */
  }

  .admin-table td:nth-child(3) .client-cell {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-primary);
  }

  .admin-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }
  
  .status-select {
    width: 100%;
    text-align: center;
    background-position: right 14px center;
  }

  .admin-table td:last-child::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .admin-metrics {
    grid-template-columns: 1fr;
  }
  
  .metric-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: var(--space-md);
  }
  
  .metric-icon {
    margin-bottom: 0;
    margin-right: var(--space-md);
  }
  
  .metric-data {
    flex: 1;
    margin-bottom: 0;
  }
  
  .metric-trend {
    width: auto;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0;
    padding-left: 10px;
    margin-left: 10px;
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ── Modal & Reviews Styles ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--black-card);
  border: var(--border-gold-strong);
  padding: var(--space-xl) var(--space-md);
  width: 90%;
  max-width: 500px;
  position: relative;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--white-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.reviews-carousel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}

.reviews-carousel::-webkit-scrollbar {
  width: 6px;
}
.reviews-carousel::-webkit-scrollbar-track {
  background: var(--gray-dark);
}
.reviews-carousel::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
}

.review-card {
  background: var(--gray-dark);
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--gold-primary);
}

.review-stars {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.review-text {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--white-warm);
}

.review-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-muted);
  text-align: right;
}

/* ── Admin WhatsApp Capture Mode ── */
#adminTable.whatsapp-mode th:nth-child(4),
#adminTable.whatsapp-mode td:nth-child(4),
#adminTable.whatsapp-mode th:nth-child(6),
#adminTable.whatsapp-mode td:nth-child(6) {
  display: none !important;
}

/* ── Utilidades para Historial y Edición de Precios ── */
.hidden {
  display: none !important;
}

.price-edit-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(212,175,55,0.2);
}

.price-edit-input {
  background: var(--black-deep);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-pure);
  padding: 4px 8px;
  width: 70px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

.price-edit-input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.price-changed {
  border-color: #2ecc71 !important;
}