
/* ====================================================================
   HOME HERO v10 · Cotizador design
   Fondo dark #05070a, ambient caustics + waves, card blanco,
   Instrument Serif + Manrope, cyan accent. Todo scopeado a
   .fbt-home-hero para evitar choque con Elementor/vamtam.
   ==================================================================== */

/* Ocultar el hero original del WP (duplicaría el contenido) */
body.fbt-home-new .elementor-element-fe1c142 {
  display: none !important;
}

/* Ocultar la sección "Fácil y Rápido / Información de Contacto / AGENDA
   TU VISITA / Oficina Comercial / Antonio Bellet 143 / Lunes-Viernes /
   contacto + Cotiza tu proyecto" — pedido del cliente.
   Container top-level e-parent: a41fe7c.
   ULTRA-specificity para superar TODO de Elementor (0,5,1+). */
html body.elementor-page.elementor-page-19.fbt-home-new .elementor-element.elementor-element-a41fe7c,
html body.elementor-page.fbt-home-new .elementor-element.elementor-element-a41fe7c,
html body.fbt-home-new .elementor-element.elementor-element-a41fe7c,
html body.fbt-home-new [data-id="a41fe7c"],
body.fbt-home-new .elementor-element-a41fe7c {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -99999px !important;
  top: -99999px !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   HEADER FLOTANTE SOBRE EL HERO (patrón v9 preservado)
   ========================================================= */
body.fbt-home-new header.elementor-location-header,
body.fbt-home-new header[data-elementor-type="header"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 30 !important;
  background: transparent !important;
}
body.fbt-home-new header[data-elementor-type="header"] .vamtam-sticky-header,
body.fbt-home-new header[data-elementor-type="header"] .vamtam-sticky-header > .e-con-inner {
  background: transparent !important;
}
body.fbt-home-new header[data-elementor-type="header"] .vamtam-sticky-header > .e-con-inner > [data-element_type="container"],
body.fbt-home-new header[data-elementor-type="header"] [data-dce-background-color="#0F2635D1"] {
  background-color: rgba(5, 7, 10, 0.42) !important;
  background-image: none !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* al activar sticky al scrollear volvemos a bg casi sólido */
body.fbt-home-new header[data-elementor-type="header"] .elementor-sticky--active,
body.fbt-home-new header[data-elementor-type="header"] .elementor-sticky--active > .e-con-inner > [data-element_type="container"] {
  background-color: rgba(5, 7, 10, 0.94) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* =========================================================
   HERO SHELL
   ========================================================= */
.fbt-home-hero {
  --hh-bg: #05070a;
  --hh-ink: #f5f6f7;
  --hh-ink-2: #c8ccd1;
  --hh-muted: #7c828b;
  --hh-line: rgba(255,255,255,0.08);
  --hh-line-2: rgba(255,255,255,0.14);
  --hh-card: #ffffff;
  --hh-card-ink: #0b0f14;
  --hh-card-ink-2: #4a5159;
  --hh-card-muted: #5C6470; /* WCAG AA: ratio 5.74 con #fff (antes #8a919a era 3.18) */
  --hh-card-line: #ecedef;
  --hh-card-line-2: #e4e6e9;
  --hh-card-soft: #f5f6f8;
  --hh-accent: #38bdf8;
  --hh-accent-ink: #0b1a24;
  --hh-accent-soft: #e6f6fd;
  --hh-accent-deep: #0f6aa0;
  --hh-go: #10b981;

  position: relative;
  width: 100%;
  min-height: 820px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--hh-bg);
  color: var(--hh-ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  isolation: isolate;
}
.fbt-home-hero *, .fbt-home-hero *::before, .fbt-home-hero *::after { box-sizing: border-box; }

/* =========================================================
   MEDIA (video YouTube background) — v11 restaura el video
   Orden de capas:
     __media   z 0  (poster + iframe)
     __overlay z 2  (degradé sutil solo lado izq para copy)
     __ambient z 3  (caustics suaves + waves + tint superior)
     __inner   z 5  (contenido)
   ========================================================= */
.fbt-home-hero__media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* LQIP inline: placeholder borroso de la foto (0.3 KB base64) — pinta
     INSTANTÁNEO desde el HTML, así el hero nunca muestra fondo oscuro
     plano mientras el poster real descarga/decodifica en mobile. */
  background-color: var(--hh-bg);
  background-image: url('data:image/webp;base64,UklGRqwAAABXRUJQVlA4IKAAAABQBQCdASogABUAPuFcp02opSOiMAwBEBwJYgAOe+nD+6prUsrhN1tTPpF9Dd3v8NxSswAA/vZhy1owwCZdTZsbZLznpCgRBXobbz++HH9FhKDcGtzcnKS2BVVVan0yr7QsHiU45Q35y+NSujXnVoqoWB+cyDgyq1PbwsHo0XFvgXl2Q/PuwNvd6D5rZQEiBOMC6OVOuQ/xRmvBNT0Y8AAA');
  background-size: cover;
  background-position: center 40%;
}
.fbt-home-hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
}
/* video self-hosted: object-fit cover llena el hero sin letterbox */
.fbt-home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.fbt-home-hero__video.is-loaded { opacity: 1; }

.fbt-home-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(5, 7, 10, 0.52) 0%,
    rgba(5, 7, 10, 0.26) 42%,
    rgba(5, 7, 10, 0.00) 78%);
}

