/* ══════════════════════════════════
   FAQs PAGE
   ══════════════════════════════════ */

.faqs-page {
  background: #fff;
  min-height: calc(100vh - var(--header-h));
}

.faqs-hero {
  background-image: linear-gradient(92.208deg, #2638c4 0.1%, #0f1e8c 100%);
}

.faqs-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 64px;
  box-sizing: border-box;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.faqs-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faqs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.faqs-breadcrumb a { color: #f6f6fa; text-decoration: none; font-family: var(--font-family); }
.faqs-breadcrumb span { color: #94a1b2; }
.faqs-breadcrumb strong { color: #fff; font-weight: 400; font-family: var(--font-family); }

.faqs-hero-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faqs-badge {
  background: #ffcf00;
  color: #000525;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-family);
  text-transform: uppercase;
  padding: 8px;
  border-radius: 5px;
  display: inline-block;
  width: fit-content;
  letter-spacing: 0.5px;
}

.faqs-title {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  font-family: var(--font-family);
}

.faqs-subtitle {
  font-size: 16px;
  color: #eef0f5;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-family);
}

.faqs-hero-illustration {
  width: 287px;
  height: 246px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.faqs-hero-illustration img {
  width: 287px;
  height: 246px;
}

/* FAQ Section */
.faqs-section {
  padding: 40px 64px 60px;
  background: #fff;
}

.faqs-list {
  max-width: 1312px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(148,161,178,0.4);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #000525;
  line-height: 1.5;
  font-family: var(--font-family);
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

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

.faq-item summary::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid rgba(148,161,178,0.6);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cline x1='5' y1='1' x2='5' y2='9' stroke='%232638c4' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='1' y1='5' x2='9' y2='5' stroke='%232638c4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center center;
  transition: background 0.2s;
}

.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2' viewBox='0 0 10 2'%3E%3Cline x1='1' y1='1' x2='9' y2='1' stroke='%232638c4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-answer {
  padding: 0 40px 16px 0;
}

.faq-answer p {
  font-size: 14px;
  color: #5c6e85;
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-family);
}

.faqs-bottom {
  background-color: #0f1e8c;
  background-image: linear-gradient(135deg, #080c2e 0%, #0f1e8c 100%);
  padding: 80px 0;
}

.faqs-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.faqs-why-register {
  flex: 1;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.faqs-why-register h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
  font-family: var(--font-family);
}

.faqs-reasons {
  display: flex;
  flex-direction: column;
  gap: 52px;
  margin-bottom: 32px;
}

.faqs-reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.faqs-reason-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #486cd8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faqs-reason h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  font-family: var(--font-family);
}

.faqs-reason p {
  font-size: 15px;
  color: rgba(246, 246, 250, 0.65);
  margin: 0;
  line-height: 1.5;
  font-family: var(--font-family);
}

.faqs-not-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.faqs-not-member p {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-family);
}

/* Contact card */
.faqs-contact-card {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 24px;
}

.faqs-contact-card h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 21px;
  font-family: var(--font-family);
}

.faqs-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faqs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faqs-field label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-blue);
  font-family: var(--font-family);
}

/* Required-field indicator — mirrors .contact-label .req on the contact page. */
.faqs-field label .req {
  color: var(--red-alert);
}

.faqs-input {
  border: 1px solid rgba(148,161,178,0.4);
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-family);
  color: #000525;
  background-color: #eef0f5;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.faqs-input:focus { border: 2px solid #5680ff; padding: 9px 11px; }
.faqs-input.rymodal-input-error { border-color: var(--red-alert); }
.faqs-input.rymodal-input-error:focus { border: 2px solid var(--red-alert); padding: 9px 11px; }
.faqs-input::placeholder { color: #94a1b2; }

.faqs-textarea {
  resize: vertical;
  min-height: 100px;
}

.faqs-textarea-wrap {
  position: relative;
}

/* Match submit button size exactly to the Register pill button */
#faqs-contact-form button[type="submit"] {
  padding: 10px 24px;
  height: 36px;
  min-height: 36px;
  border-radius: 28.6px;
  box-sizing: border-box;
  align-self: flex-start;
}

.faqs-success-message {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-family);
  margin: 12px 0 0;
}

.faqs-char-counter {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 12px;
  color: #94a1b2;
  font-family: var(--font-family);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
  .faqs-hero-inner { padding: 48px 24px; flex-direction: column; }
  .faqs-hero-illustration { display: none; }
  .faqs-section { padding: 48px 24px; }
  .faqs-bottom { padding: 48px 0; }
  .faqs-bottom-inner {
    padding: 0 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .faqs-why-register { border-right: none; }
  .faqs-title { font-size: 40px; }
}
