* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #08142d;
  background: #ffffff;
  --blue: #075fe4;
  --teal: #00a99d;
  --ink: #08142d;
  --muted: #5b6680;
  --line: #e6ebf3;
  --soft: #f6f9fd;
  --shadow: 0 18px 48px rgba(14, 31, 64, 0.11);
  --warm-mist: #f2f0eb;
  --slate-mist: #e8eef5;
  --copper: #c47a4a;
  --amber: #e8a317;
  --font-display: "Sora", "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #ffffff;
  overflow-x: clip;
  min-width: 0;
}

[hidden] {
  display: none !important;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1130px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

main,
section {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(168px, 44vw);
  min-height: 42px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

/* Cabecera: wordmark — home usa home-brand-lock.css con URL absoluta; resto del sitio: */
.brand-logo {
  width: 168px;
  height: 42px;
  display: block;
  /* NO cambiar a url("assets/...") — rompe desde assets/css/. Home: home-brand-lock.css */
  background-image: url("/assets/workori-logo.webp?v=20260604-logo-hq");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: center;
  padding: 4px;
  border: 1px solid #e9eef6;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.88);
  min-width: 0;
}

.main-nav a {
  color: #0f1a33;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a.nav-current {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(14, 31, 64, 0.08);
}

.mobile-nav-group-label {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  padding: 0 16px;
  white-space: nowrap;
}

.header-actions #providerButton.btn-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(0, 169, 157, 0.22);
}

.header-actions #providerButton.btn-primary:hover {
  background: #009e93;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 169, 157, 0.3);
}

.header-actions .login-button {
  padding: 10px 4px;
  font-size: 0.84rem;
}

.main-nav .nav-quick-path {
  display: none;
}







.mobile-nav-link {
  display: none;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.language-option {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-option.active {
  color: #ffffff;
  background: var(--blue);
}

.login-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 6px;
  white-space: nowrap;
}

.owner-access-button {
  color: #06357e;
}

.logout-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 800;
  padding: 0 12px;
}

/* Cerrar sesión — rojo para localización rápida */
.btn-logout,
.logout-button.btn-logout {
  color: #ffffff;
  background: #dc2626;
  border-color: #b91c1c;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28);
}

.btn.btn-logout {
  color: #ffffff;
  background: #dc2626;
  border: 1px solid #b91c1c;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28);
}


.btn.btn-logout:hover {
  color: #ffffff;
  background: #b91c1c;
  border-color: #991b1b;
}


.btn.btn-logout:focus-visible {
  outline: 2px solid #fca5a5;
  outline-offset: 2px;
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}


.outline-button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(7, 95, 228, 0.22);
}

.btn-secondary {
  color: var(--blue);
  background: #ffffff;
}

body.master-authenticated #bookService {
  display: none;
}

body.master-authenticated .main-nav {
  gap: 20px;
}

body.master-authenticated .header-inner {
  gap: 16px;
}

body.admin-locked main {
  display: none !important;
}

body.admin-locked #logoutButton {
  display: none !important;
}

body:not(.master-authenticated) #master-dashboard {
  display: none !important;
}

body.master-authenticated #loginModal {
  display: none !important;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 20, 45, 0.82);
}

.modal-overlay .modal {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(8, 20, 45, 0.26);
}

.modal-overlay .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Header contract: desktop and mobile navigation must never share a breakpoint. */
@media (min-width: 769px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none !important;
  }

  #providerButton {
    display: inline-flex;
    align-items: center;
  }

  body:not(.master-authenticated) #bookService {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: start;
  padding: clamp(22px, 2.6vw, 34px) 0 clamp(58px, 5.6vw, 82px);
  background:
    radial-gradient(ellipse 65% 50% at 92% 12%, rgba(0, 169, 157, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 48% at 8% 6%, rgba(7, 95, 228, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 40% 90%, rgba(196, 122, 74, 0.08), transparent 60%),
    linear-gradient(165deg, #e4ecf6 0%, #f4f1eb 46%, #e6f3f4 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 95, 228, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 169, 157, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
  opacity: 0.22;
}

.hero::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(247, 245, 241, 0.96) 0%,
    rgba(247, 245, 241, 0.9) 34%,
    rgba(247, 245, 241, 0.72) 46%,
    rgba(238, 246, 248, 0.42) 58%,
    rgba(238, 243, 249, 0.12) 72%,
    rgba(238, 243, 249, 0) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  padding-top: 4px;
}

.pilot-banner {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 95, 228, 0.1);
  color: var(--primary, #075fe4);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.role-intro .pilot-banner {
  margin-bottom: 0.25rem;
}


p {
  margin-top: 0;
}

.hero-copy h1 {
  max-width: 36rem;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.9vw, 3.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: normal;
  animation: hero-copy-in 0.7s ease both;
}

h1 {
  max-width: 590px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.9vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero-copy h1 span {
  color: var(--teal);
  white-space: nowrap;
}

h1 span {
  color: var(--teal);
  white-space: nowrap;
}

.hero-text {
  max-width: 34rem;
  margin-top: 4px;
  margin-bottom: 0;
  color: #111a2f;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
  overflow-wrap: break-word;
  animation: hero-copy-in 0.7s ease 0.08s both;
}

.hero-search {
  width: 100%;
  max-width: none;
  container-type: inline-size;
  container-name: hero-search;
  animation: hero-copy-in 0.7s ease 0.14s both;
}

@container hero-search (max-width: 520px) {
  .search-form {
    grid-template-columns: 1fr;
  }

  .field-group {
    min-height: auto;
  }
}

.hero-search-foot {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 0;
}

.search-form {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 48px rgba(14, 31, 64, 0.1);
}

.field-group-autocomplete {
  position: relative;
  overflow: visible;
}

.field-label-stack {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  min-height: 2.35rem;
}

.field-label-title {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

.search-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Miniatura de icono PNG (el asset ya trae fondo; no añadir caja blanca). */
.service-thumb {
  --thumb-size: 40px;
  width: var(--thumb-size);
  height: var(--thumb-size);
  flex-shrink: 0;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 6px 18px rgba(14, 31, 64, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-thumb--card {
  --thumb-size: 52px;
}

.service-thumb--pick {
  --thumb-size: 48px;
}

.service-thumb--suggestion {
  --thumb-size: 36px;
}

.service-thumb--inline {
  --thumb-size: 40px;
}

.service-thumb--tile {
  --thumb-size: 52px;
}

.service-thumb--row {
  --thumb-size: 32px;
  border-radius: 10px;
}

.service-thumb--tag {
  --thumb-size: 24px;
  border-radius: 8px;
  box-shadow: none;
}

.service-thumb__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.service-quick-thumb:hover .service-thumb,
.service-card:hover .service-thumb,
.service-card.selected .service-thumb {
  transform: scale(1.06) translateY(-1px);
  box-shadow: 0 10px 26px rgba(14, 31, 64, 0.16);
}

.service-quick-picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-quick-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-quick-strip,
.service-quick-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c5d8f2 transparent;
}

.service-quick-thumb,
.service-quick-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  padding: 0;
  border: none;
  background: transparent;
  color: #06357e;
  cursor: pointer;
  text-align: center;
}

.service-quick-thumb__label,
.service-quick-chip > span:last-child {
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  max-width: 72px;
}


.service-quick-chip:hover .service-thumb {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 169, 157, 0.22);
}

.service-quick-thumb:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 10px;
}

.search-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #c7daf8;
  border-radius: 10px;
  background: #f5f9ff;
}

