/* ==========================================================================
   RedChat - Landing Page Stylesheet
   Identidad visual oficial: Separación de WhatsApp, Privacidad y Control
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --rc-red-primary: #dc2626;
  --rc-red-hover: #b91c1c;
  --rc-red-dark: #991b1b;
  --rc-red-soft: #fef2f2;
  --rc-red-border: #fecaca;
  --rc-red-glow: rgba(220, 38, 38, 0.25);

  --rc-wa-green: #25D366;
  --rc-wa-dark: #128C7E;
  --rc-wa-soft: #f0fdf4;
  --rc-wa-border: #bbf7d0;

  --rc-bg-main: #ffffff;
  --rc-bg-subtle: #f8fafc;
  --rc-bg-card: #ffffff;
  --rc-text-main: #0f172a;
  --rc-text-muted: #64748b;
  --rc-text-light: #94a3b8;
  --rc-border: #e2e8f0;
  --rc-border-strong: #cbd5e1;

  --rc-font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --rc-font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  --rc-radius-sm: 8px;
  --rc-radius-md: 14px;
  --rc-radius-lg: 22px;
  --rc-radius-xl: 32px;

  --rc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --rc-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --rc-shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 12px 16px -8px rgba(0, 0, 0, 0.06);
  --rc-shadow-red: 0 12px 30px -5px rgba(220, 38, 38, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* ==========================================================================
   Utility & Containers
   ========================================================================== */
.rc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-red { color: var(--rc-red-primary) !important; }
.text-wa { color: var(--rc-wa-dark) !important; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.rc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rc-border);
  transition: all 0.3s ease;
}

.rc-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.rc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--rc-text-main);
}

.rc-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(220, 38, 38, 0.25));
  transition: transform 0.2s ease;
}

.rc-brand:hover .rc-brand-logo {
  transform: scale(1.05);
}

.rc-brand-text {
  display: flex;
  flex-direction: column;
}

.rc-brand-title {
  font-family: var(--rc-font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  color: var(--rc-text-main);
  letter-spacing: -0.5px;
}

.rc-brand-title span {
  color: var(--rc-red-primary);
}

.rc-brand-domain {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rc-text-muted);
  letter-spacing: 0.5px;
}

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

.rc-nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rc-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.rc-nav-link:hover {
  color: var(--rc-red-primary);
}

.rc-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--rc-font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.rc-btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.rc-btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
  color: #ffffff;
}

.rc-btn-secondary {
  background: #ffffff;
  color: var(--rc-text-main);
  border-color: var(--rc-border-strong);
  box-shadow: var(--rc-shadow-sm);
}

.rc-btn-secondary:hover {
  border-color: var(--rc-red-primary);
  color: var(--rc-red-primary);
  background: var(--rc-red-soft);
  transform: translateY(-2px);
}

.rc-btn-lg {
  padding: 16px 32px;
  font-size: 1.08rem;
  border-radius: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.rc-hero {
  padding: 70px 0 80px;
  background: radial-gradient(circle at 50% 10%, rgba(220, 38, 38, 0.05) 0%, rgba(255, 255, 255, 0) 70%), var(--rc-bg-main);
  position: relative;
  overflow: hidden;
}

.rc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rc-red-soft);
  border: 1px solid var(--rc-red-border);
  color: var(--rc-red-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.rc-hero-badge span.dot {
  width: 8px;
  height: 8px;
  background: var(--rc-red-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rc-red-primary);
}

.rc-hero-title {
  font-family: var(--rc-font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--rc-text-main);
  margin-bottom: 22px;
}

.rc-hero-title .highlight-red {
  color: var(--rc-red-primary);
  display: inline-block;
  position: relative;
}

.rc-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--rc-text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.rc-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* ==========================================================================
   Hero Visual Comparison (WhatsApp vs RedChat)
   ========================================================================== */
.rc-comparison-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px;
}

.rc-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .rc-comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Phone Mockup Frame */
.rc-mockup-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid var(--rc-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.rc-mockup-card.card-wa {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.rc-mockup-card.card-rc {
  border: 2px solid var(--rc-red-primary);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.12);
}

.rc-mockup-topbar {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rc-border);
}

