/* Contenedor de tabs */
.tabs-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  overflow: hidden;
}

/* Contenido de tabs */
.tabs-content {
  padding: 2.5rem;
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.tab-content-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-title {
  font-size: 1.5rem;
  color: var(--wine-primary);
}

.tab-subtitle {
  color: var(--wine-accent);
  font-size: 0.9rem;
}

.tab-text {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  opacity: 0.9;
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tab-feature {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: min-content;
}

.tab-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--wine-primary);
  margin-bottom: 1rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  
}
.feature-text::before {
  content: "✓";
  margin-right: 0.5rem;
  left: 0;
  color: var(--gold-primary);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-btn {
    border-bottom: 1px solid var(--wine-light);
    justify-content: flex-start;
    text-align: left;
    padding: 1rem 1.5rem;
  }

  .tab-btn.active::after {
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
  }

  .tabs-content {
    padding: 1.5rem;
  }

  
}

@media (max-width: 576px) {
  section {
    padding: 7rem 5%;
  }

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