/**
 * partner-generic.css — Shared styles for Bosch, Holset, Meritor, Lucas, ZF pages
 * Requires: styles.css
 */

.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--blue-xdk); }
.section-hd { margin-bottom: 44px; }
.section-hd.center { text-align: center; }
.section-hd.center .section-sub { margin: 12px auto 0; }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-dark .label { color: rgba(255,255,255,0.45); }

/* Partner hero logo block */
.partner-logo-block {
  background: white; border-radius: var(--radius);
  padding: 14px 22px; display: inline-flex;
  align-items: center; margin-bottom: 18px;
}
.partner-logo-block span {
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 900;
  letter-spacing: -0.02em;
}
.logo-bosch   { color: #ea0016; }
.logo-holset  { color: #00529b; }
.logo-meritor { color: #c8002a; }
.logo-lucas   { color: #003087; }
.logo-zf      { color: #005ca9; }

.partner-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 6px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600; color: white;
}
.hero-badge svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2; }

/* ── Partnership Intro ── */
.partnership-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.partnership-text { display: flex; flex-direction: column; gap: 18px; }
.partnership-text p { font-size: 15.5px; color: var(--text-mid); line-height: 1.8; }
.partnership-text p.lead { font-size: 17px; font-weight: 500; color: var(--text); }
.partner-img img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/3;
}

/* ── Product Grid ── */
.product-range-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pr-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all var(--t) var(--ease); position: relative; overflow: hidden;
}
.pr-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.pr-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.pr-card:hover::after { transform: scaleX(1); }
.pr-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pr-icon svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 2; }
.pr-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.pr-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.pr-card ul { display: flex; flex-direction: column; gap: 5px; }
.pr-card li {
  font-size: 13px; color: var(--text-mid);
  display: flex; align-items: center; gap: 7px;
}
.pr-card li::before {
  content: ''; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* ── Why Us Cards (dark bg) ── */
.why-grid-dark { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wc-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg); padding: 26px 22px;
  transition: all var(--t);
}
.wc-dark:hover { background: rgba(255,255,255,0.09); border-color: rgba(232,180,0,0.35); transform: translateY(-3px); }
.wc-num { font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 800; color: rgba(255,255,255,0.05); line-height: 1; margin-bottom: 10px; }
.wc-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; margin-bottom: 12px; }
.wc-dark h3 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.wc-dark p { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ── CTA Box ── */
.partner-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  border-radius: var(--radius-lg); padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.partner-cta::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
}
.partner-cta-text { position: relative; z-index: 1; }
.partner-cta-text .label { color: rgba(255,255,255,0.45); }
.partner-cta-text h2 { font-family: 'Outfit', sans-serif; font-size: clamp(20px,2.5vw,30px); font-weight: 700; color: white; margin-bottom: 8px; }
.partner-cta-text p { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 440px; line-height: 1.7; }
.partner-cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .partnership-grid { grid-template-columns: 1fr; }
  .partner-img { display: none; }
  .product-range-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-dark { grid-template-columns: repeat(2, 1fr); }
  .partner-cta { flex-direction: column; padding: 32px 24px; text-align: center; }
  .partner-cta-text p { margin: 0 auto; }
  .partner-cta-btns { justify-content: center; }
}
@media (max-width: 768px) {
  .product-range-grid { grid-template-columns: 1fr; }
  .why-grid-dark { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
