/* ==========================================================================
   CAR FOR CASH DENVER - ARCHIVO DE DISEÑO SEPARADO (style.css)
   100% Independiente | 100% Accesibilidad WCAG AA | Signo $ sin cuadro
   ========================================================================== */

/* Fuente de respaldo calibrada con las métricas reales de Public Sans (anti-CLS al cambiar de fuente)
   Regular 400-600: ancho medio 104.16% de Arial | Ascent 0.95 / Descent 0.225 */
@font-face {
  font-family: 'Public Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Helvetica Neue'), local('Roboto');
  font-weight: 100 600;
  size-adjust: 104.16%;
  ascent-override: 91.21%;
  descent-override: 21.6%;
  line-gap-override: 0%;
}

/* Negrillas 700-900 (títulos, botones): calibradas contra Arial Bold */
@font-face {
  font-family: 'Public Sans Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Helvetica Neue Bold'), local('Roboto Bold');
  font-weight: 700 900;
  size-adjust: 100.8%;
  ascent-override: 94.2%;
  descent-override: 22.3%;
  line-gap-override: 0%;
}

:root {
  --cfc-navy: #102A43;
  --cfc-navy-deep: #0A1B2E;
  --cfc-slate-bg: #F0F4F8;
  --cfc-sky: #0EA5E9;
  --cfc-sky-dark: #0369A1;
  --cfc-emerald: #10B981;
  --cfc-emerald-dark: #059669;
  --cfc-wa-green: #25D366;
  --cfc-wa-dark: #075E54;
  --cfc-wa-ink: #051E11;
  --cfc-bill-green: #15803D;
  --cfc-gold: #F59E0B;
  --cfc-ink: #1E293B;
  --cfc-muted: #475569;
  --cfc-line: #CBD5E1;
  --cfc-white: #FFFFFF;
  --cfc-danger: #B91C1C;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: 'Public Sans', 'Public Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cfc-slate-bg);
  color: var(--cfc-ink);
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 800;
  color: var(--cfc-navy);
  overflow-wrap: break-word;
}

.cfc-container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.cfc-hidden {
  display: none !important;
}

/* ==========================================================================
   1. BANNERS PROMOCIONALES DINÁMICOS (SUPERIOR E INFERIOR)
   ========================================================================== */
.cfc-promo-banner {
  background: linear-gradient(90deg, var(--cfc-navy-deep) 0%, var(--cfc-sky-dark) 100%);
  background-color: var(--cfc-navy-deep);
  color: var(--cfc-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1001;
}

.cfc-promo-banner a {
  color: #FEF08A;
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 900;
}

.cfc-promo-bottom {
  border-top: 2px solid #38BDF8;
  border-bottom: 2px solid #38BDF8;
  padding: 14px 16px;
  font-size: 14.5px;
}

/* ==========================================================================
   2. ENCABEZADO INSTITUCIONAL, SELECTOR DE IDIOMA Y MENÚ HAMBURGUESA
   ========================================================================== */
.cfc-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(10, 27, 46, 0.99));
  background-color: var(--cfc-navy-deep);
  border-bottom: 3px solid #38BDF8;
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  width: 100%;
}

.cfc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.cfc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cfc-white);
  min-width: 0;
  flex: 1 1 auto;
}

.cfc-brand-logo {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid #38BDF8;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}

.cfc-brand:hover .cfc-brand-logo {
  transform: scale(1.06);
}

.cfc-brand-copy {
  min-width: 0;
}

.cfc-brand-title {
  display: block;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.15;
  color: var(--cfc-white);
}

.cfc-brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7DD3FC;
  margin-top: 2px;
}

.cfc-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cfc-lang-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cfc-white);
  border: 1.5px solid #38BDF8;
  padding: 7px 11px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cfc-lang-btn:hover {
  background: var(--cfc-sky-dark);
  color: var(--cfc-white);
}

.cfc-nav-toggle {
  background: rgba(2, 132, 199, 0.24);
  border: 1.5px solid #38BDF8;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cfc-white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cfc-burger-bars {
  width: 20px;
  height: 2.5px;
  background: #38BDF8;
  position: relative;
  display: inline-block;
  border-radius: 2px;
  transition: 0.3s ease;
}

.cfc-burger-bars::before,
.cfc-burger-bars::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2.5px;
  background: #38BDF8;
  left: 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

