/* ==========================================================================
   HVAC-NET MÉXICO - DISEÑO EDITORIAL, LIMPIO Y NO GENÉRICO
   Tema Claro | Tipografía Sobria | Enfoque Contratista Real
   ========================================================================== */

:root {
  --color-ink: #0f172a;
  /* Texto y títulos principales */
  --color-ink-light: #334155;
  /* Texto secundario */
  --color-muted: #64748b;
  /* Leyendas y metadatos */
  --color-border: #e2e8f0;
  /* Bordes nítidos */
  --color-border-light: #f1f5f9;
  /* Separadores sutiles */

  --color-bg-page: #f8fafc;
  /* Fondo de la página */
  --color-bg-card: #ffffff;
  /* Fondo de tarjetas */
  --color-bg-subtle: #f1f5f9;
  /* Fondos alternos sobrios */

  --color-navy: #0a2540;
  /* Azul marino profundo corporativo */
  --color-navy-dark: #071728;
  /* Azul noche para footer */
  --color-blue: #0284c7;
  /* Azul técnico HVAC */
  --color-blue-dark: #0369a1;
  /* Azul hover */
  --color-blue-soft: #e0f2fe;
  /* Azul tenue para etiquetas */
  --color-cyan: #06b6d4;
  /* Acento cian climatización */
  --color-cyan-light: #38bdf8;
  /* Cian brillante para marcas y links */

  --color-green: #16a34a;
  /* Verde disponibilidad */
  --color-green-soft: #dcfce7;
  --color-amber: #d97706;
  /* Ámbar para VRF comercial */
  --color-amber-soft: #fef3c7;
  --color-purple: #7c3aed;
  /* Violeta para industrial */
  --color-purple-soft: #ede9fe;

  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-display: 'Plus Jakarta Sans', var(--font-family-base);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-dropdown: 0 10px 25px rgba(15, 23, 42, 0.1);

  --transition: all 0.18s ease;
}

/* Reset Básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-page);
  color: var(--color-ink-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-family-display);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.15);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-family: var(--font-family-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-name span {
  color: var(--color-cyan-light);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-cyan-light);
  background-color: rgba(56, 189, 248, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-mobile-top {
  display: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: var(--color-cyan-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
}

.header-actions .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.header-actions .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.header-actions .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.6);
}

.nav-mobile-cta {
  display: none;
}

/* Botón Hamburguesa */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-subtle);
  border-color: #cbd5e1;
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-ink-light);
}

.btn-ghost:hover {
  color: var(--color-ink);
  background-color: var(--color-bg-subtle);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn-outline-dark:hover {
  background-color: var(--color-ink);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #16a34a;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #15803d;
  color: #ffffff;
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION - DISEÑO PROFESIONAL CON IMAGEN Y ACCIÓN DIRECTA
   ========================================================================== */
.hero {
  padding: 3.5rem 0 3rem;
  background-color: #f8fafc;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #f0f6fc 0%, #f8fafc 55%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0369a1;
  background-color: #e0f2fe;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
  letter-spacing: 0.01em;
}

.hero-badge-tag .flag-icon {
  font-size: 1rem;
  line-height: 1;
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.15rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-navy);
  line-height: 1.16;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.65rem;
  max-width: 600px;
}

/* Módulo de Acción Rápida: Card Express */
.hero-quick-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.08), 0 2px 6px -1px rgba(10, 37, 64, 0.03);
  margin-bottom: 0;
}

.quick-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.quick-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}

.quick-desc {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-quick-form {
  margin-bottom: 0.9rem;
}

.quick-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.quick-form-row-second {
  grid-template-columns: 1.1fr 1fr;
  align-items: flex-end;
}

.quick-field {
  display: flex;
  flex-direction: column;
}

.quick-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.quick-input,
.quick-select {
  width: 100%;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-ink);
  background-color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.quick-input:focus,
.quick-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.quick-submit-wrap .btn-hero-cta {
  height: 42px;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quick-submit-wrap .btn-hero-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.quick-sub-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  flex-wrap: wrap;
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--color-blue);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 0.82rem;
  text-decoration: underline;
}

.btn-text-link:hover {
  color: var(--color-blue-dark);
}

.btn-wa-link {
  color: #16a34a;
  font-weight: 600;
}

.btn-wa-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.sep-dot {
  color: var(--color-border);
}

/* Puntos clave de confianza */
.hero-check-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #334155;
}

.hero-check-item .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Columna Derecha: Imagen del Técnico y Notificaciones */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media-card {
  position: relative;
  width: 100%;
  max-width: 490px;
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(10, 37, 64, 0.22);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: block;
}

/* Notificación Flotante: Orden en Vivo */
.floating-ticket {
  position: absolute;
  top: -18px;
  left: -22px;
  width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.16);
  z-index: 2;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.ticket-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  background-color: #dcfce7;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.ticket-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16a34a;
  display: inline-block;
}

