/* Custom Vexia Comms styles */
:root {
  --bg-night: #0A0A0A;
  --bg-day: #FAFAF5;
  --text-night: #F5F5F0;
  --text-day: #1A1C19;
  --accent-comms: #1EC9E0;
  --accent-green: #2E7D32;
  --brand-accent: var(--accent-comms);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--bg-day);
  color: var(--text-day);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(0, 240, 255, 0.15); color: var(--text-day); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
.dark ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

/* Sidebar */
#sidebar {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#sidebar.collapsed { width: 6rem; }
#sidebar.collapsed .sidebar-label { display: none; }
#sidebar.collapsed #sidebar-logo-text { display: none; }
#sidebar.collapsed .sidebar-logo-link { justify-content: center; padding-left: 0; padding-right: 0; }
#sidebar.collapsed .sidebar-nav { padding-left: 0.5rem; padding-right: 0.5rem; }
#sidebar.collapsed .sidebar-nav .nav-item { justify-content: center; padding: 0.625rem; }
#sidebar.collapsed .sidebar-section { display: none; }
#sidebar.collapsed .collapse-label { display: none; }
#sidebar.collapsed.hover-expand { width: 15rem; }
#sidebar.collapsed.hover-expand .sidebar-label { display: flex; }
#sidebar.collapsed.hover-expand #sidebar-logo-text { display: flex; }
#sidebar.collapsed.hover-expand .sidebar-logo-link { justify-content: flex-start; padding-left: 1.5rem; padding-right: 1.5rem; }
#sidebar.collapsed.hover-expand .sidebar-nav { padding-left: 0.75rem; padding-right: 0.75rem; }
#sidebar.collapsed.hover-expand .sidebar-nav .nav-item { justify-content: flex-start; padding: 0.625rem 0.75rem; }
#sidebar.collapsed.hover-expand .sidebar-section { display: flex; }
#sidebar.collapsed.hover-expand .collapse-label { display: inline; }

#main-content {
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) {
  #main-content.sidebar-collapsed { margin-left: 6rem; }
  #main-content.hover-expand { margin-left: 15rem; }
}

/* Theme transitions */
.sidebar-transition, .sidebar *, .sidebar a, .sidebar button {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.text-comms { color: var(--accent-comms); }
.text-vexia { color: var(--accent-green); }

/* Dark mode */
.dark {
  background-color: var(--bg-night);
}
.dark body {
  background-color: var(--bg-night);
  color: var(--text-night);
}
.dark ::selection { background: rgba(0, 240, 255, 0.2); color: var(--text-night); }

/* No animations — lightweight build */

/* Input focus glow */
.input-glow:focus {
  border-color: var(--accent-comms) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}
.dark .input-glow:focus {
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

/* Mobile typography */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero-section h1 { font-size: 2rem !important; }
  .section-spacing { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .shutter-reveal { padding-top: 0.5rem !important; }
  .hero-section .hero-content p.text-lg { font-size: 0.95rem !important; }
}

/* Section spacing */
.section-spacing {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Service badge */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.service-badge-new::after {
  content: "✦ Nuevo";
  font-size: 0.625rem;
  margin-left: 0.25rem;
  opacity: 0.7;
}