.cfc-burger-bars::before { top: -6px; }
.cfc-burger-bars::after { top: 6px; }

.cfc-nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  width: 310px;
  max-width: calc(100vw - 24px);
  background: var(--cfc-navy-deep);
  border: 2px solid #38BDF8;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  z-index: 1002;
  flex-direction: column;
  gap: 6px;
}

.cfc-nav-drawer.open {
  display: flex;
  animation: cfcFadeIn 0.22s ease;
}

.cfc-nav-drawer .cfc-nav-item {
  color: #F1F5F9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cfc-nav-drawer .cfc-nav-item:hover {
  background: rgba(2, 132, 199, 0.28);
  color: #7DD3FC;
}

.cfc-nav-divider {
  height: 1px;
  background: rgba(56, 189, 248, 0.3);
  margin: 6px 0;
}

/* ==========================================================================
   3. SISTEMA DE BOTONES (VERDE WHATSAPP #25D366 + CONTRASTE 8.8:1 WCAG AAA)
   ========================================================================== */
.cfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: 2px solid transparent;
  max-width: 100%;
  text-align: center;
}

/* Botón Principal de Llamada y Continuar (Contraste 5.94:1) */
.cfc-btn-primary {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  background-color: #0369A1;
  color: var(--cfc-white);
  border-color: #38BDF8;
  box-shadow: 0 5px 15px rgba(3, 105, 161, 0.4);
}

.cfc-btn-primary:hover {
  background: linear-gradient(135deg, #075985 0%, #0C4A6E 100%);
  background-color: #075985;
  transform: translateY(-1px);
}

/* Botón Oficial de WhatsApp (Color Original #25D366 + Tinta Oscura Oficial #051E11 = 8.82:1) */
.cfc-btn-wa {
  background: #25D366 !important;
  color: #051E11 !important;
  border-color: #128C7E !important;
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.42) !important;
}

.cfc-btn-wa span {
  color: #051E11 !important;
}

.cfc-btn-wa:hover {
  background: #075E54 !important;
  border-color: #05463E !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.cfc-btn-wa:hover span {
  color: #FFFFFF !important;
}

.cfc-btn-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Botón Secundario / Atrás */
.cfc-btn-outline {
  background: #F8FAFC;
  color: var(--cfc-navy);
  border-color: #64748B;
}

.cfc-btn-outline:hover {
  background: #E2E8F0;
  border-color: var(--cfc-navy);
}

/* Botón Calcular Oferta en Efectivo (Contraste > 5.1:1) */
.cfc-btn-submit {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  background-color: #15803D;
  color: var(--cfc-white);
  border-color: #22C55E;
  padding: 14px 24px;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.38);
}

.cfc-btn-submit:hover {
  background: #14532D;
  transform: translateY(-1px);
}

.cfc-btn-lg {
  padding: 13px 22px;
  font-size: 13.5px;
}

/* ==========================================================================
   4. HERO & CAJA DEL COTIZADOR ALGORÍTMICO
   ========================================================================== */
.cfc-hero-stage {
  background: linear-gradient(145deg, var(--cfc-navy) 0%, var(--cfc-navy-deep) 100%);
  background-color: var(--cfc-navy);
  color: var(--cfc-white);
  padding: 42px 0 56px 0;
  border-bottom: 4px solid #38BDF8;
}

.cfc-hero-intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 32px auto;
}

.cfc-eco-pill {
  display: inline-block;
  background: rgba(20, 83, 45, 0.55);
  border: 1px solid #4ADE80;
  color: #DCFCE7;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  max-width: 100%;
}

.cfc-hero-intro h1 {
  color: var(--cfc-white);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.cfc-hero-intro h1 span {
  color: #38BDF8;
}

.cfc-hero-intro p {
  font-size: 16px;
  color: #F1F5F9;
  margin: 0 auto 22px auto;
  max-width: 820px;
}

.cfc-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cfc-appraiser-shell {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  background: var(--cfc-white);
  color: var(--cfc-ink);
  border: 2.5px solid var(--cfc-sky);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
}

.cfc-shell-header {
  text-align: center;
  margin-bottom: 20px;
}

/* Contraste 5.94:1 sobre blanco y 5.37:1 sobre #F0F4F8 */
.cfc-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cfc-sky-dark);
  margin-bottom: 6px;
}

