/* ==========================
   Controls: Shared Buttons
   ========================== */

.control-button,
.phone-cta-button {
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(7, 48, 76, 0.18);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.control-button:hover,
.control-button:focus-visible,
.phone-cta-button:hover,
.phone-cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(7, 48, 76, 0.24);
}

.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: break-word;
}

.control-button--primary,
.phone-cta-button {
  background: var(--bs-primary);
  color: #fff;
}

.control-button--primary:hover,
.control-button--primary:focus-visible,
.phone-cta-button:hover,
.phone-cta-button:focus-visible {
  color: #fff;
  background: #06649f;
}

.control-button--secondary-light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.96);
  color: var(--bs-primary-dark);
}

.control-button--secondary-light:hover,
.control-button--secondary-light:focus-visible {
  color: var(--bs-primary-dark);
  background: #fff;
}

.control-button--secondary-dark {
  background: var(--bs-primary-dark);
  color: #fff;
}

.control-button--secondary-dark:hover,
.control-button--secondary-dark:focus-visible {
  color: #fff;
  background: #0a3d61;
}

/* ==========================
   Controls: Phone Actions
   ========================== */

.icon-phone {
  height: 1em;
  width: 1em;
  vertical-align: -0.15em;
  margin-right: 0.25em;
}

.phone-link {
  color: var(--bs-primary-dark);
  transition: color 0.2s ease-in-out;
}

.phone-link:hover {
  color: var(--bs-primary);
}

.phone-link-light {
  color: #fff;
  transition: color 0.2s ease-in-out;
}

.phone-link-light:hover {
  color: var(--bs-accent);
}

.phone-link-dark {
  color: var(--bs-primary-dark);
  transition: color 0.2s ease-in-out;
}

.phone-link-dark:hover {
  color: var(--bs-primary);
}

.phone-cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 3.75rem;
  padding: 0.95rem 1.2rem;
  line-height: 1;
}

.phone-cta-button__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.phone-cta-button__subtext {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.88;
  margin-top: 0.3rem;
}

.phone-cta-button--stacked {
  flex-direction: column;
}

.phone-cta-button--light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.96);
  color: var(--bs-primary-dark);
}

.phone-cta-button--light:hover,
.phone-cta-button--light:focus-visible {
  color: var(--bs-primary-dark);
  background: #fff;
}

.phone-cta-button--dark {
  background: var(--bs-primary-dark);
  color: #fff;
}

.phone-cta-button--dark:hover,
.phone-cta-button--dark:focus-visible {
  color: #fff;
  background: #0a3d61;
}

/* ==========================
   Controls: Feedback States
   ========================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: all;
  user-select: none;
}

.spinner-border {
  border-width: 0.6em;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}
