/************************************************************
   MEED CTA MODULE — GLOBAL PREMIUM EDITION
   ($100k-level design system)
*************************************************************/

/* ===== CTA PANEL BASE ===== */
.cta-panel {
    background: linear-gradient(135deg, #0A182A 0%, #071A2F 100%) !important;
    border-radius: 30px !important;
    padding: 64px 28px !important;
    max-width: 1280px !important;
    margin: 120px auto !important;
    text-align: center !important;
    box-shadow: 0 32px 70px rgba(0,0,0,0.18) !important;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(.16,.72,.23,1);
    will-change: transform, opacity, filter;
}

/* Fade-in */
.cta-panel.fade-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dual halo glows */
.cta-panel::before {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.cta-panel::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -20px;
    width: 160px;
    height: 160px;
    background: radial-gradient(ellipse at center, rgba(35,195,108,0.22) 0%, rgba(35,195,108,0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* ===== TEXT ===== */
.cta-panel h2 {
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin-bottom: 18px !important;
    line-height: 1.25 !important;
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease-out;
}

.cta-panel.fade-visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.cta-panel p {
    max-width: 760px !important;
    margin: 0 auto 34px auto !important;
    font-size: 18px !important;
    color: #DAE8FF !important;
    line-height: 1.6 !important;
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease-out 0.1s;
}

.cta-panel.fade-visible p {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTON — PERSONAL TAX STYLE (BEST) ===== */
.cta-panel .cta-btn {
    background: #23C36C !important;
    color: #ffffff !important;
    padding: 16px 42px !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.28s ease !important;
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease-out 0.2s;
}

.cta-panel.fade-visible .cta-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-in glow pulse */
.cta-panel.fade-visible .cta-btn {
    animation: pulseGlow 2.0s ease-out 0.4s forwards;
}

@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0px rgba(35,195,108,0.0); }
    100% { box-shadow: 0 0 18px rgba(35,195,108,0.35); }
}

/* Hover state */
.cta-panel .cta-btn:hover {
    background: #1EAD5D !important;
    box-shadow: 0 0 12px rgba(35,195,108,0.45) !important;
    transform: translateY(-3px) !important;
}
.cta-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cta-panel {
        padding: 55px 28px !important;
        border-radius: 22px !important;
        margin: 80px auto !important;
    }

    .cta-panel h2 {
        font-size: 30px !important;
    }

    .cta-panel p {
        font-size: 17px !important;
    }
}
/* ===========================================
   PREMIUM PARALLAX CTA BACKGROUND UPGRADE
   =========================================== */

.parallax-cta {
    background: linear-gradient(135deg, #061a33 0%, #0b233f 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;     /* KEY = PARALLAX EFFECT */
    position: relative;
    overflow: hidden;
}

/* Soft overlay spotlight for expensive feel */
.parallax-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(255,255,255,0.10),
        rgba(0,0,0,0.35)
    );
    pointer-events: none;
}
.cta-panel {
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255,255,255,0.08),
    rgba(6,27,51,0.95)
  );
  padding: 96px 60px;
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(6,27,51,0.45);
}

.cta-panel h2 {
  font-size: 34px;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.cta-panel p {
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #dbe6f2;
}
.cta-panel .cta-btn {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.cta-panel .cta-btn:hover {
  transform: translateY(-2px);
}
/* ================================
   OUTSOURCING CTA — FINAL 200K PASS
================================ */

.outsourcing-page .cta-wrapper {
  margin-top: 140px !important;   /* create anticipation */
  margin-bottom: 140px !important;
}

.outsourcing-page .cta-panel {
  padding: 110px 80px !important; /* taller, more luxurious */
  border-radius: 28px !important;
  max-width: 1280px !important;
}

/* Headline breathing room */
.outsourcing-page .cta-panel h2 {
  margin-bottom: 22px !important;
  letter-spacing: -0.3px;
}

/* Body copy spacing */
.outsourcing-page .cta-panel p {
  margin-bottom: 40px !important;
  max-width: 680px !important;
}

/* Button presence */
.outsourcing-page .cta-panel .cta-btn {
  padding: 18px 46px !important;
  font-size: 18px !important;
}
/* ======================================================
   CTA — BOARD-LEVEL ALT (OUTSOURCING ONLY)
====================================================== */

.outsourcing-page .cta-panel {
  background: linear-gradient(
    180deg,
    #071A2F 0%,
    #06172A 100%
  );
  padding: 120px 90px !important;
  border-radius: 32px !important;
  box-shadow:
    0 40px 90px rgba(5, 20, 40, 0.55) !important;
}

/* Headline: confident, not loud */
.outsourcing-page .cta-panel h2 {
  font-size: 38px !important;
  font-weight: 800;
  letter-spacing: -0.45px;
  max-width: 900px;
  margin: 0 auto 22px;
}

/* Body copy: advisory tone */
.outsourcing-page .cta-panel p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 46px;
  color: #d7e2f0;
}

/* Button: restrained authority */
.outsourcing-page .cta-panel .cta-btn {
  background: #1FCF8C;
  padding: 18px 48px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.30);
}
/* CTA entrance — subtle executive lift */
.outsourcing-page .cta-panel {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.outsourcing-page .cta-panel.fade-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Button intent — calm signal, not animation */
.outsourcing-page .cta-panel .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31,207,140,0.35);
}
.cta-btn {
  filter: saturate(0.9);
}
.cta-panel .fine-print {
  	font-size: 14px;
  	opacity: 0.8;
	margin-top: 2px;
}

.cta-panel h2 {
  letter-spacing: -0.015em;
}
/* adds from gov con */
.cta-panel .cta-btn {
  margin-bottom: 26px;
}

@media (max-width: 768px) {
  .cta-panel h2 {
    font-size: 26px;
  }
}
@media (max-width: 768px) {
  .cta-panel .cta-btn {
    margin-bottom: 30px;
  }
}
/* =========================================================
   STICKY CTA — MOBILE FOOTER CLEARANCE (Additive)
   ========================================================= */
@media (max-width: 768px) {
  .sticky-schedule-btn {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 999px;
  }

  /* Prevent overlap with footer text */
  .site-footer {
    padding-bottom: 96px;
  }
}
/* ---------- CTA panel: slightly more “panel” feel ---------- */
.cta-wrapper .cta-panel{
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 34px 88px rgba(7,26,47,0.28);
}
/* 5) Bring hero button treatment to CTA panel button (consistency) */
.cta-wrapper .cta-panel .cta-btn{
  box-shadow:
    0 18px 46px rgba(0,0,0,0.24),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}
.cta-wrapper .cta-panel .cta-btn:hover{
  box-shadow:
    0 24px 60px rgba(0,0,0,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}
.cta-panel::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(900px 420px at 50% 0%,
      rgba(255,255,255,0.10),
      transparent 60%);
}
.cta-panel{
  padding: 64px 48px; /* if currently larger */
}
