/* Regional Franchise – full-page bold layout, desktop & mobile */
.partner-brochure {
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Full-width content wrapper – content uses most of the page */
.brochure-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  box-sizing: border-box;
}

/* ========== 1. HERO – full viewport, bold ========== */
.brochure-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #042c6c 0%, #0a3d8a 50%, #062a5c 100%);
  color: #fff;
  padding: 120px 24px 80px;
  box-sizing: border-box;
}

.brochure-hero .brochure-container {
  max-width: 900px;
}

.brochure-brand {
  font-family: 'archivo_b', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 16px 0;
}

.brochure-title {
  font-family: 'archivo_b', sans-serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.brochure-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* ========== SECTIONS – full width, generous padding ========== */
.brochure-section {
  padding: clamp(48px, 8vw, 80px) 0;
  width: 100%;
  box-sizing: border-box;
}

.brochure-alt {
  background: #f5f6f8;
}

.brochure-h2 {
  font-family: 'archivo_b', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #1a1a1a;
  margin: 0 0 28px 0;
  line-height: 1.2;
}

.brochure-text,
.brochure-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.brochure-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* 2. Intro – centered, full width feel */
.brochure-intro {
  text-align: center;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

/* 3. What is this – two-column on large screens */
.brochure-section .brochure-text {
  max-width: 720px;
}

/* 4. Why partner – card grid, full width */
.brochure-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.brochure-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid #e0e2e5;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.5;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brochure-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.brochure-alt .brochure-card {
  background: #fff;
}

.brochure-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #042c6c;
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
}

/* 5. What you will do – card grid */
.brochure-do-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.brochure-do-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e0e2e5;
  border-left: 4px solid #042c6c;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  font-size: clamp(1.05rem, 1.2vw, 1.1rem);
  line-height: 1.4;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.brochure-do-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 44, 108, 0.1);
  border-left-color: #0a3d8a;
}

.brochure-do-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 44, 108, 0.1);
  color: #042c6c;
  border-radius: 10px;
  font-size: 1rem;
}

/* 6. What you need – card grid */
.brochure-need-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.brochure-need-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  font-size: clamp(1.05rem, 1.2vw, 1.1rem);
  line-height: 1.4;
  color: #334155;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brochure-need-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #fff;
}

.brochure-need-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #042c6c;
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Legacy bullets (if used elsewhere) */
.brochure-bullets {
  margin: 0;
  padding-left: 28px;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.9;
  color: #444;
  max-width: 720px;
}

.brochure-bullets li {
  margin-bottom: 10px;
}

/* 7. How it works – bold steps, full width */
.brochure-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.brochure-steps li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: #333;
  font-weight: 500;
  counter-increment: step;
}

.brochure-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #042c6c;
  color: #fff;
  border-radius: 50%;
  font-family: 'archivo_b', sans-serif;
  font-size: 1.25rem;
}

/* Ready to Get Started – bold heading + wide button */
.brochure-ready-section {
  padding: clamp(56px, 10vw, 80px) 0;
  text-align: center;
  background: #f5f6f8;
}

.brochure-ready-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.brochure-ready-heading {
  font-family: 'archivo_b', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.brochure-ready-section .brochure-btn-open-form {
  min-width: 320px;
  max-width: 100%;
  padding: 18px 48px;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
}

/* 9. CTA – full width, bold buttons */
.brochure-cta {
  text-align: center;
  padding: clamp(56px, 10vw, 96px) 0;
}

.brochure-cta .brochure-h2 {
  margin-bottom: 32px;
}

.brochure-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.brochure-btn {
  display: inline-block;
  padding: 18px 36px;
  font-family: 'archivo_b', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.brochure-btn-primary {
  background: #042c6c;
  color: #fff;
  border-color: #042c6c;
}

.brochure-btn-primary:hover {
  background: #031a42;
  border-color: #031a42;
  color: #fff;
  transform: translateY(-2px);
}

.brochure-btn-secondary {
  background: #fff;
  color: #042c6c;
  border-color: #042c6c;
}

.brochure-btn-secondary:hover {
  background: #f0f4fa;
  color: #031a42;
  border-color: #031a42;
  transform: translateY(-2px);
}

.brochure-btn-submit {
  min-width: 160px;
  padding: 16px 40px;
}


/* Form modal (popup) */
.partner-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

.partner-form-overlay-open {
  opacity: 1;
  visibility: visible;
}

.partner-form-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  margin: auto;
}

.partner-form-modal-legal {
  max-width: 620px;
  border: 1px solid #c8cacc;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.partner-form-modal-inner {
  padding: 32px 32px 40px;
  position: relative;
}

.partner-form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: #f0f0f0;
  color: #333;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-form-close:hover {
  background: #e0e0e0;
  color: #000;
}

