/* Blackmon Tutoring — Contact Us page */

.contact-page {
  --navy: #0b1f3f;
  --navy-2: #0d2243;
  --navy-3: #12294e;
  --blue: #5babe0;
  --blue-2: #3e8dc4;
  --ink: #222222;
  --muted: #5d7089;
  --muted-2: #54647e;
  --border: #dfe7f0;
  --bg-light: #f4f8fc;
  --bg-input: #fbfcfe;
  --font-heading: var(--font-merriweather), Georgia, serif;
  --font-body: var(--font-inter), Arial, sans-serif;
  color: var(--ink);
  font-family: var(--font-body);
}

.contact-page * {
  box-sizing: border-box;
}

.contact-page .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.contact-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 0.2px solid var(--blue-2);
  background: rgba(62, 141, 196, 0.04);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 24px;
}

.contact-page .eyebrow--on-dark {
  background: rgba(62, 141, 196, 0.1);
  color: var(--blue);
  border-color: var(--blue);
}

.contact-page .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  flex-shrink: 0;
}

.contact-page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.36px;
  margin: 0 0 12px;
  text-align: center;
}

.contact-page .section-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- HERO ---------- */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(175deg, #071229 0%, #0b1f3f 55%, #122a54 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/results/assets/hero-bg.jpg");
  background-size: 1739px 652px;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.85) 0%, rgba(11, 31, 63, 0.85) 55%, rgba(18, 42, 84, 0.85) 100%);
  z-index: 0;
}

.contact-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) 538px;
  gap: 40px;
  align-items: center;
}

.contact-hero .hero-grid > * {
  min-width: 0;
}

.contact-hero .breadcrumb {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1.04px;
  color: #fff;
  margin: 24px 0 32px;
}

.contact-hero h1 .accent {
  color: var(--blue);
}

.hero-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.hero-checklist li:first-child {
  border-top: none;
}

.hero-checklist .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.hero-checklist strong {
  color: #fff;
}

.hero-checklist span {
  color: #cbddf0;
}

/* Consultation quiz card (reused pattern) */

.quiz-card {
  background: var(--bg-light);
  border: 1px solid #fff;
  border-radius: 25px;
  overflow: hidden;
}

.quiz-card .quiz-header {
  background: var(--navy);
  padding: 20px 24px 18px;
  text-align: center;
}

.quiz-card .quiz-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 0 14px;
}

.quiz-progress-track {
  height: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 15%;
  border-radius: 12px;
  background: linear-gradient(90deg, #071229 0%, #0b1f3f 20%, #122a54 45%, #5cabe0 67%, #85ceff 100%);
}

.quiz-card .quiz-body {
  padding: 22px 28px 28px;
  position: relative;
}

.quiz-card .quiz-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 4px;
}

.quiz-card .quiz-sub {
  font-size: 14px;
  color: var(--muted-2);
  margin: 0 0 20px;
  max-width: 80%;
}

.quiz-card .quiz-timer {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 15px;
  color: var(--navy);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-options > * {
  min-width: 0;
}

.quiz-option {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e0e6ee;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
}

.quiz-option.is-selected {
  background: #5cabe0;
  border-color: #5cabe0;
  color: #fff;
}

.quiz-continue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  float: right;
}

.quiz-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-step {
  display: flow-root;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.quiz-back:hover {
  color: var(--navy);
}

.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-fields input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e0e6ee;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  padding: 0 16px;
  font-family: var(--font-body);
}

.quiz-success {
  text-align: center;
  padding: 8px 0 4px;
}

.quiz-success .quiz-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f6ef;
  color: #2e9e6b;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.quiz-success h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 6px;
}

.quiz-success p {
  font-size: 14px;
  color: var(--muted-2);
  margin: 0;
}

/* ---------- REACH US DIRECTLY ---------- */

.contact-reach {
  background: #fff;
  padding: 100px 0;
}

.contact-reach .section-head {
  max-width: 700px;
  margin: 0 auto 48px;
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.reach-grid > * {
  min-width: 0;
}

.reach-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.reach-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 8px;
}

.reach-card > p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
}

.area-featured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.area-featured .area-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.area-featured .area-info > span:last-child {
  min-width: 0;
}

.area-featured .area-name {
  overflow-wrap: break-word;
}

.area-featured .pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(62, 141, 196, 0.1);
  color: var(--blue-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.area-featured .area-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  display: block;
}

.area-featured .area-sub {
  font-size: 13px;
  color: var(--muted);
}

.area-featured .view-area {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: none;
  white-space: nowrap;
}

.area-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.area-chip-grid > * {
  min-width: 0;
}

.area-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.area-chip .chip-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.reach-card .footnote {
  font-size: 13.5px;
  color: var(--ink);
  margin: 0;
}

.reach-card .footnote a {
  color: var(--blue-2);
  font-weight: 600;
  text-decoration: none;
}

/* Contact info rows */

.info-rows {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.info-row:first-child {
  border-top: none;
  padding-top: 0;
}

.info-row .info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-2);
}

.info-row .info-icon svg {
  width: 20px;
  height: 20px;
}

.info-row .info-main {
  flex: 1;
  min-width: 0;
}

.info-row .info-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.info-row .info-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.info-row .status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(220, 53, 69, 0.08);
  color: #c0392b;
}

.info-row .info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: break-word;
}

.info-row .info-value.is-link {
  color: var(--blue-2);
}

.info-row .info-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

.info-row .info-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.info-row .info-actions button {
  height: 34px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.info-actions .btn-dark {
  background: var(--navy);
  color: #fff;
  border: none;
  transition: background-color 0.2s ease;
}

.info-actions .btn-dark:hover {
  background: var(--blue-2);
}

.info-actions .btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.info-actions .btn-outline:hover {
  background: var(--bg-light);
  border-color: var(--blue-2);
}

/* ---------- FAQ + CONTACT (shared pattern) ---------- */

.contact-faq {
  background: linear-gradient(90deg, rgba(232, 241, 248, 0.45), rgba(232, 241, 248, 0.45)), #fff;
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.faq-grid > * {
  min-width: 0;
}

.faq-grid .section-head {
  text-align: left;
}

.faq-grid h2,
.faq-grid .section-lede {
  text-align: left;
  margin-left: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-item .faq-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #3e8dc4;
  transform: translate(-50%, -50%);
}

.faq-item .faq-toggle::before {
  width: 16px;
  height: 2px;
}

.faq-item .faq-toggle::after {
  width: 2px;
  height: 16px;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  font-size: 16px;
  line-height: 1.4;
  color: #222;
  margin-top: 12px;
  max-width: 90%;
}

.faq-item:not(.is-open) .faq-answer {
  display: none;
}

.faq-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(20, 40, 80, 0.25);
  padding: 40px;
}

.faq-card .eyebrow-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-2);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.faq-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.26px;
  margin: 0 0 8px;
}

.faq-card .form-sub {
  font-size: 16px;
  color: #222;
  margin: 0 0 24px;
}

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

.form-row > * {
  min-width: 0;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--navy);
  font-family: var(--font-body);
}

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

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

.faq-card .btn-submit {
  width: 100%;
  margin: 24px 0 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(91, 171, 224, 0.7);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-card .btn-submit:hover {
  background: var(--blue-2);
}

.faq-card .form-note {
  font-size: 13px;
  color: #5b6472;
  text-align: center;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .contact-hero .hero-grid,
  .reach-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .area-chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page .inner {
    padding: 0 24px;
  }
}
