/* Approved compact FAQ. One scoped rule set for PHP and Elementor. */
.tbay-faq {
  --tn-dark: #083354;
  --tn-blue: #0d4f85;
  --tn-teal: #10a6a0;
  padding: 36px 24px 30px;
  background: linear-gradient(135deg, #0d5a80, #0d7891);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: #172033;
}
.tbay-faq * {
  box-sizing: border-box;
}
.tbay-faq .tn-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}
.tbay-faq .tn-heading {
  max-width: none;
  margin: 0 auto 24px;
  text-align: center;
}
.tbay-faq .tn-heading h2 {
  margin: 0;
  font:
    700 38px/1.25 Roboto,
    Arial,
    sans-serif;
  letter-spacing: -0.6px;
  color: #fff;
}
.tbay-faq .tn-faq-description {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}
.tbay-faq .tn-questions {
  width: 100%;
  margin: 0;
}
.tbay-faq details {
  margin: 0 0 10px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(8, 51, 84, 0.08);
}
.tbay-faq details[open] {
  border-color: #8df0e7;
}
.tbay-faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--tn-dark);
  font:
    600 16px/1.5 Roboto,
    Arial,
    sans-serif;
}
.tbay-faq summary::-webkit-details-marker {
  display: none;
}
.tbay-faq summary > span:nth-child(2) {
  flex: 1;
}
.tbay-faq .tn-question-number {
  flex: 0 0 24px;
  font-size: 12px;
  font-weight: 500;
  color: #8896a4;
  letter-spacing: 0.5px;
}
.tbay-faq summary::after {
  content: "+";
  flex: 0 0 20px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--tn-blue);
}
.tbay-faq details[open] summary {
  padding-bottom: 10px;
  color: var(--tn-blue);
}
.tbay-faq details[open] summary::after {
  content: "−";
}
.tbay-faq details[open] .tn-question-number {
  color: var(--tn-teal);
}
.tbay-faq details p {
  margin: 0;
  padding: 0 58px 18px 64px;
  max-width: none;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}
.tbay-faq .tn-faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 16px 0 0;
  padding: 14px 0 18px;
  overflow: visible;
}
.tbay-faq .tn-faq-chat {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 50px;
  padding: 0 20px;
  margin: 0;
  background: #f4b942;
  color: #083354;
  border: 0;
  border-radius: 7px;
  text-decoration: none;
  font:
    800 15px/1 Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0.6px;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  animation: tbay-contact-beacon 2.2s ease-out infinite;
}
.tbay-faq .tn-faq-chat:hover {
  background: #ffd278;
  color: #083354;
}
.tbay-faq .tn-faq-chat::before,
.tbay-faq .tn-faq-chat::after {
  display: none;
}
.tbay-faq .tn-chat-label {
  position: relative;
  z-index: 2;
  display: block;
  color: #083354;
  line-height: 1;
}
.tbay-faq .tn-chat-wave {
  display: block;
  position: absolute;
  inset: -2px;
  z-index: 0;
  border: 2px solid rgba(255, 210, 120, 0.95);
  border-radius: 9px;
  pointer-events: none;
  opacity: 0;
  animation: tbay-attention-wave 2.2s ease-out infinite;
}
.tbay-faq .tn-chat-wave.wave-two {
  animation-delay: 1.1s;
}
.tbay-faq a:focus-visible,
.tbay-faq summary:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 5px;
}
#consultation-form {
  scroll-margin-top: 140px;
}
@keyframes tbay-attention-wave {
  0% {
    opacity: 0.95;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.28, 2);
  }
}
@keyframes tbay-contact-beacon {
  0% {
    box-shadow:
      0 0 0 0 rgba(244, 185, 66, 0.65),
      0 0 0 0 rgba(244, 185, 66, 0.25);
  }
  65% {
    box-shadow:
      0 0 0 12px rgba(244, 185, 66, 0.05),
      0 0 0 22px rgba(244, 185, 66, 0);
  }
  100% {
    box-shadow:
      0 0 0 17px rgba(244, 185, 66, 0),
      0 0 0 28px rgba(244, 185, 66, 0);
  }
}
@media (max-width: 760px) {
  .tbay-faq {
    padding: 30px 20px 26px;
  }
  .tbay-faq .tn-heading {
    margin-bottom: 20px;
  }
  .tbay-faq .tn-heading h2 {
    font-size: 30px;
  }
  .tbay-faq .tn-faq-description {
    font-size: 15px;
  }
  .tbay-faq summary {
    align-items: flex-start;
    gap: 10px;
    padding: 15px 16px;
    font-size: 15px;
  }
  .tbay-faq .tn-question-number {
    flex-basis: 22px;
    line-height: 1.5;
    margin-top: 2px;
  }
  .tbay-faq summary::after {
    align-self: flex-start;
    margin-top: 2px;
  }
  .tbay-faq details p {
    padding: 0 16px 16px 16px;
    font-size: 14px;
  }
  .tbay-faq .tn-faq-cta {
    margin-top: 12px;
  }
  .tbay-faq .tn-faq-chat {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tbay-faq .tn-faq-chat {
    animation: none;
    box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.3);
  }
  .tbay-faq .tn-chat-wave {
    display: none;
    animation: none;
  }
}
