/* Partner pages (/partner, /partner-contact, /mna-list-contact).
   Values are live getComputedStyle measurements (1440/375). The partner
   sub-site uses its own chrome: 1350px container, dedicated nav. */

.pt-container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}

/* Nav ------------------------------------------------------------------------ */
.pt-nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: #fff;
}

.pt-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.pt-brand img {
  display: block;
  width: 180px;
  height: 30px;
}

.pt-nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 18px;
}

.pt-nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #161616;
  text-decoration: none;
  transition: color 0.35s;
}

.pt-nav-link:hover {
  color: #000;
}

.pt-nav-line.is-current,
.pt-nav-line.is-current:hover {
  color: #f2542d;
}

.pt-nav-line {
  border: 1px solid #000;
}

.pt-nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 18px;
  padding: 16px 24px;
  background-color: #161616;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fafafa;
  text-decoration: none;
  transition: background-color 0.35s;
}

.pt-nav-button:hover {
  background-color: #323232;
}

.pt-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.pt-nav-toggle span {
  display: block;
  height: 2px;
  background-color: #161616;
}

/* Buttons --------------------------------------------------------------------- */
.pt-button-dark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background-color: #161616;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition:
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s;
}

.pt-button-dark:hover {
  background-color: #f2542d;
}

.pt-button-ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background-color: transparent;
  border: 1px solid #161616;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #161616;
  text-decoration: none;
  transition:
    border-color 0.35s,
    color 0.35s;
}

.pt-button-ghost:hover {
  border-color: #f2542d;
  color: #f2542d;
}

.pt-button-lg {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
}

.pt-button-lg:hover {
  background-color: #323232;
}

/* Hero (/partner) ------------------------------------------------------------- */
.pt-hero {
  position: relative;
  overflow: hidden;
}

.pt-hero .pt-container {
  padding-top: 72px;
  padding-bottom: 72px;
}

.pt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 510px;
  margin-top: 72px;
}

.pt-hero-heading {
  margin: 20px 0 0;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  color: #161616;
  word-break: keep-all;
}

.pt-accent {
  color: #f2542d;
}

.pt-hero-desc {
  margin: 35px 0 20px;
  font-size: 20px;
  line-height: 1.5;
  color: #161616;
}

.pt-hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 54px;
}

.pt-hero-visual {
  position: absolute;
  top: 144px;
  right: max(36px, calc(50% - 639px));
  width: 340px;
  height: 510px;
  overflow: hidden;
}

.pt-hero-visual img {
  display: block;
  width: 100%;
}

.pt-hero-visual-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 100%;
  background-image: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.pt-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-logos li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.pt-logos img {
  width: 284px;
  max-width: 100%;
  height: auto;
  opacity: 0.6;
}

/* Stats banner ---------------------------------------------------------------- */
.pt-stats {
  background-color: #161616;
}

.pt-stats-inner {
  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: 60px;
  padding-right: 60px;
}

.pt-stats-heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}

.pt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.pt-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid #323232;
  padding: 0 24px 0 40px;
}

.pt-stat-value {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.pt-stat-value.is-accent {
  color: #f2542d;
}

.pt-stat-label {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #c5c5c5;
}

.pt-stat-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 0 24px 0 40px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid #323232;
}

.pt-stat-wide .pt-stat-label {
  font-size: 18px;
}

.pt-stat-wide .pt-stat-value {
  font-size: 34px;
}

/* Difference cards ------------------------------------------------------------ */
.pt-diff {
  background-color: #fff;
}

.pt-diff .pt-container {
  padding-top: 72px;
  padding-bottom: 72px;
}

.pt-diff-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.pt-diff-heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.3;
  color: #151515;
}

.pt-diff-button {
  justify-self: end;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
}

.pt-diff-button:hover {
  background-color: #323232;
}

.pt-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 54px 0 0;
  padding: 0;
  background-color: #ebebeb;
  list-style: none;
}

.pt-diff-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  background-color: #fafafa;
}

.pt-diff-number {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #f2542d;
}

.pt-diff-text {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.6;
  color: #161616;
  word-break: keep-all;
}

.pt-underline {
  text-decoration: underline;
}

/* Process --------------------------------------------------------------------- */
.pt-process {
  background-color: #fafafa;
}

.pt-process .pt-container {
  padding-top: 72px;
  padding-bottom: 72px;
}

.pt-process-heading {
  max-width: 750px;
  margin: 0 auto 54px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: #161616;
  text-align: center;
}

.pt-process-box {
  padding: 32px;
  background-color: #fff;
  border: 1px solid #ebebeb;
  text-align: center;
}

