/* ================================================================
   Dreambit Redesign — FAQ · Founder CTA · Footer
   IBM Plex Mono loaded via Google Fonts (see functions.php).
   ================================================================ */

/* ---------- tokens ---------- */
:root {
  --db-ink:        #0A1322;
  --db-ink2:       #1B2436;
  --db-muted:      #6B7280;
  --db-line:       #E8EAEF;
  --db-cream:      #F4F5F0;
  --db-blue:       #385098;
  --db-blue-ink:   #2A3F7C;
  --db-blue-hover: #445FAE;
  --db-mono:       'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- inner wrap ---------- */
.db-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- eyebrow ---------- */
.db-eyebrow {
  font-family: var(--db-mono);
  font-size: 13px;
  color: var(--db-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: lowercase;
  letter-spacing: .02em;
}
.db-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--db-ink);
  display: inline-block;
}
.db-eyebrow--light {
  color: rgba(255,255,255,.55);
}
.db-eyebrow--light::before {
  background: #fff;
}

/* ============================================================
   FAQ
   ============================================================ */
.db-faq {
  padding: 80px 0;
}
.db-faq--no-padding {
  padding: 0;
}
.db-faq__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.db-faq__head-right {
  justify-self: end;
  max-width: 440px;
  color: var(--db-muted);
  font-size: 17px;
  line-height: 1.55;
}
.db-faq__head-right a {
  color: var(--db-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.db-faq__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 18px 0 0;
}
.db-faq__title em {
  font-style: normal;
  color: var(--db-muted);
  font-weight: 400;
}
.db-faq__list {
  border-top: 1px solid var(--db-line);
}
.db-faq__item {
  border-bottom: 1px solid var(--db-line);
}
.db-faq__row {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--db-ink);
  cursor: pointer;
  border: 0;
  background: none;
  font-family: inherit;
}
.db-faq__qwrap {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.db-faq__num {
  font-family: var(--db-mono);
  font-size: 13px;
  color: var(--db-muted);
  letter-spacing: .04em;
  flex-shrink: 0;
  width: 36px;
}
.db-faq__q {
  flex: 1;
}
.db-faq__ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--db-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--db-ink);
  transition: transform .25s ease, background .2s, color .2s;
}
.db-faq__item.is-open .db-faq__ic {
  transform: rotate(45deg);
  background: var(--db-ink);
  color: #fff;
}
.db-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}
.db-faq__answer-pad {
  padding: 0 60px 32px 54px;
  font-size: 17px;
  color: var(--db-muted);
  max-width: 880px;
  line-height: 1.6;
}
.db-faq__item.is-open .db-faq__answer {
  max-height: 600px;
}

/* ============================================================
   Founder CTA (pre-footer)
   ============================================================ */
.db-prefoot {
  padding: 0 0 80px;
}
.db-cta {
  background: var(--db-ink);
  color: #fff;
  border-radius: 24px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.db-cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(126,151,217,.18), transparent 60%);
  pointer-events: none;
}
.db-cta > * {
  position: relative;
}
.db-cta__heading {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 520px;
  margin: 18px 0 0;
}
.db-cta__heading em {
  font-style: normal;
  color: #7E97D9;
  font-weight: 700;
}
.db-cta__founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.db-cta__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, var(--db-blue-hover), var(--db-blue));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.15);
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
}
.db-cta__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.db-cta__founder-info strong {
  display: block;
  font-size: 16px;
  color: #fff;
}
.db-cta__founder-info span {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-family: var(--db-mono);
}

/* form inside dark CTA */
.db-cta__form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-cta__form-wrap .form-group {
  margin-bottom: 0;
}
.db-cta__form-wrap input[type="text"],
.db-cta__form-wrap input[type="email"],
.db-cta__form-wrap textarea {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 4px !important;
  outline: none;
  width: 100%;
}
.db-cta__form-wrap input::placeholder,
.db-cta__form-wrap textarea::placeholder {
  color: rgba(255,255,255,.4) !important;
}
.db-cta__form-wrap input:focus,
.db-cta__form-wrap textarea:focus {
  border-bottom-color: var(--db-blue) !important;
}
.db-cta__form-wrap textarea {
  resize: none;
  min-height: 72px;
}
.db-cta__form-wrap .check-agrees {
  margin-top: 4px;
}
.db-cta__form-wrap .custom-checkbox__title {
  color: rgba(255,255,255,.5) !important;
  font-size: 12px;
}
.db-cta__form-wrap .custom-checkbox__title a {
  color: rgba(255,255,255,.7) !important;
}
.db-cta__form-wrap .custom-checkbox__input:before {
  border-color: rgba(255,255,255,.35) !important;
}
.db-cta__form-wrap .contact-form__btn {
  margin-top: 8px;
}
.db-cta__form-wrap .btn-primary--arrow {
  background: var(--db-blue) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: background .15s ease;
}
.db-cta__form-wrap .btn-primary--arrow:hover {
  background: var(--db-blue-hover) !important;
}
.db-cta__form-wrap .btn-primary--arrow .spinner {
  display: none;
}
.db-cta__form-wrap .btn-primary--arrow svg {
  width: 14px;
  height: 14px;
}
.db-cta__form-wrap .inp-error {
  color: #f87171;
  font-size: 12px;
  margin: 2px 0 0;
}
.db-cta__form-wrap .section-newform__thanks {
  display: none;
}
.db-cta__form-wrap .section-newform__thanks-title {
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 24px 0;
}

