/* ===============================
   Partner Page – Goalstox
   FINAL RESPONSIVE CSS
   =============================== */

:root {
  --primary: #304aa6;
  --primary-dark: #243a85;
  --bg-light: #f8f9fc;
  --text-dark: #111;
  --text-muted: #666;
  --border: #e3e6ef;
  --white: #fff;
  --radius: 14px;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Base
   =============================== */

body {
  /* background: var(--bg-light); */
  background: unset;
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

h1, h2, h3 {
  letter-spacing: -0.5px;
}

/* ===============================
   Hero Section
   =============================== */

.partner-hero {
  /* background: linear-gradient(135deg, #f2f5ff, #ffffff); */
  background: unset;
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  /* align-items: center; */
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero-text .highlight {
  color: var(--primary);
}

.hero-text .lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.keypoints {
  list-style: none;
  padding: 0;
  margin: 0;
}

.keypoints li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 15px;
}

.keypoints li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===============================
   Form Card
   =============================== */

.hero-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-form h3 {
  margin-bottom: 6px;
}

.hero-form .muted {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(48, 74, 166, 0.12);
}

/* ===============================
   Checkbox – CORRECT STRUCTURE
   =============================== */

.field.checkbox {
  margin-bottom: 16px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-row label {
  cursor: pointer;
}

.checkbox-row a {
  color: var(--primary);
  text-decoration: underline;
}

/* ===============================
   Errors
   =============================== */

.error {
  margin-top: 6px;
  font-size: 12px;
  color: #d63636;
}

/* ===============================
   Buttons
   =============================== */

.actions {
  margin-top: 22px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn--primary {
  /* background: var(--primary); */
  background: var(--logo-dark-yellow);
  color: #fff;
}

.btn--primary:hover {
  /* background: var(--primary-dark); */
  background: var(--logo-light-yellow);
}

.btn--ghost-white {
  border: 1px solid #fff;
  color: #fff;
  transition: all 0.2s ease;
}

.btn--ghost-white:hover {
    background: #ffffff;
    color: var(--logo-dark-yellow);
}

/* ===============================
   Why Partner
   =============================== */

.why-partner h2 {
  text-align: center;
  margin-bottom: 50px;
}

.why-partner .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 15px;
}

/* ===============================
   CTA
   =============================== */

.cta-band {
  background: linear-gradient(135deg, var(--logo-dark-yellow), var(--logo-light-yellow));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cta-band h3 {
  font-size: 26px;
  margin-bottom: 22px;
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .partner-hero {
    /* padding: 60px 0; */
    padding: 40px 0;
  }

  .hero-form {
    padding: 24px 22px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text .lead {
    font-size: 16px;
  }

  .checkbox-row {
    font-size: 13px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    /* padding: 60px 0; */
    padding: 40px 0;
  }

  .why-partner h2 {
    margin-bottom: 20px;
  }

  .why-partner .card {
    padding: 12px 8px;
    font-size: 14px;
  }
}