.pt-process-pc {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.pt-process-mobile {
  display: none;
  width: 100%;
  max-width: 160px;
  height: auto;
}

.pt-process-cta {
  margin-top: 54px;
  text-align: center;
}

/* Dark CTA + lead form -------------------------------------------------------- */
.pt-cta {
  background-color: #161616;
  background-image: linear-gradient(rgb(0, 0, 0), rgba(22, 22, 22, 0.6)), url('/assets/images/partner/cta-bg.avif');
  background-size: auto, cover;
  background-position:
    0 0,
    50% 50%;
}

.pt-cta .pt-container {
  padding-top: 54px;
  padding-bottom: 54px;
}

.pt-cta-wrap {
  display: flex;
  gap: 80px;
}

.pt-cta-text {
  flex: 0 0 auto;
  width: 504px;
}

.pt-cta-lead {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
}

.pt-cta-advisors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pt-cta-advisor {
  display: flex;
  gap: 12px;
}

.pt-cta-advisor-photo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  background-size: cover;
  background-position: 50% 50%;
}

.pt-cta-advisor-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pt-cta-advisor-name {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.pt-cta-advisor-role {
  font-size: 14px;
  line-height: 1.3;
  color: #808080;
}

.pt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
}

.pt-input,
.pt-select,
.pt-textarea {
  width: 100%;
  padding: 0 2px 14px 3px;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #7e8181;
  border-radius: 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.4;
  color: #fafafa;
}

.pt-input::placeholder,
.pt-textarea::placeholder {
  color: #7e8181;
}

.pt-select {
  color: #d4d4d4;
}

.pt-select:focus,
.pt-input:focus,
.pt-textarea:focus {
  outline: none;
  border-bottom-color: #fafafa;
}

.pt-select option {
  color: #161616;
}

/* v2 form (mna-list-contact): top inputs in 2 columns. */
.pt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
}

/* Live textarea is a light boxed field even on the dark band. */
.pt-textarea {
  min-height: 160px;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  resize: vertical;
}

.pt-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.pt-form-notice {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.3;
  color: #6b6b6b;
}

.pt-form-notice a {
  color: #c5c5c5;
  text-decoration: none;
  transition: color 0.35s;
}

.pt-form-notice a:hover {
  color: #fff;
}

.pt-submit {
  align-self: flex-start;
  margin-top: 20px;
  padding: 16px 24px;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #161616;
  cursor: pointer;
  transition: background-color 0.35s;
}

.pt-submit:hover {
  background-color: #d4d4d4;
}

.pt-form-done {
  margin: 0;
  padding: 20px;
  background-color: #ddd;
  text-align: center;
  color: #161616;
}

.pt-form-fail {
  margin: 0;
  padding: 10px;
  background-color: #ffdede;
  text-align: center;
  color: #161616;
}

/* Contact hero (/partner-contact, /mna-list-contact) -------------------------- */
.pt-contact-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 366.8px;
  background-color: #fafafa;
  background-image: url('/assets/images/partner/hero-contact.webp');
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.pt-contact-hero .pt-container {
  padding-top: 72px;
  padding-bottom: 72px;
}

.pt-contact-heading {
  margin: 20px 0 10px;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #fafafa;
}

.pt-contact-desc {
  margin: 36px 0 20px;
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
}

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 991px) {
  .pt-hero-grid,
  .pt-diff-head {
    grid-template-columns: 1fr;
  }

  .pt-hero-visual {
    position: static;
    width: 100%;
    max-width: 339px;
    height: auto;
    margin-top: 36px;
  }

  .pt-diff-button {
    justify-self: start;
  }

  .pt-diff-grid {
    grid-template-columns: 1fr;
  }

  .pt-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pt-cta-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .pt-form-grid {
    grid-template-columns: 1fr;
  }

  .pt-cta-text {
    width: 100%;
  }

  .pt-contact-heading {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .pt-nav-menu {
    display: none;
  }

  .pt-nav.open .pt-nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 24px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }

  .pt-nav.open .pt-nav-menu .pt-nav-button {
    margin-left: 0;
    margin-top: 12px;
  }

  .pt-nav-toggle {
    display: flex;
  }

  .pt-process-pc {
    display: none;
  }

  .pt-process-mobile {
    display: inline-block;
  }

  .pt-logos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479px) {
  .pt-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pt-brand img {
    width: 150px;
    height: 25px;
  }

  .pt-hero .pt-container {
    padding-top: 36px;
    padding-bottom: 18px;
  }

  .pt-hero-heading {
    margin-top: 0;
    font-family: Pretendard, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
  }

  .pt-hero-desc {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .pt-hero-buttons {
    margin-top: 24px;
  }

  .pt-logos {
    margin-top: 54px;
  }

  .pt-logos li {
    padding: 9px;
  }

  .pt-stats-inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .pt-stats-heading {
    font-size: 24px;
  }

  .pt-stats-grid {
    margin-top: 24px;
  }

  .pt-stat {
    padding: 0 16px;
  }

  .pt-stat-value {
    font-size: 20px;
    line-height: 1.3;
  }

  .pt-stat-label {
    font-size: 16px;
    line-height: 1.4;
  }

  .pt-stat-wide {
    padding: 16px;
  }

  .pt-stat-wide .pt-stat-value {
    font-size: 24px;
  }

  .pt-diff-heading,
  .pt-process-heading {
    font-size: 28px;
  }

  .pt-diff-text {
    font-size: 17px;
  }

  .pt-contact-heading {
    font-size: 32px;
  }

  .pt-contact-desc {
    font-size: 16px;
  }
}