.cfc-shell-header h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.cfc-shell-header p {
  margin: 0;
  font-size: 14px;
  color: var(--cfc-muted);
}

/* ==========================================================================
   5. PISTA DE PROGRESO CON SIGNO DE DÓLAR ($) DEL BILLETE REAL SIN CUADRO
   ========================================================================== */
.cfc-road-tracker {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  overflow: visible;
}

.cfc-road-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 8px;
  flex-wrap: wrap;
}

.cfc-road-status {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cfc-navy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cfc-road-pct {
  background: #166534;
  color: var(--cfc-white);
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 20px;
  flex-shrink: 0;
}

.cfc-road-track {
  position: relative;
  height: 12px;
  background: #CBD5E1;
  border-radius: 999px;
  margin: 34px 20px 14px 20px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.cfc-road-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #15803D 0%, #25D366 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Corredor del Signo de Dólar ($) — CERO CUADRO, CERO BORDE, CERO FONDO */
.cfc-car-runner {
  position: absolute;
  top: -36px;
  left: 0%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 5;
}

.cfc-runner-Mascot {
  width: auto;
  height: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #15803D;
  filter: drop-shadow(0 2px 3px rgba(16, 42, 67, 0.32));
}

.cfc-runner-Mascot svg {
  width: 32px;
  height: 38px;
  display: block;
  overflow: visible;
  background: transparent !important;
}

.cfc-car-tag {
  display: none !important;
}

.cfc-road-markers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  text-align: center;
  margin-top: 10px;
}

/* Contraste 7.28:1 en reposo y 5.69:1 activo */
.cfc-marker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  padding-top: 4px;
}

.cfc-marker.active {
  color: var(--cfc-sky-dark);
  font-weight: 800;
}

.cfc-marker.completed {
  color: #166534;
  font-weight: 800;
}

/* ==========================================================================
   6. TARJETAS CON FOTOGRAFÍAS REALES DE CARROS ESTÁTICOS Y BOTONES
   ========================================================================== */
.cfc-stage {
  display: none;
}

.cfc-stage.active {
  display: block;
  animation: cfcFadeIn 0.25s ease;
}

@keyframes cfcFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cfc-stage-title {
  font-size: 19px;
  color: var(--cfc-navy);
  margin-bottom: 14px;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 8px;
}

.cfc-stage-desc {
  font-size: 14px;
  color: var(--cfc-muted);
  margin-top: -6px;
  margin-bottom: 18px;
}

.cfc-field-heading {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--cfc-navy);
  margin: 16px 0 10px 0;
}

.cfc-body-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.cfc-body-card {
  position: relative;
  background: #F8FAFC;
  border: 2.5px solid var(--cfc-line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cfc-body-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cfc-emoji-wrap {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cfc-emoji-wrap img,
.cfc-emoji-wrap svg {
  width: 130px;
  height: 82px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(16, 42, 67, 0.16));
}

.cfc-body-card:hover {
  border-color: var(--cfc-sky);
  background: var(--cfc-white);
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.08);
}

.cfc-body-name {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--cfc-navy);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cfc-body-hint {
  font-size: 11px;
  color: #334155;
  margin-top: 2px;
}

.cfc-body-card.selected,
.cfc-body-card:has(input:checked) {
  background: #E0F2FE;
  border-color: var(--cfc-sky-dark);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.25);
}

.cfc-body-card.selected .cfc-body-hint,
.cfc-body-card:has(input:checked) .cfc-body-hint {
  color: #1E293B;
}

/* CAMPOS DE FORMULARIO Y SELECTORES */
.cfc-input-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.cfc-three-col {
  grid-template-columns: repeat(3, 1fr);
}

.cfc-two-col {
  grid-template-columns: repeat(2, 1fr);
}

.cfc-field {
  margin-bottom: 12px;
  min-width: 0;
}

.cfc-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #334155;
  margin-bottom: 6px;
}

.cfc-field select,
.cfc-field input[type="text"],
.cfc-field input[type="tel"],
.cfc-field input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--cfc-ink);
  background: var(--cfc-white);
  border: 1.5px solid #94A3B8;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cfc-field select:focus,
.cfc-field input:focus {
  outline: none;
  border-color: var(--cfc-sky-dark);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.22);
}

.cfc-field select:disabled {
  background: #F1F5F9;
  color: #475569;
  cursor: not-allowed;
}

