/* ═══════════════════════════════════════════════════════════════════════════
   MotoMagic — Partner With Us page  (css/partner.css)
   ═══════════════════════════════════════════════════════════════════════════ */
#page-partner { padding-top: 0; }

/* Hero — distinct from homepage banner */
.pw-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(227,6,19,.16), transparent 60%),
    linear-gradient(180deg, #0b0b0c, var(--bg,#090909));
  border-bottom: 1px solid var(--line,rgba(255,255,255,.08));
}
.pw-hero-glow {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.015) 40px 42px);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.pw-hero-c { position: relative; max-width: 780px; margin: 0 auto; }
.pw-hero h1 {
  font-family: var(--font-d,sans-serif);
  font-size: clamp(34px,5.5vw,60px); font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.02; margin: 0 0 18px;
}
.pw-hero-sub { font-size: 16px; line-height: 1.7; color: var(--gray,#A0A0A0); max-width: 620px; margin: 0 auto 30px; }
.pw-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pw-hero-num {
  margin-top: 22px; font-family: var(--font-m,monospace); font-size: 14px;
  color: var(--white,#fff); font-weight: 600;
}

/* Collaboration cards */
.pw-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; }
.pw-card {
  background: var(--card,#0f0f10); border: 1px solid var(--line,rgba(255,255,255,.08));
  border-radius: var(--r-lg,20px); padding: 26px 24px;
  transition: transform .26s var(--ease,cubic-bezier(.22,1,.36,1)), border-color .26s, box-shadow .26s;
}
.pw-card:hover { transform: translateY(-4px); border-color: rgba(227,6,19,.4); box-shadow: 0 20px 46px -22px rgba(0,0,0,.8); }
.pw-card-ic { font-size: 34px; margin-bottom: 14px; }
.pw-card-ic svg { width: 28px; height: 28px; color: var(--red, #E30613); stroke-width: 1.6; }
.pw-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--white,#fff); }
.pw-card p { font-size: 13.5px; line-height: 1.6; color: var(--gray,#A0A0A0); }

/* Benefits */
.pw-benefits { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 12px; }
.pw-benefit {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--card,#0f0f10); border: 1px solid var(--line,rgba(255,255,255,.08));
  border-radius: 12px; font-size: 14px; color: #ddd;
}
.pw-benefit svg { color: var(--red,#E30613); flex-shrink: 0; }
.pw-note {
  margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--red,#E30613);
  background: rgba(227,6,19,.06); border-radius: 8px;
  font-size: 13.5px; line-height: 1.6; color: var(--gray,#A0A0A0);
}

/* Steps */
.pw-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.pw-step {
  text-align: center; padding: 26px 20px;
  background: var(--card,#0f0f10); border: 1px solid var(--line,rgba(255,255,255,.08)); border-radius: 16px;
}
.pw-step-n {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: var(--red,#E30613); color: #fff;
}
.pw-step h4 { font-size: 14px; font-weight: 600; color: #ddd; line-height: 1.4; }

/* Form */
.pw-form { max-width: 960px; margin: 0 auto; background: var(--card,#0f0f10); border: 1px solid var(--line,rgba(255,255,255,.08)); border-radius: var(--r-lg,20px); padding: 32px 36px; }
.pw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pw-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.pw-field label { font-size: 13px; font-weight: 600; color: #ddd; margin-bottom: 7px; }
.pw-field input, .pw-field select, .pw-field textarea {
  background: var(--bg,#090909); border: 1px solid var(--line2,rgba(255,255,255,.14));
  border-radius: 10px; padding: 12px 14px; color: #fff; font-size: 14px; font-family: inherit;
  min-height: 44px; transition: border-color .2s, box-shadow .2s;
}
.pw-field textarea { min-height: 60px; resize: vertical; }
.pw-field input:focus, .pw-field select:focus, .pw-field textarea:focus {
  outline: none; border-color: var(--red,#E30613); box-shadow: 0 0 0 3px rgba(227,6,19,.12);
}
.pw-field input.pw-invalid, .pw-field select.pw-invalid, .pw-field textarea.pw-invalid { border-color: #f87171; }
.pw-field .pw-err-msg { color: #f87171; font-size: 12px; margin-top: 5px; }
.pw-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray,#A0A0A0); line-height: 1.5; margin: 6px 0 4px; cursor: pointer; }
.pw-consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--red,#E30613); }
.pw-form-err { color: #f87171; font-size: 13px; padding: 10px 14px; background: rgba(248,113,113,.08); border-radius: 8px; margin: 8px 0; }
.pw-form-hint { font-size: 12.5px; color: var(--gray-dim,#6b6b6b); text-align: center; margin-top: 12px; line-height: 1.5; }

/* FAQ */
.pw-faq { max-width: 760px; }
.pw-faq-item { border: 1px solid var(--line,rgba(255,255,255,.08)); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: var(--card,#0f0f10); }
.pw-faq-q {
  width: 100%; text-align: left; padding: 16px 20px; background: none; border: none;
  color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit;
}
.pw-faq-q:hover { color: var(--red,#E30613); }
.pw-faq-q .pw-faq-ar { transition: transform .25s; flex-shrink: 0; }
.pw-faq-item.open .pw-faq-ar { transform: rotate(180deg); }
.pw-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pw-faq-item.open .pw-faq-a { max-height: 260px; }
.pw-faq-a-inner { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.65; color: var(--gray,#A0A0A0); }

/* Mobile */
@media (max-width: 768px) {
  .pw-hero { padding: 90px 0 54px; }
  .pw-form-row { grid-template-columns: 1fr; gap: 0; }
  .pw-form { padding: 20px; }
  .pw-hero-btns .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-card:hover { transform: none; }
}

/* Desktop nav label — keep "Partner" on one line, consistent with other links */
.nav-links a[data-nav="partner"] { white-space: nowrap; }
