body {
  margin: 0;
  font-family: Arial, sans-serif;
}

#sidebar-panel {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 70px;
  background: #3B59F7;
  color: white;
  z-index: 1000;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  padding: 0;
}

#sidebar-panel.active {
  width: 220px;
  transform: translateX(0);
  padding-top: 40px;
}

.sidebar-marca {
  opacity: 0;
  pointer-events: none;
  transition:  opacity 0.s;
  padding: 40px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
}

#sidebar-panel.active .sidebar-marca {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.1s;
}

.sidebar-marca ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar-marca li {
  margin: 8px 10px;
  width: auto;;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sidebar-marca a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  width: 100%;
  font-family: "Segoe UI", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 16px;
  transition: color 0.3s;
  white-space: nowrap;
  justify-content: flex-start;
}

.sidebar-marca li:not(.active):hover a {
    color: #ffffff;
}

.sidebar-marca li:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-marca li.active {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.sidebar-marca li.active a {
    color: #3B59F7;
    font-weight: 700;
}

#menu-toggle {
  position: fixed;
  left: 13px;
  top: 20px;
  width: 38px;
  height: 38px;
  font-size: 26px;
  background: #3B59F7;
  color: white;
  border: none;
  z-index: 1101;
  cursor: pointer;
  border-radius: 8px;
  display: block;
}

#sidebar-panel.active .close-btn {
  display: block;
}

main {
  margin-left: 65px;
  padding: 20px;
}

@media (max-width: 768px) {
  main {
    margin-left: 0;
  }
}

#config-container {
  position: fixed;
  bottom: 20px;
  left: 13px; 
  z-index: 1102;
}

.config-link {
  display: flex;
  align-items: center;
  height: 50px;
  width: 50px; 
  background-color: white;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  overflow: hidden;
  transition: width 0s cubic-bezier(.4,0,.2,1), background-color 0.2s, transform 0.2s;
}

#sidebar-panel.active ~ #config-container .config-link {
  width: 160px;
}

#sidebar-panel.active ~ #config-container .config-link h1 {
  opacity: 1;
}

.config-link:hover {
  background-color: #eef2ff;
  transform: scale(1.1);    
  box-shadow: 0 6px 15px rgba(59, 89, 247, 0.4); 
}

.ia-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-left: 10px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1px black);
}

.config-link h1 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  margin: 0 0 0 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

#sidebar-panel.active ~ #config-container {
  left: 30px;
}

#sidebar-panel.active {
  width: 220px;
  transform: translateX(0);
  padding-top: 40px;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

#top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 999;
}

.brand-name {
  font-family: "poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #3B59F7;
  letter-spacing: 0.5px;
  margin-left: 90px;
  padding-top: 20px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

.hero-header {
  background-color: #ffffff;
  padding: 70px 20px 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; 
  font-family: 'Poppins', sans-serif;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-header::after {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;

  filter: blur(70px);
  border-radius: 50%;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2; 
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out forwards; 
  opacity: 0; 
}

.stars {
  color: #FFD700; 
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  gap: 5px; 
}

.stars i {
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3)); 
}

.hero-badge {
  background-color: rgba(59, 89, 247, 0.08); 
  color: #3B59F7; 
  padding: 6px 14px;
  border-radius: 50px; 
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px; 
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid rgba(59, 89, 247, 0.2);
  backdrop-filter: blur(5px); 
}

.hero-title {
  font-size: 3.2rem; 
  line-height: 1.15;
  margin: 0 0 25px 0;
  font-weight: 800; 
  letter-spacing: -1px;
  background: linear-gradient(135deg, #1a1a2e 30%, #3B59F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  filter: drop-shadow(0 2px 10px rgba(59, 89, 247, 0.1));
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #556987;
  margin: 0;
  max-width: 650px;
  position: relative;      
  padding-bottom: 40px;    
  margin-bottom: 20px;     
}

.hero-description::after {
  content: "";             
  position: absolute;
  bottom: 0;               
  left: 50%;               
  transform: translateX(-50%); 
  
  width: 70px;             
  height: 4px;             
  background-color: #3B59F7; 
  border-radius: 10px;      
  box-shadow: 0 2px 5px rgba(59, 89, 247, 0.3); 
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(15px); }
  100% { transform: translateY(0px); }
}

.referencias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    padding: 0 20px 80px 80px;
    margin: 0; 
    max-width: 1200px;
}

#sidebar-panel.active ~ .referencias-grid {
    padding-left: 80px; 
}

.referencia-item {
    position: relative;
    overflow: hidden; 
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s;
    transform: translateY(0);
    cursor: pointer;
}

.referencia-item:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15); 
}

.referencia-img {
    width: 100%;
    height: auto; 
    display: block;
}

.badge-verificado {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px); 
    color: #3B59F7; 
    border: 1px solid rgba(59, 89, 247, 0.4); 
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.badge-verificado .fas {
    color: #3B59F7;
    font-size: 13px;
}