.search-preview-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 0;
}

.search-preview-icon {
  flex-shrink: 0;
}

.search-preview p {
  margin: 0;
  color: #06357e;
  font-weight: 800;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.search-suggestion:hover,
.search-suggestion:focus {
  background: #edf5ff;
  color: var(--blue);
  outline: 0;
}

.search-suggestion .service-thumb {
  flex-shrink: 0;
}

.search-suggestion-label {
  min-width: 0;
  text-align: left;
}

.field-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 86px;
  padding: 12px 12px 13px;
  border: 1px solid #e4ecf6;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.field-group-location {
  overflow: hidden;
}

.field-group label {
  margin: 0;
}

.field-group input {
  width: 100%;
  min-height: 28px;
  padding: 2px 0 6px;
  border: 0;
  border-bottom: 1px solid #e2eaf5;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.96rem;
  font-weight: 600;
  transition: border-color 0.16s ease;
}

.field-group:focus-within input {
  border-bottom-color: #b8cff5;
}

.field-group input::placeholder {
  color: #7b8598;
  font-weight: 500;
}

.field-group:focus-within {
  border-color: #b8d0f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(7, 95, 228, 0.08);
}

.location-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.location-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
}

.location-button {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #cae8e6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

.location-button:hover,
.location-button:focus {
  border-color: var(--teal);
  background: #f4fffd;
  outline: 0;
}

.location-button.is-loading {
  border-color: var(--blue);
  background: #edf5ff;
}

.location-button.is-loading .location-button-icon {
  animation: location-pulse 0.85s ease-in-out infinite;
}

.location-button-icon {
  display: block;
  flex-shrink: 0;
  color: var(--blue);
}

.location-button:hover .location-button-icon,
.location-button:focus .location-button-icon {
  color: var(--teal);
}

@keyframes location-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1,
  .hero-text,
  .hero-search,
  .service-thumb,
  .service-quick-thumb:hover .service-thumb,
  .service-card:hover .service-thumb,
  .service-card.selected .service-thumb {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.search-form .btn,
.search-form-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  margin-top: 2px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(7, 95, 228, 0.22);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  width: 100%;
  margin-top: 4px;
  padding-top: 4px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  color: #1e2a43;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}



.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-top: clamp(-10px, -1.2vw, -4px);
  margin-left: 0;
  margin-right: 0;
  justify-self: end;
  align-self: stretch;
  min-height: clamp(480px, 54vh, 630px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

.hero-float-stack {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.hero-float-stack--tr {
  /* Zona segura arriba (~40%): la cara del profesional nunca queda tapada */
  top: clamp(168px, 40%, 260px);
  bottom: clamp(16px, 3vh, 28px);
  right: clamp(12px, 2.5vw, 32px);
  width: min(188px, 32%);
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
}


.hero-float-stack--tr .hero-trust-card {
  padding: 11px 12px;
}

.hero-float-stack--tr .status-card hr {
  margin: 8px 0;
}

.hero-float-stack--tr .status-card b {
  margin-top: 4px;
}


.hero-float-stack .hero-trust-card {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 6%;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.28) 8%,
      rgba(0, 0, 0, 0.72) 18%,
      #000 30%,
      #000 100%
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.28) 8%,
      rgba(0, 0, 0, 0.72) 18%,
      #000 30%,
      #000 100%
    );
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.82) 12%,
      rgba(255, 255, 255, 0.38) 26%,
      rgba(255, 255, 255, 0.08) 40%,
      rgba(255, 255, 255, 0) 52%
    ),
    linear-gradient(180deg, rgba(8, 20, 45, 0) 62%, rgba(8, 20, 45, 0.1) 100%);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 20%;
  right: 0;
  bottom: 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 45, 0.1));
  filter: none;
  pointer-events: none;
}


