/* Inmobiliática (página 1546, rehecha el 2026-09-24): motivo del hero y escenas.
   Las piezas comunes (.esc, .ui, los iconos) están en paginas-servicio.css.
   La inmobiliaria de ejemplo es inventada: «Costa Propiedades». */

/* ---------- Hero: el mapa de la ciudad ---------- */
.hero-inmobiliatica::before {
    background:
        radial-gradient(36% 50% at 14% 20%, rgba(255, 205, 87, .50), transparent 68%),
        radial-gradient(30% 44% at 46% 94%, rgba(255, 22, 50, .40), transparent 70%),
        radial-gradient(32% 44% at 88% 14%, rgba(142, 117, 178, .46), transparent 70%),
        radial-gradient(34% 44% at 92% 86%, rgba(31, 184, 205, .34), transparent 72%);
    animation: in-drift 10s ease-in-out infinite alternate;
}
/* Luces cálidas de ciudad, desenfocadas (bokeh), que derivan despacio.
   Rehecho el 2026-09-24: la versión de ventanas y retícula era muy
   geométrica. Ahora el motivo son formas sueltas del rubro (pines, casas,
   llave, cartel) en .svc-hero-garabatos y calles curvas en .svc-hero-trazos,
   los mismos componentes que el hero de Diseño Web. */
