/* ============================================================
   PARTNER WITH US PAGE — colors pulled from Figma
   ============================================================ */

/* ---------- partner hero ---------- */
.phero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #011C24;
}
/* the hero runs the shared .hero-carousel crossfade (/assets/css/styles.css + script.js).
   The .55 dim lives on the container, not the slides — putting it on each slide
   would fight the carousel's own opacity transition mid-crossfade. */
.phero-media { position: absolute; inset: 0; opacity: .55; }
.phero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.02) 74%, rgba(0,0,0,0) 100%),
    linear-gradient(0deg, rgba(1,28,36,.1) 0%, rgba(1,28,36,0) 40%);
}
.phero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 32px; padding: 0 24px;
}
.phero-title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 5vw, 60px); line-height: 1; color: #fff;
}
.phero-sub { max-width: 587px; font-size: 18px; line-height: 26px; color: var(--neutral-300); }
/* hero -> offerings: replaced by the shared .hero-wave image (Vector 1343) from
   /assets/css/styles.css, so the partner hero ends with the exact same curve as the index hero.
   The old CSS-ellipse version is kept here for reference only.
.phero::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -1px;
  height: 56px; z-index: 4; background: #fff;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0; pointer-events: none;
}
*/

/* ---------- partner offerings ---------- */
.poffer { padding: 80px 40px; text-align: center; background: #fff; }
.poffer-title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4vw, 44px); line-height: 1; letter-spacing: .44px;
  color: #1A1A1A; margin-bottom: 40px;
}