/* BOTONES DE CONDICIÓN MECÁNICA, TÍTULO, LLANTAS Y CATALIZADOR */
.cfc-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.cfc-option-grid.two-opts {
  grid-template-columns: repeat(2, 1fr);
}

.cfc-option-btn {
  position: relative;
  background: #F8FAFC;
  border: 2px solid var(--cfc-line);
  border-radius: 10px;
  padding: 13px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cfc-option-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cfc-option-btn strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--cfc-navy);
  margin-bottom: 3px;
}

.cfc-option-btn small {
  font-size: 11.5px;
  color: #334155;
  line-height: 1.3;
}

.cfc-option-btn:hover {
  border-color: var(--cfc-sky);
  background: var(--cfc-white);
}

.cfc-option-btn.selected,
.cfc-option-btn:has(input:checked) {
  background: var(--cfc-navy);
  border-color: #38BDF8;
  box-shadow: 0 6px 14px rgba(16, 42, 67, 0.25);
}

.cfc-option-btn.selected strong,
.cfc-option-btn:has(input:checked) strong {
  color: var(--cfc-white);
}

.cfc-option-btn.selected small,
.cfc-option-btn:has(input:checked) small {
  color: #E2E8F0;
}

/* ==========================================================================
   7. SUBIDA DE FOTO OPCIONAL Y PANTALLA DE OFERTA ALGORÍTMICO
   ========================================================================== */
.cfc-photo-section {
  margin-top: 16px;
  margin-bottom: 18px;
}

.cfc-photo-dropzone {
  display: block;
  border: 2px dashed var(--cfc-sky-dark);
  background: #F0F9FF;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cfc-photo-dropzone:hover {
  background: #E0F2FE;
  border-color: var(--cfc-navy);
}

.cfc-photo-dropzone input[type="file"] {
  display: none;
}