/* =========================================================
   AMBIENT (caustics + waves) — subidas a z 3 sobre el video
   Caustics muy sutiles para no sumar ruido sobre frames del video.
   ========================================================= */
.fbt-home-hero__ambient {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
}
.fbt-home-hero__ambient::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(14,165,233,0.18), transparent 60%),
    radial-gradient(50% 50% at 20% 10%, rgba(56,189,248,0.10), transparent 60%);
  filter: blur(10px);
  mix-blend-mode: screen;
}
.fbt-home-hero__caustics {
  position: absolute; left: -5%; right: -5%; top: 30%; bottom: -10%;
  background:
    radial-gradient(2px 2px at 10% 20%, rgba(186,230,253,0.35), transparent 60%),
    radial-gradient(2px 2px at 30% 70%, rgba(186,230,253,0.25), transparent 60%),
    radial-gradient(2px 2px at 60% 40%, rgba(186,230,253,0.30), transparent 60%),
    radial-gradient(2px 2px at 80% 80%, rgba(186,230,253,0.20), transparent 60%),
    radial-gradient(3px 3px at 50% 10%, rgba(186,230,253,0.22), transparent 60%);
  filter: blur(0.5px);
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: fbtHhDrift 28s linear infinite;
}
@keyframes fbtHhDrift {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(-30px, -20px, 0); }
  100% { transform: translate3d(0,0,0); }
}
.fbt-home-hero__waves {
  position: absolute; left: 0; right: 0; bottom: -10px; height: 160px;
  opacity: 0.42;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* =========================================================
   GRID INTERNO — copy izq + card der
   ========================================================= */
.fbt-home-hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 32px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* =========================================================
   COPY IZQ
   ========================================================= */
.fbt-home-hero__copy { max-width: 560px; color: var(--hh-ink); }
.fbt-home-hero__copy * { color: inherit; }

.fbt-home-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  margin: 0 0 18px;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.fbt-home-hero__eyebrow::before {
  content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.5);
}

.fbt-home-hero__title {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--hh-ink) !important;
  margin: 0 0 22px;
  text-wrap: balance;
  /* sombras en 3 capas para que el serif blanco resalte sobre el video */
  text-shadow:
    0 3px 20px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.5);
}
.fbt-home-hero__title em {
  font-style: italic;
  color: #cfe9f6 !important;
}

.fbt-home-hero__lead {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--hh-ink-2) !important;
  max-width: 520px;
  margin: 0 0 28px;
  font-weight: 400;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