.status-card {
  z-index: 2;
  pointer-events: auto;
}

.hero-trust-card,
.hero-job-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(230, 235, 243, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(14, 31, 64, 0.13);
  backdrop-filter: blur(14px);
}

.hero-trust-card {
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px 16px;
}

.hero-trust-card > span,
.hero-trust-card__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.hero-trust-card__mark svg {
  display: block;
}

.hero-trust-card strong,
.hero-job-card strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}


.hero-job-card span {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.hero-job-card {
  padding: 12px 14px;
}

.hero-job-card__copy {
  display: grid;
  gap: 4px;
}

.hero-job-card .service-thumb {
  align-self: center;
}

.hero-job-card small {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-job-card strong {
  font-size: 1.02rem;
}

.hero-job-card span {
  font-size: 0.82rem;
  font-weight: 700;
}

.status-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(14, 31, 64, 0.14);
  backdrop-filter: blur(14px);
}

.avatar-stack {
  display: flex;
  margin-bottom: 8px;
}

.avatar-stack span {
  width: 24px;
  height: 24px;
  margin-right: -7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a62df, #28b4a9);
}

.status-card strong {
  display: inline-block;
  margin-left: 8px;
}

.status-card small {
  display: block;
  color: var(--muted);
}

.status-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 12px 0;
}

.status-card p {
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.status-card b {
  display: block;
  margin-top: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.section {
  padding: 54px 0;
}

.section-white {
  background: #ffffff;
}

.section-mist {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(7, 95, 228, 0.06), transparent 60%),
    linear-gradient(180deg, var(--slate-mist) 0%, #f7f9fc 100%);
}

.compact-section {
  padding-top: 24px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.row-heading a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 184px;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  place-items: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 24px rgba(14, 31, 64, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.service-card.selected {
  border-color: rgba(7, 95, 228, 0.35);
  box-shadow: 0 16px 36px rgba(14, 31, 64, 0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #cde3ff;
  border-radius: 12px;
  color: var(--blue);
  background: linear-gradient(180deg, #f3f8ff 0%, #e8f2ff 100%);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.service-icon--photo,
.service-card .service-thumb--card {
  border: none;
  background: transparent;
  padding: 0;
}

.service-card:hover .service-thumb,
.service-card.selected .service-thumb {
  box-shadow: 0 10px 26px rgba(14, 31, 64, 0.16);
  transform: scale(1.06) translateY(-1px);
}

.service-card:hover .service-icon:not(.service-icon--photo),
.service-card.selected .service-icon:not(.service-icon--photo) {
  border-color: rgba(0, 169, 157, 0.35);
  color: var(--teal);
  background: linear-gradient(180deg, #effefb 0%, #e0f7f4 100%);
}

.service-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.service-card small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.service-card b {
  align-self: end;
  margin-top: 8px;
  color: var(--blue);
  font-size: 0.83rem;
}

/* MOVIDO a assets/css/home-brand-lock.css (bloqueo intencional — no borrar ni split a provider.css)
.provider-grid { ... }
.provider-card { ... }
.provider-photo { aspect-ratio 3/2 ... }
Ver index.html data-home-lock="providers"
*/

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
}

.step-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.step-card:nth-child(2) > span {
  background: var(--teal);
}

.step-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-band {
  padding: 34px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--warm-mist) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 24px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(7, 95, 228, 0.06), rgba(0, 169, 157, 0.08)),
    #f3f6fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.feature-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 8px 16px;
}

.feature-grid span,
.feature-grid .feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  grid-row: 1 / 3;
  box-shadow: 0 4px 12px rgba(14, 31, 64, 0.08);
}

.feature-grid .feature-icon svg {
  display: block;
}

.feature-grid article:nth-child(2) .feature-icon {
  color: #0f8f86;
}

.feature-grid article:nth-child(3) .feature-icon {
  color: #1a5fd4;
}

.feature-grid article:nth-child(4) .feature-icon {
  color: #b7791f;
}

.feature-grid h3 {
  grid-column: 2;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-grid p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}










.photo-4 {
  object-position: center center;
}











.outline-button {
  width: calc(100% - 32px);
  min-height: 40px;
  margin: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease;
}



.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px) clamp(18px, 4vw, 56px);
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(120deg, #0646b8 0%, #075fe4 38%, #00a99d 100%);
}

.cta-grid h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.cta-grid p {
  max-width: 100%;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  overflow-wrap: break-word;
}





.stats-section {
  padding-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 28px;
  border-radius: 8px;
  background: #f7f9fc;
}

.stats-grid article {
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: #06357e;
  font-size: 1.55rem;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}















.dashboard-header h2,
.login-modal h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.dashboard-header p:not(.dashboard-kicker),
.login-modal p:not(.dashboard-kicker):not(.login-error) {
  max-width: min(620px, 100%);
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.session-pill {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #cae8e6;
  border-radius: 999px;
  color: #067a72;
  background: #eefbf9;
  font-size: 0.86rem;
  font-weight: 900;
}

















































.request-filter-bar--operations {
  margin-bottom: 14px;
}





























































.client-service-select-native,
.role-form select.client-service-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}





























































































.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



































































































































/* Client: panel limpio; flujo de solicitud solo al crear una nueva */


































































































































@keyframes clientWizardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clientPhotoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}





.field-required {
  color: #d93025;
}



































/* ── AI Reasoning block ─────────────────────────────────────────────── */








/* ── Editable materials table ────────────────────────────────────────── */
























/* ── Labor reasoning note ────────────────────────────────────────────── */




/* ── Admin-edited badge ──────────────────────────────────────────────── */
































































































































































































































































.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 20, 45, 0.82);
}

