/**
 * cummins.css — Cummins partner page
 * Requires: styles.css (loaded from parent dir via ../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 Override ── */
.partner-hero {
  background: linear-gradient(135deg, #0a1a5c 0%, #1e3280 60%, #2b45a3 100%);
}
.partner-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.partner-hero-logo {
  background: white; border-radius: var(--radius);
  padding: 16px 24px; display: inline-flex;
  align-items: center; margin-bottom: 20px;
}
.partner-hero-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 28px; font-weight: 900;
  color: #ee1c25; letter-spacing: -0.02em;
}
.partner-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.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; }

/* ── Quick Stats Bar ── */
.quick-stats {
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.qs-item {
  padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.qs-item:last-child { border-right: none; }
.qs-val {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1;
}
.qs-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-lt); margin-top: 3px;
}

/* ── On-Highway Section (primary) ── */
.on-highway-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.oh-text { display: flex; flex-direction: column; gap: 18px; }
.oh-text p { font-size: 15.5px; color: var(--text-mid); line-height: 1.8; }
.oh-text p.lead { font-size: 17px; font-weight: 500; color: var(--text); }
.oh-features { display: flex; flex-direction: column; gap: 10px; }
.oh-feat {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg); border-radius: var(--radius);
  padding: 14px 16px; border: 1px solid var(--border);
}
.oh-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.oh-feat-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }
.oh-feat h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.oh-feat p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

.oh-img-side { display: flex; flex-direction: column; gap: 16px; }
.oh-img-side img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); object-fit: cover;
}

/* ── Product Category Tabs ── */
.tabs-wrap { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.tab-btns {
  display: flex; background: var(--bg);
  border-bottom: 1px solid var(--border); overflow-x: auto;
}
.tab-btn {
  flex: 1; min-width: 140px;
  padding: 14px 16px; text-align: center;
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-mid); transition: all var(--t); white-space: nowrap;
  border-bottom: 3px solid transparent; letter-spacing: 0.03em;
}
.tab-btn.active, .tab-btn:hover { color: var(--blue); background: white; }
.tab-btn.active { border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 0; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; }
.tab-img { overflow: hidden; background: var(--bg-alt); }
.tab-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.tab-info { padding: 32px 28px; }
.tab-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--blue); }
.tab-info p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.tab-feat-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.tab-feat-list li {
  font-size: 13.5px; color: var(--text-mid);
  display: flex; align-items: center; gap: 8px;
}
.tab-feat-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* ── CCC Section ── */
.ccc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ccc-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all var(--t);
}
.ccc-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(232,180,0,0.35); }
.ccc-card h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.ccc-card p { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ccc-cta {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 28px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-top: 32px;
}
.ccc-cta p { color: rgba(255,255,255,0.75); font-size: 15px; flex: 1; min-width: 200px; }
.ccc-cta strong { display: block; color: white; font-size: 18px; font-weight: 700; margin-bottom: 4px; }

/* ── Why Us ── */
.why-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wp-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all var(--t);
}
.wp-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.wp-num {
  font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 800;
  color: rgba(43,69,163,0.07); line-height: 1; margin-bottom: 10px;
}
.wp-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-bottom: 12px; }
.wp-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.wp-card p { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

@media (max-width: 1024px) {
  .on-highway-grid { grid-template-columns: 1fr; }
  .oh-img-side { display: none; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-img { display: none; }
  .ccc-grid { grid-template-columns: 1fr; }
  .why-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-hero-inner { grid-template-columns: 1fr; }
  .qs-grid { grid-template-columns: repeat(2, 1fr); }
  .qs-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .why-partner-grid { grid-template-columns: 1fr; }
  .tab-btns { flex-wrap: wrap; }
  .tab-btn { flex: 1 0 50%; }
  .section { padding: 56px 0; }
  .qs-grid { grid-template-columns: 1fr 1fr; }
}
