/* Final lightweight UX polish — loaded after style.css. */

/* Public site: Staff access should be visible without competing with customer CTAs. */
.site-nav .site-nav-staff {
  color: #ffffff !important;
  font-size: .82rem !important;
  font-weight: 700;
  padding: .3rem .58rem !important;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.12);
}
.site-nav .site-nav-staff:hover,
.site-nav .site-nav-staff:focus-visible {
  color: #ffffff !important;
  background: rgba(255,255,255,.22) !important;
}

.local-seo-intro {
  max-width: 46rem;
  margin: -.35rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-credit {
  margin-top: .25rem;
  font-size: .76rem;
  opacity: .72;
  letter-spacing: .01em;
}

/* Public trust block: real training certificates + official salon licence. */
.trust-section .container {
  max-width: 62rem;
}
.trust-copy {
  max-width: 48rem;
  margin-bottom: 1.1rem;
}
.trust-copy p {
  margin: -.35rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}
/* Stack cards; desktop shrinks each photo to ~55% width, centered. */
.trust-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.trust-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(90,106,122,.22);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(27,55,77,.08);
  color: var(--text);
  text-decoration: none;
}
.trust-card:hover,
.trust-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(27,55,77,.13);
}
.trust-card img {
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
  object-position: center;
  padding: .65rem;
  background: #f7f4ed;
  display: block;
}
.trust-caption {
  display: block;
  padding: .75rem .9rem;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
}
.trust-section--compact {
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}
.trust-section--compact .trust-copy {
  margin-bottom: .9rem;
}
.trust-section--compact .trust-card img {
  max-height: 19rem;
}
/* Desktop: photos at ~50–60% of container, centered, fluid height. */
@media (min-width: 701px) {
  .trust-card {
    width: 55%;
    max-width: 34rem;
  }
  .trust-card img {
    max-height: none;
    padding: .75rem 1rem;
  }
  .trust-section--compact .trust-card img {
    max-height: none;
  }
}

/* Account actions: make Log out visually distinct from password/account settings. */
.boss-nav-logout-separated {
  margin-top: .4rem !important;
  padding-top: .4rem !important;
  border-top: 1px solid rgba(90,106,122,.22);
}
.boss-account-action-label {
  display: block;
  padding: .4rem .65rem .12rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Boss mobile: keep the menu useful on small screens instead of filling the page. */
.boss-nav-mobile:not([hidden]) {
  max-height: calc(100vh - 3.6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.boss-nav-mobile .boss-mobile-heading {
  margin-top: .35rem;
  margin-bottom: .1rem;
  padding-top: .35rem;
  padding-bottom: .2rem;
}
.boss-nav-mobile > a,
.boss-mobile-user > a {
  min-height: 2.45rem;
  padding-top: .52rem;
  padding-bottom: .52rem;
}
.boss-mobile-user {
  margin-top: .45rem;
}
.boss-mobile-user .boss-nav-logout-separated {
  margin-top: .45rem !important;
  padding-top: .45rem !important;
  border-top-color: rgba(255,255,255,.24);
}

/* Website traffic dashboard. */
.traffic-subtitle {
  color: var(--muted);
  max-width: 50rem;
  margin-top: .25rem;
}
.traffic-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}
.traffic-card {
  background: #fff;
  border: 1px solid #c8dff0;
  border-radius: 10px;
  padding: 1rem;
}
.traffic-card-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.traffic-card-value {
  color: var(--blue-dark);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: .25rem;
}
.traffic-card-caption {
  color: var(--muted);
  font-size: .78rem;
}
.traffic-card-secondary {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--text);
}
.traffic-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.traffic-grid-two .section-card,
.traffic-page > .section-card {
  margin-bottom: 1rem;
}
.traffic-page h2 {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  color: var(--blue-dark);
}
.traffic-click-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
.traffic-click-grid > div {
  background: var(--bg);
  border-radius: 8px;
  padding: .75rem .45rem;
  text-align: center;
}
.traffic-click-grid strong {
  display: block;
  font-size: 1.35rem;
  color: var(--blue-dark);
}
.traffic-click-grid span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
}
.traffic-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid #e5edf3;
}
.traffic-list > div:last-child { border-bottom: 0; }
.traffic-list strong { color: var(--blue-dark); }
.traffic-note,
.traffic-generated {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .78rem;
}
.traffic-table-wrap { overflow-x: auto; }
.traffic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.traffic-table th,
.traffic-table td {
  padding: .55rem .65rem;
  border-bottom: 1px solid #e5edf3;
  text-align: right;
  white-space: nowrap;
}
.traffic-table th:first-child,
.traffic-table td:first-child { text-align: left; }
.traffic-table th {
  color: var(--muted);
  font-size: .76rem;
}

@media (max-width: 700px) {
  .site-header-inner {
    align-items: flex-start;
    gap: .45rem;
  }
  .site-nav .site-nav-staff {
    min-height: 2.1rem;
    display: inline-flex;
    align-items: center;
  }
  .trust-card { width: 100%; max-width: 100%; }
  .trust-card img { max-height: 22rem; }
  .trust-section--compact .trust-card img { max-height: 19rem; }
  .traffic-period-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .traffic-grid-two { grid-template-columns: 1fr; }
  .traffic-click-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .traffic-period-grid { grid-template-columns: 1fr 1fr; }
  .traffic-card { padding: .8rem; }
  .traffic-card-value { font-size: 1.65rem; }
}
