/* ============================================
   NACLORA - Productos Page Styles
   ============================================ */

/* Page Hero - Products variant */
.page-hero--products {
  padding-bottom: var(--space-3xl);
}

/* Products Navigation */
.products-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.products-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  min-width: 140px;
}

.products-nav__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.products-nav__item--agro:hover {
  border-color: #22c55e;
}

.products-nav__item--home:hover {
  border-color: #f59e0b;
}

.products-nav__item--pro:hover {
  border-color: #14b8a6;
}

.products-nav__item--equip:hover {
  border-color: var(--color-primary);
}

.products-nav__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.products-nav__item--agro .products-nav__icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.products-nav__item--home .products-nav__icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.products-nav__item--pro .products-nav__icon {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.products-nav__item--equip .products-nav__icon {
  background: rgba(91, 122, 81, 0.1);
  color: var(--color-primary);
}

.products-nav__icon svg {
  width: 24px;
  height: 24px;
}

.products-nav__label {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.9375rem;
}

.products-nav__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .products-nav {
    gap: var(--space-sm);
  }
  
  .products-nav__item {
    min-width: calc(50% - var(--space-sm));
    padding: var(--space-md);
  }
}

/* ============================================
   Product Sections
   ============================================ */
.product-section {
  padding: var(--space-4xl) 0;
}

.product-section--agro {
  background: linear-gradient(180deg, #fff 0%, rgba(34, 197, 94, 0.03) 100%);
}

.product-section--home {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(245, 158, 11, 0.03) 100%);
}

.product-section--pro {
  background: linear-gradient(180deg, #fff 0%, rgba(20, 184, 166, 0.03) 100%);
}

.product-section--equip {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(91, 122, 81, 0.05) 100%);
}

.product-section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.product-section__badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-section__badge--agro {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.product-section__badge--home {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.product-section__badge--pro {
  background: rgba(20, 184, 166, 0.1);
  color: #0d9488;
}

.product-section__badge--equip {
  background: rgba(91, 122, 81, 0.1);
  color: var(--color-primary);
}

.product-section__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.product-section__description {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Product Grid
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   Product Card Full
   ============================================ */
.product-card-full {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card-full:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-card-full--agro:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

.product-card-full--home:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.product-card-full--pro:hover {
  border-color: rgba(20, 184, 166, 0.3);
}

/* Product Image */
.product-card-full__image {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.product-card-full--agro .product-card-full__image {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.product-card-full--home .product-card-full__image {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.product-card-full--pro .product-card-full__image {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(20, 184, 166, 0.1) 100%);
}

.product-card-full__image-placeholder {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}

.product-card-full__image-placeholder--agro {
  color: #22c55e;
}

.product-card-full__image-placeholder--home {
  color: #f59e0b;
}

.product-card-full__image-placeholder--pro {
  color: #14b8a6;
}

.product-card-full__image-placeholder svg {
  width: 32px;
  height: 32px;
}

.product-card-full__tag {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: #22c55e;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
}

.product-card-full__tag--home {
  background: #f59e0b;
}

.product-card-full__tag--pro {
  background: #14b8a6;
}

/* Product Content */
.product-card-full__content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-full__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.product-card-full__objective {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

/* Specs */
.product-card-full__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.spec__value {
  font-size: 0.8125rem;
  color: var(--color-text);
}

.product-card-full__content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================
   Equipment Grid Full
   ============================================ */
.equipment-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 968px) {
  .equipment-grid-full {
    grid-template-columns: 1fr;
  }
}

/* Equipment Card Full */
.equipment-card-full {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.equipment-card-full:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.equipment-card-full__header {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.equipment-card-full__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.equipment-card-full__name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: #fff;
}

.equipment-card-full__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.equipment-card-full__body {
  padding: var(--space-xl);
}

.equipment-card-full__description {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.equipment-card-full__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.equipment-card-full__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.equipment-card-full__features li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.equipment-card-full__footer {
  padding: 0 var(--space-xl) var(--space-xl);
}

.equipment-card-full__footer .btn {
  width: 100%;
}

/* ============================================
   Animations
   ============================================ */
.product-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.product-section:nth-child(1) { animation-delay: 0.1s; }
.product-section:nth-child(2) { animation-delay: 0.15s; }
.product-section:nth-child(3) { animation-delay: 0.2s; }
.product-section:nth-child(4) { animation-delay: 0.25s; }

.product-card-full {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.product-grid .product-card-full:nth-child(1) { animation-delay: 0.1s; }
.product-grid .product-card-full:nth-child(2) { animation-delay: 0.15s; }
.product-grid .product-card-full:nth-child(3) { animation-delay: 0.2s; }
.product-grid .product-card-full:nth-child(4) { animation-delay: 0.25s; }
.product-grid .product-card-full:nth-child(5) { animation-delay: 0.3s; }
.product-grid .product-card-full:nth-child(6) { animation-delay: 0.35s; }
