/* ============================================================
   PRODUCTS.CSS — Dark Products Section
   ============================================================ */

.products-section {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

/*
  Background image placeholder:
  assets/img/sections/products-bg-water.webp
  1600×900 px | opacity 0.06
  — descomenta cuando tengas la imagen real —

.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/sections/products-bg-water.webp') center/cover;
  opacity: 0.06;
  pointer-events: none;
}
*/

/* ── 3-column layout: texto | tarjetas | formulario ──── */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Columna izquierda: texto intro ─────────────────── */
.products-intro .section-label {
  margin-bottom: 16px;
}

.products-intro-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.products-intro-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ── Centro: grilla de product cards ────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background var(--t-base);
  cursor: pointer;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.10);
}

.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: transform var(--t-slow), filter var(--t-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
  filter: brightness(0.92) saturate(1);
}

.product-card-body {
  padding: 16px 18px 20px;
}

.product-card-name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

/* ── Columna derecha: mini formulario de contacto ───── */
.products-form-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
}

.products-form-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.products-form-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* Inputs del panel dark — override sobre forms.css */
.products-form-panel .form-input,
.products-form-panel .form-textarea,
.products-form-panel .form-select {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(221, 228, 238, 0.6);
}

/* Datos de contacto bajo el formulario */
.products-form-contact {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-form-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t-fast);
}

.products-form-contact a:hover {
  color: var(--white);
}

.products-form-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}