.rc-mockup-topbar.topbar-wa {
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.rc-mockup-topbar.topbar-rc {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
}

.rc-mockup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-mockup-title {
  font-weight: 800;
  font-size: 1.1rem;
}

.rc-mockup-sub {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Floating labels */
.rc-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.rc-pill-wa {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.rc-pill-rc {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

/* Chat Item Rows */
.rc-chat-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  transition: background 0.2s ease;
}

.rc-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.rc-chat-info {
  flex: 1;
  min-width: 0;
}

.rc-chat-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.rc-chat-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rc-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-chat-time {
  font-size: 0.72rem;
  color: var(--rc-text-light);
}

.rc-chat-msg {
  font-size: 0.8rem;
  color: var(--rc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-badge-count {
  background: var(--rc-wa-green);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.rc-badge-dot {
  width: 9px;
  height: 9px;
  background: var(--rc-red-primary);
  border-radius: 50%;
}

.rc-mockup-footer {
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--rc-border);
}

.footer-wa {
  background: #fff1f2;
  color: #9f1239;
}

.footer-rc {
  background: #f0fdf4;
  color: #166534;
}

/* ==========================================================================
   Problem vs Solution Grid (Por qué no WhatsApp)
   ========================================================================== */
.rc-section {
  padding: 90px 0;
}

.rc-section-subtle {
  background-color: var(--rc-bg-subtle);
  border-top: 1px solid var(--rc-border);
  border-bottom: 1px solid var(--rc-border);
}

.rc-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.rc-section-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rc-red-primary);
  margin-bottom: 10px;
  display: block;
}

.rc-section-title {
  font-family: var(--rc-font-heading);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--rc-text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.rc-section-desc {
  font-size: 1.1rem;
  color: var(--rc-text-muted);
}

.rc-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.rc-pain-card {
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--rc-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.rc-pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--rc-red-border);
  box-shadow: var(--rc-shadow-md);
}

.rc-pain-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-danger {
  background: #fee2e2;
  color: #dc2626;
}

.icon-success {
  background: #dcfce7;
  color: #15803d;
}

.rc-pain-title {
  font-family: var(--rc-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--rc-text-main);
}

.rc-pain-text {
  font-size: 0.95rem;
  color: var(--rc-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Operation & Chat Integrated (Arte 2: Pedidos, Sucursales, Inventario)
   ========================================================================== */
.rc-operation-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .rc-operation-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.rc-chat-interface {
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 24px;
  box-shadow: var(--rc-shadow-lg);
  overflow: hidden;
}

.rc-chat-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--rc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.rc-chat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

.rc-bubble {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.rc-bubble-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  flex-shrink: 0;
}

.rc-bubble-content {
  background: #ffffff;
  border: 1px solid var(--rc-border);
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.rc-bubble-author {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--rc-text-main);
  margin-bottom: 3px;
}

.rc-bubble-text {
  font-size: 0.9rem;
  color: #334155;
}

.rc-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  box-shadow: var(--rc-shadow-sm);
  transition: all 0.25s ease;
}

.rc-feature-item:hover {
  transform: translateX(4px);
  border-color: var(--rc-red-border);
  box-shadow: var(--rc-shadow-md);
}

.rc-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rc-feature-info h4 {
  font-family: var(--rc-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.rc-feature-info p {
  font-size: 0.9rem;
  color: var(--rc-text-muted);
}

/* ==========================================================================
   Admin Control Panel Section
   ========================================================================== */
.rc-admin-dashboard {
  background: #0f172a;
  border-radius: 28px;
  border: 1px solid #334155;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
  color: #f8fafc;
  overflow: hidden;
  padding: 36px;
}

.rc-admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.rc-stat-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 20px;
  transition: background 0.2s ease;
}

.rc-stat-box:hover {
  background: rgba(51, 65, 85, 0.8);
}

.rc-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.rc-stat-value {
  font-family: var(--rc-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.rc-stat-sub {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
  margin-top: 4px;
}

/* User Management Table Simulator */
.rc-admin-table-container {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 18px;
  overflow-x: auto;
}

.rc-admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.rc-admin-table th {
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  font-weight: 700;
  border-bottom: 1px solid #334155;
}

.rc-admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.rc-admin-table tr:hover td {
  background: rgba(51, 65, 85, 0.3);
}

.rc-role-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.role-admin { background: rgba(220, 38, 38, 0.2); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.4); }
.role-supervisor { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.role-caja { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

.rc-btn-action-small {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rc-btn-action-small:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   Use Cases Tabs
   ========================================================================== */
.rc-tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.rc-tab-btn {
  padding: 12px 24px;
  border-radius: 14px;
  border: 1.5px solid var(--rc-border);
  background: #ffffff;
  color: var(--rc-text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rc-tab-btn.active {
  background: var(--rc-red-primary);
  color: #ffffff;
  border-color: var(--rc-red-primary);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.rc-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.rc-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.rc-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #450a0a 100%);
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.rc-cta-banner h2 {
  font-family: var(--rc-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.rc-cta-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.rc-footer {
  background: #ffffff;
  border-top: 1px solid var(--rc-border);
  padding: 50px 0 30px;
  font-size: 0.9rem;
  color: var(--rc-text-muted);
}

.rc-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rc-border);
}

.rc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

.rc-footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.rc-footer-links a {
  color: var(--rc-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Modal for Contact / Demo */
dialog.rc-dialog {
  border: none;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  max-width: 520px;
  width: 92%;
  padding: 0;
  margin: auto;
  background: #ffffff;
}

dialog.rc-dialog::backdrop {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.rc-dialog-inner {
  padding: 32px;
}

/* ==========================================================================
   Responsive Adaptations & Mobile Optimization
   ========================================================================== */
.rc-login-text-short {
  display: none;
}
.rc-login-text-full {
  display: inline;
}

/* Tablets y laptops pequeñas (<= 992px) */
@media (max-width: 992px) {
  .rc-navbar {
    height: 68px;
  }
  .rc-nav-links {
    display: none; /* Ocultar menú largo para priorizar logo y llamada a la acción */
  }
  .rc-nav-actions {
    gap: 10px;
  }
}

/* Teléfonos y pantallas móviles (<= 768px) */
@media (max-width: 768px) {
  .rc-container {
    padding: 0 16px;
  }
  .rc-navbar {
    height: 64px;
  }
  .rc-brand {
    gap: 10px;
  }
  .rc-brand-logo {
    width: 38px;
    height: 38px;
  }
  .rc-brand-title {
    font-size: 1.3rem;
  }
  .rc-brand-domain {
    font-size: 0.7rem;
  }

  /* Ocultar botón demo en el navbar para dar 100% de prioridad a 'Entrar a RedChat' */
  .rc-nav-demo-btn {
    display: none !important;
  }

  /* Botón 'Entrar a RedChat' en la barra de navegación */
  .rc-nav-login-btn {
    padding: 9px 15px !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
    gap: 7px !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3) !important;
  }

  /* Hero Section en móvil */
  .rc-hero {
    padding: 36px 0 46px;
  }
  .rc-hero-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 18px;
  }
  .rc-hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.7rem);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }
  .rc-hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
    line-height: 1.55;
  }
  .rc-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
    margin-bottom: 36px;
  }
  .rc-hero-ctas .rc-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.98rem;
  }

  /* Secciones y espaciado móvil */
  .rc-section {
    padding: 50px 0;
  }
  .rc-section-header {
    margin-bottom: 32px;
  }
  .rc-section-title {
    font-size: 1.65rem;
  }
  .rc-section-desc {
    font-size: 0.95rem;
  }

  /* Tarjetas de simulación de chat */
  .rc-mockup-card {
    border-radius: 20px;
  }
  .rc-chat-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .rc-chat-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  /* Dashboard Admin Simulator */
  .rc-admin-dashboard {
    padding: 20px 14px;
    border-radius: 20px;
  }
  .rc-admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* CTA Banner Final */
  .rc-cta-banner {
    padding: 36px 18px;
    border-radius: 22px;
  }
  .rc-cta-banner h2 {
    font-size: 1.65rem;
  }
  .rc-cta-banner p {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }
  .rc-cta-banner .d-flex {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .rc-cta-banner .rc-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* Footer */
  .rc-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .rc-footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Teléfonos compactos (<= 420px: iPhone SE, Galaxy A, etc.) */
@media (max-width: 420px) {
  .rc-container {
    padding: 0 12px;
  }
  .rc-brand {
    gap: 8px;
  }
  .rc-brand-logo {
    width: 32px;
    height: 32px;
  }
  .rc-brand-title {
    font-size: 1.15rem;
  }
  .rc-brand-domain {
    display: none; /* Ahorrar espacio en pantallas angostas */
  }

  /* Texto compacto en pantallas menores a 420px */
  .rc-login-text-full {
    display: none;
  }
  .rc-login-text-short {
    display: inline;
  }
  .rc-nav-login-btn {
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    gap: 5px !important;
  }
}