.login-modal {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(8, 20, 45, 0.26);
}

/* Perfil prestador: no usar .login-modal (460px); ancho casi pantalla completa */
.modal-backdrop.provider-profile-backdrop .provider-profile-modal,
.login-modal.provider-profile-modal {
  width: min(1600px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 32px 44px 44px;
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.login-route-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.login-route-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-route-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-link {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #06357e;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.route-link:hover,
.modal-close:hover {
  border-color: rgba(7, 95, 228, 0.28);
  background: #f4f8ff;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.profile-modal {
  width: min(720px, 100%);
}

.profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-form .btn {
  grid-column: 1 / -1;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.login-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
}

.login-form input:focus {
  border-color: rgba(7, 95, 228, 0.45);
  box-shadow: 0 0 0 4px rgba(7, 95, 228, 0.1);
}

.password-field-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.password-field-wrap > input {
  width: 100%;
  padding-right: 44px;
}

.login-form .password-field-wrap > input,
.role-form .password-field-wrap > input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.password-toggle:hover {
  color: var(--ink, #111827);
  background: rgba(15, 23, 42, 0.06);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(7, 95, 228, 0.45);
  outline-offset: 2px;
}

.password-toggle__icon {
  width: 20px;
  height: 20px;
  display: none;
  pointer-events: none;
}

.password-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.password-toggle:not(.is-visible) .password-toggle__icon--show {
  display: block;
}

.password-toggle.is-visible .password-toggle__icon--hide {
  display: block;
}

.login-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  margin-top: 12px;
  padding: 44px 0 28px;
  border-top: 1px solid #dce6f2;
  background: linear-gradient(180deg, #f9fbfe 0%, #f2f6fc 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  padding-bottom: 28px;
}

.footer-grid--compact {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
}

.footer-brand {
  width: 132px;
  min-height: 34px;
}

.footer-brand .brand-logo {
  width: 132px;
  height: 34px;
  background-image: url("/assets/workori-logo.webp?v=20260604-logo-hq");
  background-position: left center;
}

.footer-tagline {
  margin: 14px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-address {
  margin: 16px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-address__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-col-title {
  margin: 4px 0 14px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #3d4d6a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--blue);
  outline: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid #dce6f2;
}

.footer-copy {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-meta {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: right;
}

.footer-flow-note {
  margin: 0 0 22px;
  padding: 11px 14px;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
  background: #ffffff;
  color: #06357e;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: var(--blue);
  text-decoration: underline;
}

.footer-bottom--solo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-top: 18px;
  border-top: 1px solid #dce6f2;
}

.legal-main {
  padding: 48px 0 64px;
  background: var(--soft);
}

.legal-content {
  max-width: 720px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
}

.legal-updated {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: #1a2744;
}

.seo-hub {
  max-width: 760px;
}

.seo-hub h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.seo-hub h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.seo-hub-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #1a2744;
}

.seo-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-service-links,
.seo-benefits {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.seo-service-links a {
  color: var(--primary, #075fe4);
  font-weight: 600;
}

.seo-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.seo-city-grid li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.95rem;
}

.seo-faq {
  margin: 0;
}

.seo-faq dt {
  margin-top: 20px;
  font-weight: 700;
  color: #0f1a33;
}

.seo-faq dt:first-child {
  margin-top: 0;
}

.seo-faq dd {
  margin: 8px 0 0;
  color: #1a2744;
  line-height: 1.6;
}















.legal-content ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.legal-content code {
  font-size: 0.88em;
  background: var(--soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.legal-links a {
  color: var(--blue);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  width: min(460px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #08142d;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

.role-page {
  background: #fbfdff;
}

















.role-form-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}







/* Tarjeta de selección de servicio (proveedor checkbox / cliente botón radio). */
























.role-location-row {
  margin-top: 4px;
}

.role-location-row input {
  min-width: 0;
}











































































































































































































body.provider-contract-modal-open {
  overflow: hidden;
}











































































.role-main {
  min-height: calc(100vh - 74px);
}

.role-section {
  padding: 42px 0 64px;
}

.role-shell {
  max-width: 820px;
  width: 100%;
}

.flow-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.flow-breadcrumb a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.flow-breadcrumb a:hover {
  text-decoration: underline;
}

.panel-back-link--btn {
  font-family: inherit;
}



















.login-modal-escape {
  margin: 16px 0 0;
  text-align: center;
}

body.admin-locked #adminBackHome {
  display: none !important;
}

.flow-steps {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.flow-steps li.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #edf5ff;
}

.flow-steps li.complete {
  border-color: #c5e0ff;
  color: #06357e;
  background: #f5faff;
}

.role-intro {
  margin-bottom: 28px;
}

.role-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.role-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.role-form,
.role-confirmation {
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.role-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.role-form-wide {
  grid-column: 1 / -1;
}

.role-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.role-form-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.role-location-row input {
  min-width: 0;
}


.role-form textarea {
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  outline: 0;
  resize: vertical;
}

.role-form textarea {
  min-height: 120px;
}


.role-form textarea:focus {
  border-color: rgba(7, 95, 228, 0.45);
  box-shadow: 0 0 0 4px rgba(7, 95, 228, 0.1);
}

.role-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}







































































































































































































































































@keyframes client-auth-sheen {
  0%,
  42% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes client-auth-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes client-auth-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.82) rotate(12deg);
  }

  100% {
    opacity: 0;
    transform: scale(1.25) rotate(12deg);
  }
}







































.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  padding: 4px 0;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--primary-hover);
}







.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.btn-google:hover {
  border-color: #c7daf8;
  background: #f8fbff;
}

.google-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #4285f4;
  font-weight: 900;
}





.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.role-form label.role-form-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.role-form-remember input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
}

.form-error {
  margin: 16px 0 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-error.form-success {
  color: #027a48;
}


.role-form textarea.field-invalid {
  border-color: #f04438;
  box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.12);
}

.btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.role-status-note {
  margin: 0 0 12px;
  color: #06357e;
  font-weight: 800;
}





.role-confirmation h2 {
  margin: 0 0 10px;
}

.role-confirmation p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.role-reference {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #edf5ff;
  color: #06357e;
  font-weight: 800;
}

.role-reference strong {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .flow-steps {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .mobile-nav-link {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .main-nav:not(.active) {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.active {
    position: fixed;
    inset: 74px 16px auto;
    z-index: 40;
    display: grid;
    gap: 4px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.active a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    white-space: normal;
  }

  .main-nav.active .mobile-nav-group-label {
    display: block;
    margin: 8px 10px 4px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
  }

  .mobile-nav-link {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-weight: 800;
    color: var(--blue);
  }

  #providerButton,
  #bookService,
  .owner-access-button {
    display: none;
  }
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 4px;
  }
}



@media (min-width: 901px) and (max-width: 1120px) {
  .hero {
    min-height: 0;
    padding: 24px 0 48px;
  }

  .hero::before {
    mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 38%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(255, 255, 255, 0.42) 68%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 24px;
  }

  .hero-copy {
    gap: 16px;
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 32rem;
    font-size: clamp(2.25rem, 4.45vw, 3rem);
    line-height: 1.1;
  }

  .hero-text {
    max-width: 31rem;
    font-size: 1rem;
  }

  .hero-media {
    aspect-ratio: auto;
    min-height: clamp(520px, 66vh, 590px);
    max-width: none;
    margin-top: -4px;
    justify-self: stretch;
    border-radius: 0;
  }

  .hero-photo {
    object-position: 56% 8%;
    -webkit-mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.28) 8%,
        rgba(0, 0, 0, 0.72) 18%,
        #000 30%,
        #000 100%
      );
    mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.28) 8%,
        rgba(0, 0, 0, 0.72) 18%,
        #000 30%,
        #000 100%
      );
  }

  .hero-media::before {
    background:
      linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.82) 12%,
        rgba(255, 255, 255, 0.38) 26%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 255, 255, 0) 52%
      ),
      linear-gradient(180deg, rgba(8, 20, 45, 0) 62%, rgba(8, 20, 45, 0.1) 100%);
  }

  .hero-float-stack--tr {
    top: clamp(150px, 36%, 210px);
    bottom: 16px;
    right: 14px;
    width: min(160px, 36%);
    transform: scale(0.88);
  }

  .hero-float-stack--tr .hero-job-card,
  .hero-float-stack--tr .status-card,
  .hero-float-stack--tr .hero-trust-card {
    padding: 10px;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .search-form-submit {
    grid-column: 1 / -1;
  }

  .field-group {
    min-height: 76px;
    padding: 10px 12px;
  }
}







