/* Shared CTA styles used across offer pages, blog and offer subpages */

.cta {
  margin-top: 96px;
  padding: 58px 56px;
  background: #ffc40e;
  color: #03132d;
}

.cta h3 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6.2vw, 5.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.cta p {
  font-size: clamp(1rem, 2vw, 1.58rem);
  font-weight: 700;
  line-height: 1.45;
  opacity: 0.82;
  max-width: 840px;
  margin-bottom: 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 30px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 900;
  transition: all 0.28s var(--ease);
}

.cta-btn-primary {
  background: #03132d;
  color: #fff;
}

.cta-btn-primary:hover,
.cta-btn-primary:focus-visible {
  background: #000;
}

.cta-btn-secondary {
  border: 2px solid #03132d;
  color: #03132d;
}

.cta-btn-secondary:hover,
.cta-btn-secondary:focus-visible {
  background: #03132d;
  color: #fff;
}

.cta-blog {
  margin-top: 56px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
}

.cta-section {
  padding: 6rem var(--container-pad);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.cta-section h2 {
  font-size: clamp(2rem, 8vw, 5rem);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.cta-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

@media (max-width: 1024px) {
  .cta-section {
    padding: 4.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .cta {
    margin-top: 72px;
    padding: 40px 24px;
  }

  .cta h3 {
    font-size: clamp(1.5rem, 10vw, 2.4rem);
    margin-bottom: 16px;
  }

  .cta p {
    font-size: 0.95rem;
  }

  .cta-btn {
    width: 100%;
  }

  .cta-blog {
    margin-top: 48px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .cta-section {
    padding: 3.5rem 1.25rem;
  }

  .cta-section h2 {
    font-size: clamp(1.75rem, 8vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-buttons-center {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .cta-buttons-center .btn-primary,
  .cta-buttons-center .btn-secondary {
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-size: 0.8rem;
  }
}
