/* 2BO Core CTA — homepage final polish (v5.0.1). */
.twobo-cta {
  --twobo-cta-blue: #0038ff;
  --twobo-cta-blue-soft: #2e5cff;
  --twobo-cta-navy: #07142f;
  --twobo-cta-navy-deep: #040b18;
  --twobo-cta-gold: #caa35c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin: 12px calc(50% - 50vw) 0;
  padding: clamp(52px, 4.8vw, 72px) clamp(24px, 6vw, 96px) clamp(40px, 4vw, 56px);
  background:
    radial-gradient(circle at 50% 43%, rgba(0,56,255,.32) 0, rgba(0,56,255,.13) 30%, transparent 61%),
    radial-gradient(circle at 7% 78%, transparent 0 112px, rgba(202,163,92,.11) 113px 114px, transparent 115px),
    radial-gradient(circle at 93% 30%, transparent 0 172px, rgba(202,163,92,.10) 173px 174px, transparent 175px),
    linear-gradient(180deg, #102d73 0%, #0a2050 30%, #071735 68%, #07142f 100%);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  clip-path: inset(0);
}

.twobo-cta *,
.twobo-cta *::before,
.twobo-cta *::after { box-sizing: border-box; }

/* Curved transition from the previous light section. */
.twobo-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -3%;
  top: -24px;
  width: 106%;
  height: 42px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #102d73;
  pointer-events: none;
}

/* Subtle separator into the footer. */
.twobo-cta::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: min(980px, 78vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(202,163,92,.18), rgba(202,163,92,.46), rgba(202,163,92,.18), transparent);
  pointer-events: none;
}

.twobo-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.twobo-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 clamp(27px, 2.5vw, 36px);
  color: var(--twobo-cta-gold);
  font: 700 clamp(11px, 1vw, 13px) / 1.45 Arial, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.twobo-cta__eyebrow::before,
.twobo-cta__eyebrow::after {
  content: '';
  width: clamp(32px, 4vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--twobo-cta-gold));
}
.twobo-cta__eyebrow::after { transform: scaleX(-1); }

.twobo-cta__title {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 29px;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0,0,0,.2);
}

/* Gold diamond is isolated above the heading and cannot overlap it. */
.twobo-cta__title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: var(--twobo-cta-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(202,163,92,.32);
}

.twobo-cta__title::after {
  content: '';
  display: block;
  width: 78px;
  height: 1px;
  margin: clamp(29px, 3vw, 38px) auto clamp(25px, 2.5vw, 34px);
  background: linear-gradient(90deg, transparent, rgba(202,163,92,.9), transparent);
}

.twobo-cta__text {
  max-width: 750px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font: 400 clamp(17px, 1.45vw, 20px) / 1.7 Arial, sans-serif;
  text-wrap: balance;
}

.twobo-cta__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(100%, 420px) !important;
  max-width: 420px !important;
  min-width: 0 !important;
  min-height: 64px;
  margin: clamp(31px, 3vw, 40px) auto 0;
  padding: 17px 30px;
  border: 1.5px solid var(--twobo-cta-blue-soft);
  border-radius: 6px;
  background: rgba(4,11,24,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  color: #fff !important;
  font: 700 14px / 1.25 Arial, sans-serif;
  letter-spacing: .11em;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease, border-color .28s ease, color .28s ease;
}

.twobo-cta__button::before,
.twobo-cta__button::after { content: none !important; display: none !important; }
.twobo-cta__button span { flex: 0 0 auto; font-size: 20px; line-height: 1; transition: transform .28s ease; }
.twobo-cta__button:hover,
.twobo-cta__button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--twobo-cta-blue);
  background: var(--twobo-cta-blue);
  box-shadow: 0 20px 48px rgba(0,56,255,.3);
  color: #fff !important;
  text-decoration: none !important;
}
.twobo-cta__button:hover span,
.twobo-cta__button:focus-visible span { transform: translateX(4px); }
.twobo-cta__button:focus-visible { outline: 3px solid rgba(202,163,92,.42); outline-offset: 5px; }
.twobo-cta__ornament { display: none !important; }

@media (max-width: 1024px) {
  .twobo-cta {
    margin-top: 34px;
    padding: 78px 34px 72px;
  }
  .twobo-cta::before { top: -34px; height: 60px; }
  .twobo-cta__inner { width: min(100%, 820px); }
  .twobo-cta__title,
  .twobo-cta__title * {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    font-size: clamp(38px, 6vw, 56px);
    line-height: 1.13 !important;
    letter-spacing: -.02em;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
  }
  .twobo-cta__text { font-size: 18px; line-height: 1.65; }
}

@media (max-width: 767px) {
  .twobo-cta {
    margin-top: 25px;
    padding: 62px 18px 58px !important;
    background:
      radial-gradient(circle at 50% 43%, rgba(0,56,255,.28) 0, rgba(0,56,255,.11) 31%, transparent 63%),
      radial-gradient(circle at 100% 26%, transparent 0 105px, rgba(202,163,92,.13) 106px 107px, transparent 108px),
      linear-gradient(180deg, #102d73 0%, #0a2050 31%, #071735 69%, #07142f 100%);
  }
  .twobo-cta::before { left: -8%; top: -25px; width: 116%; height: 48px; }
  .twobo-cta__eyebrow { gap: 9px; margin-bottom: 22px; font-size: 10px; line-height: 1.45; letter-spacing: .12em; }
  .twobo-cta__eyebrow::before,
  .twobo-cta__eyebrow::after { width: 20px; }
  .twobo-cta__title,
  .twobo-cta__title * { font-size: clamp(29px, 8.3vw, 38px) !important; line-height: 1.16 !important; letter-spacing: -.01em !important; }
  .twobo-cta__title { padding-top: 24px; }
  .twobo-cta__title::before { width: 7px; height: 7px; margin-left: -3.5px; }
  .twobo-cta__title::after { width: 66px; margin: 25px auto 23px; }
  .twobo-cta__text { font-size: 16px; line-height: 1.58; }
  .twobo-cta__button {
    display: flex !important;
    width: 100% !important;
    max-width: 390px !important;
    min-height: 56px !important;
    margin-top: 27px;
    padding: 14px 16px !important;
    gap: 10px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: .04em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  .twobo-cta__button span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .twobo-cta__button,
  .twobo-cta__button span { transition: none; }
}