.fbt-home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 44px; }
.fbt-home-hero__btn {
  -webkit-appearance: none; appearance: none;
  cursor: pointer; border: 0;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}
.fbt-home-hero__btn--primary {
  background: #ffffff !important;
  color: #0b0f14 !important;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.4);
}
.fbt-home-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5);
}
.fbt-home-hero__btn--ghost {
  background: transparent !important;
  color: var(--hh-ink) !important;
  border: 1px solid var(--hh-line-2) !important;
}
.fbt-home-hero__btn--ghost:hover {
  border-color: #ffffff !important;
  background: rgba(255,255,255,0.06) !important;
}

.fbt-home-hero__stats {
  display: flex; gap: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--hh-line);
  max-width: 520px;
  flex-wrap: wrap;
}
.fbt-home-hero__stat strong {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif !important;
  font-size: 34px; font-weight: 400; line-height: 1;
  margin-bottom: 6px;
  color: var(--hh-ink) !important;
  text-shadow:
    0 2px 14px rgba(0,0,0,0.55),
    0 0 24px rgba(0,0,0,0.3);
}
.fbt-home-hero__stat span {
  color: rgba(255,255,255,0.78) !important;
  font-size: 12px; line-height: 1.35;
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* =========================================================
   CARD DER (wizard)
   ========================================================= */
.fbt-home-hero__card {
  position: relative;
  background: var(--hh-card);
  color: var(--hh-card-ink);
  border-radius: 28px;
  padding: 34px 36px 26px;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.6),
    0 8px 24px -12px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.04);
  max-width: 520px;
  width: 100%;
  justify-self: end;
  overflow: hidden;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__card > * { position: relative; z-index: 1; }
.fbt-home-hero__sheen {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0) 40%);
  mix-blend-mode: overlay; opacity: 0.6; z-index: 0;
}

/* reset de cualquier estilo de botón del tema que se cuele al card.
   IMPORTANTE: NO incluimos padding/min-height/height/line-height — esos
   los maneja cada regla específica (opt, model, bback, bnext) y si los
   forzamos acá ganan por especificidad descendente sobre las clases. */
.fbt-home-hero__card button {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin: 0 !important;
  outline: none !important;
  cursor: pointer;
  text-decoration: none !important;
  width: auto !important;
}
.fbt-home-hero__card button::before,
.fbt-home-hero__card button::after { content: none !important; display: none !important; }
.fbt-home-hero__card input,
.fbt-home-hero__card select,
.fbt-home-hero__card textarea {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Pill "+600 familias" */
.fbt-home-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  background: #f4f6f8;
  border: 1px solid #eaecef;
  border-radius: 999px;
  font-size: 12px;
  color: #3d434a;
  font-weight: 500;
  font-family: 'Manrope', system-ui, sans-serif;
  margin: 0;
}
.fbt-home-hero__pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--hh-go);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: fbtHhPulse 2.2s ease-out infinite;
}
@keyframes fbtHhPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.fbt-home-hero__card-title {
  font-family: 'Instrument Serif', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 14px 0 6px;
  color: var(--hh-card-ink) !important;
}
.fbt-home-hero__card-title em {
  font-style: italic;
  color: var(--hh-accent-deep) !important;
}