.ticket-category {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.ticket-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.ticket-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.ticket-city {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #64748b;
  font-weight: 500;
}

.ticket-pay {
  font-weight: 800;
  color: var(--color-blue);
  font-size: 0.92rem;
}

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.45rem;
}

.ticket-channel {
  font-weight: 700;
  color: #16a34a;
}

/* Badge Flotante de Estadísticas */
.floating-stat {
  position: absolute;
  bottom: 22px;
  right: -18px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #0a2540;
  color: #ffffff;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.stat-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
}

.stat-badge-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.stat-badge-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Barra de Garantías / Estadísticas: Horizontal, limpia, a ancho completo de contenedor (1140px) */
.hero-trust-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 1.35rem 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0 0.75rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30, 92, 179, 0.08);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  display: block;
}

.trust-metric {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.trust-desc strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.trust-desc span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.35;
}

.trust-sep {
  width: 1px;
  height: 38px;
  background-color: var(--color-border);
}

/* ==========================================================================
   SECCIÓN DE RESPALDO Y PAGO - ADAPTADA (ESTILO CLARO AZUL HVAC)
   ========================================================================== */
.section-pro-payout {
  background-color: #f0f7ff;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #f0f7ff 0%, #e0f2fe 50%, #f8fafc 100%);
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.payout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.payout-content {
  color: #0f172a;
}

.payout-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0284c7;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.payout-title {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a2540;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.payout-lead {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.payout-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.payout-card {
  background-color: #ffffff;
  border: 1px solid #e0f2fe;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payout-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
}

.payout-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 0.35rem;
}

.payout-card span {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.btn-payout-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.85rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.btn-payout-blue:hover {
  background-color: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.45);
}

/* Panel Derecho: Dashboard Dark del Técnico */
.payout-score-panel {
  background-color: #0a2540;
  background-image: radial-gradient(circle at 100% 0%, rgba(2, 132, 199, 0.2) 0%, transparent 60%);
  border-radius: 20px;
  padding: 2.15rem;
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #ffffff;
  max-width: 440px;
  width: 100%;
  margin-left: auto;
  position: relative;
}

.score-user-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.65rem;
}

.score-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.score-user-meta strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.score-user-meta span {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.score-metric-wrap {
  margin-bottom: 1.15rem;
}

.score-big-num {
  font-family: var(--font-family-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.35rem;
}

.score-badge-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.score-progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 1.35rem;
  overflow: hidden;
}

.score-progress-bar {
  width: 94%;
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 999px;
}

.score-pills-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.score-pill {
  background-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.score-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.score-stat-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

.score-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.3rem;
}

.score-stat-val {
  font-family: var(--font-family-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: block;
}

@media (max-width: 992px) {
  .payout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .payout-score-panel {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .section-pro-payout {
    padding: 3.5rem 0;
  }
  .payout-cards-grid {
    grid-template-columns: 1fr;
  }
  .score-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECCIÓN DE REGISTRO DEDICADA (HUMANA, SIN CLICHÉS DE IA)
   ========================================================================== */
.section-register {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.register-container {
  max-width: 1060px;
}

.text-center {
  text-align: center;
}

.register-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.register-info-panel {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.register-info-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  color: var(--color-ink);
}

.register-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.register-step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-ink);
  margin-bottom: 0.2rem;
}

.register-step p {
  font-size: 0.85rem;
  color: var(--color-ink-light);
  line-height: 1.45;
  margin: 0;
}

.register-help-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 2rem;
}

.register-help-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.register-help-card p {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.register-form-panel {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
}

/* Campos de Formulario */
.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field-row {
  display: flex;
  gap: 0.85rem;
}

.field-group.col {
  flex: 1;
}

.field-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.input-text,
.input-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-ink);
  background-color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.input-text:focus,
.input-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-disclaimer {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.45;
}

/* Estado de Éxito */
.form-success-box {
  text-align: center;
  padding: 1rem 0;
}

.success-check-badge {
  width: 48px;
  height: 48px;
  background-color: var(--color-green-soft);
  color: var(--color-green);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.success-next-box {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1.25rem 0;
  text-align: left;
}

.next-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.success-next-box p {
  font-size: 0.85rem;
  color: var(--color-ink-light);
  margin: 0;
}

.success-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.bg-subtle {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title-wrap {
  margin-bottom: 1.75rem;
}

.sub-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.35rem;
}

.title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--color-muted);
}

/* ==========================================================================
   BOLSA DE SERVICIOS (TABLERO DE DESPACHO)
   ========================================================================== */
/* ==========================================================================
   EJEMPLOS DE SERVICIOS (MUESTRA DE 4 CASOS REALES)
   ========================================================================== */
.examples-notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
}

.notice-pin {
  font-size: 1.15rem;
  line-height: 1;
}

.notice-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  background-color: #e0f2fe;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.job-time {
  color: #16a34a;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Banner de Cierre debajo de los 4 Ejemplos */
.board-cta-footer {
  margin-top: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
  flex-wrap: wrap;
}

.cta-footer-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.cta-footer-text span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Fila de Trabajo en Formato Lista / Tablero */
.dispatch-board {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.job-row {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.job-row:hover {
  border-color: var(--color-blue);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.job-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.job-row-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
}

.job-tag {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  border: none;
}

.job-tag.tag-residencial {
  background-color: #e0f2fe;
  color: #0369a1;
}

.job-tag.tag-comercial {
  background-color: #fef3c7;
  color: #92400e;
}

.job-tag.tag-refrigeracion {
  background-color: #dcfce7;
  color: #166534;
}

.job-tag.tag-industrial {
  background-color: #ede9fe;
  color: #5b21b6;
}

.job-loc {
  color: var(--color-muted);
}

.job-row-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
}

.job-row-specs {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.job-row-pay {
  text-align: right;
}

.pay-amount {
  font-family: var(--font-family-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-blue);
  display: block;
}

.pay-label {
  font-size: 0.72rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.btn-take-job {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  background-color: #f0f9ff;
  border: 1.5px solid var(--color-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-take-job:hover {
  background-color: var(--color-blue);
  color: #ffffff;
  border-color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   CÓMO OPERAMOS (3 REGLAS CLARAS)
   ========================================================================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.rule-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.rule-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.rule-num {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.75rem;
}

.rule-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.rule-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-ink-light);
}

/* ==========================================================================
   REQUISITOS Y FAQ EN 2 COLUMNAS
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-bullet {
  width: 26px;
  height: 26px;
  background-color: var(--color-green-soft);
  color: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-ink);
  margin-bottom: 0.15rem;
}

.checklist span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.qa-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.qa-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.qa-item p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-ink-light);
}

/* ==========================================================================
   EMPRESAS Y SOPORTE
   ========================================================================== */
.contact-strip {
  padding: 2.5rem 0;
}

.contact-box {
  background: linear-gradient(135deg, #0a2540 0%, #0d3868 55%, #0284c7 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.18);
  color: #ffffff;
}

.contact-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.contact-box p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.contact-box .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-box .btn-outline-dark:hover {
  background-color: #ffffff;
  color: #0a2540;
  border-color: #ffffff;
}

.contact-box .btn-whatsapp {
  background-color: #22c55e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  font-weight: 700;
}

.contact-box .btn-whatsapp:hover {
  background-color: #16a34a;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left strong {
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 1.15rem;
}

.footer-left p {
  color: #94a3b8;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-cyan-light);
}

.footer-legal {
  color: #64748b;
  font-size: 0.8rem;
}

/* ==========================================================================
   MODAL DE INFORMACIÓN
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-dropdown);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
}

.modal-header {
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.modal-success-state {
  text-align: center;
  padding: 1rem 0;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background-color: var(--color-navy);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-cyan-light);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.2);
  pointer-events: auto;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE DESIGN (ADAPTACIÓN MULTIPANTALLA COMPLETA)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-left {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
  }

  .hero-right {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .floating-ticket {
    left: -10px;
    top: -12px;
  }

  .floating-stat {
    right: -10px;
    bottom: 14px;
  }

  .hero-trust-bar {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .trust-sep {
    display: none;
  }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rules-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Menú Móvil a partir de 1024px para evitar colisión de enlaces */
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    max-width: 80vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    transition: right 0.25s ease;
    gap: 0;
  }

  .nav.active {
    right: 0;
  }

  .nav-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-mobile-title {
    font-weight: 700;
    color: var(--color-ink);
  }

  .nav-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-muted);
    cursor: pointer;
  }

  .nav-link {
    color: var(--color-ink) !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-link:hover {
    color: var(--color-blue) !important;
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .header-actions .btn {
    display: none;
  }

  .nav-backdrop.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 2050;
  }
}

@media (max-width: 860px) {
  .hero-quick-form {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .quick-submit-wrap {
    grid-column: span 2;
  }

  .job-row {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .job-row-pay {
    grid-column: 1 / 2;
    text-align: left;
  }

  .btn-take-job {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-quick-card {
    padding: 1.25rem 1rem;
  }

  .quick-form-row,
  .quick-form-row-second {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quick-submit-wrap {
    width: 100%;
  }

  .quick-submit-wrap .btn-hero-cta {
    width: 100%;
  }

  .floating-ticket {
    position: static;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  }

  .floating-stat {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    justify-content: center;
  }

  .hero-check-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .quick-sub-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .sep-dot {
    display: none;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
    padding: 1.15rem;
  }

  .trust-item {
    text-align: left;
    padding: 0.2rem 0;
  }

  .field-row {
    flex-direction: column;
    gap: 0;
  }

  .register-form-panel {
    padding: 1.5rem;
  }

  .register-info-panel {
    padding: 1.5rem;
  }

  .examples-notice-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem 1.15rem;
  }

  .board-cta-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.15rem;
  }

  .board-cta-footer .btn {
    width: 100%;
  }

  .job-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.15rem;
  }

  .job-row-pay {
    grid-column: auto;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .btn-take-job {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .contact-box {
    padding: 1.75rem 1.25rem;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }
}