@media (max-width: 900px) {
  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .logout-button {
    padding: 8px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}



.role-intro-actions {
  margin-top: 14px;
}

.card-panel {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.messages-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.messages-layout--provider,
.messages-layout--admin {
  margin-top: 12px;
}



.support-hub-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #c7d7f5;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
}

.support-hub-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #06357e;
}

.support-hub-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-workstation .support-hub-banner,
.support-workstation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: #d9e2ef;
  background: #ffffff;
}

.support-workstation-header > div {
  min-width: 0;
}

.support-workstation-header .support-hub-notify-status {
  flex-basis: 100%;
}

.support-hub-notify-status {
  margin-top: 8px !important;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
}

.support-hub-notify-status--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.support-hub-notify-status--warn {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.support-hub-status-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.support-hub-status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  min-width: 80px;
}

.support-hub-status-item--urgent {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #fca5a5;
}

.support-hub-status-item--waiting {
  background: linear-gradient(135deg, #fef9c3, #fef08a);
  border-color: #fcd34d;
}

.support-hub-status-count {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.support-hub-status-item--urgent .support-hub-status-count {
  color: #dc2626;
}

.support-hub-status-label {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.support-hub-placeholder {
  text-align: center;
  padding: 80px 40px;
  background: #f8fafc;
  border-radius: 16px;
  margin: 20px;
}

.support-hub-placeholder-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}

.support-hub-quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.support-hub-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.support-hub-quick-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.support-hub-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.support-hub-quick-btn:active {
  transform: translateY(0);
}

.support-hub-quick-btn--received {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.support-hub-quick-btn--assigned {
  background: linear-gradient(135deg, #10b981, #059669);
}

.support-hub-quick-btn--coordination {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.support-hub-quick-btn--followup {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.support-hub-quick-btn--closing {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.support-hub-send-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.support-hub-send-row .btn-primary {
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
}

.support-hub-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.support-hub-template-btn {
  padding: 8px 14px;
  border: 1px solid #93b4e8;
  border-radius: 8px;
  background: #f0f6ff;
  color: #06357e;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.support-hub-template-btn:hover {
  background: #e0ecff;
  border-color: #4a7fd4;
  transform: translateY(-1px);
}

.support-hub-template-btn:active {
  transform: translateY(0);
}

.support-hub-layout {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
}

.support-hub-sidebar {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.support-focus-card {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #bfd3ef;
  border-radius: 10px;
  background: #f4f8ff;
}

.support-focus-card span,
.support-case-eyebrow {
  color: #52647a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-focus-card strong {
  color: #123760;
  font-size: 1rem;
  line-height: 1.25;
}

.support-focus-card small {
  color: #64748b;
  line-height: 1.35;
}

.support-hub-sidebar .messages-inbox-header {
  margin: 12px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.support-hub-sidebar .messages-inbox-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.support-hub-status-bar {
  padding: 12px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.support-hub-status-item {
  padding: 12px 16px;
}

.support-hub-queue {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.support-hub-queue-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.support-hub-queue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-hub-queue-item {
  padding: 14px 16px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.support-hub-queue-item:hover {
  background: #fef9c3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.support-hub-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.support-hub-filter {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.support-hub-filter:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.support-hub-filter.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: #0756c9;
}


.request-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.request-filter {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.request-filter:hover,
.request-filter.active {
  border-color: var(--blue);
  background: #f0f6ff;
  color: #06357e;
}

.request-filter-meta {
  margin: 0 0 10px;
}











.support-hub-queue {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.support-hub-queue-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.support-hub-queue-list {
  display: grid;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.support-hub-queue-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  border-radius: 10px;
  background: #fffbeb;
  cursor: pointer;
}

.support-hub-queue-item:hover {
  border-color: #f59e0b;
  background: #fef3c7;
}

.support-hub-queue-item strong {
  display: block;
  font-size: 0.88rem;
}

.support-hub-queue-item span,
.support-hub-queue-item small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.support-hub-placeholder {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 320px;
  padding: 24px;
  text-align: center;
}

.support-hub-placeholder h3 {
  margin: 0;
}

.support-hub-placeholder p {
  margin: 0;
  color: var(--muted);
}

.support-hub-context {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: opacity 0.2s;
}

.support-hub-context:hover {
  opacity: 1;
}

.support-hub-context.collapsed {
  display: none;
}

.support-hub-context > h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.support-hub-context-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  background: #f0f9ff;
  border: 2px dashed #38bdf8;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
}

.support-hub-context-toggle:hover {
  background: #e0f2fe;
}

.support-hub-context-toggle.visible {
  display: block;
}

.support-hub-context-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-hub-policy-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.85rem;
  font-weight: 500;
}

.support-hub-context-block {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafbfc;
}

.support-hub-context-block h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
}

.support-hub-context-block p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: #6b7280;
}

.support-hub-context-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.support-hub-related-list {
  display: grid;
  gap: 6px;
}

.support-hub-related-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.support-hub-related-item:hover {
  border-color: var(--blue);
  background: #f0f6ff;
}

.support-hub-related-item strong {
  display: block;
  font-size: 0.86rem;
}

.support-hub-related-item span,
.support-hub-related-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.message-thread-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: #dc2626;
  color: #fff;
}

























.role-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.support-hub-needs-service {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 700;
}

.support-hub-needs-location {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.86rem;
}

.support-hub-outzone-title {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #9a3412;
}

.support-hub-link-panel {
  display: grid;
  gap: 12px;
}

.support-hub-provider-cards {
  display: grid;
  gap: 8px;
}

.support-hub-provider-card {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.support-hub-provider-card strong {
  display: block;
  font-size: 0.9rem;
}


.support-hub-provider-card em {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: normal;
}

.support-hub-provider-card em {
  margin-top: 4px;
  color: #065f46;
  font-weight: 600;
}

.support-hub-provider-card:hover,
.support-hub-provider-card--selected {
  border-color: var(--blue);
  background: #f0f6ff;
}

.support-hub-provider-card--preferred {
  border-color: #10b981;
  background: #ecfdf5;
}

.support-hub-provider-card--top {
  border-color: #93c5fd;
}

.support-hub-provider-card--outzone {
  border-color: #fed7aa;
  background: #fff7ed;
}

.support-hub-provider-card--outzone em {
  color: #9a3412;
}

.support-hub-assign-row {
  display: grid;
  gap: 8px;
}

.support-hub-provider-select {
  width: 100%;
}

.support-hub-no-match {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.84rem;
}

.support-hub-request-view {
  display: grid;
  gap: 14px;
  min-height: 320px;
  padding: 4px 0;
}

.support-hub-request-header h3 {
  margin: 0 0 4px;
}

.support-hub-request-service {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-hub-request-details {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.support-hub-related-item--actionable {
  border-color: #fde68a;
  background: #fffbeb;
}

.support-hub-related-item.active {
  border-color: var(--blue);
  background: #f0f6ff;
}

.support-hub-queue-item--smart small:last-child {
  color: #065f46;
  font-weight: 600;
}

.support-workstation .support-hub-layout {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(220px, 280px);
  min-height: 680px;
  padding: 14px;
  background: #f6f8fb;
}

.support-workstation .support-hub-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  margin-bottom: 10px;
}

.support-workstation .support-hub-status-item {
  min-width: 0;
  padding: 8px 6px;
}

.support-workstation .support-hub-status-count {
  font-size: 1.35rem;
}

.support-workstation .support-hub-status-label {
  font-size: 0.64rem;
  letter-spacing: 0;
}

.support-workstation .support-hub-queue {
  margin-top: 12px;
  padding-top: 12px;
}

.support-workstation .support-hub-queue-list,
.support-workstation .messages-thread-list {
  max-height: 230px;
  overflow: auto;
}

.support-workstation .message-thread-row {
  padding: 12px;
  border-width: 1px;
  border-radius: 10px;
}

.support-workstation .message-thread-row strong {
  font-size: 0.9rem;
}

.support-workstation .message-thread-row p {
  display: none;
}

.support-workstation .support-hub-placeholder {
  min-height: 520px;
  margin: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
}

.support-workstation .messages-thread-panel {
  min-height: 680px;
}

.support-workstation .messages-thread-header {
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid #e8edf5;
}

.support-workstation .messages-thread-header h3 {
  margin-top: 3px;
}

.support-workstation .support-hub-conversation .messages-scroll {
  min-height: 390px;
}

.support-workstation .support-hub-context {
  max-height: 680px;
  overflow: auto;
}

.messages-inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.messages-inbox-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

















.messages-company-chat {
  margin: 12px 0 4px;
  display: grid;
  gap: 8px;
}

.message-thread-row--support {
  border-color: #c7d7f5;
  background: #f5f9ff;
  border-left: 4px solid var(--blue, #075fe4);
}

.message-thread-row--support > span {
  color: var(--blue, #075fe4);
  font-weight: 700;
}

.message-thread-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #e8f0ff;
  color: #06357e;
}

.message-thread-badge--support {
  background: #fee2e2;
  color: #991b1b;
}

















































































.message-thread-row strong {
  flex: 1;
  min-width: 0;
}























































.messages-thread-list {
  display: grid;
  gap: 8px;
}





































































.message-thread-row {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 10px;
}

.message-thread-row.active {
  border-color: var(--blue);
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(9, 60, 150, 0.12);
}

.message-thread-row:hover:not(.active) {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.message-thread-row--urgent {
  border-left: 5px solid #dc2626;
  background: #fef2f2;
}

.message-thread-row--urgent:hover {
  background: #fee2e2;
}

.message-thread-row--urgent.active {
  border-left-color: #dc2626;
}

.message-thread-row strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}


.message-thread-row time {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

.message-thread-row p {
  margin: 8px 0;
  color: #475569;
  line-height: 1.5;
}

.message-thread-row.active p {
  color: #1e293b;
  font-weight: 500;
}

.message-thread-time {
  font-size: 0.75rem;
  color: #94a3b8;
}

.message-thread-time--urgent {
  color: #dc2626;
  font-weight: 700;
}

.message-unread-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #06357e;
  font-size: 0.75rem;
  font-weight: 700;
}



































































#staffVoiceBtn.is-recording,
#staffFloatVoiceBtn.is-recording {
  border-color: #d64545;
  background: #fff1f1;
  color: #b42318;
}



.message-bubble:hover .staff-message-actions {
  opacity: 1;
}





































































.message-thread-row--pinned {
  border-color: #b6c9ec;
  background: #f6f9ff;
}









.messages-thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.messages-thread-header h2,
.messages-thread-header h3 {
  margin: 0 0 4px;
}

.messages-thread-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.messages-scroll {
  display: grid;
  gap: 10px;
  max-height: min(55vh, 480px);
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.support-hub-conversation {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.support-hub-conversation .messages-scroll {
  max-height: 45vh;
  min-height: 200px;
}

.message-bubble {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  margin-bottom: 8px;
}







.message-bubble header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.message-bubble header strong {
  color: #1e293b;
}

.message-bubble header time {
  color: #64748b;
  white-space: nowrap;
  font-size: 0.8rem;
}

.message-bubble p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.6;
  color: #334155;
}

.messages-compose {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: 16px;
}

.messages-compose .role-form-wide {
  min-width: 0;
}

.messages-compose textarea {
  width: 100%;
  min-height: 120px;
  font-size: 0.95rem;
  resize: vertical;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.support-hub-conversation .messages-compose {
  background: transparent;
  padding: 16px 0 0;
  border-radius: 0;
  border: none;
}

.support-hub-conversation .messages-compose textarea {
  min-height: 100px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 14px;
  font-size: 1rem;
}

.support-hub-conversation .btn-primary[type="submit"] {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
  align-self: flex-end;
}

.messages-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}



























































#staffVoiceBtn.is-recording .staff-icon,
#staffFloatVoiceBtn.is-recording .staff-icon {
  color: #b42318;
}

























































@media (max-width: 900px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }

  .support-hub-layout {
    grid-template-columns: 1fr;
  }

  .support-workstation .support-hub-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .support-workstation-header {
    align-items: stretch;
    flex-direction: column;
  }

  .support-workstation-header .btn {
    width: 100%;
  }

  .support-workstation .messages-thread-panel {
    min-height: 0;
  }

  .support-hub-context {
    order: 3;
  }
}

.dashboard-tab[hidden],
.main-nav a[hidden] {
  display: none !important;
}



.team-layout {
  display: grid;
  gap: 20px;
}

@media (min-width: 1100px) {
  .team-layout {
    grid-template-columns: minmax(320px, 420px) 1fr;
    align-items: start;
  }
}

.team-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.team-card--wide {
  min-width: 0;
}

.team-card h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.team-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.team-permissions-fieldset {
  margin: 16px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.team-permissions-grid {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.team-perm-group h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.team-perm-list {
  display: grid;
  gap: 8px;
}

.team-perm-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
}

.team-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-users-table .table-row {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
}

.team-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.modal-card-wide {
  max-width: 720px;
}

.team-template-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.team-templates-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.team-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.team-filter-search {
  flex: 1 1 200px;
}

.team-filter-search input {
  width: 100%;
}

.team-card--audit {
  grid-column: 1 / -1;
}

.team-audit-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.team-audit-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-audit-item p {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.team-audit-item small {
  color: var(--muted);
}

.workbench-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.workbench-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
}

.workbench-stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.workbench-stat strong {
  font-size: 1.35rem;
}

.workbench-list {
  display: grid;
  gap: 10px;
}

.workbench-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workbench-item p {
  margin: 0;
}

.workbench-item small {
  color: var(--muted);
}

.internal-assign-control {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.internal-assign-label {
  display: grid;
  gap: 6px;
}

.internal-assign-label span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* PWA — role identity and install prompts */






body.has-pwa-standalone-bar .site-header {
  position: sticky;
  top: 0;
}























/* Tarjetas «Instala la app» en index.html; iconos con ?v= al regenerar PWA. */


























/* Provider mobile shell (tabbar + FAB) */
@media (max-width: 768px) {
  [data-pwa-role="provider"] {
    --provider-tabbar-h: 62px;
  }

  [data-pwa-role="provider"].provider-mobile-tabbar-active {
    padding-bottom: calc(var(--provider-tabbar-h) + env(safe-area-inset-bottom, 0px));
  }

  [data-pwa-role="provider"].provider-mobile-fab-active.provider-mobile-tabbar-active {
    padding-bottom: calc(var(--provider-tabbar-h) + 72px + env(safe-area-inset-bottom, 0px));
  }

  [data-pwa-role="provider"] .provider-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 32;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: var(--provider-tabbar-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 -4px 20px rgba(14, 31, 64, 0.06);
  }

  [data-pwa-role="provider"] .provider-mobile-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: var(--provider-tabbar-h);
    padding: 8px 4px 10px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
  }

  [data-pwa-role="provider"] .provider-mobile-tabbar a.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #00a99d 0%, #059669 100%);
    border-radius: 12px 12px 0 0;
    margin: 0 2px;
  }

  [data-pwa-role="provider"] .provider-mobile-tabbar svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  [data-pwa-role="provider"] .provider-mobile-fab {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(var(--provider-tabbar-h) + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 33;
    min-height: 48px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: var(--teal);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 169, 157, 0.35);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  [data-pwa-role="provider"] .provider-mobile-fab:active {
    transform: scale(0.98);
  }

  [data-pwa-role="provider"] .provider-field-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
  }

  [data-pwa-role="provider"] .provider-field-action {
    flex: 1 1 calc(50% - 4px);
    min-width: 120px;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  [data-pwa-role="provider"] .toast {
    bottom: calc(var(--provider-tabbar-h) + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
  }

  [data-pwa-role="provider"].provider-mobile-fab-active .toast {
    bottom: calc(var(--provider-tabbar-h) + 72px + env(safe-area-inset-bottom, 0px));
  }

  [data-pwa-role="provider"] .provider-support-fab {
    right: 14px;
    bottom: calc(var(--provider-tabbar-h) + 14px + env(safe-area-inset-bottom, 0px));
    min-height: 48px;
    padding: 8px 12px 8px 9px;
    font-size: 0.82rem;
    box-shadow: 0 12px 28px rgba(7, 95, 228, 0.26);
  }

  [data-pwa-role="provider"].provider-mobile-fab-active .provider-support-fab {
    bottom: calc(var(--provider-tabbar-h) + 78px + env(safe-area-inset-bottom, 0px));
  }

  [data-pwa-role="provider"] .provider-support-fab__icon {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 769px) {
  [data-pwa-role="provider"] .provider-mobile-tabbar,
  [data-pwa-role="provider"] .provider-mobile-fab {
    display: none !important;
  }
}






/* === TRANSICIONES SUAVES === */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, opacity, transform, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

html {
  scroll-behavior: smooth;
}

/* Buttons */
.btn {
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(7, 95, 228, 0.3);
}
.btn-secondary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cards */
.service-card,
.provider-card,
.step-card,
.pwa-app-card {
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.service-card:hover,
.provider-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Nav menu */
.main-nav a {
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-toggle span {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Modals */
.modal-backdrop {
  transition: opacity 0.25s ease;
}
.modal-overlay,
.login-modal {
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(-10px);
}
.modal-overlay:not([hidden]),
.login-modal:not([hidden]) {
  transform: translateY(0);
}

/* Toast */
.toast {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Provider photos */
.provider-photo {
  transition: transform 0.3s ease;
}
.provider-card:hover .provider-photo {
  transform: scale(1.03);
}

/* Home hero / sections */
.hero {
  transition: opacity 0.4s ease;
}
.section {
  transition: opacity 0.3s ease;
}

/* Mobile nav */
.home-mobile-bar {
  transition: transform 0.3s ease;
}

/* Language switch */
.language-option {
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Service thumbnails */
.service-thumb__img {
  transition: transform 0.2s ease;
}
.service-card:hover .service-thumb__img {
  transform: scale(1.1);
}
.service-quick-thumb:hover .service-thumb__img {
  transform: scale(1.15);
}

/* Search form */
.search-form input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-form input:focus {
  box-shadow: 0 0 0 3px rgba(7, 95, 228, 0.15);
}

/* Stats counter */
.stats-grid strong {
  transition: color 0.3s ease;
}

/* Footer links */
.footer-links a {
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.footer-links a:hover {
  padding-left: 3px;
}

/* PWA install panel */
.app-update-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
