.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 5rem;
  min-width: 0;
}

.hero-section > * {
  max-width: 100%;
}

.hero-section h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  overflow-wrap: anywhere;
}

.subtitle {
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

.section-title {
  margin-bottom: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.bg-light {
  background: rgba(248, 250, 252, 0.82);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid,
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
}

.feature-card,
.step {
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 48px;
  height: 48px;
  color: var(--primary-color);
}
.feature-card h3,
.step h3 {
  margin-bottom: 0.75rem;
}

.feature-card .icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}


.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
}

.catalog-status {
  grid-column: 1 / -1;
  padding: 1rem;
}

.catalog-status-error {
  color: var(--danger);
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card-media {
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
  overflow: hidden;
}

.category-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
  text-align: left;
}

.badge-category {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.category-card-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.category-card-description {
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.category-card-price {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 800;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.comunicados-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
}

.comunicados-title {
  margin-bottom: 1rem;
}

.comunicados-copy {
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.comunicados-actions {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.comunicados-actions > * {
  max-width: 100%;
}

.lead-modal-copy {
  margin-bottom: 1rem;
}

.floating-buttons-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 1rem);
}

.btn-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.22);
}

.btn-whatsapp {
  background: #25d366;
}

.btn-instagram {
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.btn-float svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .features-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    width: 100%;
  }

  .comunicados-card {
    padding: 1.5rem;
  }

  .floating-buttons-container {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .btn-float {
    width: 56px;
    height: 56px;
  }

  .btn-float svg {
    width: 28px;
    height: 28px;
  }
}