.cfc-drop-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cfc-cam-icon {
  font-size: 26px;
  line-height: 1;
  background: var(--cfc-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(3, 105, 161, 0.2);
  flex-shrink: 0;
}

.cfc-drop-content strong {
  display: block;
  font-size: 13.5px;
  color: var(--cfc-navy);
  margin-bottom: 2px;
}

.cfc-drop-content small {
  display: block;
  font-size: 12px;
  color: #334155;
}

.cfc-photo-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ECFDF5;
  border: 2px solid var(--cfc-emerald-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cfc-photo-preview img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #6EE7B7;
}

.cfc-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cfc-photo-meta span {
  font-size: 13px;
  font-weight: 700;
  color: #065F46;
}

.cfc-btn-remove-photo {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  width: fit-content;
}

.cfc-stage-err {
  color: var(--cfc-danger);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  min-height: 20px;
}

.cfc-stage-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.cfc-privacy-note {
  text-align: center;
  font-size: 12px;
  color: var(--cfc-muted);
  margin: 12px 0 0 0;
}

.cfc-privacy-note .cfc-inline-link {
  color: var(--cfc-sky-dark);
  font-weight: 700;
}

.cfc-offer-result {
  text-align: center;
  padding: 18px 8px;
  animation: cfcFadeIn 0.35s ease;
}

.cfc-result-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cfc-price-box {
  font-size: 36px;
  font-weight: 900;
  color: #166534;
  background: #F0FDF4;
  border: 2.5px solid #16A34A;
  border-radius: 14px;
  padding: 14px 20px;
  margin: 14px auto;
  max-width: 460px;
}

.cfc-price-caption {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  margin-top: 0;
}

.cfc-ticket-summary {
  background: #F8FAFC;
  border: 1px solid var(--cfc-line);
  border-radius: 10px;
  padding: 15px;
  max-width: 600px;
  margin: 18px auto;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.cfc-dispatch-prompt {
  font-size: 14px;
  font-weight: 600;
  color: var(--cfc-ink);
  margin-bottom: 16px;
}

.cfc-result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   8. SECCIONES: WHO WE ARE, WHAT WE BUY, HOW IT OPERATES, SERVICE AREA & FAQ
   ========================================================================== */
.cfc-section {
  padding: 56px 0;
}

.cfc-section-alt {
  background: var(--cfc-white);
  border-top: 1px solid var(--cfc-line);
  border-bottom: 1px solid var(--cfc-line);
}

.cfc-sec-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 12px;
}

.cfc-sec-sub {
  text-align: center;
  font-size: 15.5px;
  color: #334155;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.cfc-feature-grid,
.cfc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cfc-feature-box {
  background: var(--cfc-white);
  border: 1px solid var(--cfc-line);
  border-top: 4px solid var(--cfc-navy);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
  transition: transform 0.25s ease;
}

.cfc-feature-box:hover {
  transform: translateY(-4px);
}

.cfc-feature-box h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.cfc-feature-box ul {
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  color: #334155;
}

.cfc-feature-box li {
  margin-bottom: 8px;
}

.cfc-step-card {
  background: var(--cfc-slate-bg);
  border: 1.5px solid var(--cfc-line);
  border-radius: 12px;
  padding: 24px 20px;
}

.cfc-step-num {
  display: inline-block;
  background: var(--cfc-navy);
  color: #7DD3FC;
  font-size: 15px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* ZONA DE COBERTURA Y MAPA DEL CORREDOR NORTE / NOROESTE */
.cfc-yard-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.cfc-cities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.cfc-cities-pills li {
  background: var(--cfc-white);
  border: 1px solid var(--cfc-line);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cfc-navy);
}

.cfc-zip-box {
  background: #F8FAFC;
  border-left: 4px solid var(--cfc-sky-dark);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: #1E293B;
  margin: 14px 0 20px 0;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.cfc-yard-details {
  padding-left: 18px;
  margin: 16px 0 22px 0;
  font-size: 14px;
  color: #1E293B;
  overflow-wrap: break-word;
}

.cfc-yard-details li {
  margin-bottom: 8px;
}

/* Contraste 5.37:1 sobre #F0F4F8 + subrayado accesible */
.cfc-yard-details a {
  color: var(--cfc-sky-dark);
  font-weight: 800;
  text-decoration: underline;
}

.cfc-yard-details a:hover {
  color: var(--cfc-navy);
}

.cfc-yard-map {
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid var(--cfc-navy);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  width: 100%;
  min-height: 360px;
  background: #E2E8F0;
  position: relative;
}

.cfc-yard-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* FAQ ACCORDION */
.cfc-faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cfc-faq-item {
  background: var(--cfc-slate-bg);
  border: 1.5px solid var(--cfc-line);
  border-radius: 10px;
  padding: 15px 18px;
}

.cfc-faq-item summary {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--cfc-navy);
  cursor: pointer;
}

.cfc-faq-item p {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #334155;
}

/* ==========================================================================
   9. BOTÓN FLOTANTE CON COLOR DE WHATSAPP ORIGINAL (#25D366) Y CONTRASTE 8.8:1
   ========================================================================== */
.cfc-float-dock {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: calc(100vw - 32px);
}

.cfc-dock-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: var(--cfc-navy-deep);
  border: 2px solid #25D366;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  width: 245px;
  max-width: calc(100vw - 32px);
}

.cfc-float-dock.open .cfc-dock-menu {
  display: flex;
  animation: cfcFadeIn 0.2s ease;
}

.cfc-dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cfc-white);
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, background-color 0.2s;
  overflow-wrap: anywhere;
}

.cfc-dock-item:hover {
  transform: translateX(-3px);
}

.cfc-dock-item.wa {
  background: #25D366 !important;
  color: #051E11 !important;
}

.cfc-dock-item.wa span {
  color: #051E11 !important;
}

.cfc-dock-item.wa:hover {
  background: #075E54 !important;
  color: #FFFFFF !important;
}

.cfc-dock-item.wa:hover span {
  color: #FFFFFF !important;
}

