/* ============================================================ */
/* BUILD NEW ROOMS — SPEAKING PAGE STYLES                         */
/* Layered on top of style.css; references the same CSS variables */
/* ============================================================ */


/* ============================================================ */
/* PAGE-LEVEL                                                     */
/* ============================================================ */
body {
  background-color: var(--navy);
}


/* ============================================================ */
/* HEADER / BACK LINK                                             */
/* ============================================================ */
.speaking-header {
  background-color: var(--navy);
  padding: 24px 0;
  border-bottom: 1px solid rgba(212, 162, 76, 0.15);
}

.back-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.back-link:hover, .back-link:focus {
  color: var(--gold-bright);
}


/* ============================================================ */
/* HERO                                                           */
/* ============================================================ */
.speaking-hero {
  background-color: var(--navy);
  color: var(--cream);
  padding: 80px 0 60px;
  text-align: center;
}

.speaking-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--cream);
  margin-bottom: 32px;
  line-height: 1.1;
}

.speaking-intro {
  font-size: 18px;
  color: var(--cream);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.speaking-intro-highlight {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.speaking-intro-highlight strong {
  color: var(--gold);
  font-weight: 700;
}


/* ============================================================ */
/* TOPICS GRID                                                    */
/* ============================================================ */
.speaking-topics {
  background-color: var(--navy);
  color: var(--cream);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(212, 162, 76, 0.15);
}

.speaking-topics .section-heading-centered {
  color: var(--cream);
  margin-bottom: 48px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.topic-card {
  background-color: var(--navy-light);
  border: 1px solid var(--gold);
  padding: 32px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
}

.topic-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.2;
}

.topic-card p {
  color: var(--cream);
  line-height: 1.6;
  font-size: 15px;
}


/* ============================================================ */
/* PAST ENGAGEMENTS                                               */
/* ============================================================ */
.speaking-past {
  background-color: var(--navy);
  color: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(212, 162, 76, 0.15);
}

.speaking-past .section-heading-centered {
  color: var(--cream);
  margin-bottom: 48px;
}

.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.org-name {
  background-color: var(--navy-light);
  border: 1px solid rgba(212, 162, 76, 0.3);
  color: var(--gold);
  padding: 18px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
}


/* ============================================================ */
/* FORM SECTION                                                   */
/* ============================================================ */
.speaking-form-section {
  background-color: var(--cream-warm);
  color: var(--black);
  padding: 80px 0;
  border-top: 1px solid rgba(212, 162, 76, 0.15);
}

.speaking-form-section .section-heading-centered {
  color: var(--navy);
  margin-bottom: 16px;
}

.form-intro {
  text-align: center;
  font-size: 17px;
  color: var(--black);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.speaking-form fieldset {
  border: 1px solid rgba(10, 26, 58, 0.15);
  border-radius: 6px;
  padding: 24px 28px 28px;
  margin-bottom: 28px;
  background-color: white;
}

.speaking-form legend {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  padding: 0 12px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

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

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

.speaking-form label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.required {
  color: var(--gold);
  font-weight: 700;
}

.hint {
  font-weight: 400;
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  margin-left: 4px;
}

.speaking-form input[type="text"],
.speaking-form input[type="email"],
.speaking-form input[type="tel"],
.speaking-form select,
.speaking-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid rgba(10, 26, 58, 0.25);
  border-radius: 4px;
  background-color: white;
  color: var(--black);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.speaking-form input:focus,
.speaking-form select:focus,
.speaking-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
}

.speaking-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Inter', sans-serif;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--black) !important;
  cursor: pointer;
  padding: 6px 0;
  margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.budget-note {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  font-style: italic;
}

.budget-note strong {
  color: var(--navy);
  font-weight: 600;
  font-style: normal;
}

.form-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 16px auto 0;
  padding: 18px 32px;
  font-size: 16px;
}


/* ============================================================ */
/* THANK YOU CARD                                                 */
/* ============================================================ */
.thank-you-card {
  text-align: center;
  padding: 48px 32px;
  background-color: var(--navy);
  color: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 6px;
}

.thank-you-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}

.thank-you-card p {
  color: var(--cream);
  margin-bottom: 24px;
  font-size: 17px;
}

.thank-you-link {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
  border: 1px solid var(--gold);
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.thank-you-link:hover, .thank-you-link:focus {
  background-color: var(--gold);
  color: var(--navy);
}


/* ============================================================ */
/* RESPONSIVE                                                     */
/* ============================================================ */
@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .speaking-form fieldset {
    padding: 20px 18px;
  }

  .speaking-hero,
  .speaking-topics,
  .speaking-past,
  .speaking-form-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .speaking-form fieldset {
    padding: 18px 14px;
  }

  .thank-you-card {
    padding: 32px 20px;
  }
}
