/* ============================================
   Header right side: "Call us today" + phone number + Client Log in (Oct 2026)
   Kept in its own file so it can be removed without touching style.css.
   Header height is unchanged on every screen size.
   ============================================ */

.header-actions {
  gap: 12px;
}

/* ---------- Call us ---------- */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}

.header-call-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid rgba(0, 32, 91, 0.12);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.header-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.header-call-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: #5a6478;
}

.header-call-number {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.header-call:hover .header-call-icon,
.header-call:focus-visible .header-call-icon {
  background: var(--navy);
  color: var(--white);
}

.header-call:hover .header-call-number {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Client Log in ---------- */
.btn-client-login {
  height: 48px;
  padding: 0 20px;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-client-login-short {
  display: none;
}

.btn-client-login:hover,
.btn-client-login:focus-visible,
.btn-client-login.is-active {
  background: var(--navy);
  color: var(--white);
}

.header-call:focus-visible,
.btn-client-login:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Compact version where space is tight ----------
   (narrow end of each desktop size, and small tablets) */
@media (min-width: 1200px) and (max-width: 1299.98px),
       (min-width: 1400px) and (max-width: 1519.98px),
       (min-width: 576px) and (max-width: 719.98px) {
  .header-actions {
    gap: 10px;
  }

  .header-call {
    gap: 8px;
  }

  .header-call-icon {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .header-call-label {
    font-size: 0.7rem;
  }

  .header-call-number {
    font-size: 0.98rem;
  }

  .btn-client-login {
    padding: 0 14px;
    font-size: 0.84rem;
  }
}

@media (min-width: 1400px) and (max-width: 1519.98px) {
  .navbar-nav .nav-link {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  .navbar-nav .nav-link.active::after {
    left: 0.8rem;
    right: 0.8rem;
  }
}

@media (min-width: 576px) and (max-width: 639.98px) {
  .header-call-label {
    display: none;
  }
}

/* Tightest widths: keep the number, drop the round icon */
@media (min-width: 1200px) and (max-width: 1259.98px),
       (min-width: 576px) and (max-width: 639.98px) {
  .header-call-icon {
    display: none;
  }
}

/* ---------- Phones: phone icon (tap to call) + "Log in" ---------- */
@media (max-width: 575.98px) {
  .header-actions {
    gap: 8px;
  }

  .header-call-text,
  .btn-client-login-text {
    display: none;
  }

  .btn-client-login-short {
    display: inline;
  }

  .header-call-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .btn-client-login {
    height: 42px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 399.98px) {
  .header-actions {
    gap: 6px;
  }

  .header-call-icon {
    width: 40px;
    height: 40px;
  }

  .btn-client-login {
    height: 40px;
    padding: 0 10px;
  }
}

@media (max-width: 359.98px) {
  .header-call-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .btn-client-login {
    height: 38px;
    padding: 0 8px;
    font-size: 0.78rem;
  }
}
