/* ============================================================================
   LawSathi Partners — /partners/
   Namespace: .ls-ptr-*

   Verification-first page: the register is the reason this page exists, so
   the hero spotlights the one partner on it, a dedicated section teaches a
   buyer how to verify anyone claiming to be a partner, then the full dossier,
   territory map, programme pitch, and application follow.

   Follows collections.css conventions: px units for these components (the
   Webflow-system layout classes stay on rem, where 1rem = 1px at 1440px).
   ========================================================================== */

.main-wrapper.is--partners { opacity: 1; }

.ls-ptr-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- HERO --- */
.section.is--ptr-hero {
  position: relative;
  background: #17153A;
  color: #F7F6FB;
  overflow: hidden;
  padding: 132px 0 96px;
}

.ls-ptr-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 78% 55% at 14% 6%, rgba(82, 80, 184, 0.48) 0%, transparent 58%),
    radial-gradient(ellipse 64% 50% at 90% 44%, rgba(43, 41, 107, 0.6) 0%, transparent 55%),
    linear-gradient(180deg, #17153A 0%, #0D0C22 100%);
}

.ls-ptr-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(203, 202, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 202, 237, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 80%);
}

.ls-ptr-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.ls-ptr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: "Suisse intl mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CBCAED;
}

.ls-ptr-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(203, 202, 237, 0.55);
}

.ls-ptr-hero h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.ls-ptr-hero-lead {
  margin: 0 0 32px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(247, 246, 251, 0.78);
}

.ls-ptr-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Local buttons — the Webflow .btn--book variants are tied to their own
   hover-fill markup, so the partner page ships self-contained ones. */
.ls-ptr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ls-ptr-btn:hover { transform: translateY(-1px); }

.ls-ptr-btn.is--solid {
  background: #F7F6FB;
  color: #17153A;
}

.ls-ptr-btn.is--solid:hover { background: #FFFFFF; }

.ls-ptr-btn.is--ghost {
  border-color: rgba(203, 202, 237, 0.45);
  color: #F7F6FB;
}

.ls-ptr-btn.is--ghost:hover {
  border-color: #CBCAED;
  background: rgba(203, 202, 237, 0.1);
}

.ls-ptr-btn.is--purple {
  background: #5250B8;
  color: #FFFFFF;
}

.ls-ptr-btn.is--purple:hover { background: #2B296B; }

.ls-ptr-btn.is--outline-dark {
  border-color: #17153A;
  color: #17153A;
}

.ls-ptr-btn.is--outline-dark:hover { background: #17153A; color: #FFFFFF; }

/* ---------------------------------------------------------- LOGO PLATE --- */
/* CGA's mark is dark ink on transparency, so it always sits on a light plate
   — mandatory on the dark hero and apply sections, harmless on white/beige. */
.ls-ptr-logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 16px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 21, 58, 0.08);
}

.ls-ptr-logo-plate img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

/* Small pill badge, dark-background context (hero spotlight, apply section). */
.ls-ptr-pill.is--dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(82, 80, 184, 0.28);
  border: 1px solid rgba(203, 202, 237, 0.4);
  font-family: "Suisse intl mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E4E3F5;
}

.ls-ptr-pill.is--dark svg { width: 13px; height: 13px; flex: none; }

/* --------------------------------------------------- HERO SPOTLIGHT --- */
/* Puts the one partner on the register in front of the reader immediately —
   a single card lower down the page reads as an empty roster, this doesn't. */
.ls-ptr-spotlight {
  position: relative;
  border-radius: 20px;
  padding: 32px;
  background: linear-gradient(160deg, rgba(203, 202, 237, 0.14) 0%, rgba(13, 12, 34, 0.5) 100%);
  border: 1px solid rgba(203, 202, 237, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.ls-ptr-spotlight .ls-ptr-logo-plate {
  width: fit-content;
  margin-bottom: 20px;
}

.ls-ptr-spotlight .ls-ptr-pill.is--dark { margin-bottom: 16px; }

.ls-ptr-spotlight h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  color: #FFFFFF;
}

.ls-ptr-spotlight-entity {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 246, 251, 0.6);
}

.ls-ptr-spotlight-meta {
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(203, 202, 237, 0.2);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 246, 251, 0.76);
}

.ls-ptr-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Suisse intl mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBCAED;
  text-decoration: none;
  transition: color .18s ease;
}

.ls-ptr-spotlight-link:hover { color: #FFFFFF; }

/* ------------------------------------------------------ SECTION HEAD --- */
.section.is--ptr {
  padding: 96px 0;
  background: #FFFFFF;
}

.section.is--ptr-alt { background: #F7F6FB; }

.ls-ptr-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.ls-ptr-head.is--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ls-ptr-label {
  display: block;
  margin-bottom: 14px;
  font-family: "Suisse intl mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5250B8;
}

.ls-ptr-head h2 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #17153A;
}

.ls-ptr-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: rgba(23, 21, 58, 0.72);
}

