.partner-page {
  background: var(--paper);
}

.partner-page .skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.partner-page .skip:focus {
  transform: translateY(0);
}

.partner-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.partner-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border-bottom: 1px solid var(--hard-line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.partner-hero-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
}

.partner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.partner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 54, 46, .86), rgba(33, 54, 46, .56) 46%, rgba(33, 54, 46, .2)),
    linear-gradient(180deg, rgba(33, 54, 46, .16), rgba(33, 54, 46, .68));
}

.partner-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 760px;
  justify-self: start;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(86px, 12vh, 128px) 0 clamp(70px, 10vh, 108px);
  color: var(--paper);
}

.partner-hero-copy h1 {
  max-width: 720px;
  color: var(--paper);
  font-size: clamp(48px, 5vw, 76px);
  line-height: .98;
  text-shadow: 0 2px 20px rgba(18, 30, 25, .32);
}

.partner-hero-copy p {
  max-width: 720px;
  color: rgba(255, 253, 248, .82);
  text-shadow: 0 2px 16px rgba(18, 30, 25, .24);
}

.partner-hero-copy .lead {
  color: rgba(255, 253, 248, .94);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.35;
}

.eyebrow {
  color: var(--terra-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.partner-hero .eyebrow {
  color: var(--terra-light);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.partner-section {
  padding: clamp(68px, 8vw, 110px) 0;
}

.intro-band {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.scope-grid,
.form-layout,
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.intro-grid h2,
.section-head h2,
.scope-card h2,
.form-copy h2,
.faq-wrap h2,
.partner-final h2 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.02;
}

.intro-grid > p {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.45;
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.partner-card-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-card,
.benefit-grid article,
.step-card,
.scope-card,
.partner-form-shell,
.trust-note,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 16px 44px rgba(33, 54, 46, .07);
}

.partner-card,
.benefit-grid article,
.step-card {
  padding: 22px;
}

.partner-card h3,
.benefit-grid h3,
.step-card h3,
.scope-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.partner-card p,
.benefit-grid p,
.step-card p {
  font-size: 16px;
  line-height: 1.5;
}

.muted-band {
  background: var(--sage);
  border-block: 1px solid var(--line);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.scope-card {
  padding: clamp(26px, 4vw, 42px);
}

.scope-card.positive {
  background: var(--ink);
  color: var(--paper);
}

.scope-card.positive h2,
.scope-card.positive li,
.scope-card.positive .eyebrow {
  color: var(--paper);
}

.scope-card.limit {
  background: var(--cream);
}

.scope-card ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.scope-card li {
  font-size: 18px;
  line-height: 1.45;
}

.soft-band {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}

.form-band {
  background: var(--ink);
  color: var(--paper);
}

.form-copy h2,
.form-copy p,
.form-copy .eyebrow {
  color: var(--paper);
}

.trust-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px;
  background: rgba(255, 253, 248, .08);
  border-color: rgba(255, 253, 248, .22);
}

.trust-note span {
  color: rgba(255, 253, 248, .78);
  font-size: 16px;
  line-height: 1.5;
}

.partner-form-shell {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  color: var(--ink);
}

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

.partner-form-shell label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.partner-form-shell label span {
  color: var(--terra-dark);
}

.partner-form-shell input,
.partner-form-shell select,
.partner-form-shell textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(33, 54, 46, .22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 13px;
  outline: none;
}

.partner-form-shell textarea {
  min-height: 126px;
  resize: vertical;
}

.partner-form-shell input:focus,
.partner-form-shell select:focus,
.partner-form-shell textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(210, 138, 104, .22);
}

.partner-form-shell [aria-invalid="true"] {
  border-color: #b04a31;
  box-shadow: 0 0 0 3px rgba(176, 74, 49, .12);
}

.partner-form-shell .full {
  grid-column: 1 / -1;
}

.consent-row {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  font-weight: 700;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.consent-row span {
  color: rgba(33, 54, 46, .76);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.consent-row a,
.form-whatsapp {
  color: var(--terra-dark);
  font-weight: 900;
}

.form-whatsapp {
  text-decoration: none;
}

.form-status {
  min-height: 24px;
  color: rgba(33, 54, 46, .76);
  font-size: 16px;
}

.form-status.is-success {
  color: #2f6d54;
  font-weight: 900;
}

.form-status.is-error {
  color: #a6422c;
  font-weight: 900;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.faq-wrap {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--terra-dark);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 20px 20px;
  font-size: 17px;
}

.partner-final {
  padding: clamp(58px, 8vw, 96px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.partner-final .partner-wrap {
  display: grid;
  gap: 18px;
  max-width: 840px;
  text-align: center;
}

.partner-final .btn {
  justify-self: center;
}

.partner-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-fallback {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-fallback img {
  width: 108px;
}

.footer-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 15px;
  font-weight: 800;
}

.footer-fallback a {
  text-decoration: none;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: min(420px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cookie-consent.is-visible {
  display: grid;
  gap: 12px;
}

.cookie-consent p {
  font-size: 15px;
  line-height: 1.45;
}

.cookie-consent div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-consent button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-consent button:last-child {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 980px) {
  .intro-grid,
  .scope-grid,
  .form-layout,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .partner-hero {
    min-height: auto;
  }

  .partner-hero::after {
    background:
      linear-gradient(180deg, rgba(33, 54, 46, .48), rgba(33, 54, 46, .86)),
      linear-gradient(90deg, rgba(33, 54, 46, .62), rgba(33, 54, 46, .18));
  }

  .partner-hero-copy {
    padding: 96px 0 58px;
  }

  .partner-card-grid,
  .benefit-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .partner-wrap,
  .nav {
    width: calc(100% - 28px);
  }

  .partner-section {
    padding: 54px 0;
  }

  .partner-card-grid,
  .benefit-grid,
  .step-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .partner-hero-copy h1,
  .intro-grid h2,
  .section-head h2,
  .scope-card h2,
  .form-copy h2,
  .faq-wrap h2,
  .partner-final h2 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .partner-hero-copy .lead {
    font-size: 20px;
  }

  .hero-actions,
  .form-actions,
  .footer-fallback {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .partner-form-shell {
    padding: 20px;
  }
}
