/* Floating CTAs – CALL NOW + BOOK NOW (desktop + mobile) */
#fixer-floating-ctas {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  max-width: calc(100vw - 2rem);
}

.fixer-floating-btn,
#fixer-call-now.fixer-floating-btn,
#fixer-book-now.fixer-floating-btn,
.floating-call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 9999px;
  text-align: center;
  white-space: nowrap;
  background-color: #0a3f5b;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(10, 63, 91, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fixer-floating-btn:hover,
.fixer-floating-btn:focus,
#fixer-call-now.fixer-floating-btn:hover,
#fixer-call-now.fixer-floating-btn:focus,
#fixer-book-now.fixer-floating-btn:hover,
#fixer-book-now.fixer-floating-btn:focus {
  background-color: #dd4f06;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221, 79, 6, 0.4);
}

.fixer-floating-btn:focus-visible {
  outline: 2px solid #dd4f06;
  outline-offset: 3px;
}

/* Mobile top orange bar – thin, single-line nav labels */
@media (max-width: 1023px) {
  .fixer-orange-topbar .fixer-orange-topbar-inner {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
  }

  .fixer-orange-topbar .fixer-orange-topbar-row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.25rem !important;
  }

  .fixer-orange-topbar .fixer-topbar-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    min-width: 0;
    flex: 1 1 auto;
  }

  .fixer-orange-topbar .fixer-topbar-nav-link {
    font-size: 0.6875rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    flex-shrink: 0;
    letter-spacing: 0.01em;
  }

  .fixer-orange-topbar .fixer-topbar-social {
    gap: 0.35rem !important;
    flex-shrink: 0;
  }

  .fixer-orange-topbar .fixer-topbar-social .fixer-social-link svg {
    width: 0.9rem !important;
    height: 0.9rem !important;
  }
}

@media (max-width: 380px) {
  .fixer-orange-topbar .fixer-topbar-nav {
    gap: 0.25rem !important;
  }

  .fixer-orange-topbar .fixer-topbar-nav-link {
    font-size: 0.625rem !important;
  }
}

/* Social links – top orange bar + footer */
.fixer-topbar-social {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
}

.fixer-social-link,
.fixer-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}

.fixer-topbar-social .fixer-social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Footer “Follow Us” under Get In Touch */
.fixer-footer-follow {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fixer-footer-follow-title {
  color: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.75rem !important;
  letter-spacing: 0.02em;
}

.fixer-footer-social {
  display: flex !important;
  align-items: center;
  gap: 0.875rem;
}

/* Explicit fill so icons stay visible (currentColor alone was invisible on dark footer) */
footer .fixer-footer-social .fixer-footer-social-link {
  color: #ffffff !important;
  transition: color 0.2s ease, fill 0.2s ease, transform 0.2s ease;
}

footer .fixer-footer-social .fixer-footer-social-link svg,
footer .fixer-footer-social .fixer-footer-social-link svg path {
  fill: #ffffff !important;
  color: #ffffff !important;
}

footer .fixer-footer-social .fixer-footer-social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-block;
  flex-shrink: 0;
}

footer .fixer-footer-social .fixer-footer-social-link:hover,
footer .fixer-footer-social .fixer-footer-social-link:focus {
  color: #dd4f06 !important;
  transform: translateY(-1px);
}

footer .fixer-footer-social .fixer-footer-social-link:hover svg,
footer .fixer-footer-social .fixer-footer-social-link:hover svg path,
footer .fixer-footer-social .fixer-footer-social-link:focus svg,
footer .fixer-footer-social .fixer-footer-social-link:focus svg path {
  fill: #dd4f06 !important;
  color: #dd4f06 !important;
}

.fixer-footer-social-link:focus-visible {
  outline: 2px solid #dd4f06;
  outline-offset: 3px;
  border-radius: 4px;
}


/* Header: large FIXER + smaller APPLIANCE REPAIR */
.fixer-header-brand {
  text-decoration: none;
  color: inherit;
}

.fixer-header-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.fixer-header-titles {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.12rem !important;
  min-width: 0;
}

.fixer-header-fixer {
  display: block !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.04em !important;
  color: #dd4f06 !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  white-space: nowrap !important;
}

.fixer-header-sub {
  display: block !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  color: #0a3f5b !important;
  font-size: clamp(0.62rem, 1.8vw, 0.875rem) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  word-spacing: 0.12em !important;
}

/* Header CTAs: desktop CALL NOW, mobile BOOK NOW */
.fixer-header-cta-call {
  display: none !important;
}

.fixer-header-cta-book {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .fixer-header-cta-call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .fixer-header-cta-book {
    display: none !important;
  }
}

.fixer-header-phone:hover .fixer-header-phone-number {
  color: #dd4f06 !important;
}

.fixer-header-phone-label {
  margin: 0;
}

.fixer-header-phone-number {
  margin: 0;
}