/* A note that follows a section head on a light background (verify report
   line, dossier footer notes). */
.ls-ptr-foot-note {
  margin: 32px auto 0;
  max-width: 640px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 21, 58, 0.12);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: rgba(23, 21, 58, 0.65);
}

.ls-ptr-foot-note a { color: #2B296B; font-weight: 500; }

/* --------------------------------------------------------- DOSSIER --- */
/* The single register entry. Full-width and detailed by design — a lone
   tile in a 3-up grid reads as an empty roster; this reads as a dossier. */
.ls-ptr-dossier {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  padding: 40px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 21, 58, 0.1);
  box-shadow: 0 2px 10px rgba(23, 21, 58, 0.04);
}

.ls-ptr-dossier-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-ptr-tier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(82, 80, 184, 0.1);
  border: 1px solid rgba(82, 80, 184, 0.28);
  font-family: "Suisse intl mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B296B;
  white-space: nowrap;
}

.ls-ptr-tier svg { width: 12px; height: 12px; flex: none; }

.ls-ptr-since {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(23, 21, 58, 0.55);
}

.ls-ptr-dossier-body h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #17153A;
}

.ls-ptr-dossier-entity {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(23, 21, 58, 0.55);
}

.ls-ptr-dossier-blurb {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(23, 21, 58, 0.78);
}

/* Credential stat row — years in business, filings, registrations. */
.ls-ptr-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0 0 24px;
}

.ls-ptr-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ls-ptr-stat-value {
  font-family: "Suisse works", Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
  color: #17153A;
}

.ls-ptr-stat-label {
  font-family: "Suisse intl mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 21, 58, 0.5);
}

.ls-ptr-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 0 0 26px;
  padding: 22px 0;
  border-top: 1px solid rgba(23, 21, 58, 0.09);
  border-bottom: 1px solid rgba(23, 21, 58, 0.09);
}

.ls-ptr-fact dt {
  margin-bottom: 5px;
  font-family: "Suisse intl mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 21, 58, 0.5);
}

.ls-ptr-fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #17153A;
}

.ls-ptr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ls-ptr-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F1F6;
  font-size: 12px;
  line-height: 1.45;
  color: #2B296B;
}

/* Statewide vs. city/metro territory groups inside the dossier. */
.ls-ptr-territory-groups {
  display: grid;
  gap: 16px;
  margin: 0 0 26px;
}

.ls-ptr-territory-group-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Suisse intl mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 21, 58, 0.5);
}

.ls-ptr-contact {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}

.ls-ptr-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #17153A;
}

.ls-ptr-contact-row svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: none;
  color: #5250B8;
}

/* The email/website are single unbroken strings — without this, a flex item's
   default min-width lets them force the whole dossier wider than the
   viewport instead of wrapping (the mobile overflow bug). */
.ls-ptr-contact-row a,
.ls-ptr-contact-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ls-ptr-contact-row a { color: #2B296B; }

.ls-ptr-dossier-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ------------------------------------------------------------- TIERS --- */
.ls-ptr-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.ls-ptr-tile {
  padding: 30px 28px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 21, 58, 0.1);
}

.section.is--ptr .ls-ptr-tile { background: #F7F6FB; border-color: rgba(23, 21, 58, 0.07); }

.ls-ptr-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(82, 80, 184, 0.12);
  color: #2B296B;
}

.ls-ptr-tile-icon svg { width: 20px; height: 20px; }

.ls-ptr-tile h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  color: #17153A;
}

.ls-ptr-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(23, 21, 58, 0.72);
}

/* ------------------------------------------------------------- STEPS --- */
/* The "verify a partner" checklist — an ordered list, counted with a CSS
   counter rather than numbered manually. */
.ls-ptr-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: ls-ptr-step;
}

.ls-ptr-step {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 21, 58, 0.1);
}

.ls-ptr-step::before {
  counter-increment: ls-ptr-step;
  content: "0" counter(ls-ptr-step);
  display: block;
  margin-bottom: 14px;
  font-family: "Suisse intl mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #5250B8;
}

.ls-ptr-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: #17153A;
}

.ls-ptr-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(23, 21, 58, 0.7);
}

.ls-ptr-step p a { color: #2B296B; font-weight: 500; }

/* -------------------------------------------------------------- FORM --- */
.section.is--ptr-apply {
  padding: 96px 0;
  background: #17153A;
  color: #F7F6FB;
  position: relative;
  overflow: hidden;
}

.ls-ptr-apply-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.ls-ptr-apply-copy h2 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.ls-ptr-apply-copy p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(247, 246, 251, 0.75);
}