.fbt-home-hero__sub {
  color: var(--hh-card-muted);
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__sub .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #c7ccd2; }

/* progress */
.fbt-home-hero__progress {
  margin: 22px 0 4px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
}
.fbt-home-hero__bar {
  position: relative;
  height: 2px; background: #eceef1; border-radius: 999px; overflow: hidden;
}
.fbt-home-hero__bar > i {
  position: absolute; inset: 0 auto 0 0; width: 33.33%;
  background: linear-gradient(90deg, var(--hh-accent-deep), var(--hh-accent));
  transition: width 600ms cubic-bezier(.2,.8,.2,1);
  border-radius: inherit;
}
.fbt-home-hero__bar > i::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--hh-accent);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.18);
}
.fbt-home-hero__stepcount {
  font-size: 12px; color: var(--hh-card-muted);
  font-variant-numeric: tabular-nums;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__stepcount b { color: var(--hh-card-ink); font-weight: 600; }

.fbt-home-hero__steps-track {
  display: flex; gap: 10px; margin-top: 12px;
}
.fbt-home-hero__steps-track .s {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--hh-card-muted);
  letter-spacing: 0.02em;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__steps-track .s .n {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f3f5; color: #9aa0a7;
  font-size: 10px; font-weight: 600;
  transition: all 300ms ease;
}
.fbt-home-hero__steps-track .s.active .n { background: var(--hh-accent-deep); color: #fff; }
.fbt-home-hero__steps-track .s.done .n { background: var(--hh-go); color: #fff; }
.fbt-home-hero__steps-track .s.active { color: var(--hh-card-ink); }

/* viewport + step transitions */
.fbt-home-hero__viewport {
  position: relative;
  margin-top: 22px;
  min-height: 280px;
}
.fbt-home-hero__step {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(24px);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.fbt-home-hero__step.is-active {
  opacity: 1; transform: translateX(0);
  pointer-events: auto; position: relative;
}
.fbt-home-hero__step.is-out-left { transform: translateX(-24px); }

.fbt-home-hero__step h3 {
  font-size: 13px; margin: 0 0 14px;
  color: var(--hh-card-ink-2);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* option grid (step 0: servicio) — botones más grandes (ref screenshot) */
.fbt-home-hero__grid-opts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.fbt-home-hero__opt {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 18px !important;
  min-height: 72px !important;
  border: 1px solid var(--hh-card-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  cursor: pointer;
  text-align: left !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 14px;
  color: var(--hh-card-ink) !important;
  overflow: hidden;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms, background 200ms;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}
.fbt-home-hero__opt:hover {
  border-color: #cbd2d9 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(15,106,160,0.28) !important;
}
.fbt-home-hero__opt.is-selected {
  border-color: var(--hh-accent-deep) !important;
  background: #f4fafd !important;
  background-color: #f4fafd !important;
  box-shadow: 0 0 0 1px var(--hh-accent-deep) inset, 0 12px 28px -14px rgba(15,106,160,0.48) !important;
}
.fbt-home-hero__opt .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f2f4f7;
  color: #0b0f14;
  display: grid; place-items: center;
  flex: none;
  transition: background 200ms, color 200ms;
}
.fbt-home-hero__opt .ico svg { width: 22px; height: 22px; }
.fbt-home-hero__opt.is-selected .ico {
  background: var(--hh-accent-deep);
  color: #e7f5fb;
}
.fbt-home-hero__opt .tx strong {
  display: block;
  font-size: 15px; line-height: 1.2;
  margin-bottom: 3px;
  font-weight: 600;
  color: inherit;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__opt .tx span {
  display: block;
  font-size: 12.5px; line-height: 1.35;
  color: var(--hh-card-muted);
  font-weight: 400;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__opt.is-selected .tx span { color: rgba(11,15,20,0.58); }

.fbt-home-hero__ripple {
  position: absolute; border-radius: 50%;
  transform: translate(-50%,-50%) scale(0);
  background: rgba(15,106,160,0.18);
  pointer-events: none;
  animation: fbtHhRipple 700ms ease-out forwards;
}
@keyframes fbtHhRipple {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(5); opacity: 0; }
}

/* model list (step 1) */
.fbt-home-hero__models {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
  margin-right: -4px;
}
.fbt-home-hero__model {
  display: grid !important;
  grid-template-columns: 64px 1fr auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 12px 14px 12px 10px !important;
  min-height: 76px !important;
  height: auto !important;
  line-height: 1.3 !important;
  border: 1px solid var(--hh-card-line) !important;
  border-radius: 14px !important;
  cursor: pointer;
  background: #fff !important;
  background-color: #fff !important;
  transition: border-color 200ms, background 200ms, transform 200ms;
  font-family: 'Manrope', system-ui, sans-serif !important;
  text-align: left !important;
  color: var(--hh-card-ink) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}
.fbt-home-hero__model:hover {
  border-color: #cbd2d9 !important;
  transform: translateY(-1px);
}
.fbt-home-hero__model.is-selected {
  border-color: var(--hh-accent-deep) !important;
  background: #f4fafd !important;
  background-color: #f4fafd !important;
  box-shadow: 0 0 0 1px var(--hh-accent-deep) inset !important;
}
.fbt-home-hero__model .shape {
  width: 64px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(160deg, #eaf7fd, #cdeaf7);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15,106,160,0.10);
}
.fbt-home-hero__model .shape svg {
  width: 44px; height: 30px; opacity: 0.95;
}
.fbt-home-hero__model.is-selected .shape {
  background: linear-gradient(160deg, #d0ecf9, #a8d9f0);
}
.fbt-home-hero__model .info strong {
  display: block;
  font-size: 14px; font-weight: 600;
  color: inherit;
}
.fbt-home-hero__model .info span {
  display: block;
  font-size: 11.5px;
  color: var(--hh-card-muted);
  margin-top: 2px;
}
.fbt-home-hero__model .price {
  font-size: 12px;
  color: var(--hh-card-ink-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__model .price b {
  display: block;
  font-size: 13px;
  color: var(--hh-card-ink);
  font-weight: 600;
  margin-top: 2px;
}

/* text mode (miplaya) */
.fbt-home-hero__text-mode {
  display: flex; flex-direction: column; gap: 12px;
}
.fbt-home-hero__text-mode textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid var(--hh-card-line);
  border-radius: 12px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  color: var(--hh-card-ink);
  background: #fff;
  resize: vertical;
  transition: border-color 180ms, box-shadow 180ms;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none;
}
.fbt-home-hero__text-mode textarea:focus {
  border-color: var(--hh-accent-deep) !important;
  box-shadow: 0 0 0 4px rgba(15,106,160,0.12) !important;
}

/* form fields (step 2) */
.fbt-home-hero__fields {
  display: grid;
  /* minmax(0,1fr) fuerza columnas verdaderamente 50/50 — evita que el
     campo Teléfono (con flag+prefix) crezca por min-content y deje a
     Comuna aplastada a 128px */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.fbt-home-hero__fields .wide { grid-column: span 2; }
.fbt-home-hero__field { position: relative; min-width: 0; }
.fbt-home-hero__field label {
  position: absolute; left: 14px; top: 18px;
  font-size: 13.5px;
  color: var(--hh-card-muted) !important;
  pointer-events: none;
  transition: all 180ms ease;
  background: transparent;
  padding: 0 4px;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: normal;
  text-transform: none;
}
.fbt-home-hero__field input {
  width: 100% !important;
  padding: 22px 14px 10px !important;
  border: 1px solid var(--hh-card-line) !important;
  border-radius: 12px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 15px !important;
  color: var(--hh-card-ink) !important;
  background: #fff !important;
  background-color: #fff !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color 180ms, box-shadow 180ms;
  outline: none;
  height: auto !important;
  min-height: 56px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.fbt-home-hero__field input:focus {
  border-color: var(--hh-accent-deep) !important;
  box-shadow: 0 0 0 4px rgba(15,106,160,0.12) !important;
}
.fbt-home-hero__field.has-val label,
.fbt-home-hero__field input:focus + label {
  top: 6px !important;
  font-size: 10.5px !important;
  color: var(--hh-accent-deep) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.fbt-home-hero__field .prefix {
  position: absolute; left: 14px; bottom: 8px;
  font-size: 14px; color: var(--hh-card-muted);
  pointer-events: none;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__field.prefixed input { padding-left: 42px !important; }
.fbt-home-hero__field.prefixed label { left: 42px; }

/* ===== Phone variant — bandera Chile + chevron + +56 grande ===== */
.fbt-home-hero__field--phone {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px !important;
  border: 1px solid var(--hh-card-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  min-height: 56px;
  height: 56px;
}
.fbt-home-hero__field--phone:focus-within {
  border-color: var(--hh-accent-deep) !important;
  box-shadow: 0 0 0 4px rgba(15,106,160,0.12) !important;
}
.fbt-home-hero__phone-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 6px;
  border-radius: 8px;
  cursor: default;
  flex: none;
}
.fbt-home-hero__phone-flag svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.fbt-home-hero__phone-flag .chev {
  display: inline-flex;
  color: var(--hh-card-muted);
  opacity: 0.7;
}
.fbt-home-hero__phone-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
/* especificidad (0,3,1) para ganar sobre .fbt-home-hero__field.has-val label
   que es (0,2,1) y aplica uppercase / top:6px */
.fbt-home-hero__field--phone .fbt-home-hero__phone-body label,
.fbt-home-hero__field--phone.has-val .fbt-home-hero__phone-body label,
.fbt-home-hero__field--phone:focus-within .fbt-home-hero__phone-body label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  font-size: 12px !important;
  color: var(--hh-card-muted) !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1 !important;
  pointer-events: none;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.fbt-home-hero__field--phone:focus-within .fbt-home-hero__phone-body label,
.fbt-home-hero__field--phone.has-val .fbt-home-hero__phone-body label {
  color: var(--hh-accent-deep) !important;
}
.fbt-home-hero__phone-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.fbt-home-hero__phone-prefix {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--hh-card-ink);
  flex: none;
  letter-spacing: 0.01em;
}
.fbt-home-hero__field--phone input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--hh-card-ink) !important;
  outline: none !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  letter-spacing: 0.01em !important;
}
.fbt-home-hero__field--phone input::placeholder {
  color: var(--hh-card-muted);
  font-weight: 400;
  opacity: 0.85;
}

/* comuna dropdown */
.fbt-home-hero__combox {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--hh-card-line);
  border-radius: 12px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.2);
  padding: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.fbt-home-hero__combox-item {
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  color: var(--hh-card-ink);
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__combox-item:hover { background: #f4f6f8; }

/* footer controls */
.fbt-home-hero__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--hh-card-line-2);
  gap: 12px;
  flex-wrap: wrap;
}
.fbt-home-hero__lock {
  display: flex; align-items: center; gap: 8px;
  color: var(--hh-card-muted);
  font-size: 11.5px;
  font-family: 'Manrope', system-ui, sans-serif;
}
.fbt-home-hero__lock svg { width: 12px; height: 12px; flex: none; }
.fbt-home-hero__actions-r { display: flex; gap: 8px; }

/* especificidad (0,2,0) para ganarle al reset .fbt-home-hero__card button (0,1,1) */
.fbt-home-hero__card .fbt-home-hero__bback {
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--hh-card-line) !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: var(--hh-card-ink-2) !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  /* transition específica — evitar 'all' porque interactúa raro con
     cambios de visibility/display al alternar pasos del wizard */
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}
.fbt-home-hero__card .fbt-home-hero__bback:hover {
  border-color: #cbd2d9 !important;
  color: var(--hh-card-ink) !important;
}

.fbt-home-hero__card .fbt-home-hero__bnext {
  -webkit-appearance: none; appearance: none;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--hh-accent-deep), var(--hh-accent)) !important;
  background-color: var(--hh-accent-deep) !important;
  background-image: linear-gradient(135deg, var(--hh-accent-deep), var(--hh-accent)) !important;
  border-radius: 999px !important;
  padding: 12px 20px !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 10px 24px -10px rgba(15,106,160,0.55) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}
.fbt-home-hero__card .fbt-home-hero__bnext:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(15,106,160,0.7) !important;
}
.fbt-home-hero__card .fbt-home-hero__bnext:disabled,
.fbt-home-hero__card .fbt-home-hero__bnext[disabled] {
  /* Sin opacity para que el contraste se mantenga calculable. Texto
     dark sobre gris claro: ratio 8+ (WCAG AAA). Antes era texto blanco
     sobre #cbd2d9 → ratio 1.53 (fail). */
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  background: #cbd2d9 !important;
  background-image: none !important;
  background-color: #cbd2d9 !important;
  color: #1f2937 !important;
}
.fbt-home-hero__card .fbt-home-hero__bnext svg { width: 14px; height: 14px; transition: transform 200ms ease; }
.fbt-home-hero__card .fbt-home-hero__bnext:hover svg { transform: translateX(2px); }

/* success state (step 3) */
.fbt-home-hero__done {
  display: grid; place-items: center;
  text-align: center;
  padding: 30px 10px;
}
.fbt-home-hero__done .check {
  width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 16px;
  animation: fbtHhPop 500ms cubic-bezier(.2,1.2,.3,1) both;
}
.fbt-home-hero__done .check svg { width: 28px; height: 28px; }
@keyframes fbtHhPop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.fbt-home-hero__done h4 {
  font-family: 'Instrument Serif', Georgia, serif !important;
  font-size: 28px;
  margin: 0 0 6px;
  font-weight: 400 !important;
  color: var(--hh-card-ink) !important;
}
.fbt-home-hero__done p {
  margin: 0 0 8px;
  color: var(--hh-card-muted);
  font-size: 13px;
  max-width: 340px;
  line-height: 1.5;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  /* Hero ocupa altura del viewport en mobile/tablet para que la imagen
     de fondo se vea grande y prominente (no como franja chica). El
     contenido (copy + card) queda encima con su padding-top alto. */
  .fbt-home-hero {
    min-height: 100vh !important;
    min-height: 100dvh !important; /* dvh para iOS Safari sin barras */
  }
  /* La imagen de fondo llena TODO el hero (sin barras negras
     arriba/abajo). El overlay oscuro abajo asegura que el texto del card
     se lea bien sobre la foto. */
  .fbt-home-hero__media {
    inset: 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  .fbt-home-hero__poster {
    object-position: center 35%;
  }
  /* Overlay más fuerte abajo en mobile para legibilidad del card sobre
     la foto. Arriba queda más transparente para que se aprecie la imagen. */
  .fbt-home-hero__overlay {
    background: linear-gradient(180deg,
      rgba(5, 7, 10, 0.30) 0%,
      rgba(5, 7, 10, 0.15) 30%,
      rgba(5, 7, 10, 0.55) 65%,
      rgba(5, 7, 10, 0.85) 100%);
  }
  .fbt-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 130px 24px 72px;
  }
  .fbt-home-hero__copy { max-width: 680px; margin: 0 auto; }
  .fbt-home-hero__card {
    max-width: 560px;
    margin: 0 auto;
    justify-self: center;
  }
  .fbt-home-hero__title { font-size: clamp(34px, 7vw, 56px); }
  .fbt-home-hero__card-title { font-size: 40px; }
}
@media (max-width: 620px) {
  .fbt-home-hero__inner { padding: 104px 16px 48px; }
  .fbt-home-hero__title { font-size: clamp(30px, 8vw, 40px); }
  .fbt-home-hero__lead { font-size: 15px; }
  .fbt-home-hero__actions { margin-bottom: 32px; }
  .fbt-home-hero__stats { gap: 22px; padding-top: 22px; }
  .fbt-home-hero__stat strong { font-size: 26px; }
  .fbt-home-hero__card {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }
  .fbt-home-hero__card-title { font-size: 34px; }
  .fbt-home-hero__grid-opts { grid-template-columns: 1fr; }
  .fbt-home-hero__fields { grid-template-columns: 1fr; }
  .fbt-home-hero__fields .wide { grid-column: span 1; }
  .fbt-home-hero__foot { flex-direction: column; align-items: stretch; }
  .fbt-home-hero__foot .fbt-home-hero__actions-r {
    display: flex; justify-content: flex-end;
  }
}
