/* CALL NOW button + modal.
   Self-contained and built on the template's own custom properties, so it
   inherits the North Star palette rather than restating it. */

/* --- buttons --- */
.ns-call-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-family-1); text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--accent-color); color: #fff;
  transition: background .18s ease, transform .18s ease;
}
.ns-call-btn:hover { background: var(--accent-color-2); color: #fff; transform: translateY(-1px); }
.ns-call-btn--lg { font-size: 1.35rem; padding: 1.25rem 2.2rem; }

/* Floating button: always reachable, thumb-height on mobile. */
.ns-call-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1200;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
@media (max-width: 575px) {
  .ns-call-float { right: .75rem; bottom: .75rem; font-size: .95rem; padding: .9rem 1.25rem; }
}

/* --- modal --- */
.ns-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(5,6,8,.82);
  backdrop-filter: blur(3px);
}
.ns-modal[open], .ns-modal.is-open { display: flex; }
.ns-modal__panel {
  position: relative; width: 100%; max-width: 34rem;
  background: var(--secondary);
  border: 1px solid var(--accent-color-3);
  border-top: 3px solid var(--accent-color);
  padding: 2.5rem 2rem;
  text-align: center;
}
.ns-modal__close {
  position: absolute; top: .5rem; right: .75rem;
  background: none; border: 0; color: var(--accent-color-6);
  font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.ns-modal__close:hover { color: #fff; }
.ns-modal__eyebrow {
  font-family: var(--font-family-2); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-color-6); margin: 0 0 .5rem;
}
.ns-modal__title {
  font-family: var(--font-family-1); text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2rem); color: #fff; margin: 0 0 1rem; line-height: 1.1;
}
.ns-modal__number {
  display: inline-block; font-family: var(--font-family-1);
  font-size: clamp(2rem, 7vw, 3rem); color: #fff; text-decoration: none;
  letter-spacing: .02em; margin: .25rem 0 1rem;
}
.ns-modal__number:hover { color: var(--accent-color); }
.ns-modal__note { color: var(--text-color); font-size: .95rem; margin: 0 0 .35rem; }
.ns-modal__list {
  list-style: none; padding: 0; margin: 1.25rem 0 0; text-align: left;
  color: var(--text-color); font-size: .95rem;
}
.ns-modal__list li { padding: .35rem 0 .35rem 1.5rem; position: relative; }
.ns-modal__list li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: .5rem; height: .5rem; background: var(--accent-color);
}
