/* ================================================================
   MATRION SOLUTIONS — PARTNERS PAGE CSS
   ================================================================ */

html, body { background: #0A0202; margin: 0; }

/* ── PARTNER WHY BAND ── */
.partner-why {
  background: #FAF8F8;
  padding: 80px 0;
  border-bottom: 1px solid #EDE4E4;
}
.partner-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pw-item {
  text-align: center;
  padding: 32px 20px;
}
.pw-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(165,0,0,0.09);
  border: 1px solid rgba(165,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
  color: #A50000;
  transition: all 0.3s;
}
.pw-item:hover .pw-icon {
  background: #A50000;
  color: #fff;
  border-color: #A50000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(165,0,0,0.22);
}
.pw-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 700; color: #0F0F0F;
  margin-bottom: 10px;
}
.pw-item p {
  font-size: 0.85rem; color: #666; line-height: 1.65; margin: 0;
}

/* ── PARTNERS SECTION (dark) ── */
.partners-section {
  background: #0A0202;
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.partners-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(165,0,0,0.12), transparent 65%);
  pointer-events: none;
}
.partners-section .container { position: relative; z-index: 1; }
.partners-section .s-title { color: #fff; }
.partners-section .s-sub { color: rgba(255,255,255,0.5); max-width: 600px; margin-bottom: 56px; }

/* ── PARTNER FEATURE CARD ── */
.partner-feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(165,0,0,0.25);
  border-radius: 28px;
  padding: 52px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.partner-feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #A50000, #FF4444, #A50000);
  border-radius: 28px 28px 0 0;
}
.partner-feature-card:hover {
  border-color: rgba(165,0,0,0.45);
}

.pfc-badge {
  display: inline-flex; align-items: center;
  background: rgba(165,0,0,0.18);
  border: 1px solid rgba(165,0,0,0.35);
  color: #FF8080;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 36px;
}
.pfc-badge::before {
  content: '';
  width: 6px; height: 6px; background: #FF6060;
  border-radius: 50%; margin-right: 8px;
  animation: pdot 2s ease-in-out infinite;
}
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.6)} }

.pfc-layout { display: flex; flex-direction: column; gap: 36px; }

.pfc-identity {
  display: flex; align-items: center; gap: 24px;
}
.pfc-logo-wrap {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, #A50000, #7A0000);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(165,0,0,0.3);
}
.pfc-logo-initials {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em;
}
.pfc-id-text {}
.pfc-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem; font-weight: 800; color: #fff; margin: 0 0 6px;
}
.pfc-tag {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.pfc-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(165,0,0,0.3), transparent);
}

.pfc-body {}
.pfc-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8;
  margin-bottom: 18px;
}

/* Services tags */
.pfc-services { margin: 32px 0; }
.pfc-services h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}
.pfc-services-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pfc-service-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(165,0,0,0.1);
  border: 1px solid rgba(165,0,0,0.22);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 16px; border-radius: 100px;
  transition: all 0.2s;
}
.pfc-service-tag i { color: #A50000; font-size: 0.78rem; }
.pfc-service-tag:hover {
  background: rgba(165,0,0,0.2);
  border-color: rgba(165,0,0,0.4);
  color: #fff;
}

/* Office cards */
.pfc-offices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 32px 0;
}
.pfc-office {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 24px;
  display: flex; gap: 16px;
  transition: all 0.3s;
}
.pfc-office:hover {
  background: rgba(165,0,0,0.07);
  border-color: rgba(165,0,0,0.2);
}
.pfc-office-flag {
  font-size: 2rem; line-height: 1; flex-shrink: 0;
}
.pfc-office-info h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.pfc-office-info p {
  font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 10px;
}
.pfc-office-info a {
  display: block; font-size: 0.82rem; color: rgba(165,0,0,0.8);
  transition: color 0.2s; margin-bottom: 3px;
  text-decoration: none;
}
.pfc-office-info a:hover { color: #FF8080; }

/* CTA row */
.pfc-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 8px;
}

/* ── BECOME A PARTNER ── */
.partner-join {
  background: #FAF8F8;
  padding: 96px 0;
}
.partner-join-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.pj-left .s-title {
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  color: #0F0F0F; margin-bottom: 16px;
}
.pj-left > p {
  font-size: 0.95rem; color: #666; line-height: 1.75; margin-bottom: 24px;
}
.pj-perks {
  list-style: none; padding: 0; margin: 0;
}
.pj-perks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; color: #444; margin-bottom: 12px; line-height: 1.55;
}
.pj-perks li i {
  color: #A50000; font-size: 0.85rem; margin-top: 2px; flex-shrink: 0;
}

.pj-right {}
.pj-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-radius: 20px; overflow: hidden;
  background: rgba(165,0,0,0.08);
  border: 1px solid rgba(165,0,0,0.15);
}
.pj-stat {
  background: #fff;
  padding: 36px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: background 0.3s;
}
.pj-stat:hover { background: #FAF8F8; }
.pj-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #A50000; line-height: 1;
  margin-bottom: 8px;
}
.pj-num em { font-style: normal; font-size: 1.4rem; }
.pj-label {
  font-size: 0.78rem; color: #888; font-weight: 500; line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pfc-offices { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .partner-why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .partner-join-inner { grid-template-columns: 1fr; gap: 40px; }
  .partner-feature-card { padding: 32px 28px; }
  .pfc-offices { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partner-why { padding: 60px 0; }
  .partner-why-grid { grid-template-columns: 1fr; gap: 16px; }
  .pw-item { padding: 24px 16px; }
  .partners-section { padding: 64px 0; }
  .partner-feature-card { padding: 24px 20px; }
  .pfc-name { font-size: 1.5rem; }
  .pfc-cta { flex-direction: column; }
  .pfc-cta .btn-main, .pfc-cta .btn-outline { width: 100%; justify-content: center; }
  .partner-join { padding: 64px 0; }
  .pj-stats { grid-template-columns: 1fr 1fr; }
  .pj-num { font-size: 2rem; }
}