/* Legal document form header */
.partner-form-doc-header {
  border-bottom: 2px solid #042c6c;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.partner-form-doc-title {
  font-family: 'archivo_b', sans-serif;
  font-size: 1.35rem;
  color: #1a1a1a;
  margin: 0 40px 0 0;
}

.partner-form-doc-subtitle {
  font-size: 0.9rem;
  color: #555;
  margin: 6px 0 0 0;
}

.partner-form-doc-ref {
  font-size: 0.8rem;
  color: #666;
  margin: 8px 0 0 0;
}

/* Legal form – blocks and fields */
.partner-form-legal {
  font-size: 0.95rem;
}

.partner-form-block {
  border: 1px solid #d0d2d5;
  padding: 16px 20px 20px;
  margin-bottom: 20px;
  background: #fcfcfc;
}

.partner-form-block-heading {
  font-family: 'archivo_b', sans-serif;
  font-size: 0.9rem;
  color: #042c6c;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e2e5;
}

.partner-form-field-row {
  margin-bottom: 14px;
}

.partner-form-field-row:last-child {
  margin-bottom: 0;
}

.partner-form-legal-label {
  display: block;
  font-family: 'archivo_sb', sans-serif;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 6px;
}

.partner-form-legal-label .req {
  color: #a00;
}

.partner-form-legal-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #bbb;
  border-radius: 2px;
  box-sizing: border-box;
  background: #fff;
}

.partner-form-legal-input:focus {
  outline: none;
  border-color: #042c6c;
  box-shadow: 0 0 0 2px rgba(4, 44, 108, 0.15);
}

.partner-form-legal-textarea {
  min-height: 100px;
  resize: vertical;
}

.partner-form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .partner-form-row-two {
    grid-template-columns: 1fr;
  }
}

.partner-form-submit-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #042c6c;
}

.partner-form-legal-submit {
  width: 100%;
  padding: 14px 24px;
  font-family: 'archivo_b', sans-serif;
  font-size: 1rem;
  background: #042c6c;
  color: #fff;
  border: 2px solid #042c6c;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.partner-form-legal-submit:hover {
  background: #031a42;
  border-color: #031a42;
}

.partner-form-msg {
  margin-top: 16px;
}

/* Form inside modal reuses brochure-form styles */
.brochure-form-section {
  padding: clamp(56px, 10vw, 96px) 0;
  background: #f5f6f8;
  border-top: none;
}

.brochure-form-section .brochure-container {
  max-width: 720px;
}

.brochure-form-intro {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #555;
  margin: 0 0 32px 0;
}

.brochure-form {
  width: 100%;
  max-width: 640px;
}

.brochure-field {
  margin-bottom: 24px;
}

.brochure-field label {
  display: block;
  font-family: 'archivo_sb', sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.brochure-field .req {
  color: #b33;
}

.brochure-field input,
.brochure-field select,
.brochure-field textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #d0d2d5;
  border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brochure-field input:focus,
.brochure-field select:focus,
.brochure-field textarea:focus {
  outline: none;
  border-color: #042c6c;
  box-shadow: 0 0 0 4px rgba(4, 44, 108, 0.12);
}

.brochure-field textarea {
  min-height: 120px;
  resize: vertical;
}

.brochure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.brochure-submit-wrap {
  margin-top: 32px;
}

.brochure-msg {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1rem;
}

.brochure-msg.success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.brochure-msg.error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
}

/* ========== MOBILE – full page, bold, touch-friendly ========== */
@media (max-width: 768px) {
  .partner-brochure {
    padding-top: 0;
  }

  .brochure-hero {
    min-height: 85vh;
    padding: 100px 20px 60px;
  }

  .brochure-container {
    padding: 0 20px;
  }

  .brochure-section {
    padding: 40px 0;
  }

  .brochure-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brochure-card {
    padding: 20px 20px;
  }

  .brochure-do-cards,
  .brochure-need-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brochure-do-card,
  .brochure-need-card {
    padding: 18px 20px;
  }

  .brochure-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .brochure-steps li {
    padding: 16px 0;
    border-bottom: 1px solid #e0e2e5;
  }

  .brochure-steps li:last-child {
    border-bottom: none;
  }

  .brochure-cta-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .brochure-cta-buttons .brochure-btn {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
  }

  .brochure-row {
    grid-template-columns: 1fr;
  }

  .brochure-submit-wrap .brochure-btn {
    width: 100%;
  }

  .brochure-notice {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .brochure-hero {
    min-height: 80vh;
    padding: 90px 16px 48px;
  }

  .brochure-container {
    padding: 0 16px;
  }

  .brochure-section {
    padding: 36px 0;
  }
}
