/* ============================================
   components.css — Reusable UI Components
   ============================================ */

/* ── LOGO ── */
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-500);
  border: var(--border-w) solid var(--blue-400);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}
.logo-name { font-size: 16px; font-weight: 700; color: #fff; }
.logo-sub  { font-size: 11px; font-weight: 400; color: var(--blue-300); display: block; margin-top: 1px; }

/* ── BUTTONS ── */
.btn-primary {
  background: #fff;
  color: var(--blue-700);
  border: var(--border-w) solid var(--blue-200);
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: box-shadow 0.2s, background 0.15s;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: var(--shadow-btn);
  background: var(--blue-50);
}

.btn-secondary {
  background: var(--blue-600);
  color: #fff;
  border: var(--border-w) solid var(--blue-500);
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: box-shadow 0.2s, background 0.15s;
}
.btn-secondary:hover {
  background: var(--blue-500);
  box-shadow: var(--shadow-btn);
}

/* ── STAT CARD ── */
.stat-card {
  background: var(--blue-600);
  border: var(--border-w) solid var(--blue-500);
  border-radius: var(--radius-card);
  padding: 20px 28px;
  text-align: center;
  min-width: 150px;
  box-shadow: var(--shadow-card);
}
.stat-num   { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1; }
.stat-label { font-size: 12px; font-weight: 500; color: var(--blue-300); margin-top: var(--space-1); }

/* ── FEATURE ITEM ── */
.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-100);
  border: var(--border-w) solid var(--blue-200);
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.feature-text { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.feature-sub  { font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-top: 1px; }

/* ── STANDARDS CARD ── */
.standards-card {
  background: var(--blue-700);
  border: var(--border-w) solid var(--blue-800);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-hero);
}
.standards-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-300);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-4);
}
.standards-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.std-badge {
  background: var(--blue-600);
  border: var(--border-w) solid var(--blue-500);
  border-radius: var(--radius-btn);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  transition: background 0.15s;
  cursor: default;
}
.std-badge:hover { background: var(--blue-500); }
.export-label { font-size: 12px; font-weight: 600; color: var(--blue-300); margin-bottom: var(--space-2); }
.export-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.export-pill {
  background: var(--blue-800);
  border: var(--border-w) solid var(--blue-700);
  border-radius: var(--radius-btn);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-100);
}

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.product-card.featured {
  grid-column: span 2;
  background: var(--blue-700);
  border-color: var(--blue-800);
}
.product-card.featured:hover { border-color: var(--blue-500); }
.product-card.oem {
  background: var(--blue-100);
  border-color: var(--blue-300);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-4);
}
.featured .card-icon { background: var(--blue-600); border-color: var(--blue-500); }

.card-name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-2); }
.featured .card-name { color: #fff; }
.oem .card-name { color: var(--blue-800); }

.card-desc { font-size: 13px; font-weight: 400; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--space-4); flex: 1; }
.featured .card-desc { color: var(--blue-200); }
.oem .card-desc { color: var(--blue-700); }

.type-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip {
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-btn);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-700);
}
.featured .chip { background: var(--blue-600); border-color: var(--blue-500); color: var(--blue-100); }
.oem .chip { background: var(--blue-200); border-color: var(--blue-300); color: var(--blue-800); }

/* ── INDUSTRY CARD ── */
.industry-card {
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.industry-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.industry-icon { font-size: 30px; margin-bottom: var(--space-3); }
.industry-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* ── WHY CARD ── */
.why-card {
  background: var(--blue-600);
  border: var(--border-w) solid var(--blue-500);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: background 0.2s, transform 0.2s;
}
.why-card:hover { background: var(--blue-500); transform: translateY(-2px); }
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-700);
  border: var(--border-w) solid var(--blue-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-4);
}
.why-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: var(--space-2); }
.why-desc  { font-size: 13px; font-weight: 400; color: var(--blue-200); line-height: 1.6; }

/* ── CONTACT ITEM ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-100);
  border: var(--border-w) solid var(--blue-200);
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ci-label { font-size: 11px; font-weight: 600; color: var(--blue-600); margin-bottom: 3px; letter-spacing: 0.5px; }
.ci-value { font-size: 14px; font-weight: 500; color: var(--text-primary); }

/* ── FORM ── */
.contact-form {
  background: #fff;
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-title { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-6); }
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  appearance: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-submit {
  width: 100%;
  background: var(--blue-600);
  color: #fff;
  border: var(--border-w) solid var(--blue-700);
  border-radius: var(--radius-btn);
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.2s;
  margin-top: var(--space-2);
}
.form-submit:hover { background: var(--blue-700); box-shadow: var(--shadow-btn); }
.form-submit.sent  { background: #16a34a; border-color: #15803d; }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-3);
  min-height: 18px;
}

/* ── INDUSTRY CARD WITH PHOTO ── */
.industry-card {
  position: relative;
  background: var(--blue-50);
  border: var(--border-w) solid var(--blue-100);
  border-radius: var(--radius-card);
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.industry-card.has-photo {
  background-size: cover;
  background-position: center;
  border-color: transparent;
}
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,58,138,0.45) 0%, rgba(30,58,138,0.75) 100%);
  transition: background 0.2s;
}
.industry-card.has-photo:hover .industry-card-overlay {
  background: linear-gradient(180deg, rgba(30,58,138,0.3) 0%, rgba(30,58,138,0.65) 100%);
}
.industry-card-content {
  position: relative;
  z-index: 1;
  padding: 24px 16px;
}
.industry-card.has-photo .industry-name { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.industry-icon { font-size: 30px; margin-bottom: var(--space-3); }
.industry-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* Blank industry card (no photo yet) */
.industry-card:not(.has-photo) .industry-card-overlay { display: none; }
.industry-card:not(.has-photo) .industry-card-content { padding: 24px 16px; }

/* ── WHY CARD WITH PHOTO ── */
.why-card.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  border: none;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}
.why-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,30,80,0.3) 0%, rgba(15,30,80,0.82) 70%);
  transition: background 0.2s;
}
.why-card.has-photo:hover .why-card-overlay {
  background: linear-gradient(180deg, rgba(15,30,80,0.2) 0%, rgba(15,30,80,0.75) 70%);
}
.why-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
}
.why-card.has-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