.cfc-dock-item.call { background: #0369A1; }
.cfc-dock-item.sms { background: #0F766E; }
.cfc-dock-item.mail { background: #334155; }

.cfc-dock-trigger {
  background: #25D366 !important;
  color: #051E11 !important;
  border: 2.5px solid #FFFFFF !important;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5) !important;
  transition: transform 0.22s ease, background-color 0.2s ease;
}

.cfc-dock-trigger span {
  color: #051E11 !important;
}

.cfc-dock-trigger:hover {
  background: #075E54 !important;
  color: #FFFFFF !important;
  transform: scale(1.04);
}

.cfc-dock-trigger:hover span {
  color: #FFFFFF !important;
}

/* ==========================================================================
   10. FOOTER CORPORATIVO Y REDES SOCIALES (SOLO EL LOGO DE CADA RED)
   ========================================================================== */
.cfc-footer {
  background: var(--cfc-navy);
  color: #F1F5F9;
  padding: 50px 0 25px 0;
  border-top: 4px solid #38BDF8;
}

.cfc-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 26px;
}

.cfc-footer-grid h3,
.cfc-footer-grid h4 {
  color: #7DD3FC;
  font-size: 17px;
  margin-bottom: 12px;
}

.cfc-footer-grid p,
.cfc-footer-grid ul {
  font-size: 13.5px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-wrap: break-word;
}

.cfc-footer-grid li {
  margin-bottom: 8px;
}

.cfc-footer-grid a {
  color: #F1F5F9;
  text-decoration: none;
}

.cfc-footer-grid a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

/* Fila de Iconos de Redes Sociales (SOLO EL LOGO OFICIAL SIN TEXTO) */
.cfc-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cfc-social-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cfc-social-logo svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

.cfc-social-logo:hover {
  transform: translateY(-3px);
}

.cfc-social-logo.yt:hover { background: #FF0000; border-color: #FF0000; }
.cfc-social-logo.x:hover  { background: #000000; border-color: #FFFFFF; }
.cfc-social-logo.fb:hover { background: #1877F2; border-color: #1877F2; }
.cfc-social-logo.ig:hover { background: #E4405F; border-color: #E4405F; }
.cfc-social-logo.tk:hover { background: #000000; border-color: #00F2FE; }

.cfc-dba-box {
  background: rgba(10, 27, 46, 0.78);
  border: 1.5px solid rgba(125, 211, 252, 0.45);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #E2E8F0;
  text-align: center;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.cfc-dba-box b {
  color: #86EFAC;
}

.cfc-legal-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cfc-link-btn,
.cfc-inline-link {
  background: none;
  border: none;
  color: #93C5FD;
  text-decoration: underline;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
}

.cfc-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
  font-size: 12px;
  color: #CBD5E1;
}

.cfc-cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  transform: translateY(160%);
  background: var(--cfc-navy-deep);
  color: var(--cfc-white);
  border: 1.5px solid #38BDF8;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: calc(100vw - 32px);
  max-width: 600px;
  z-index: 9999;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease;
}

.cfc-cookie-bar.visible {
  transform: translateY(0);
}

.cfc-cookie-bar p {
  margin: 0;
  font-size: 12.5px;
  color: #F1F5F9;
}

.cfc-cookie-bar .cfc-inline-link {
  color: #93C5FD;
}

.cfc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 46, 0.78);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
}

.cfc-modal-backdrop.open {
  display: flex;
}

.cfc-modal-dialog {
  background: var(--cfc-white);
  color: var(--cfc-ink);
  border-radius: 14px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.cfc-modal-top {
  background: var(--cfc-navy);
  color: var(--cfc-white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cfc-modal-top h3 {
  color: #7DD3FC;
  margin: 0;
  font-size: 17px;
}

.cfc-modal-close {
  background: none;
  border: none;
  color: var(--cfc-white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.cfc-modal-content {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
}

.cfc-modal-bottom {
  padding: 12px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: right;
}

/* ==========================================================================
   11. RESPONSIVE TABLET & CELULAR (FORMULARIO COMPACTO EN 1 SOLA PANTALLA)
   ========================================================================== */
@media (max-width: 920px) {
  .cfc-hero-intro h1 { font-size: 30px; }
  .cfc-body-grid { grid-template-columns: repeat(2, 1fr); }
  .cfc-feature-grid,
  .cfc-steps-grid,
  .cfc-yard-split,
  .cfc-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cfc-container { padding: 0 12px; }
  .cfc-topbar { padding: 8px 0; }
  .cfc-brand-logo { width: 42px; height: 42px; }
  .cfc-brand-title { font-size: 15.5px; }
  .cfc-brand-sub { font-size: 8.5px; line-height: 1.1; }
  .cfc-lang-btn { padding: 5px 8px; font-size: 11px; }
  .cfc-nav-toggle { padding: 6px 9px; font-size: 11px; }

  .cfc-nav-drawer {
    position: fixed;
    top: 64px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .cfc-hero-stage { padding: 14px 0 28px 0; }
  .cfc-hero-intro { margin-bottom: 14px; }
  .cfc-eco-pill { font-size: 10px; padding: 4px 10px; margin-bottom: 8px; }
  .cfc-hero-intro h1 { font-size: 21px; margin-bottom: 8px; }
  .cfc-hero-intro p { font-size: 13px; margin-bottom: 12px; line-height: 1.4; }
  .cfc-hero-ctas { flex-direction: row; gap: 6px; }
  .cfc-hero-ctas .cfc-btn {
    flex: 1 1 48%;
    padding: 9px 8px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .cfc-appraiser-shell {
    max-width: 440px;
    margin: 0 auto;
    padding: 12px 12px 14px 12px;
    border-radius: 14px;
    border-width: 2px;
  }

  .cfc-shell-header { margin-bottom: 8px; }
  .cfc-kicker { font-size: 10px; margin-bottom: 2px; }
  .cfc-shell-header h2 { font-size: 18px; margin-bottom: 2px; }
  .cfc-shell-header p { display: none; }

  /* Barra de progreso compacta con el signo $ limpio en celular */
  .cfc-road-tracker {
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .cfc-road-header { margin-bottom: 18px; }
  .cfc-road-status { font-size: 10.5px; }
  .cfc-road-pct { font-size: 10px; padding: 2px 8px; }
  .cfc-road-track {
    height: 9px;
    margin: 22px 16px 6px 16px;
  }
  .cfc-car-runner { top: -28px; }
  .cfc-runner-Mascot { font-size: 28px; }
  .cfc-runner-Mascot svg { width: 24px; height: 28px; }

  .cfc-road-markers {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 4px;
  }
  .cfc-marker { font-size: 9px; padding-top: 2px; }

  .cfc-stage-title {
    font-size: 14.5px;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }
  .cfc-stage-desc {
    font-size: 12px;
    margin-top: -2px;
    margin-bottom: 10px;
  }
  .cfc-field-heading {
    font-size: 10.5px;
    margin: 6px 0 6px 0;
  }

  /* CUADRÍCULA 2x2 COMPACTA EN CELULAR */
  .cfc-body-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px;
    margin-bottom: 10px;
  }

  .cfc-body-card {
    padding: 7px 6px;
    border-radius: 10px;
    border-width: 2px;
  }

  .cfc-emoji-wrap {
    height: 46px;
    margin-bottom: 2px;
  }

  .cfc-emoji-wrap img,
  .cfc-emoji-wrap svg {
    width: 82px;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
  }

  .cfc-body-name {
    font-size: 11.5px;
    font-weight: 900;
    line-height: 1.15;
  }

  .cfc-body-hint {
    display: none;
  }

  .cfc-input-row {
    gap: 7px;
    margin-bottom: 6px;
  }

  .cfc-three-col {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .cfc-three-col .cfc-field:nth-child(3) {
    grid-column: 1 / -1;
  }

  .cfc-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .cfc-field { margin-bottom: 4px; }
  .cfc-field label {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .cfc-field select,
  .cfc-field input[type="text"],
  .cfc-field input[type="tel"],
  .cfc-field input[type="email"] {
    padding: 8px 9px;
    font-size: 13px;
    border-radius: 7px;
  }

  .cfc-option-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

  .cfc-option-grid.two-opts {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfc-option-btn {
    padding: 8px 5px;
    border-radius: 8px;
  }

  .cfc-option-btn strong {
    font-size: 11px;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .cfc-option-btn small {
    display: none;
  }

  .cfc-photo-section { margin: 8px 0; }
  .cfc-photo-dropzone { padding: 10px; }
  .cfc-cam-icon { width: 38px; height: 38px; font-size: 20px; }
  .cfc-drop-content strong { font-size: 12px; }
  .cfc-drop-content small { font-size: 10.5px; }

  .cfc-stage-err { min-height: 14px; font-size: 11.5px; margin-top: 2px; }
  .cfc-stage-nav {
    margin-top: 8px;
    padding-top: 8px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .cfc-stage-nav .cfc-btn {
    width: 100%;
    padding: 11px 12px;
    font-size: 12.5px;
  }

  .cfc-stage-nav .cfc-btn-outline {
    width: auto;
    flex: 0 0 32%;
  }

  .cfc-float-dock {
    bottom: 10px;
    right: 10px;
  }

  .cfc-dock-trigger {
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .cfc-cookie-bar {
    flex-direction: column;
    text-align: center;
  }
}