.hero-inmobiliatica .svc-hero-fx {
    background-image:
        radial-gradient(circle, rgba(255, 205, 87, .55) 0 5px, transparent 9px),
        radial-gradient(circle, rgba(255, 22, 50, .40) 0 4px, transparent 8px),
        radial-gradient(circle, rgba(142, 117, 178, .45) 0 6px, transparent 11px);
    background-size: 170px 100%, 240px 100%, 310px 100%;
    background-position: 0 38%, 70px 64%, 140px 22%;
    background-repeat: repeat-x;
    filter: blur(2px);
    animation: in-bokeh 26s linear infinite;
}
@keyframes in-bokeh { to { background-position: 170px 38%, 310px 64%, 450px 22%; } }
/* Una trama muy suave de puntos, en vez de la retícula */
.hero-inmobiliatica::after { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; }
@keyframes in-drift {
    from { transform: translate3d(-5%, -3%, 0) scale(1.04); }
    to   { transform: translate3d(6%, 4%, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .hero-inmobiliatica::before, .hero-inmobiliatica .svc-hero-fx { animation: none; } }

/* ---------- Piezas: la foto de una propiedad, dibujada ---------- */
.in-foto { border-radius: 4px; background:
    linear-gradient(180deg, #CFE8F7 0 55%, #A7D48F 55%);
    position: relative; overflow: hidden; }
.in-foto::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 18%; height: 44%; background: #F4EAD8; clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%); }
.in-foto::after { content: ""; position: absolute; left: 44%; width: 12%; bottom: 18%; height: 20%; background: #8A5A36; }

/* Propiedades: la ficha completa */
.ip-ficha { inset: 10px 12px; padding: 7px; display: grid; grid-template-columns: 38% 1fr; gap: 8px; }
.ip-ficha .in-foto { height: 100%; min-height: 80px; }
.ip-dato { display: grid; gap: 3px; align-content: start; font-size: 7px; }
.ip-dato small { font-size: 6px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.ip-dato b { font-size: 8.5px; font-weight: 800; line-height: 1.2; }
.ip-dato strong { font-size: 11px; font-weight: 800; }
.ip-rasgos { display: flex; gap: 4px; flex-wrap: wrap; }
.ip-rasgos span { font-size: 6.2px; font-weight: 700; color: #475569; background: #F2F5F7; border-radius: 3px; padding: 1px 5px; white-space: nowrap; }
.ip-pub { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 2px; }
.ip-pub span { display: flex; align-items: center; gap: 2px; font-size: 6px; font-weight: 800; color: #0B8A63; background: #E7F6EF; border-radius: 99px; padding: 1px 5px; white-space: nowrap; animation: ip-pub 6s infinite both; animation-delay: var(--d); }
@keyframes ip-pub { 0%, 10% { opacity: 0; transform: scale(.7); } 18%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Publicación: una carga, muchos destinos */
.po-origen { left: 12px; top: 50%; transform: translateY(-50%); width: 30%; padding: 5px; display: grid; gap: 3px; }
.po-origen .in-foto { height: 42px; }
.po-origen b { font-size: 6.8px; font-weight: 800; line-height: 1.2; }
.po-lineas { position: absolute; left: calc(12px + 30%); width: 16%; top: 16px; bottom: 16px; }
.po-lineas svg { width: 100%; height: 100%; overflow: visible; }
.po-lineas path { fill: none; stroke: var(--c); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; animation: po-flujo 1s linear infinite; }
@keyframes po-flujo { to { stroke-dashoffset: -12; } }
.po-destinos { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 44%; display: grid; align-content: space-between; }
.po-destinos .ui { position: relative; display: flex; align-items: center; gap: 5px; padding: 5px 7px; font-size: 7px; font-weight: 800; white-space: nowrap; animation: ip-pub 6s infinite both; animation-delay: var(--d); }
.po-destinos .ui i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.po-destinos .ui small { margin-left: auto; font-size: 6px; font-weight: 700; color: #0B8A63; }

/* Web inmobiliaria: el buscador de la inmobiliaria */
.iw-sitio { inset: 10px 12px; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr; }
.iw-top { display: flex; align-items: center; justify-content: space-between; padding: 5px 8px; font-size: 7px; font-weight: 800; border-bottom: 1px solid #EEF2F6; white-space: nowrap; }
.iw-top i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--c); margin-right: 3px; vertical-align: -1px; }
.iw-busca { display: flex; gap: 4px; padding: 6px 8px; background: #F8FAFC; }
.iw-busca span { flex: 1; font-size: 6.5px; font-weight: 700; border: 1px solid #E2E8EE; border-radius: 3px; padding: 3px 5px; background: #fff; white-space: nowrap; overflow: hidden; }
.iw-busca span small { display: block; font-size: 5.3px; color: #94a3b8; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.iw-busca b { font-size: 6.5px; font-weight: 800; color: #fff; background: var(--c); border-radius: 3px; padding: 0 8px; display: grid; place-items: center; }
.iw-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 6px 8px; }
.iw-res div { display: grid; gap: 2px; font-size: 6px; font-weight: 700; }
.iw-res .in-foto { height: 30px; }
.iw-res b { font-size: 7px; font-weight: 800; }

/* Desde el celular: la propiedad nueva sale en el momento */
.ic-tel { left: 18%; top: 8px; bottom: 8px; width: 74px; border-radius: 12px; background: #0F172A; padding: 4px; }
.ic-tel > div { height: 100%; border-radius: 9px; background: #fff; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.ic-cab { font-size: 6px; font-weight: 800; padding: 4px 5px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; }
.ic-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; align-content: start; }
.ic-fotos .in-foto { height: 22px; animation: ic-foto 6s infinite both; animation-delay: var(--d); }
@keyframes ic-foto { 0%, 8% { opacity: 0; transform: scale(.8); } 16%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ic-bot { margin: 4px; font-size: 6px; font-weight: 800; color: #fff; background: var(--c); border-radius: 4px; text-align: center; padding: 3px 0; }
.ic-ok { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); display: grid; gap: 5px; }
.ic-ok .ui { position: relative; display: flex; align-items: center; gap: 4px; font-size: 7px; font-weight: 800; padding: 4px 8px 4px 4px; border-radius: 99px; white-space: nowrap; animation: ic-listo 6s infinite both; animation-delay: var(--d); }
@keyframes ic-listo { 0%, 45% { opacity: 0; transform: translateX(6px); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Red inmobiliaria: la propiedad compartida con colegas */
.rn-red { position: absolute; inset: 10px 12px; }
.rn-red svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rn-red path { fill: none; stroke: color-mix(in srgb, var(--c) 50%, transparent); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 2 3; }
.rn-n { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; font-size: 6.8px; font-weight: 800; padding: 4px 7px 4px 4px; white-space: nowrap; }
.rn-n i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.rn-n.es-centro { font-size: 7.5px; outline: 1.5px solid var(--c); }
.rn-cont { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 7px; font-weight: 800; color: #fff; background: var(--c); border-radius: 99px; padding: 2px 9px; white-space: nowrap; }

/* Usuarios por cargo */
.iu-lista { inset: 10px 12px; padding: 7px 9px; display: grid; gap: 3px; align-content: start; }
.iu-cab { font-size: 7.5px; font-weight: 800; margin-bottom: 2px; white-space: nowrap; }
.iu-f { display: grid; grid-template-columns: 14px 1fr auto; gap: 6px; align-items: center; padding: 3px 4px; border-radius: 4px; font-size: 6.8px; white-space: nowrap; }
.iu-f > i { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 6.5px; font-weight: 800; color: #fff; }
.iu-f b { font-weight: 800; }
.iu-f small { font-size: 6px; font-weight: 700; color: #64748b; }
.iu-f.is-sel { background: color-mix(in srgb, var(--c) 9%, #fff); }
.iu-hist { margin-top: 3px; padding-top: 4px; border-top: 1px solid #EEF2F6; font-size: 6.3px; color: #64748b; font-weight: 700; white-space: nowrap; }
.iu-hist b { color: #1E293B; }

/* El logo de mardelplata.com.ar en el destino de la escena de publicación */
.mdpd-svc .po-destinos .po-logo { height: 10px; width: auto; max-width: none; }

/* Los logos, más grandes en esta página (Emir, 2026-09-24). Este archivo carga después del
   común, así que con el mismo selector gana. */
.mdpd-svc .svc-hero-logo { height: 56px; }
.mdpd-svc .svc-prosa-logo { height: 48px; }
.mdpd-svc .svc-dato-logo { height: 40px; }
.mdpd-svc .po-destinos .po-logo { height: 13px; }
@media (max-width: 880px) { .mdpd-svc .svc-hero-logo { height: 44px; } }
