/* ELIMINAR LA BARRA INYECTADA NATIVA DEL CMS */
.navbar, .page-head, .ws-navbar, [data-html-block] .navbar, .page-navbar { 
  display: none !important; 
}

/* VARIABLES */
:root { 
  --text-main: #1F272E; 
  --text-muted: #64748b; 
  --bg-light: #F8FAFC; 
  --border-color: #E2E8F0; 
  --sidebar-width: 64px; 
  --brand-color: #2D7FF9; 
}

.fw-breakout { 
  width: 100vw; 
  position: relative; 
  left: 50%; 
  right: 50%; 
  margin-left: -50vw; 
  margin-right: -50vw; 
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; 
  background-color: #ffffff; 
  color: #1f2937; 
  overflow-x: hidden; 
  display: flex;
  min-height: 100vh;
}

/* BARRA HORIZONTAL SUPERIOR UNIFICADA */
.global-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px; 
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 10002;
  display: flex;
  box-sizing: border-box;
}

.top-bar-left {
  width: var(--sidebar-width);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-sizing: border-box;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-right {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  box-sizing: border-box;
}

/* BARRA LATERAL (SIDEBAR) */
.frappe-sidebar {
  position: fixed;
  top: 64px; 
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  overflow-y: auto;
}

.frappe-sidebar::-webkit-scrollbar { width: 4px; }
.frappe-sidebar::-webkit-scrollbar-thumb { background-color: transparent; }
.frappe-sidebar:hover::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }

/* EXPANSIÓN POR HOVER SIMULTÁNEO */
.fw-breakout:has(.frappe-sidebar:hover) .frappe-sidebar,
.fw-breakout:has(.frappe-sidebar:hover) .top-bar-left {
  width: 260px; 
}

/* LOGO MÁS GRANDE A LA IZQUIERDA */
.sidebar-logo-container {
  height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 4px;
}

.sidebar-menu {
  flex: 1;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 15px 0 5px 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
}
.frappe-sidebar:hover .sidebar-heading { opacity: 1; }

.sidebar-divider { height: 1px; background: var(--border-color); margin: 10px 15px; }

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.sidebar-item:hover {
  background: var(--bg-light);
  color: var(--brand-color);
}

/* ICONOS SVG FINOS */
.sidebar-icon {
  min-width: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #64748b;
  transition: color 0.2s ease;
}
.sidebar-icon svg { width: 20px; height: 20px; stroke-width: 1.3; }
.sidebar-item:hover .sidebar-icon { color: var(--brand-color); }

.sidebar-text { margin-left: 14px; opacity: 0; color: #374151; line-height: 1.2; transition: opacity 0.12s ease; }
.frappe-sidebar:hover .sidebar-text { opacity: 1; }

.sidebar-footer { border-top: 1px solid var(--border-color); padding: 12px 0; background: #ffffff; margin-top: auto; }

/* CONTENEDOR PRINCIPAL */
.main-layout {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding-top: 64px; 
  transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.fw-breakout:has(.frappe-sidebar:hover) .main-layout { margin-left: 260px; }

/* BREADCRUMBS Y ACCIONES */
.breadcrumb-nav { display: flex; align-items: center; font-size: 0.92rem; color: var(--text-muted); }
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-separator { margin: 0 8px; color: #cbd5e1; font-size: 0.8rem; }
.top-nav-actions { display: flex; align-items: center; }
.btn-trial-top { font-size: 0.92rem; font-weight: 500; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 4px; }

/* HERO */
.frappe-hero { padding: 50px 4% 90px 4%; text-align: center; max-width: 1200px; margin: 0 auto; }

/* BADGE */
.version-badge-wrapper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  margin-bottom: 45px;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.version-badge-wrapper strong { color: var(--text-main); font-weight: 700; }
.version-badge-wrapper span { color: var(--text-muted); margin-left: 8px; }
.gray-rocket { filter: grayscale(100%); margin-right: 8px; font-size: 1.15rem; }

.hero-main-logo-container { width: 260px; height: 180px; margin: 0 auto 15px auto; display: flex; align-items: center; justify-content: center; }
.hero-main-logo-container img { max-height: 160px; width: auto; object-fit: contain; }

.frappe-title { font-size: 3.8rem; font-weight: 800; color: var(--text-main); line-height: 1.12; margin-bottom: 24px; letter-spacing: -1.5px; }
.frappe-subtitle { color: var(--text-muted); font-size: 1.4rem; margin-top: 0; margin-bottom: 45px; line-height: 1.5; max-width: 900px; margin-left: auto; margin-right: auto; }

.hero-buttons-group { display: flex; justify-content: center; gap: 16px; margin: 40px 0 70px 0; }
.btn-white-action { background: #ffffff; color: var(--text-main); padding: 12px 26px; border-radius: 8px; font-size: 1.05rem; font-weight: 600; border: 1px solid #bbc4d1; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-white-action:hover { background: var(--bg-light); border-color: #94a3b8; }
.btn-dark-action { background: #111827; color: #ffffff; padding: 12px 26px; border-radius: 8px; font-size: 1.05rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; }

.gray-ray { filter: grayscale(100%) !important; opacity: 0.6; font-size: 1rem; }

.hero-image { width: 100%; max-width: 1050px; margin: 50px auto 0 auto; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12); border: 1px solid var(--border-color); display: block; object-fit: cover; }

/* COMPARISON TABLE */
.pricing-comparison-wrapper { margin: 60px auto 20px auto; max-width: 950px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 14px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); text-align: left; }
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.pricing-table th { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); padding: 14px; border-bottom: 2px solid var(--border-color); text-align: center; }
.pricing-table td { padding: 20px 14px; border-bottom: 1px solid var(--border-color); font-size: 1.05rem; color: var(--text-main); text-align: center; }
.pricing-table tr:last-child td { border-bottom: none; }
.highlight-cell { background-color: #F0F7FF; font-weight: 700; color: #2D7FF9 !important; text-align: center; }

/* SECCIONES COMPLEMENTARIAS */
.bg-gray-section { background-color: var(--bg-light); border-top: 1px solid var(--border-color); padding: 90px 5%; text-align: center; }

/* FOOTER */
.frappe-footer { padding: 70px 5% 40px 5%; background-color: #ffffff; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; max-width: 1200px; margin: 0 auto 45px auto; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand-color); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.88rem; flex-wrap: wrap; gap: 15px; }

/* SOCIAL ICONS (NUEVO) */
.footer-social-wrapper {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding-top: 40px;
}
.social-line {
  width: 60px;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 auto 30px auto;
}
.social-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.social-icons a {
  color: #9ca3af;
  transition: color 0.2s ease;
  display: inline-flex;
}
.social-icons a:hover {
  color: var(--text-main);
}
.social-icons svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
