/* =========================
   Hero Call CTA (Call Neil)
   ========================= */

.header-utility{
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-size: 14px;
  font-weight: 500;
}

.header-utility__phone,
.header-utility__link{
  color: rgba(35, 45, 75, 0.88);
  text-decoration: none;
}

.header-utility__phone:hover,
.header-utility__link:hover{
  text-decoration: underline;
}

.header-utility__sep{
  opacity: 0.7;
}

.call-cta{
  margin-top: 1.25em;
}

.call-cta--center{
  text-align: center;
}

.call-cta__microcopy{
  margin-top: 10px;
  font-size: 0.82em;
  opacity: 0.75;
  font-weight: 400;
}

/* ------------------------------------
   Modern "Call Neil" Button
   ------------------------------------ */
:root{
  /* Match Stack theme `.btn--primary` so "Let's Talk" matches the Contact button */
  --call-cta-blue: #4a90e2;
  --call-cta-blue-hover: #609de6;
  --call-cta-radius: 12px;
}

.call-cta__button.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  padding: 8px 20px;
  box-sizing: border-box;
  
  /* Colors */
  background: var(--call-cta-blue);
  border: 2px solid #FFF !important;
  color: #FFFFFF;
  
  /* Shape */
  border-radius: var(--call-cta-radius);
  
  /* Depth */
  box-shadow: 
    0 4px 14px rgba(37, 99, 235, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.08);
  
  /* Typography */
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  
  /* Smooth transitions */
  transition: 

    box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 180ms ease;
  
  cursor: pointer;
}

.call-cta--hero .call-cta__button.btn{
  /* Bigger label so the reveal transition feels cohesive in the centered hero */
  font-size: 1.65em;
}

.call-cta__button.btn .btn__text{
  color: inherit;
  font-weight: inherit;
}

/* Phone icon */
.call-cta__icon{
  font-size: 1.1em;
  line-height: 1;
  opacity: 1;
  color: currentColor;
}

.call-cta__button.btn i.call-cta__icon{
  /* Override theme's `.btn i { color: #252525; }` so the icon matches the label */
  color: inherit !important;
}

/* Hide eyebrow and button-text wrapper - simplify to single label */
.call-cta__button-text{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.call-cta__button-eyebrow{
  display: none; /* Remove eyebrow complexity */
}

.call-cta__button-main{
  white-space: nowrap;
}

/* ------------------------------------
   Hover / Focus / Revealed States
   ------------------------------------ */
.call-cta__button.btn:hover{
  background: var(--call-cta-blue-hover);
  /* Prevent global `.btn:hover` from moving/growing the button */
  transform: none !important;
  -webkit-transform: none !important;
  /* Keep shadow consistent so hover doesn't feel like it "gets bigger" */
  box-shadow: 
    0 4px 14px rgba(37, 99, 235, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.08);
  border-color: #FFF !important;
}

.call-cta__button.btn:active{
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: 
    0 2px 8px rgba(37, 99, 235, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

.call-cta__button.btn:focus-visible{
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

/* Revealed state: number displayed in button */
.call-cta.call-cta--revealed .call-cta__button.btn{
  background: #FFFFFF;
  color: var(--call-cta-blue);
  border-color: var(--call-cta-blue) !important;
  box-shadow: 
    inset 0 0 0 2px var(--call-cta-blue),
    0 4px 14px rgba(37, 99, 235, 0.2);
}

.call-cta.call-cta--revealed .call-cta__button-main{
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: inherit;
}

.call-cta.call-cta--revealed .call-cta__button.btn:hover{
  background: #f0f7ff;
  transform: none !important;
  -webkit-transform: none !important;
  border-color: var(--call-cta-blue) !important;
}

/* ------------------------------------
   Responsive
   ------------------------------------ */
@media (max-width: 575px){
  .call-cta__button.btn{
    width: 100%;
    min-width: unset;
    padding: 14px 24px;
    font-size: 1em;
  }
  .call-cta--hero .call-cta__button.btn{
    /* Keep CTA text at least as large as `.lead` on mobile (theme sets `.lead` to 20px) */
    font-size: 20px;
  }
}

/* Center the hero CTA on tablet + mobile */
@media (max-width: 991px){
  .call-cta.call-cta--hero{
    text-align: center;
  }
}

/* ------------------------------------
   Dark hero backgrounds
   ------------------------------------ */
.bg--navy .call-cta__microcopy,
.imagebg .call-cta__microcopy{
  color: rgba(255,255,255,0.85);
}

