/* ==========================================================================
   FAQ + Quote — isolated Atlantic Trade panel
   (does not use theme .accordion classes)
   ========================================================================== */

.at-faq-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(11, 31, 58, 0.05), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(232, 176, 8, 0.04), transparent 50%),
    #eef2f6 !important;
  overflow: hidden;
}

.at-faq-panel {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 20px;
  padding: 40px 40px 36px;
  box-shadow: 0 24px 56px rgba(11, 31, 58, 0.07);
  height: 100%;
}

.at-faq-heading {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8edf3;
}

.at-faq-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #E8B008 !important;
  margin-bottom: 14px;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

.at-faq-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #E8B008;
  flex-shrink: 0;
}

.at-faq-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(28px, 3.2vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  color: #0B1F3A !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.025em !important;
  max-width: 22ch;
}

.at-faq-lead {
  margin: 0 !important;
  color: #5B6B7C !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  max-width: 38rem;
}

/* ---- Accordion ---- */
.at-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.at-faq-item {
  border-bottom: 1px solid #e8edf3;
  padding: 4px 0;
}

.at-faq-item:last-child {
  border-bottom: 0;
}

.at-faq-trigger {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 20px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.25s ease;
  border-radius: 12px;
}

.at-faq-trigger:hover {
  background: rgba(11, 31, 58, 0.025);
}

.at-faq-item.is-open .at-faq-trigger {
  background: transparent;
  padding-bottom: 12px;
}

.at-faq-index {
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  color: #94a3b8 !important;
  transition: color 0.25s ease;
}

.at-faq-item.is-open .at-faq-index {
  color: #E8B008 !important;
}

.at-faq-q {
  font-family: "DM Sans", sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0B1F3A !important;
  letter-spacing: -0.01em;
}

.at-faq-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.at-faq-toggle::before,
.at-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #0B1F3A;
  border-radius: 1px;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}

.at-faq-toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.at-faq-toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.at-faq-item.is-open .at-faq-toggle {
  background: #0B1F3A;
}

.at-faq-item.is-open .at-faq-toggle::before,
.at-faq-item.is-open .at-faq-toggle::after {
  background: #ffffff;
}

.at-faq-item.is-open .at-faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.at-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.at-faq-item.is-open .at-faq-answer {
  grid-template-rows: 1fr;
}

.at-faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.at-faq-answer-inner > p {
  margin: 0;
  padding: 0 8px 22px 62px;
  color: #5B6B7C !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  max-width: 42rem;
}

/* ---- Quote card ---- */
.at-quote-card {
  position: relative;
  background:
    linear-gradient(160deg, #0B1F3A 0%, #122a4a 55%, #0B1F3A 100%) !important;
  border-radius: 20px !important;
  padding: 40px 36px !important;
  border: none !important;
  box-shadow: 0 28px 60px rgba(7, 20, 38, 0.28) !important;
  height: 100%;
  overflow: hidden;
}

.at-quote-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 8, 0.22), transparent 68%);
  pointer-events: none;
}

.at-quote-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.at-quote-card__head,
.at-quote-card form,
.at-quote-message {
  position: relative;
  z-index: 1;
}

.at-quote-eyebrow {
  display: inline-block;
  font-family: "DM Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 12px;
}

.at-quote-title,
.at-quote-card .at-quote-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
}

.at-quote-card__head p {
  color: rgba(217, 222, 229, 0.8) !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 14.5px !important;
  margin: 0 0 28px !important;
  line-height: 1.55;
}

.at-quote-field {
  margin: 0 0 14px;
}

.at-quote-field input,
.at-quote-field select {
  width: 100% !important;
  height: 52px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  padding: 0 16px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.at-quote-field input:focus,
.at-quote-field select:focus {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.at-quote-field input::placeholder {
  color: rgba(217, 222, 229, 0.5) !important;
}

.at-quote-field select option {
  color: #0B1F3A;
  background: #fff;
}

.at-quote-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 54px !important;
  margin-top: 6px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #E8B008 !important;
  color: #0B1F3A !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.at-quote-submit:hover {
  background: #ffffff !important;
  color: #0B1F3A !important;
}

.at-quote-message {
  margin: 14px 0 0 !important;
  font-size: 14px;
  font-family: "DM Sans", sans-serif !important;
  min-height: 1.2em;
}

@media (max-width: 991px) {
  .at-faq-panel,
  .at-quote-card {
    padding: 28px 22px !important;
  }

  .at-faq-title {
    max-width: none;
  }

  .at-faq-trigger {
    grid-template-columns: 32px 1fr 36px;
    gap: 10px;
    padding: 18px 4px;
  }

  .at-faq-answer-inner > p {
    padding: 0 4px 18px 46px;
  }

  .at-faq-q {
    font-size: 15.5px !important;
  }
}
