/* ============================================================
   ЮРИСТЫ БУДУЩЕГО — Partners page styles (loaded after styles.css)
   ============================================================ */

/* ---- Partner hero ---- */
.phero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.phero .shard-a { top: -80px; left: -60px; width: 360px; height: 360px;
  clip-path: polygon(0 0, 100% 0, 0 100%); background: rgba(255,255,255,0.04); }
.phero .shard-b { bottom: -60px; right: -40px; width: 320px; height: 320px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); background: var(--red); opacity: .85; }
.phero .shard-c { top: 0; right: 12%; width: 160px; height: 160px;
  clip-path: polygon(100% 0, 100% 100%, 0 0); background: rgba(255,255,255,0.05); }
.phero-inner {
  position: relative; z-index: 3; max-width: var(--max); margin: 0 auto;
  padding: clamp(70px,8vw,120px) var(--pad-x);
}
.phero .back {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.7); margin-bottom: 26px; letter-spacing: .02em; transition: color .15s;
}
.phero .back:hover { color: #fff; }
.phero .back svg { width: 16px; height: 16px; }
.phero h1 {
  font-size: clamp(38px, 6vw, 76px); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.02em; max-width: 14ch; margin-top: 8px;
}
.phero h1 em { font-style: normal; color: var(--red-soft); }
.phero p.sub { margin-top: 24px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.74); max-width: 620px; font-weight: 500; }
.phero-meta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.phero-stat {
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05);
  border-radius: 12px; padding: 16px 24px;
}
.phero-stat .n { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.phero-stat .n em { font-style: normal; color: var(--red-soft); }
.phero-stat .l { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
.charity-note {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 14px;
  background: rgba(225,27,34,0.12); border: 1px solid rgba(255,91,97,0.4);
  border-radius: 12px; padding: 16px 22px; max-width: 640px;
}
.charity-note svg { width: 26px; height: 26px; color: var(--red-soft); flex-shrink: 0; }
.charity-note span { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.5; }
.phero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Why partner (audience) ---- */
.why-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.why {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 38px 32px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-ic { width: 58px; height: 58px; border-radius: 13px; background: var(--navy); color: #fff;
  display: grid; place-items: center; margin-bottom: 24px; }
.why:nth-child(2) .why-ic { background: var(--red); }
.why:nth-child(3) .why-ic { background: var(--blue); }
.why-ic svg { width: 28px; height: 28px; }
.why h3 { font-size: 21px; font-weight: 800; color: var(--navy); }
.why p { margin-top: 12px; font-size: 15px; color: var(--muted); font-weight: 500; line-height: 1.65; }

/* ---- Pricing ---- */
.pricing { background: var(--mist); position: relative; overflow: hidden; }
.pricing-grid {
  margin-top: 54px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start;
}
.plan {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.plan-head { position: relative; padding: 36px 38px 30px; overflow: hidden; }
.plan.featured { border: none; }
.plan.featured .plan-head { background: var(--navy); color: #fff; }
.plan.featured .plan-head .shard {
  top: 0; right: 0; width: 140px; height: 100%;
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); background: rgba(255,255,255,0.05);
}
.plan-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px;
  background: var(--red); color: #fff; position: relative; z-index: 2;
}
.plan.standard .plan-badge { background: var(--mist-2); color: var(--navy); }
.plan-name { position: relative; z-index: 2; margin-top: 18px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.plan.featured .plan-name { color: #fff; }
.plan.standard .plan-name { color: var(--navy); }
.plan-price { position: relative; z-index: 2; margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amt { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.plan.featured .plan-price .amt { color: #fff; }
.plan.standard .plan-price .amt { color: var(--navy); }
.plan-price .cur { font-size: 22px; font-weight: 700; }
.plan.featured .plan-price .cur { color: var(--red-soft); }
.plan.standard .plan-price .cur { color: var(--red); }
.plan-sub { position: relative; z-index: 2; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.plan.featured .plan-sub { color: rgba(255,255,255,0.7); }
.plan.standard .plan-sub { color: var(--muted); }
.plan-feats { padding: 28px 38px 8px; }
.plan-feats li { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--text); line-height: 1.45; }
.plan-feats li:last-child { border-bottom: none; }
.plan-feats li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: #1c9e54; }
.plan.featured .plan-feats li svg { color: var(--red); }
.plan-feats li.star { font-weight: 700; color: var(--navy); }
.plan-foot { padding: 8px 38px 36px; }
.plan-foot .btn { width: 100%; justify-content: center; }

.pricing-shard-1 { top: -40px; right: -40px; width: 220px; height: 220px;
  clip-path: polygon(100% 0, 100% 100%, 0 0); background: var(--mist-2); }

/* ---- Closing ---- */
.pclose { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; text-align: center; }
.pclose .shard-a { bottom: -60px; left: -40px; width: 280px; height: 280px;
  clip-path: polygon(0 0, 100% 100%, 0 100%); background: rgba(255,255,255,0.03); }
.pclose .shard-b { top: -50px; right: -30px; width: 240px; height: 240px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); background: var(--red); opacity: .8; }
.pclose .container { position: relative; z-index: 2; }
.pclose h2 { font-size: clamp(28px,4vw,46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.pclose h2 em { font-style: normal; color: var(--red-soft); }
.pclose .nda { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,0.6); font-weight: 500; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.pclose .btn { margin-top: 34px; }
.pclose-contact {
  margin-top: 44px; display: inline-flex; flex-direction: column; gap: 6px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12);
}
.pclose-contact .who { font-size: 15px; font-weight: 700; color: #fff; }
.pclose-contact .role { font-size: 13px; color: rgba(255,255,255,0.55); }
.pclose-contact .lines { margin-top: 8px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.pclose-contact .lines a { font-size: 14.5px; font-weight: 700; color: var(--red-soft); }

@media (max-width: 1080px) {
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- Founder ---- */
.founder { background: var(--paper); }
.founder-wrap {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center;
}
.founder-photo {
  position: relative; width: min(100%, 380px); aspect-ratio: 4 / 5; margin: 0 auto;
}
.founder-photo .fp-frame {
  position: absolute; inset: 0; z-index: 2; border-radius: 16px; overflow: hidden;
  border: 5px solid #fff; box-shadow: 0 30px 70px rgba(16,30,71,0.26); background: var(--mist);
}
.founder-photo .fp-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; }
.founder-photo .fp-block-navy {
  position: absolute; z-index: 1; left: -30px; top: 28px; bottom: 28px; width: 110px;
  background: var(--navy); border-radius: 14px;
}
.founder-photo .fp-block-red {
  position: absolute; z-index: 3; right: -20px; bottom: -20px; width: 88px; height: 88px;
  background: var(--red); border-radius: 12px; clip-path: polygon(100% 0, 100% 100%, 0 100%);
  box-shadow: 0 14px 30px rgba(225,27,34,0.3);
}
.founder-quote { width: 46px; height: auto; color: var(--mist-2); margin: 18px 0 14px; }
.founder-text {
  font-size: clamp(20px, 2.3vw, 27px); line-height: 1.5; font-weight: 600;
  color: var(--navy); letter-spacing: -0.01em; max-width: 600px;
}
.founder-sign { margin-top: 26px; }
.founder-sign .fs-name { display: block; font-size: 19px; font-weight: 800; color: var(--navy); }
.founder-sign .fs-role { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.founder-lines { margin-top: 18px; display: flex; gap: 24px; flex-wrap: wrap; }
.founder-lines a { font-size: 15px; font-weight: 700; color: var(--red); }
.founder-lines a:hover { color: var(--red-2); }

@media (max-width: 1080px) {
  .founder-wrap { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .founder-photo { order: -1; }
  .founder-quote { margin-left: auto; margin-right: auto; }
  .founder-text { margin-left: auto; margin-right: auto; }
  .founder-lines { justify-content: center; }
}
