/**
 * Top contact strip — self-contained styles for easier production deploy.
 * Depends on: markup in header.php + this stylesheet linked after style.css.
 */

:root {
  --top-contact-bar-height: 48px;
}

.top-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: var(--top-contact-bar-height);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  background: #1f8d3f;
  font-family: "Nunito", "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-contact-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  width: 100%;
  row-gap: 8px;
}

.top-contact-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.4;
  flex: 1 1 200px;
  min-width: 0;
}

.top-contact-lead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.top-contact-lead-text {
  display: inline;
}

.top-contact-lead-strong {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.top-contact-lead-muted {
  font-weight: 500;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.top-contact-lead-sep {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 0.2em;
}

.top-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
}

.top-contact-actions li {
  margin: 0;
  padding: 0;
}

.top-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.top-contact-chip i {
  font-size: 13px;
  opacity: 0.95;
}

.top-contact-chip:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.top-contact-chip--ghost {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.top-contact-chip--ghost:hover {
  background: rgba(0, 0, 0, 0.14);
}

button.top-contact-chip {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.franchise-label-mobile {
  display: none;
}

@media (max-width: 991px) {
  :root {
    --top-contact-bar-height: 52px;
  }

  .top-contact-lead {
    display: none;
  }

  .top-contact-bar {
    padding: 6px 12px;
  }

  .top-contact-bar-inner {
    justify-content: center;
    text-align: center;
    row-gap: 0;
  }

  .top-contact-actions {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .franchise-label-desktop {
    display: none;
  }

  .franchise-label-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  :root {
    --top-contact-bar-height: 70px;
  }

  .top-contact-bar {
    font-size: 12px;
    padding: 6px 10px;
  }

  .top-contact-chip {
    font-size: 11px;
    padding: 5px 10px 5px 8px;
  }
}

/* Stack header + hero/breadcrumb offsets below the fixed strip */
#header.header.fixed-top {
  top: var(--top-contact-bar-height);
}

.section-slider {
  padding-top: calc(90px + var(--top-contact-bar-height));
}

.breadcrumbs {
  margin-top: calc(82px + var(--top-contact-bar-height));
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: calc(57px + var(--top-contact-bar-height));
  }
}