/* ============================================================
   Footer
   ============================================================ */
.db-footer {
  background: var(--db-cream);
  color: var(--db-ink);
  border-top: 1px solid var(--db-line);
}

/* brand band */
.db-ft-top {
  border-bottom: 1px solid var(--db-line);
}
.db-ft-top .db-wrap {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.db-ft-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 24px;
  color: var(--db-ink);
  text-decoration: none;
}
.db-ft-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.db-ft-mono {
  font-family: var(--db-mono);
  font-size: 12.5px;
  color: var(--db-muted);
  letter-spacing: .02em;
}
.db-ft-mono b {
  color: var(--db-ink);
  font-weight: 500;
}
.db-ft-pipe {
  width: 1px;
  height: 18px;
  background: var(--db-line);
  display: inline-block;
}
.db-ft-top-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--db-ink);
  color: var(--db-ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.db-ft-top-cta:hover {
  background: var(--db-ink);
  color: #fff;
}
.db-ft-top-cta svg {
  width: 14px;
  height: 14px;
}

/* body */
.db-ft-body {
  padding: 64px 0 56px;
}
.db-ft-body .db-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: flex-start;
}
.db-ft-h {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}
.db-ft-h em {
  font-style: normal;
  color: var(--db-blue);
}
.db-ft-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--db-ink2);
  margin: 24px 0 28px;
  max-width: 460px;
}
.db-ft-cities {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--db-mono);
  font-size: 12px;
  color: var(--db-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 8px 0 0;
}
.db-ft-cities .city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid var(--db-line);
}
.db-ft-cities .city:first-child {
  padding-left: 0;
}
.db-ft-cities .city:last-child {
  border-right: 0;
}
.db-ft-cities .city b {
  color: var(--db-ink);
  font-weight: 600;
  letter-spacing: .04em;
}
.db-ft-col-r {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* map card */
.db-map-card {
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 18px;
  padding: 22px 24px 14px;
  overflow: hidden;
}
.db-map-card svg {
  display: block;
  width: 100%;
  height: auto;
}
.db-map-legend {
  margin-top: 6px;
  font-family: var(--db-mono);
  font-size: 11px;
  color: var(--db-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.db-map-legend .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--db-blue);
  display: inline-block;
  flex-shrink: 0;
}

/* link columns (4 cols) */
.db-ft-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.db-ft-col-h {
  font-family: var(--db-mono);
  font-size: 12px;
  color: var(--db-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.db-ft-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-ft-links li a {
  font-size: 15px;
  color: var(--db-ink);
  font-weight: 500;
  text-decoration: none;
}
.db-ft-links li a:hover {
  color: var(--db-blue);
}

/* meta strip */
.db-ft-meta {
  border-top: 1px solid var(--db-line);
  padding: 22px 0;
}
.db-ft-meta .db-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--db-mono);
  font-size: 12.5px;
  color: var(--db-muted);
}
.db-ft-meta a {
  text-decoration: none;
  color: inherit;
}
.db-ft-meta a:hover {
  color: var(--db-ink);
}
.db-ft-meta-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.db-ft-meta-center .sep {
  opacity: .3;
}
.db-ft-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--db-line);
  background: #fff;
  color: var(--db-ink);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.db-ft-social:hover {
  background: var(--db-ink);
  color: #fff;
  border-color: var(--db-ink);
}
.db-ft-social svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .db-wrap {
    padding: 0 24px;
  }
  .db-ft-body .db-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .db-ft-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .db-cta {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .db-faq__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .db-faq__row {
    font-size: 18px;
    padding: 22px 0;
  }
  .db-faq__answer-pad {
    padding: 0 0 24px 46px;
  }
  .db-cta__heading {
    font-size: 32px;
  }
  .db-ft-meta .db-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .db-ft-links {
    grid-template-columns: 1fr 1fr;
  }
  .db-cta {
    padding: 36px 20px;
  }
}
