/* =========================================================
   Barbería Rous — Landing "webinar automático"
   Paleta: negro/carbón + ámbar-dorado (clásico de barbería).
   Cambia las variables de :root si quieres otro estilo.
========================================================= */

:root {
  --bg: #0c0c0e;
  --bg-2: #131315;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --border: #2b2b30;

  --gold: #d9a441;
  --gold-2: #f0c064;
  --gold-glow: rgba(217, 164, 65, 0.35);

  --white: #f5f4f0;
  --muted: #a8a6a0;
  --muted-2: #6f6d68;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;
  --max-width: 640px; /* pensada mobile-first: llega vía WhatsApp */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.header-inner { display: flex; align-items: center; justify-content: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
.brand-mark svg { display: block; }
.brand-name {
  font-family: 'Cinzel', 'Bebas Neue', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--muted);
}
.brand-name strong {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold-2);
}

/* ---------- Bienvenida (index.html) ---------- */
.welcome {
  position: relative;
  padding: 56px 0 36px;
  text-align: center;
  overflow: hidden;
}
.welcome-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.welcome .container { position: relative; z-index: 1; }
.welcome-title { font-size: 34px; }
.welcome-title .accent { color: var(--gold-2); }
.welcome-subtitle {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- Divisor "poste de barbería" ---------- */
.barber-divider {
  height: 13px;
  background-image: repeating-linear-gradient(
    -45deg,
    #c23b3b 0px, #c23b3b 14px,
    var(--white) 14px, var(--white) 28px,
    #23407a 28px, #23407a 42px
  );
  background-size: 200% 200%;
  opacity: 0.95;
  box-shadow: 0 0 14px rgba(0,0,0,0.45) inset;
  animation: barberSlide 90s linear infinite;
}

@keyframes barberSlide {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .barber-divider { animation: none; }
}

/* ---------- Sobre nosotros ---------- */
.about { padding: 40px 0 8px; text-align: center; }
.about-text {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.about-quote {
  margin: 0 auto;
  max-width: 420px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: var(--r-md);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--gold-2);
  text-align: center;
  font-style: normal;
}

/* ---------- Tarjeta de la dueña ---------- */
.owner-card {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 26px;
}
.owner-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1305;
  font-size: 28px;
  box-shadow: 0 10px 24px var(--gold-glow);
}
.owner-info { display: flex; flex-direction: column; gap: 4px; }
.owner-name { font-weight: 700; font-size: 19px; color: var(--white); }
.owner-role { font-size: 14px; color: var(--gold-2); font-weight: 600; letter-spacing: 0.3px; }

/* ---------- Testimonios ---------- */
.testimonials { padding: 32px 0 8px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
}
.testimonial-stars { color: var(--gold-2); font-size: 12px; margin-bottom: 12px; letter-spacing: 3px; }
.testimonial-text {
  font-size: 14px;
  color: var(--white);
  margin: 0 0 16px;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.testimonial-name { font-weight: 700; font-size: 13px; color: var(--white); }
.testimonial-service {
  font-size: 11px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (min-width: 560px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Por qué elegirnos ---------- */
.why-us { padding: 32px 0 8px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.why-item { text-align: center; padding: 0 8px; }
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold-2);
  font-size: 22px;
  margin-bottom: 12px;
}
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 13px; color: var(--muted); margin: 0; }

@media (min-width: 560px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Título de sección genérico ---------- */
.section-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- Tarjetas de servicio ---------- */
.services { padding: 8px 0 12px; }
.services .section-title { font-size: 30px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold-2);
  font-size: 19px;
}
.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-name {
  font-weight: 700;
  font-size: 16px;
}
.service-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
}
.service-desc {
  display: none;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.service-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #1a1305;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px var(--gold-glow);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover .service-cta {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px var(--gold-glow);
}

@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { flex-direction: column; text-align: center; padding: 26px 16px; }
  .service-desc { display: block; }
  .service-cta { margin-top: 12px; }
}

/* ---------- Cómo funciona ---------- */
.how-it-works { padding: 32px 0 8px; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1305;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
}
.step-item p { margin: 0; font-size: 14px; color: var(--white); }

@media (min-width: 560px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-item { flex-direction: column; text-align: center; padding: 22px 16px; }
}

/* ---------- Ubicación (index.html) ---------- */
.location { padding: 32px 0 20px; }
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.location-map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
}
.btn-location {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* ---------- Agendar (Calendly) ---------- */
.agendar-top { padding: 32px 0 12px; text-align: center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--gold-2); }
.agendar-title { font-size: 26px; }
.agendar-subtitle { color: var(--muted); font-size: 14px; max-width: 440px; margin: 0 auto; }

.calendly-section { padding: 8px 0 12px; }
.calendly-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.calendly-embed {
  min-height: 780px;
  width: 100%;
}
.calendly-embed iframe {
  width: 100% !important;
  height: 780px !important;
  min-height: 780px !important;
  border: 0;
}
.calendly-error {
  padding: 40px 24px;
  text-align: center;
}
.calendly-error i { font-size: 28px; color: #ff8080; margin-bottom: 12px; }
.calendly-error p { color: var(--muted); font-size: 14px; max-width: 340px; margin: 0 auto; }

/* ---------- Página de gracias ---------- */
.gracias-state {
  padding: 60px 0;
  text-align: center;
}
.gracias-state i { font-size: 44px; color: var(--whatsapp); margin-bottom: 18px; }
.gracias-state h1 { font-size: 28px; }
.gracias-state p { color: var(--muted); max-width: 420px; margin: 0 auto 28px; }

.whatsapp-confirm-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  max-width: 420px;
  margin: 0 auto 24px;
}
.whatsapp-confirm-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.whatsapp-confirm-note i { color: var(--gold-2); flex-shrink: 0; }
.btn-whatsapp-solid {
  background: var(--whatsapp);
  color: #08210f;
  width: 100%;
  justify-content: center;
}
.btn-whatsapp-solid:hover { background: var(--whatsapp-dark); }

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 32px;
  text-align: center;
}
.badge {
  display: inline-block;
  background: var(--gold-glow);
  color: var(--gold-2);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.hero-title { font-size: 34px; }
.hero-title .accent { color: var(--gold-2); }
.hero-subtitle {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.intro-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16; /* formato vertical tipo reel/estado, ajusta si tu video es horizontal */
  max-height: 720px;
  object-fit: cover;
  background: #000;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- CTA blocks ---------- */
.cta-block {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-primary { background: var(--surface); }
.cta-primary h2 { font-size: 26px; }
.cta-primary p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }

.cta-secondary { background: var(--bg-2); }
.cta-secondary h3 { font-size: 19px; }
.cta-secondary p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1305;
  box-shadow: 0 10px 30px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 14px 36px var(--gold-glow); }

.btn-ghost {
  background: transparent;
  color: var(--whatsapp);
  border: 1.5px solid var(--whatsapp);
}
.btn-ghost:hover { background: rgba(37, 211, 102, 0.08); }

.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px 0 40px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- Utilidades ---------- */
.br-desktop { display: none; }

@media (min-width: 560px) {
  .br-desktop { display: inline; }
  .hero-title { font-size: 40px; }
}

/* ---------- Página ver-clase.html ---------- */
.access-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 20px;
}
.access-banner.is-expired {
  border-color: #e05555;
  color: #ff8080;
  background: rgba(224, 85, 85, 0.08);
}

.expired-state {
  text-align: center;
  padding: 40px 0;
}
.expired-state i { font-size: 40px; color: #ff8080; margin-bottom: 16px; }
.expired-state h2 { font-size: 24px; }
.expired-state p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

.hidden { display: none !important; }