/* Error code pages — brand sections */
.fixer-error-brand {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.fixer-error-brand:last-of-type {
  border-bottom: none;
}

.fixer-error-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a3f5b;
  margin-bottom: 1rem;
}

.fixer-error-table {
  width: 100%;
  font-size: 0.875rem;
  text-align: left;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  border-collapse: collapse;
  overflow: hidden;
}

.fixer-error-table thead {
  background: #f3f4f6;
}

.fixer-error-table th,
.fixer-error-table td {
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.fixer-error-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.fixer-error-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .fixer-header-logo {
    width: 72px;
    height: 72px;
  }
}

/* Brand hub logo tiles */
.fixer-brand-grid img {
  max-height: 3rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Desktop nav dropdowns */
.fixer-nav-has-dropdown .fixer-nav-dropdown {
  display: none;
}

.fixer-nav-has-dropdown:hover .fixer-nav-dropdown,
.fixer-nav-has-dropdown.fixer-dropdown-open .fixer-nav-dropdown {
  display: block;
}

.fixer-nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.fixer-nav-has-dropdown.fixer-dropdown-open .fixer-nav-chevron,
.fixer-nav-has-dropdown:hover .fixer-nav-chevron {
  transform: rotate(180deg);
}

.fixer-nav-dropdown-link:hover {
  background-color: #f3f4f6 !important;
  color: #0a3f5b !important;
}

/* Mobile menu panel */
#fixer-mobile-menu,
.fixer-mobile-panel {
  max-height: 70vh;
  overflow-y: auto;
  width: 100%;
}

#fixer-mobile-menu.fixer-mobile-open,
.fixer-mobile-panel.fixer-mobile-open {
  display: block !important;
}

@media (max-width: 1023px) {
  #fixer-mobile-menu:not(.hidden),
  .fixer-mobile-panel:not(.hidden) {
    display: block !important;
  }
}

.fixer-mobile-subtoggle {
  border: none;
  background: transparent;
  color: #0a3f5b;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fixer-mobile-subtoggle-open {
  transform: rotate(180deg);
}

body.fixer-menu-open {
  overflow: hidden;
}

/* Mobile header: hamburger left-aligned */
@media (max-width: 1023px) {
  nav.shadow-lg .fixer-mobile-nav-bar {
    justify-content: flex-start !important;
    align-items: center !important;
    position: relative;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  nav.shadow-lg .fixer-mobile-toggle {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    flex-shrink: 0;
    z-index: 60;
  }
}

nav.shadow-lg button[aria-label="Toggle menu"] {
  z-index: 60;
}

/* Service page error-code callout */
.fixer-error-code-callout {
  margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
  #fixer-floating-ctas {
    bottom: 0.75rem;
    right: 0.75rem;
    gap: 0.4rem;
  }

  .fixer-floating-btn {
    padding: 0.6rem 0.95rem;
    font-size: 0.75rem;
  }
}

main.min-h-screen {
  padding-bottom: 6.5rem;
}

@media (min-width: 768px) {
  main.min-h-screen {
    padding-bottom: 7rem;
  }
}

/* Desktop nav: single-line labels, no wrap */
@media (min-width: 1024px) {
  nav.shadow-lg .fixer-desktop-nav,
  nav.shadow-lg .hidden.lg\\:flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.125rem;
    width: 100%;
    max-width: 100%;
  }

  nav.shadow-lg .fixer-desktop-nav > .fixer-nav-item,
  nav.shadow-lg .hidden.lg\\:flex > .fixer-nav-item,
  nav.shadow-lg .hidden.lg\\:flex > .relative {
    flex-shrink: 0;
  }

  nav.shadow-lg a.fixer-desktop-nav-link,
  nav.shadow-lg .fixer-desktop-nav > .fixer-nav-item > a,
  nav.shadow-lg .hidden.lg\\:flex > .fixer-nav-item > a,
  nav.shadow-lg .hidden.lg\\:flex > .relative > a {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    letter-spacing: 0.025em;
    -webkit-font-smoothing: antialiased;
    align-items: center;
  }

  nav.shadow-lg a.fixer-desktop-nav-link .fixer-nav-chevron {
    font-size: 0.625rem;
    line-height: 1;
    margin-top: 1px;
  }

  nav.shadow-lg a.fixer-desktop-nav-link > span,
  nav.shadow-lg .fixer-desktop-nav > .fixer-nav-item > a > span,
  nav.shadow-lg .hidden.lg\\:flex > .fixer-nav-item > a > span,
  nav.shadow-lg .hidden.lg\\:flex > .relative > a > span {
    white-space: nowrap !important;
    display: inline;
    font-weight: inherit;
  }

  nav.shadow-lg .fixer-nav-dropdown .fixer-nav-dropdown-link {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  #fixer-mobile-menu a,
  .fixer-mobile-panel a {
    font-size: 0.875rem;
    font-weight: 600;
  }
}