@media (max-width:428px) {
  .poffer{
    padding: 80px 0px;
  }
  
}
.poffer-grid {
  max-width: 1316px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.pcard {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 6px; outline: .8px solid #EEEEF1; outline-offset: -.8px;
  min-height: 500px; padding: 40px 24px 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}
.pcard::after {
  content: ""; position: absolute; top: 184px; left: 50%;
  width: 555px; height: 356px; transform: translateX(-50%);
  background: #EEEEF1; border-radius: 9999px; filter: blur(42px);
  pointer-events: none; z-index: 0;
}
.pcard-logo { position: relative; z-index: 2; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.pcard-hero { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.pcard-ghost {
  font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 60px;
  color: #C8C8D2; margin-bottom: -34px;
}
.pcard-img {
  width: 200px; max-width: 100%; height: 148px; object-fit: contain;
  position: relative; z-index: 2; filter: drop-shadow(0 3.6px 5.4px rgba(0,0,0,.2));
}
.pcard-body { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pcard-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pcard-tags li {
  height: 24px; padding: 0 8px; display: inline-flex; align-items: center;
  background: #fff; border-radius: 32px;
  font-size: 12px; line-height: 16px; color: rgba(232,183,115,.56);
  box-shadow: inset 0 0 0 .8px #f1ece2;
}
.pcard-desc { font-size: 14px; line-height: 20px; color: #606070; }

/* audience badges on the offering cards (partner page only) */
/* the pills always stay on one row, so they size off the card's own width
   rather than the viewport — Rammudra carries four of them and still fits */
.poffer .offer-card { container-type: inline-size; }
.poffer .offer-tags {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(3px, 1.5cqi, 8px);
  align-items: center;
  /* bleed into the card's 24px side padding so the row gets the full width */
  margin: 0px -20px 0;
  position: relative;
  z-index: 2;
}
.poffer .offer-tags li {
  height: clamp(22px, 9cqi, 34px);
  padding: 0 clamp(4px, 2.4cqi, 16px);
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 0.8px solid #F1ECE2;
  border-radius: 32px;
  font-size: clamp(10px, 2.9cqi, 14px);
  line-height: 1;
  color: #C79A4B;
  white-space: nowrap;
}
/* the badge row eats the slack the old space-between layout used, so pull the
   description back up against it */
.poffer .offer-tags + .offer-desc { margin-top: 14px; }
/* Rammudra.png is 320x159 — very wide, so the shared `cover` blew it up to
   422x210 and cropped the coins at both edges. Sizing by width instead keeps
   the whole lockup visible and renders it smaller. Tune --coin-w only. */
.poffer .img-rammudra {
  --coin-w: 145%;
  background-size: var(--coin-w) auto, 30% 30%;
}
.pcard-cta { align-self: stretch; justify-content: center; margin-top: 4px; }
.pcard-cta .ext { font-size: 13px; }

/* ---------- partner form ---------- */
.pform-wrap { padding: 120px clamp(20px, 10vw, 150px); background: #EEEEEE; position: relative; overflow: hidden; }
/* white wave dividers top & bottom of the grey form section — now the shared
   .wave-top / .wave-bottom image fades from /assets/css/styles.css (Vector 1344 / 1343),
   kept behind the form card. The old CSS-ellipse version, for reference:
.pform-wrap::before, .pform-wrap::after {
  content: ""; position: absolute; left: -2%; right: -2%; height: 56px; z-index: 0;
  background: #fff; pointer-events: none;
}
.pform-wrap::before { top: -1px; border-radius: 0 0 100% 100% / 0 0 100% 100%; }
.pform-wrap::after  { bottom: -1px; border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
*/
.pform-wrap > .wave-top, .pform-wrap > .wave-bottom { z-index: 1; }
.pform { position: relative; z-index: 2; }
.pform {
  max-width: 1100px; margin: 0 auto;
  background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  border-radius: 20px; padding: 40px clamp(24px, 5vw, 60px);
  display: flex; flex-direction: column; gap: 42px;
}
.pform-head { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pform-head .pill { background: #EEEEF1; color: #0D0F1A; font-size: 15px; line-height: 22px; letter-spacing: 0; text-transform: none; padding: 1px 10px; }
.pform-title { font-size: 24px; font-weight: 400; color: #0D0F1A; }
.pform-title em { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 39px; }
.pform-title .gold { color: #CFB38D; }
.pform-note {
  align-self: stretch; padding: 12px 8px; border-radius: 2px; overflow: hidden; text-align: center;
  background: linear-gradient(102deg, rgba(207,179,141,.16) 0%, rgba(234,179,56,.16) 16%, rgba(102,71,27,.16) 94%);
}
.pform-note-lead { font-size: 16px; font-weight: 500; color: #232330; line-height: 24px; }
.pform-note-sub  { font-size: 16px; color: #606070; line-height: 24px; }

.pform-cols { display: flex; gap: 20px; align-items: stretch; }
.pform-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 40px; }
.pform-group { display: flex; flex-direction: column; gap: 16px; }
.pform-group.grow { flex: 1 1 auto; }
.pform-legend { font-size: 12px; text-transform: uppercase; color: #606070; line-height: 18px; display: flex; align-items: center; gap: 8px; }
.pform-legend i { color: var(--gold-500); font-size: 13px; }
.pform-hint { font-size: 14px; color: #606070; line-height: 20px; }

.field { display: flex; flex-direction: column; gap: 4px; }
.field.grow { flex: 1 1 auto; }
.field > span { font-size: 12px; text-transform: uppercase; color: #0D0F1A; line-height: 18px; }
.field > span b { color: #E7000B; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 2px;
  border: 1px solid #C8C8D2; background: rgba(255,255,255,.4);
  font-family: var(--sans); font-size: 12px; font-weight: 500; color: #0D0F1A; line-height: 18px;
}
.field textarea { resize: vertical; min-height: 96px; font-weight: 400; }
.field input::placeholder, .field textarea::placeholder { color: #AEAEBA; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8b7a4f; }
.field-phone { display: flex; align-items: center; border: 1px solid #C8C8D2; border-radius: 2px; padding-left: 14px; gap: 10px; background: rgba(255,255,255,.4); }
.field-phone .cc { font-size: 12px; font-weight: 500; color: #0D0F1A; white-space: nowrap; }
.field-phone input { border: none; padding-left: 0; background: transparent; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #606070; line-height: 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #0D0F1A; flex: none; }
.check .small { font-weight: 700; font-size: 13px; }
.check.consent { font-size: 12px; line-height: 16px; }

/* interests — each option shows the brand's own lockup above its description
   instead of a styled text name, so the four read as real brand marks */
.check.interest { gap: 14px; }
.check.interest input { margin-top: 3px; }
.interest-body { display: flex; flex-direction: column; gap: 7px; }
.interest-logo { height: 20px; width: auto; }
.interest-logo.is-rammudra { height: 29px; }   /* its lockup includes the round icon */
.interest-desc { font-size: 15px; line-height: 20px; color: #606070; }

.pform-foot { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pform-submit { align-self: stretch; max-width: 512px; justify-content: center; }

/* ---------- partner form: success popup ---------- */
.pform-success {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13,15,26,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.pform-success.is-open { opacity: 1; visibility: visible; }
.pform-success-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 44px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .3s cubic-bezier(.22,1.1,.36,1);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.pform-success.is-open .pform-success-card { transform: none; }
.pform-success-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 0;
  background: transparent;
  color: #8a8a97;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.pform-success-close:hover { color: #0d0f1a; }
.pform-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eab338, #b9903f);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}
.pform-success-title { font-size: 28px; color: #0D0F1A; }
.pform-success-title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.pform-success-sub { font-size: 15px; line-height: 22px; color: #606070; }
.pform-success-ok { margin-top: 10px; width: 100%; justify-content: center; }

/* ---------- partner contact ---------- */
.pcontact { position: relative; overflow: hidden; padding: 48px 16px 240px; text-align: center; background: #f4f8fb; }
.pcontact-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5;
  /* single radial mask feathers every edge into transparency — no hard border */
  -webkit-mask-image: radial-gradient(ellipse 118% 112% at 50% 45%, #000 45%, rgba(0,0,0,0) 90%);
          mask-image: radial-gradient(ellipse 118% 112% at 50% 45%, #000 45%, rgba(0,0,0,0) 90%);
}
/* contact -> statement: white wave at the contact bottom — now the shared
   .wave-bottom image fade (Vector 1343) from /assets/css/styles.css. It sits above the
   ::before feathering overlay (z-index 1) and below .pcontact-inner (z-index 3),
   which is where the old CSS-ellipse version below used to sit.
.pcontact::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -1px;
  height: 56px; z-index: 2; background: #fff;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0; pointer-events: none;
}
*/
.pcontact > .wave-bottom { z-index: 2; }
/* section-colour overlay that feathers the video edges (works without mask support) */
.pcontact::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, #f4f8fb 0%, rgba(244,248,251,0) 26%, rgba(244,248,251,0) 72%, #f4f8fb 100%),
    linear-gradient(90deg, #f4f8fb 0%, rgba(244,248,251,0) 13%, rgba(244,248,251,0) 87%, #f4f8fb 100%);
}
.pcontact-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 29px; }
.pcontact-head { display: flex; flex-direction: column; align-items: center; gap: 20px; padding:48px 0px 0px}
.pcontact-head .pill { background: #EEEEF1; color: #0D0F1A; font-size: 15px; line-height: 22px; letter-spacing: 0; text-transform: none; padding: 1px 10px; }
.pcontact-lead { font-size: 24px; color: #0D0F1A; line-height: 34px; }
.pcontact-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1; letter-spacing: .44px; color: #0D0F1A; }
.pcontact-cards {
  width: 100%; max-width: 1000px; padding: 24px;
  background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 16px; display: flex; gap: 16px;
}
.pcontact-card { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pcontact-ico { display: inline-flex; color: #606070; }
.pcontact-ico svg { width: 26px; height: 26px; fill: currentColor; }
.pcontact-label { font-size: 15px; font-weight: 500; color: #3D3D4D; line-height: 23px; }
.pcontact-val { font-size: 15px; color: #606070; line-height: 22px; }

/* ---------- partner responsive ---------- */
@media (max-width: 1100px) {
  .poffer-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
  .pform-cols { flex-direction: column; }
}
@media (max-width: 720px) {
  .poffer-grid { grid-template-columns: 1fr; max-width: 380px; }
  .pcontact-cards { flex-direction: column; }
  .phero { min-height: 720px; }
}
