/* Llavero Inmuebles — estilos. Azul de la marca (#2446d8), dorado de Llavi (#f6b93b), tinta (#0f172a). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; color: #0f172a; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Manrope", "Inter", sans-serif; margin: 0; letter-spacing: -0.015em; }
img { max-width: 100%; height: auto; display: block; }
a { color: #2446d8; }
a:hover { color: #1a35a8; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.saltar:focus { left: 8px; }
.contenedor { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.boton-primario { background: #2446d8; color: #fff; }
.boton-primario:hover { background: #1a35a8; color: #fff; }
.boton-whatsapp { background: #25d366; color: #0b2e1a; }
.boton-whatsapp:hover { background: #1fbd5a; color: #0b2e1a; }

/* Cabecera */
.cabecera { border-bottom: 1px solid #e2e8f0; background: #fff; position: sticky; top: 0; z-index: 5; }
.cabecera-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.marca { display: flex; align-items: center; gap: 10px; color: #0f172a; text-decoration: none; }
.marca-icono { width: 42px; height: 42px; border-radius: 12px; background: #eef3ff; display: flex; align-items: center; justify-content: center; }
.marca-icono img { width: 36px; height: 36px; }
.marca-texto { display: flex; flex-direction: column; line-height: 1; }
.marca-nombre { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 21px; }
.marca-sub { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #475569; margin-top: 4px; font-weight: 600; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 20px; flex: 1 1 auto; }
.menu a { color: #0f172a; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.menu a:hover { color: #2446d8; }
.cabecera-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.selector-pais select { min-height: 44px; border: 1px solid #cbd5e1; border-radius: 11px; padding: 0 10px; font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: #0f172a; }
.idiomas { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 11px; overflow: hidden; }
.idiomas button { min-height: 42px; min-width: 44px; border: 0; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: #475569; cursor: pointer; }
.idiomas button[aria-pressed="true"] { background: #2446d8; color: #fff; }

/* Portada */
.portada { background: #f3f6ff; border-bottom: 1px solid #e3e9fb; }
.portada-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
.portada-texto { flex: 1 1 520px; min-width: 0; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #d6defa; color: #1e3a8a; font-size: 13px; font-weight: 600; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; }
.portada h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
.portada-sub { margin: 18px 0 0; font-size: 18px; color: #334155; max-width: 560px; }
.buscador { margin-top: 26px; background: #fff; border: 1px solid #d6defa; border-radius: 18px; padding: 10px; box-shadow: 0 12px 32px rgba(36, 70, 216, 0.1); max-width: 640px; }
.pestanas { display: flex; gap: 6px; padding: 2px 2px 8px; border-bottom: 1px solid #eef2f7; }
.pestanas button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: #475569; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pestanas button[aria-pressed="true"] { background: #eef2ff; color: #1e3a8a; font-weight: 700; }
.buscador-campos { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; align-items: stretch; }
.campo { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 6px 10px; }
.campo span { font-size: 12px; font-weight: 700; color: #1e3a8a; }
.campo select { border: 0; font: inherit; font-size: 15px; background: transparent; color: #0f172a; padding: 4px 0; }
.boton-buscar { min-height: 56px; padding: 0 26px; font-size: 16px; }
.portada-imagen { flex: 1 1 360px; min-width: 0; position: relative; display: flex; justify-content: center; padding-bottom: 24px; }
.portada-imagen > img { width: 100%; max-width: 420px; border-radius: 50%; }
.burbuja { position: absolute; left: 0; bottom: 0; width: 300px; max-width: 88%; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14); }
.burbuja-quien { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.burbuja-quien img { width: 30px; height: 30px; border-radius: 50%; background: #eef3ff; }
.burbuja-quien strong { color: #0f172a; }
.burbuja-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.45; }
.burbuja-meta { margin: 8px 0 0; font-size: 12px; color: #475569; }

/* Confianza */
.confianza { border-bottom: 1px solid #e2e8f0; }
.confianza-grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; padding-top: 28px; padding-bottom: 28px; }
.confianza-item { display: flex; gap: 12px; align-items: flex-start; }
.confianza-item p { margin: 0; font-size: 14px; color: #475569; }
.confianza-item .fuerte { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.icono { flex: 0 0 42px; height: 42px; border-radius: 12px; background: #eef2ff; color: #2446d8; display: flex; align-items: center; justify-content: center; }

/* Secciones */
.seccion { padding: 64px 0; }
.seccion-chica { padding: 44px 0; }
.seccion-gris { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.seccion-azul { background: #2446d8; color: #fff; }
.seccion h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.15; }
.h2-chico { font-size: 22px !important; }
.pre { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #2446d8; }
.pre-claro { color: #c7d2fe; }
.sub { margin: 12px 0 0; font-size: 17px; color: #334155; max-width: 640px; }
.sub-claro { color: #e0e7ff; }
.seccion-azul h2 { color: #fff; }

/* Aviso de ejemplos */
.aviso { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 24px; padding: 14px 16px; border-radius: 14px; background: #fff8e6; border: 1px solid #f6d58a; color: #5c3d00; font-size: 15px; font-weight: 500; }
.aviso svg { flex: 0 0 18px; margin-top: 2px; }

/* Inmuebles */
.seccion-cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 22px; }
.conteo { margin: 6px 0 0; color: #475569; font-size: 15px; }
.orden { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #475569; }
.orden select { min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; color: #0f172a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: #2446d8; color: #2446d8; }
.chip[aria-pressed="true"] { background: #2446d8; border-color: #2446d8; color: #fff; }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.tarjeta { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.tarjeta-foto { position: relative; }
.tarjeta-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sello { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sello-op { left: 12px; background: #0f172a; color: #fff; }
.sello-ejemplo { right: 12px; background: #f6b93b; color: #3d2a00; }
.tarjeta-cuerpo { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.precio { margin: 0; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; }
.tarjeta h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.lugar { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: #475569; }
.rasgos { margin: 2px 0 0; font-size: 14px; color: #334155; }
.vacio { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #cbd5e1; border-radius: 16px; color: #475569; text-align: center; }

/* Llavi */
.dos-columnas { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.dos-columnas > div:first-child { flex: 1 1 460px; min-width: 0; }
.llavi-figura { flex: 1 1 300px; display: flex; justify-content: center; }
.llavi-figura img { max-width: 360px; width: 100%; }
.pasos { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 20px; }
.pasos li { display: flex; gap: 16px; align-items: flex-start; }
.pasos p { margin: 0; color: #475569; font-size: 15px; }
.pasos .fuerte { color: #0f172a; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #2446d8; color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Manrope", sans-serif; font-weight: 800; }

/* Corredores */
.corredores-fila { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; align-items: flex-start; }
.tabla-caja { flex: 999 1 560px; min-width: 0; overflow-x: auto; background: #fff; border-radius: 18px; }
.tabla { width: 100%; min-width: 520px; border-collapse: collapse; color: #0f172a; font-size: 15px; }
.tabla th, .tabla td { text-align: left; padding: 14px 16px; border-top: 1px solid #e2e8f0; vertical-align: top; }
.tabla thead th { border-top: 0; background: #f8fafc; font-weight: 700; color: #334155; }
.tabla tbody th { font-weight: 500; }
.tabla .col-llavi { color: #15803d; font-weight: 700; }
.tabla thead .col-llavi { color: #1e3a8a; }
.formulario { flex: 1 1 320px; min-width: 0; background: #fff; color: #0f172a; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.formulario h3 { font-size: 20px; font-weight: 800; }
.formulario label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #334155; }
.formulario input, .formulario select { min-height: 46px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 400; color: #0f172a; background: #fff; width: 100%; }
.nota { margin: 0; font-size: 13px; color: #475569; }

/* Compradores */
.compradores { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.compradores > div { flex: 1 1 380px; min-width: 0; }
.formulario-linea { flex: 1 1 420px; border: 1px solid #e2e8f0; }

/* Listas */
.lista-enlaces { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; }
.lista-enlaces a { display: inline-block; padding: 8px 0; text-decoration: none; font-size: 15px; }

/* Pie */
.pie { background: #0f172a; color: #cbd5e1; }
.pie .contenedor { padding-top: 44px; padding-bottom: 26px; }
.pie-grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.pie p { margin: 0; font-size: 14px; }
.pie-marca { display: flex; align-items: center; gap: 10px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 19px !important; color: #fff; margin-bottom: 12px !important; }
.pie-marca img { border-radius: 50%; background: #1e293b; }
.pie-titulo { font-weight: 700; color: #fff; margin-bottom: 10px !important; }
.pie-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.pie-lista a, .pie-final a { color: #cbd5e1; text-decoration: none; font-size: 14px; display: inline-block; padding: 4px 0; }
.pie-lista a:hover, .pie-final a:hover { color: #fff; }
.pie-chico { font-size: 13px !important; color: #94a3b8; line-height: 1.55; }
.pie-final { margin-top: 32px; padding-top: 18px; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #94a3b8; }

@media (max-width: 640px) {
  .menu { order: 3; width: 100%; }
  .cabecera { position: static; }
  .burbuja { position: static; margin-top: -30px; }
  .portada-imagen { flex-direction: column; align-items: center; }
  .portada-imagen > img { max-width: 230px; }
  .portada-fila { padding-top: 32px; padding-bottom: 36px; gap: 24px; }
}