.ls-ptr-apply-perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ls-ptr-apply-perks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 246, 251, 0.85);
}

.ls-ptr-apply-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #8785D6;
  border-bottom: 2px solid #8785D6;
  transform: rotate(-45deg);
}

.ls-ptr-form {
  padding: 32px;
  border-radius: 20px;
  background: rgba(247, 246, 251, 0.05);
  border: 1px solid rgba(203, 202, 237, 0.22);
}

.ls-ptr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ls-ptr-field { display: flex; flex-direction: column; gap: 7px; }

.ls-ptr-field.is--full { grid-column: 1 / -1; }

.ls-ptr-field label {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(247, 246, 251, 0.8);
}

.ls-ptr-req { color: #A9A7E8; }

.ls-ptr-field input,
.ls-ptr-field select,
.ls-ptr-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(13, 12, 34, 0.5);
  border: 1px solid rgba(203, 202, 237, 0.28);
  color: #F7F6FB;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ls-ptr-field textarea { min-height: 96px; resize: vertical; }

.ls-ptr-field input::placeholder,
.ls-ptr-field textarea::placeholder { color: rgba(247, 246, 251, 0.38); }

.ls-ptr-field select option { background: #17153A; color: #F7F6FB; }

.ls-ptr-field input:focus,
.ls-ptr-field select:focus,
.ls-ptr-field textarea:focus {
  outline: none;
  border-color: #8785D6;
  box-shadow: 0 0 0 3px rgba(135, 133, 214, 0.22);
}

.ls-ptr-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(226, 122, 122, 0.7);
}

.ls-ptr-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

/* Always-visible contact route — sits beside the submit button rather than
   hiding behind a fallback that only appears after the form is submitted. */
.ls-ptr-form-contact {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 246, 251, 0.6);
}

.ls-ptr-form-contact a { color: #CBCAED; font-weight: 500; }

.ls-ptr-form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(247, 246, 251, 0.5);
}

.ls-ptr-form-note a { color: #CBCAED; }

/* --------------------------------------------------------------- FAQ --- */
.ls-ptr-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.ls-ptr-faq details {
  padding: 22px 24px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 21, 58, 0.1);
}

.ls-ptr-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  color: #17153A;
}

.ls-ptr-faq summary::-webkit-details-marker { display: none; }

.ls-ptr-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid #5250B8;
  border-bottom: 2px solid #5250B8;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.ls-ptr-faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.ls-ptr-faq details p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(23, 21, 58, 0.75);
}

.ls-ptr-faq details p a { color: #2B296B; }

/* ------------------------------------------------------------- LEGAL --- */
.ls-ptr-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 30px;
  border-radius: 16px;
  background: #F1F1F6;
  border: 1px solid rgba(23, 21, 58, 0.08);
}

.ls-ptr-legal h2 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #17153A;
}

.ls-ptr-legal p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(23, 21, 58, 0.68);
}

.ls-ptr-legal p:last-child { margin-bottom: 0; }

.ls-ptr-legal a { color: #2B296B; }

/* -------------------------------------------------------- RESPONSIVE --- */
@media screen and (max-width: 991px) {
  .section.is--ptr-hero { padding: 108px 0 72px; }
  .ls-ptr-hero-inner,
  .ls-ptr-apply-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ls-ptr-hero h1 { font-size: 42px; }
  .ls-ptr-head h2 { font-size: 32px; }
  .ls-ptr-apply-copy h2 { font-size: 30px; }
  .section.is--ptr,
  .section.is--ptr-apply { padding: 72px 0; }
  .ls-ptr-dossier { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media screen and (max-width: 767px) {
  .ls-ptr-hero h1 { font-size: 34px; }
  .ls-ptr-hero-lead { font-size: 16px; }
  .ls-ptr-head h2 { font-size: 27px; }
  .ls-ptr-dossier { padding: 26px 22px; }
  .ls-ptr-dossier-body h3 { font-size: 22px; }
  .ls-ptr-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ls-ptr-stats { gap: 20px; }
  .ls-ptr-form { padding: 24px 20px; }
  .ls-ptr-form-grid { grid-template-columns: minmax(0, 1fr); }
  .ls-ptr-spotlight { padding: 26px 22px; }
  .ls-ptr-btn { padding: 13px 22px; }
  .ls-ptr-hero-ctas .ls-ptr-btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ls-ptr-btn,
  .ls-ptr-faq summary::after,
  .ls-ptr-spotlight-link { transition: none; }
  .ls-ptr-btn:hover { transform: none; }
}
