/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

a {
  color: #6366f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #4f46e5;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-top {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-bottom: none;
}

.header-top-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-contact {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
}

.header-contact a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-weight: 500;
}

.header-contact a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.header-tagline {
  color: rgba(255,255,255,0.9);
  font-size: 0.813rem;
  font-weight: 500;
}

.header-main {
  background: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.header-main-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(99,102,241,0.2);
}

.logo-text h1 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.logo-text p {
  color: #6b7280;
  font-size: 0.813rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-btn:hover {
  color: #6366f1;
  background: #f9fafb;
  transform: translateY(-2px);
}

.nav-btn.active {
  color: #6366f1;
  background: #eef2ff;
}

.cta-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 16px rgba(99,102,241,0.25);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99,102,241,0.35);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-desc {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
  max-width: 55rem;
  margin: 0 auto 4rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 70rem;
  margin: 0 auto;
}

.stat {
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  text-align: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.4s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stat:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Main Layout */
.main-layout {
  max-width: 90%;
  margin: 0 auto 3rem;
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
}

/* Sidebar */
.sidebar {
  width: 420px;
  flex-shrink: 0;
  background: transparent;
  padding-top: 2rem;
  padding-right: 1rem;
}

.sidebar-header {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(99,102,241,0.3);
  margin-bottom: 1.5rem;
}

.sidebar-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.sidebar-header-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.sidebar-header-text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.sidebar-header-text h3 {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.sidebar-header-text p {
  color: rgba(255,255,255,0.9);
  font-size: 0.938rem;
  font-weight: 500;
}

.sidebar-search {
  padding: 0 0 1.5rem 0;
  background: transparent;
}

.sidebar-search input {
  width: 100%;
  padding: 1.125rem 1.5rem 1.125rem 3.5rem;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  color: #1f2937;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.sidebar-search input:focus {
  outline: none;
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 8px 24px rgba(99,102,241,0.2);
  transform: translateY(-2px);
}

.sidebar-search input::placeholder {
  color: #9ca3af;
}

.sidebar-list {
  padding: 0;
  background: transparent;
}

.sidebar-list-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sidebar-item {
  width: 100%;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #ffffff;
  border: 2px solid #f3f4f6;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sidebar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
}

.sidebar-item:hover::before {
  opacity: 1;
}

.sidebar-item:hover {
  background: #ffffff;
  border-color: transparent;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(99,102,241,0.2);
}

.sidebar-item.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 32px rgba(99,102,241,0.45);
  transform: translateY(-8px) scale(1.05);
}

.sidebar-item.active::before {
  opacity: 0;
}

.sidebar-item-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  color: #6366f1;
  box-shadow: 0 4px 12px rgba(99,102,241,0.15);
  transition: all 0.35s;
}

.sidebar-item:hover .sidebar-item-badge {
  background: linear-gradient(135deg, #ddd6fe 0%, #e0e7ff 100%);
  transform: scale(1.1) rotate(5deg);
}

.sidebar-item.active .sidebar-item-badge {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  transform: scale(1.15);
}

.sidebar-item-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #374151;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar-item.active .sidebar-item-name {
  color: #fff;
}

/* Content */
.content {
  flex: 1;
  min-width: 0;
  padding-left: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 2rem 0;
}

/* Firma Cards */
.firma-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 2px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.firma-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.firma-card:hover::before {
  opacity: 1;
}

.firma-card:hover {
  box-shadow: 0 16px 48px rgba(99,102,241,0.18);
  transform: translateY(-10px) scale(1.02);
  border-color: #e0e7ff;
}

.firma-card-border {
  display: none;
}

.firma-card-content {
  padding: 2.5rem 2rem 2rem;
}

.firma-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.firma-card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 16px rgba(99,102,241,0.12);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.firma-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.firma-card:hover .firma-card-icon::before {
  opacity: 0.15;
}

.firma-card:hover .firma-card-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 12px 24px rgba(99,102,241,0.25);
}

.firma-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}

.firma-card-id {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
  transition: all 0.3s;
}

.firma-card:hover .firma-card-id {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99,102,241,0.4);
}

.firma-card-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.firma-card h3 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  transition: all 0.3s;
  letter-spacing: -0.025em;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.firma-card:hover h3 {
  color: #6366f1;
  transform: translateX(4px);
}

.firma-card p {
  color: #6b7280;
  font-size: 0.938rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  min-height: 85px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.firma-card-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.firma-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.firma-card-btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #f9fafb;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 0.938rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.firma-card-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.firma-card-btn span,
.firma-card-btn svg {
  position: relative;
  z-index: 1;
  transition: all 0.35s;
}

.firma-card-btn:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(99,102,241,0.3);
}

.firma-card-btn:hover::before {
  opacity: 1;
}

.firma-card-btn:active {
  transform: translateY(-2px);
}

/* Detail Page */
.detail-hero {
  background: #ffffff;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  overflow: hidden;
}

.detail-hero-header {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.detail-hero-icon {
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.detail-hero-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.detail-hero-arrow {
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: #8b5cf6 transparent transparent transparent;
}

.detail-hero-content {
  padding: 2rem;
}

.detail-hero h1 {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.detail-hero a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
  font-size: 0.938rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  background: #eef2ff;
  border-radius: 10px;
}

.detail-hero a:hover {
  color: #4f46e5;
  background: #e0e7ff;
  transform: translateX(4px);
}

.detail-section {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid #f3f4f6;
  margin-bottom: 2rem;
  overflow: hidden;
}

.detail-section-header {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.detail-section-icon {
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
}

.detail-section-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.detail-section-arrow {
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: #374151 transparent transparent transparent;
}

.detail-section-content {
  padding: 2rem;
}

.detail-section-content h3 {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.detail-section-content p {
  color: #6b7280;
  font-size: 0.938rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.detail-cta {
  color: #6366f1;
  font-weight: 700;
  font-size: 0.938rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 2px solid #f3f4f6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid #f3f4f6;
  border-radius: 16px;
  background: #f9fafb;
  transition: all 0.3s;
}

.feature-item:hover {
  background: #ffffff;
  border-color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(16,185,129,0.15);
}

.feature-text h4 {
  color: #1f2937;
  font-size: 0.938rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.feature-text p {
  color: #6b7280;
  font-size: 0.813rem;
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6366f1 50%, transparent 100%);
}

.footer-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(99,102,241,0.3);
}

.footer-logo h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

.footer-logo p {
  color: #9ca3af;
  font-size: 0.938rem;
  font-weight: 500;
}

.footer-desc {
  color: #9ca3af;
  font-size: 0.938rem;
  line-height: 1.7;
}

.footer-desc a {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 600;
}

.footer-desc a:hover {
  color: #a78bfa;
}

.footer-section h4 {
  color: #fff;
  font-size: 0.938rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links button {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.938rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: all 0.3s;
  font-weight: 500;
}

.footer-links button:hover {
  color: #8b5cf6;
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.938rem;
  font-weight: 500;
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-contact a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.938rem;
  font-weight: 500;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #8b5cf6;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding-right: 0;
  }
  
  .sidebar-list-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .content {
    padding-left: 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-desc {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-list-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-contact {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .stats {
    gap: 1.25rem;
  }
  
  .stat {
    padding: 1.75rem 1rem;
  }
  
  .stat-num {
    font-size: 2.25rem;
  }
  
  .stat-icon {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .sidebar-list-inner {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.firma-card,
.sidebar-item,
.stat {
  animation: fadeIn 0.5s ease-out;
}
